I am trying to place a lilo boot record on a 128MB USB compact flash card. The motherboard that will boot the cflash mounts the partition as /dev/hdc1, 2nd IDE, however, when I program the flash my linux box mounts the device as /dev/sda1, since I am acessing the cflash with a USB compact flash device.
I then mount /dev/sda1 on /flash and run lilo -r /flash.
Does anyone knows what needs to be in my lilo.conf, besides whats below (lines remarked are things I have already tried with no effect)...
# LILO configuration file # ## Start LILO global section
# FlashCard 128MB SAN Disk boot = /dev/sda # disk = /dev/hdc # bios = 0x82 # sectors = 32 # heads = 8 # cylinders = 980 # append = "sda=980,8,32" delay = 50 # Normal VGA console vga = normal ## End LILO global section
## Linux bootable partition config begins image = /vmlinuz-2.4.20 root = /dev/hdc1 label = LINUX-2.4.20 read-only ## Non-UMSDOS filesystems should be mounted read-only for #checking# Linux bootable partition config ends
When I plug the cflash in the mobo as /dev/hda1 it boots, and then complains with a continuous bios errcode 01 01 01... According to lilo README, that means the bios does not support the drive. However, the motherboard does boot a cflash with an msdos MBR and boot sector...
Thanks TonyB