Originally Posted by webquinty
Well, I am trying to boot linux from compact flash but I can not do it.
I follow this steps:
1.- dd if=/dev/zero of=/dev/hda -> this is my compact flash in my system.
2.- lilo -M /dev/hda mbr -> to install a master boot recorder
3.- With fdisk I have create a linux partition.
4.- mkfs.ext2 /dev/hda1
5.- lilo -r /mnt/cf -C /etc/lilo.conf -> to install lilo in my compact flash.
But when I insert compact flash and switch on system, Bios say that there is not boot.
excerpt form 'man lilo';
Before doing anything else, do a chroot to the indicated direc-
tory. The new root directory must contain a /dev directory, and
may need a /boot directory. It may also need an /etc/lilo.conf
You want to write to the MBR so;
excerpt from 'man lilo';
Specify the boot device; i.e., where the boot loader will be
installed. "-b /dev/hda" specifies the Master Boot Record; "-b
/dev/sdb5" specifies the first extended partition on the second
So to write to the MBR;
~#lilo -v -t -b /dev/your_device #sda, hda this will only test
~#lilo -v -b /dev/your_device #this will write MBR to your_device
I suggest that you look at the 'man lilo' & 'man lilo.conf' to get a good understanding.