LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-25-2004, 10:09 AM   #1
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Rep: Reputation: 35
Reconstructing Lilo Bootloader to boot triple OS's


Is there anyway I can reconstuct Lilo Bootloader to boot as a triple boot configure?

I have 2 Hard-drives

1) - hda has 2 OS, Windows XP and Mandrake Community 10.1 installed on it.

hda has Windows-XP
Mandrake 10.1 Community as-
hda6 is /
hda8 is /home

2) - hdb has only Mandrake 10.1 Community on it.
Mandrake 10.1 Community as -
hdb1 - is /
hdb6 - is /oldhome


I disconnected my hda drive and did a reinstall of 10.1 on hdb hard-drive partician as a stand alone OS. I want to have 2 mandrake 10.1 on my PC for back-up and experiemental.

Here's the question: Can I have 2 versions of mandrake 10.1 running as a tripple boot configuration on the same pc in a tripple boot configuration?

Below is an example of what I invision:

Linux -10.1
linuz
floopy
failsafe
Windows XP
Linux - 10.1

I am going to connect hda harddrive back and I want to be able to boot into 10.1 sitting inside hdb. Is that even possible, if so, how do I do I make Lilo do that?

Thanks

d-1
 
Old 10-25-2004, 04:47 PM   #2
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
If you try to boot a linux hardrive in a different IDE location than when it was installed, you will have to at least edit the /etc/lilo.conf file.
Unless you plan to to a LOT of experminting under root, just use a "test" user rather than 2 OS's.
 
Old 10-26-2004, 04:30 AM   #3
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
This is how I was able to do it. I had to blank the liloconf file in /etc
Code:
/etc/liloconf
Must be in KDESU Konqueror.

NOTE: Also be sure to go to your particians inside mandrake CC and mount hdb drive and select partician and rename to /10 and your second red partician name /oldhome (or whatever you want to call it).

Open Mandrake control center and select boot loader, it will be blank because you blanked it earlier in /etc/liloconf, click [ADD] and obviously you select Linux, boot device should be [/dev/hda/] this is obviously your 1st harddrive.
Then click [NEXT] at the bottom of the box. Under Label the word entered should be [LINUX], Image should be [/boot/vmlinuz-2.68.1-10mdk], Root should be [/dev/hda6], and check [X] the word Default inside white little box if you want to boot to Linux by Default. Click Advance tab and enter [/boot/initrd.img] Hit OK.

Then hit [ADD] button and check "windows" - Label show say [windows], Root should say [/dev/hda1] Then hit OK.

Now click [ADD] again enter the word [Linux-0] (This is your second Mandrake 10.1 or whatever you want to name your second OS, in this example I chose linux-0. Root should say [/dev/hdb1]. Then click on advance tab below and enter for Initrd this [ /10.0/boot/initrd.img]

Don't Forget to hit OK's and especially the word Finish after you have complted your task.

Then add the following 5 lines of commands under "boot=/dev/hda"

Code:
map=/boot/map
keytable=/boot/us.klt
prompt
nowarn
timeout=350
Liloconf should like this:


Code:
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="linux"
boot=/dev/hda
map=/boot/map
keytable=/boot/us.klt
prompt
nowarn
timeout=350
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.6.8.1-10mdk
	label="linux"
	root=/dev/hda6
	initrd=/boot/initrd.img
	read-only
other=/dev/hda1
	label="windows"
image=/10.0/boot/vmlinuz
	label="linux-0"
	root=/dev/hdb1
	initrd=/10.0/boot/initrd.img
	read-only
That's it....triple boot.....

d-1




[QUOTE]Originally posted by RoofRabbit
[B]If you try to boot a linux hardrive in a different IDE location than when it was installed, you will have to at least edit the /etc/lilo.conf file.
Unless you plan to to a LOT of experminting under root, just use a "test" user rather than 2 OS's.
 
  


Reply


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
Lilo triple boot mngmd Linux - General 5 11-20-2005 06:55 PM
Cannot boot other os's from suse bootloader fannymites SUSE / openSUSE 5 11-15-2005 07:01 PM
Can LILO allow me to triple boot? captaincaveman Linux - Distributions 1 05-03-2004 06:22 PM
Triple Boot with Lilo MaleWithBrains Linux - Software 6 02-10-2004 07:39 AM
need help with lilo and triple boot! rmanocha Linux - Software 1 11-02-2003 01:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:26 PM.

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