Multiple OS installationForum: HD Install Topic: Multiple OS installation started by: Bidi Posted by Bidi on Jan. 09 2005,02:03
I have 2 HDs and using Lilo as the boot loader. A 1.2GB has 2 partitions: DSL and FreeDOS. Recently I transfered this 1.2GB HD to be HDB. Needless to say, it doesn't boot anymore (something about going from HDA to HDB). So now I need to reinstall it. My question is, do I need to run "mkliloboot"? I already have Lilo running on HDA, which has Knoppix, and got FreeDOS to boot from the slave HD. Now all I need is for DSL to boot from it too.
Posted by tjm4fun on Jan. 12 2005,11:22
if you have lilo installed on hda and working, all you need tdo is edit the /etc/lilo.conf file to add in the other os's. I have mount points defined for all my distro's in /mnt, so my lilo config looks like this:if you don;t have mount points set, you should be able to change the /mnt/NAME to /dev/hd# where the # is the device number the os is installed on. For freedos, use whatever incantation worked in your old lilo conf file for the entries in here. This is just an example ,and one way to setup lilo. After you set the conf file up, just run lilo as root, if all is well youshould see a message added for eah of the os's and no errors. if you typo;d it will error out wihout writing the mbr. prompt # timeout=600 # default=YOS vga=791 boot=/dev/hda lba32 #bitmap = /boot/yoper_boot.bmp #bmp-colors = 1,,0,2,,0 #bmp-table = 120p,173p,1,15,17 #bmp-timer = 254p,432p,1,0,0 other=/dev/hda1 label=Windows2K image = /boot/slack root = /dev/hda7 label = Slackware10 read-only image=/mnt/dsl/boot/linux24 label=DSL root=/dev/hda8 read-only image=/mnt/yoper/boot/yos label=YOS read-only root=/dev/hda9 append = "splash=silent " initrd=/mnt/yoper/boot/initrd-2.6.8.1-3.img #image = /mnt/suse/boot/vmlinuz ###Don't change this comment - YaST2 identifier: Original name: linux### # label = Suse9.2 # initrd = /mnt/suse/boot/initrd # root = /dev/hda10 # append = "resume=/dev/hda6 selinux=0 splash=silent acpi=off desktop elevator=as" #image=/mnt/ldata/boot/vmlinuz #label=VectorSOHOv4 # root=/dev/hda12 # read-only |