Re: writing to a partition



Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx> writes:

Dan Espen <daneNO@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:

Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx> writes:
I would like to partition a HD so that there is a Linux partition and
another partition that I would like to use for experiments. This is on
a machine I consider expendable.[...] I would just like to put something
on hda1 that will do something very simple, maybe a certain beep pattern
or write "Hello world" to the screen or shut the machine off. I don't want
any more than that right now, just one action to prove that the boot really
did get to hda1 and do something. After that, it can hang for all I care.

You ask strange questions. Put memtest86 there.

Thanks for answering my strange questions. I just took a look at
http://www.memtest86.com
and downloaded some stuff. They emphasize that no operating system is
needed to be able to use it. That's good.

Am I correct in concluding that I can take any bootable floppy, for example,
and execute (in Linux):
cat /dev/fd0 > /dev/hda1
to make hda1 bootable and put in lilo.conf, say,

other=/dev/hda1
optional
label=abf

get the same effect as booting the bootable floppy, except that I would
boot from /dev/hda1?

I guess I can also use dd to copy just a few bytes at a time to /dev/hda1
to see what it does, one step at a time, when it boots.

I don't remember all the install details.
It seems to me I installed it with the package manager and somewhere along
the line it offered to install itself into the boot manager and write
itself to a partition.

No need to make this complicated. If I remember right, it wasn't.

.



Relevant Pages

  • Re: Dual Boot Instructions
    ... I ended up reinstalling Vista, ... The boot SECTOR is not the bootLOADER. ... finds the partition table for that HDD and sees that the first partition is ... violated, we no longer can simply install WinXP, install Vista and ...
    (microsoft.public.windows.vista.hardware_devices)
  • Re: Vista/7 permissions for script?
    ... OEM Win7 yet. ... I assume the first boot environment is Windows PE, ... image's boot partition to a larger partition in a larger hard drive -- it ... After writing the install DVD I repartitioned ...
    (microsoft.public.scripting.vbscript)
  • Re: Reinstallation erases all?
    ... W2 is active on C and only visible in PM and install. ... I'll take a look at Paragon as are in that Boot CD I linked to. ... Active partition status to the partition that it was on before this mess ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: No boot and no administrator password!
    ... You'll need a new partition, ... file ownership and permissions supersede administrator rights. ... > I cannot do a clean install and lose all my data knowing> that there is an 'unconventional' way past this problem. ... Boot the system, start> tapping F8, when>>the menu appears, select "Last Known Good Configuration,"> press enter and>>see if that resolves it. ...
    (microsoft.public.windowsxp.accessibility)
  • Re: How to change Dual Boot to Single Boot?
    ... Be aware that Microsoft use the term boot partition for the partition where ... primary active partition (where the boot sector and files required to start ... If you want the partition gone and Windows ... To do a clean install, either boot the Windows 2000 install CD-Rom or setup ...
    (microsoft.public.win2000.general)