boot disk problem

Thomas T. Veldhouse veldy at veldy.net
Wed Dec 6 13:25:06 PST 2000


> mke2fs /dev/fd0
> mount /dev/fd0 /mnt/floppy
> cd /mnt/floppy
> cat >lilo.conf<< "EOF"
> boot=/dev/fd0
> prompt
> timeout=1200
>
> image=/boot/<your kernel image name>
>     root=/dev/<your root partition>
>     label=linux
>     read-only
> EOF
> lilo -C /mnt/floppy/lilo.conf
> umount /mnt/floppy
>

This will just make a simple bootdisk - but if lilo doesn't already work,
then it will not start working now - just because you put it on a floppy -
instead of the hard drive.  You should add:

lba32
linear

To the above options to get the following:

mke2fs /dev/fd0
mount /dev/fd0 /mnt/floppy
cd /mnt/floppy
cat >lilo.conf<< "EOF"
boot=/dev/fd0
prompt
timeout=1200
lba32 # this is the one likely to fix your problem
linear # this is the most risky of the two
image=/boot/<your kernel image name>
    root=/dev/<your root partition>
    label=linux
    read-only
EOF
lilo -C /mnt/floppy/lilo.conf
umount /mnt/floppy

Tom Veldhouse
veldy at veldy.net



-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list