Re: writing to a partition



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.
--
Ignorantly,
Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx>
* Disclaimer: I am a guest and *not* a member of the MIT CSAIL. My actions and
* comments do not reflect in any way on MIT. Also, I am nowhere near Boston.
.



Relevant Pages

  • Re: computer wont boot
    ... This is not an operating system issue since the failure occurs ... download the file - XP's built-in burning capability won't do the job. ... boot with the media you made. ... the file and make a bootable floppy or cd with it. ...
    (microsoft.public.windowsxp.basics)
  • Re: Reinstall/Repair XP Home Edition
    ... Robin Graham wrote: ... Shouldn't that cause the system to boot from the install cd ... Usually you will make a bootable floppy. ... make a bootable cd if you have third-party burning software. ...
    (microsoft.public.windowsxp.general)
  • Re: have i picked up a virus?
    ... > you often get a messages saying that it can't find the boot disk etc. ... The box is failing before Windows is ever booted. ... download the file - XP's built-in burning capability won't do the job. ... the file and make a bootable floppy or cd with it. ...
    (microsoft.public.security.virus)
  • Re: Issues booting PC with XP Home using floppy
    ... > He said all of a sudden his PC refuses to boot up properly. ... It really sounds to me like your friend's machine is having hardware ... download the file - XP's built-in burning capability won't do the job. ... you will download the file and make a bootable floppy with it. ...
    (microsoft.public.windowsxp.general)
  • Re: writing to a partition
    ... Suppose the other partition turns out to be hda1, ... one action to prove that the boot really did get to hda1 and do something. ... simulate a Linux kernel ...
    (comp.os.linux.misc)