If we installed Windows 95/98 after Linux, so, on the restart, we'll get a new experience: Both operation system
on instalation made a new boot record. One of the new boot record that will be create is Lilo (Linux Loader).
Eventhough there's a lot of Linux distribution, like SuSe and Red Hat make their own boo record, we could also made our own boot record manually.
First, we have to prepare a blank diskette than format it by using this command:
mkfs.minix -c/dev/fd0 1440
Then, followed by this:
mount /dev/fd0 /mnt/floppy
The command above will mount the diskette to this directory "/mnt/floppy". Next, copy the Linux kernel to this directory
"/mnt/floppy" and boot sector file to "boot/boot.b" to this directory "/mnt/floppy/boot".
Then, make this file "mnt/floppy/etc/lilo.conf" with text editor and filled with:
boot=/dev/fd0
map=/mnt/floppy/boot/map
install=/mnt/floppy/boot/boot.b
prompt
timeout=50
linear
default=linux
image=/mnt/floppy/vmlinuz-2.2.14-5.0
label=linux
read-only
root=/dev/hda2
other=/dev/hda1
label=dos
If you want to do the booting from the hard disk, copy to this file "/mnt/floppy/etc/lilo.conf" to the diskette in the hard-disk.
To do something like that, use this command "lilo -C /mnt/floppy/etc/lilo.conf".
After that "unmount" the diskette with this command "unmount/mnt/floppy".
After restarting, kerenl in the disk will be installed on the boot record. To instal Lilo permanently in to Master Boot Record (MBR), use this command "lilo -C/etc/lilo.conf".
It's all done, and happy making your own Linux booting diskette!