Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-03-2005, 07:39 AM   #1
LQ Newbie
Registered: Mar 2005
Location: Cape Town, SA
Distribution: SUSE x9.1 Personal
Posts: 8

Rep: Reputation: 0
Triple Booting 2 Linux Distros and Windows

I installed Suse 9.1 personal and successfully had a dual boot system with Windows NT using GRUB.

I then successfully installed Slackware 8.1 on another partition and am now able to dual boot between Slackware and and Windows NT using LILO. LILO got written to the MBR and so I have lost GRUB and cannot bootup Suse any longer.

How can I get LILO to run the Suse bootup as well, so that I can choose between all three operating systems on running LILO?
Old 03-03-2005, 07:49 AM   #2
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
While running Slackware issue
$ su -c "liloconfig"
and choose the expert installation
and install SuSE -- make sure you
know the SuSE / partition
Old 03-03-2005, 07:51 AM   #3
Registered: Mar 2005
Location: Alphen aan den Rijn , netherlands
Distribution: core
Posts: 57

Rep: Reputation: 15
just point to the partition like the NT in lilo
Old 03-03-2005, 07:55 AM   #4
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
You will have to edit (as root) /etc/lilo.conf to add a section pointing to your suse 9.1 partition.

If the format of /etc/lilo.conf is not immediately obvious to you, please read the man pages, or search here on LQ for help.

Then re-run lilo : /sbin/lilo to make the changes take effect. Watch for any error messages. If there are none, then you are set, otherwise re-edit and try again.

Hope this helps
Old 03-03-2005, 08:22 AM   #5
LQ Newbie
Registered: Mar 2005
Location: Cape Town, SA
Distribution: SUSE x9.1 Personal
Posts: 8

Original Poster
Rep: Reputation: 0

Will give it a try. I have also gotten a portion of the Slackware book from their website concerning LILO and configuring LILO.

Will keep you informed.
Old 03-03-2005, 12:16 PM   #6
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435

I forgot to mention that you will find it very helpful if you can mount your suse9.1 root partition, and have a look in the /boot directory, because lilo will want to know what your suse kernel is called, and you may need copies of the suse config, initrd, kernel.h, and vmlinuz to be in the slackware /boot directory. I remember I got into awful trouble once with this.

Finding your suse root partition: As root, fdisk -l /dev/hda will list all the partitions on your hard disk. If you then look in /etc/fstab (of slack) you will see which partitions are mounted as slack's root, swap and home. The "missing" partition is likely to be your suse root.

For example, I am triple-booting Mandrake 9.1 with a 2.4.21-0.13mdk kernel, Mandrake 10.1 with a kernel, and, errr, Win98.

My lilo.conf follows. Note how the line image=/boot/vmlinuz- , for example, doesn't just refer to "vmlinuz", but is very specific!
	append="noapic devfs=nomount acpi=ht resume=/dev/hdb5 splash=silent"
	append="noapic nolapic devfs=mount acpi=ht resume=/dev/hdb5"
	append="noapic nolapic devfs=nomount acpi=ht resume=/dev/hdb5"
	append="failsafe noapic acpi=ht resume=/dev/hdb5 devfs=nomount"
My /boot directory looks like this:

$ ls -al /boot
total 4344
drwxr-xr-x    3 root     root         4096 Mar  3 17:45 ./
drwxr-xr-x   20 root     root         4096 Mar  3 17:45 ../
-rw-r--r--    1 root     root          512 Apr 12  2003 boot.0300
lrwxrwxrwx    1 root     root           21 Mar  3 17:45 config -> config-2.4.21-0.13mdk
-rw-r--r--    1 root     root        47295 Mar 14  2003 config-2.4.21-0.13mdk
-rw-r--r--    1 root     root        60428 Oct  1 11:55 config-
drwxr-xr-x    2 root     root         4096 Apr 12  2003 grub/
-rw-r--r--    1 root     root       110748 Apr 12  2003 initrd-2.4.21-0.13mdk.img
-rw-r--r--    1 root     root       180912 Nov 30 23:37 initrd-
lrwxrwxrwx    1 root     root           25 Dec 31  2003 initrd.img -> initrd-2.4.21-0.13mdk.img
lrwxrwxrwx    1 root     root           29 Mar  3 17:45 kernel.h -> /boot/kernel.h-2.4.21-0.13mdk
-rw-r--r--    1 root     root          441 Apr 12  2003 kernel.h-2.4.21-0.13mdk
-rw-r--r--    1 root     root          537 Nov 30 23:41 kernel.h-
-rw-------    1 root     root       175104 Jan 12 18:02 map
lrwxrwxrwx    1 root     root           15 Dec 31  2003 message -> message-graphic
-rw-r--r--    1 root     root        96382 Apr 12  2003 message-graphic
-rw-r--r--    1 root     root          132 Apr 12  2003 message-text
lrwxrwxrwx    1 root     root           25 Dec 31  2003 ->
-rw-r--r--    1 root     root       582935 Mar 14  2003
-rw-r--r--    1 root     root       547168 Oct  1 11:55
-rw-r--r--    1 root     root          256 Apr 12  2003 uk.klt
lrwxrwxrwx    1 root     root           22 Dec 31  2003 vmlinuz -> vmlinuz-2.4.21-0.13mdk
-rw-r--r--    1 root     root      1252778 Mar 14  2003 vmlinuz-2.4.21-0.13mdk
-rw-r--r--    1 root     root      1306306 Oct  1 11:55 vmlinuz-
I am slightly concerned that your slack installation did not notice that you already had a suse partition and automatically add it to the choices for lilo. I hope it is still there! (See "finding your suse root partition:" above)

Good luck.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
triple booting - win/linux/freebsd DefRay Linux - Distributions 7 08-26-2005 03:31 PM
Windows XP, Red hat 8.0 and Mandrake 10.1 triple booting latinboy Linux - Software 6 02-17-2005 08:12 PM
Triple Booting linux/linux/windows Flak Pyro Linux - Distributions 10 12-08-2003 07:46 PM
triple booting linux linux and 2000 devashish Linux - Software 12 08-28-2003 06:44 AM
Triple Booting!!! Win XP, Win2000, Mandrake Linux 8.1 smurray Linux - Software 1 03-14-2002 03:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration