Re: writing to a partition
- From: Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx>
- Date: 30 Sep 2007 10:39:29 -0400
Unruh <unruh-spam@xxxxxxxxxxxxxx> writes:
No, you do NOT select a partition, you select a very specific set of bytes
on that partition. The boot loader goes to those bytes, loads them into
memory and then executes a jump to the beginning of that set of bytes in
memory. You do not boot a partition.
Well, here is what the file /etc/lilo.conf might look like:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux
image=/boot/vmlinuz-0.99
label=linux
read-only
root=/dev/hda5
other=/dev/hda1
optional
label=dos
As you can see, the only information that this gives lilo about the other
boot option is that it resides on /dev/hda1, that it is optional and a
label to display in the boot menu. Somehow, lilo manages to boot with this
information. So, the only questions are:
(1) exactly what one can put on /dev/hda1
(2) where does one put it on /dev/hda1
(3) how does one put it at the location on /dev/hda1
So far, nothing I've read in this thread contradicts my guess that I
can just execute
cat wtw > /dev/hda1
You need to study how bootloaders work.
Gladly. I've been trying to download the source code lilo.c for RedHat 7.3
but haven't been able to locate it. Do you know where I can find it?
--
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.
.
- Follow-Ups:
- Re: writing to a partition
- From: Dan Espen
- Re: writing to a partition
- References:
- writing to a partition
- From: Allan Adler
- Re: writing to a partition
- From: Unruh
- writing to a partition
- Prev by Date: www.nikeaaaun.com sell nike jordan adidas
- Next by Date: www.nikeaaaun.com sell nike jordan adidas
- Previous by thread: Re: writing to a partition
- Next by thread: Re: writing to a partition
- Index(es):
Relevant Pages
|