LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-20-2002, 10:25 PM   #1
fool_inteligent
Member
 
Registered: Jun 2002
Posts: 91

Rep: Reputation: 15
dual booting two versions?


friends i am new here and posting my first question here.

i want to know that is there any possibility to dual boot my machine with any two versions of redhat linux like win98 and win2k dual booting?

i have tried something and i want to tell you.

1. i installed win98 on /dev/hda1

2. i installed redhat linux 7.0 on /dev/hda5,6,7 (lilo on mbr) and lilo configured it self with win98.
that time i had two option linux and dos(dos = windows) .

3.then i installed redhat linux to dev/hda8,9,10 (lilo on mbr)
but it configured itself with dos and no previous versionwas there.

any possibilities?
 
Old 06-20-2002, 10:58 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You need to edit your /etc/lilo.conf file and add your other linux image to it. usually by default it won't configure 2 different linux images.
and always run /sbin/lilo after making changes so it writes it to the MBR...
 
Old 06-21-2002, 01:52 PM   #3
fool_inteligent
Member
 
Registered: Jun 2002
Posts: 91

Original Poster
Rep: Reputation: 15
tricky kid thanks
but i should aad like this
1. other =


or

image=dev/hdax//boot/vmlinuz
label=
initrd=/dev/hdax/boot/initrd
reed-only
root=/dev/hdax


please tell me friend
 
Old 06-22-2002, 12:01 AM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Re: dual booting two versions?

Use the other= way to boot the first installation of linux.

First, you're going to have to fix a problem. When you installed the second version of red hat, it wrote into the mbr where the first installation wrote its lilo. You need to fix that by writing lilo into the root ' / ' partition of the first linux installation.

Get out your red hat install cdrom disk and boot up with it. When you get the prompt enter:
linux root=/dev/hda?. Replace the ? with the correct root ' / ' partition number. It will be 5, 6, or 7. If you don't remember which one it is, try them one at a time until it boots. When it boots up, remember what number worked.

Next, edit your /etc/lilo.conf file. Change the boot=/dev/hda to boot=/dev/hda?. Replace the ? with the number that you used to boot up linux. Then make sure your /etc/lilo.conf file has all the correct information in it and then run /sbin/lilo.

Now reboot without the cdrom disk and select linux. Edit your /etc/lilo.conf by adding these lines to it:

other=/dev/hda?
label= First linux install


Replace the ? with the number that booted up the first linux installation and run /sbin/lilo. Then reboot and see if you can select the first linux installation and that it boots up.
 
Old 06-22-2002, 02:05 PM   #5
fool_inteligent
Member
 
Registered: Jun 2002
Posts: 91

Original Poster
Rep: Reputation: 15
thanks friends very very very ................................ much.
but i have solved my problem in this way

you have seen the procedure i have written in my thread of installation.

now what i done after this which solved my problem.

i edited lilo.conf ( just added these lines in the end)
for configuration of redhat 7.0 (dos and 7.3 were already there)


image=/dev/hda6/vmlinnuz-2.2.16-22
label=redhat7.0
read-only
root=/dev/hda7


but it did not worked. because /dev/hda6 was not mounted.
so it gave the error (when i typed "lilo") that "no such diractory". then i mounted that ext2 partition in "/mnt"
through
mount -t ext2 /dev/hda6 /mnt/

and then i added these lines in lilo.conf

image=/mnt/vmulinuz-2.2.16-22
label=redhat7.0
read-only
root=/dev/hda7

and it worked for me and now i am running three redhat7.0 redhat 7.3 and dos(win98).

so thats my little story for doing this appreciate my work because i am a newbie in linux.

and one thing we cant dual boot when we install redhat 7.3 first and 7.0 later because 7.0 kernal does not support ext3. so we cannot mount it . and the MBR will have that time the lilo of 7.0 on it not 7.3.

thanks again.
 
Old 06-23-2002, 02:17 AM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Glad to hear you got it working.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 05:44 PM
Dual Booting richx2004 Ubuntu 20 11-12-2005 07:59 AM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 02:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM
booting ,dual booting kmadhukar Linux - Newbie 1 02-02-2002 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:11 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