Im trying to put lilo on a floppy:

1st, I created a small config file for lilo with following contents:
boot=/dev/fd0
install=/boot/boot.b
map=/boot/map
read-write
backup=/dev/null
        image=/boot/vmlinuz
        (my kernel image linked in /boot)
        label=Bootdisk
        root=/dev/fd0
And I did save it as bdlilo.conf
# I went creating a small file system on floppy:
As "mke2fs -i 8192 -m 0 /dev/fd0 1440(I dont know what to 
put as kernel blocks)" didn t work, I did:
mkfs -t ext2 0 /dev/fd0H1440 1440 and the file system seemed created.
#I mounted the fs on /dev/fd0, removed the "lost+found"
directory and created directory /boot and /dev on the mounted
floppy.
I had to create devices /dev/null and /dev/fd0 as follow:
cp -R /dev/null /mnt/dev
cp -R /dev/fd0 /mnt/dev

Then:
cp /boot/boot.b /mnt/boot
cp bdlilo.conf /mnt
cp /boot/vmlinuz /mnt
Then:
lilo -v -C bdlilo.conf -r /mnt

And all the directories and files are really on the floppy:
[bdlilo.conf] [dev] [boot]  [vmlinuz] ..etc

But when I reboot my system with that floppy inside, I dont
get to any lilo prompt. My system completely ignores the lilo boot floppy I
ve created and boots directly to my first partition
(win95)..
What is missing??

Thanks for help

Reply via email to