John Richard Smith wrote:
Another way to handle duel booting is to run more then one copy of the boot loader. One way to do it is to have each OS load the boot loader on the boot recored of the /boot partition for that version. You then install another boot loader on the MBR. This boot loader just lets you pick the version to load, and you then get the boot loader for this version. some thing like:Dual booting involves resolving where the /boot directory that the system is booting from is going. If you have not already created a /boot Partion you have ended up with two /boot directories one in each OS / base, and lilo only knows only of the one, the one it has in mandrake / base.
There are two solutions,
either, create a single /boot partition and reinstall both OS's, in which case all the boot files for both OS's are installed automatically by both OS installers in the /boot partition.
or, copy the /boot files from the dead /boot directory across to the live /boot directory, the one lilo knows about in mandrake / base.
The stanza for suse looks ok to me, but I have limited experience with suse and so cannot be sure. The one previso I would have is the number of characters for the kernel to boot from, there are limitations in lilo for most labels and kernel versions but they have to be precise enough to be able to activate the correct kernels. when you are done run /sbin/lilo to confirm the entries are correct and make sure lilo accepts you final result. John
First boot loader: (/etc/lilo.boot)
default="Mandrake" boot=/dev/hda map=/boot/map keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/main-message other=/dev/hda1 label="SUSE" other=/dev/hda8 label="Mandrake"
Then for the SUSE boot loader, change "boot=/dev/hda" to "boot=/dev/hda1" and for Mandrake change it to "boot=/dev/hda8". This way, when you instal a new kernel, the scripts in the RPM will update the lilo.conf file, and the boot loader for that distribution.
You could also leave the Mandrake boot loader on the MBR, and change the SUSE config to "boot=/dev/hda1". Then add to the Mandrake lilo.conf:
other=/dev/hda1 label=SUSE
If you realy want to have one boot loader handle both, you can mount the /boot partition form one OS on the other OS. Use sonething like /boot1 for the name. Then change any pointers to /boot to /boot1 for booting the second OS. But if you do any kernel updates on the second OS, you will have to manualy add them to lilo.conf on the first OS, and run lilo there. Make sure that the boot= section on the second OS lilo.conf does NOT point to /dev/hda!
Oh yes, you do not have to use lilo or Grub for the first boot loader. There are other boot loaders that will handle loading the correct boot loader for each OS. System Commander and its clones come to mind...
Mikkel --
Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup.
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
