LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-08-2003, 09:14 PM   #1
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
Dual Boot


Hi,

Here is the background to the machine i'm working on, it has three partitions, /dev/hda1, hda2, and hda3. The hda1 has Red Hat, hda2 is the swap and had3 has Debian.

The machine loads to Red Hat using Lilo and has no problem with that, but what i want to do is to make it dual boot and try to boot to Debian partition as well. Thats where i run in to trouble.

I update the lilo.conf to see the Debain partition,

other=/dev/hda3
label=Debian
table=/dev/hda

But when i run lilo, it says that can't find a boot signature on the hda3.

Would really appreciate if someone can point out what i'm doin' worng and help me access the Debian partition.

Thanks in advance
Dimi
 
Old 05-08-2003, 09:30 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
other=/dev/hda3 should be root=/dev/hda3
 
Old 05-09-2003, 01:01 AM   #3
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Dual Boot

When i changed the other=/dev/hda3 to root=/dev/hda3, and run lilo, it says root been duplicated.
 
Old 05-09-2003, 07:18 AM   #4
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
these are my entires in /etc/lilo.conf:

Code:
image=/boot/bzImage-2420
label="Debian"
root=/dev/hda7
initrd=/boot/initrd
read-only
append="hdc=ide-scsi"

image=/boot/bzImage-lfs
label="LFS"
root=/dev/hda6
read-only
 
Old 05-11-2003, 10:24 PM   #5
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Dual Boot

Hi Linus,

Just wanted to ask, where Lilo boot block should be installed to. On my machine its loaded on /dev/hda, which is MBR.

Below are my enties on Lilo.

boot=/dev/hda
map=/boot/map

image=/vmlinuz-2.4.19
label=Linux2419
root=/dev/hda3
read-only

image=/boot/vmlinuz-2.4.18-3
label="RedHat"
root=/dev/hda1
read-only

Also whould u happen to know how to reinstall lilo in Redhat? as in Debian dpkg-reconfigure lilo.

Thanks heaps for the help
Dimi
 
Old 05-12-2003, 01:26 AM   #6
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Worked

Hey Linus,

Don't worry, got it to work. I rewrote the Lilo.conf the way u have it and copied the RedHat kernel image to /boot/ in the Debian partition.

That worked, I can boot on to the RedHat partition now, but i have a problem with Xwindows, doesn't load now. Not sure if it has anything to do with the way i booted up to RedHat or just something else. I should be able to figure out whats goin' on there, at leaset i can boot on to the partition now.

Thanks heaps for all the help, will post another massage once i've got xwin running as well.

Dimi
 
Old 05-13-2003, 06:48 AM   #7
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Final Solution

Hi,

Thanx for all the help Linus, just wanted to update how it went.

First of all that coping Redhat kernel image to Debian partition /boot/ didn't really work. It gave me other probelms. So anyways i had to go back to setting up Lilo for the scratch. So for other users reference, below is how i fixed it.

I reinstalled lilo on RedHat and placed it in the MBR and placed the Debian lilo on it own partition (/hda3). Finally edited the Lilo.conf on Redhat to see Debian partition. Below is how the lilo.conf looks.

boot=/dev/hda

image=/vmlinuz-2.4.18-3
label=RedHat
root=/dev/hda1
read-only

other=/dev/hda1
label=Debian
table=/dev/hda

Well that was all i had to do.

Once again thats heaps Linus for ur help, really appreciate taking time to reply to my questions.

Dimi
 
Old 05-13-2003, 06:57 AM   #8
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
My name isn't Linus Dimi mate, that's a quote from Linus Torvalds, the maker of Linux.
Glad you got it sorted out though
 
Old 05-13-2003, 08:20 PM   #9
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Matey, theres no wrong calling u Linus as u did help me out heaps last couple of days.

Cheers again.

Later
 
  


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
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 10:15 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 06:04 PM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 11:11 AM
Newbie needs Mandrake/Win98 dual-HD, dual boot system design help... buddha Linux - Newbie 20 09-04-2003 09:57 PM


All times are GMT -5. The time now is 08:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration