LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-14-2006, 07:59 PM   #1
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Rep: Reputation: 30
Multiboot help


I have fedora 5 installed with grub on hda2. I install debian on a hda3. I installed grub on hda3 with debian. I tried to chainload debian but that does not work. I tried to boot debian directly and it exceeds my bios. I have tried multiple times, grub just won't boot anything past 60gig on my hard drive. So I install lilo on fedora and everything goes fine. I can boot debian, windows but not fedora. It starts to boot but after a little while it says fatal error can't mount root(or something like that). It does seem like something is wrong because it looks like debian is booting when fedora boots. Here is my lilo.conf:

Quote:
# LILO configuration created by QuickInst 22.5 Thu Sep 14 03:10:50 CDT 2006

boot = /dev/hda
prompt # always expect prompt
timeout = 150 # wait 15 seconds
vga = normal # force sane state
lba32 # 'linear' is deprecated
delay = 30 # delay 3 seconds if there is a stored command line
#serial = 0,1200n8 # uncomment to use COM1 too
# read-only # initailly mount roots r/o
#fedora start
image = /boot/vmlinuz-2.6.16-1.2080.16.rdt.rhfc5.ccrma
root = /dev/hda2
label = Fedora_ccrma
initrd = /boot/initrd-2.6.16-1.2080.16.rdt.rhfc5.ccrma.img
read-only
#fedora end
#debian begin
image = /boot/vmlinuz-2.6.16-2-k7
root = /dev/hda3
label = Debian
initrd = /boot/initrd.img-2.6.16-2-k7
read-only
#debian end
#windows begin
other = /dev/hda1
table = /dev/hda
label = Windows
#windows end
I copyed the debian boot images into the fedora boot directory. I just don't understand.
I can boot from the fedora recover disc and restore grub then boot fedora. After that I can install lilo then boot debian.
 
Old 09-14-2006, 08:43 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You need to include the append line for Fedora. Look up the menu.lst file in grub's directory. The append line is used to include kernel options.

I suggest uncommenting read-only to make it safer.

If you create a partition for /boot and store both Debian and Fedora kernels in it, you should be able to boot off a terabyte hard drive even though your BIOS only supports smaller than your hard drive's capacity.

I suggest getting another hard drive for Linux and leave your present drive for only for DOS/Windows. Some people may say that this setup is harder. It is not harder, but easier because you can choose which drive to boot to like Windows or Linux in the BIOS. You will have to use map command with the desire boot loader to boot to Windows using the Linux drive as the primary boot drive.

BTW, grub can be installed on the Windows drive, but it needs to be formated as FAT16 or FAT32.
 
Old 09-14-2006, 11:50 PM   #3
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Original Poster
Rep: Reputation: 30
Thanks for your reply!

This is my menu.lst:
Quote:
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.16-1.2080.16.rdt.rhfc5.ccrma)
root (hd0,1)
kernel /boot/vmlinuz-2.6.16-1.2080.16.rdt.rhfc5.ccrma ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.16-1.2080.16.rdt.rhfc5.ccrma.img
I commented read-only and added:
Quote:
append="ro root=LABEL=/ rhgb quiet"
The first error is:
Quote:
mount: could not find filesystem '/dev/root'
Next time I partition my drive I will add a /boot. I did get the Debian lilo to install by using the kernels from my fedora /boot.
 
Old 09-15-2006, 04:45 AM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The problems using lilo is you have to run the command /sbin/lilo after you make changes to /etc/lilo.conf. I think you did not run it after you add the append line. Also I suggest leaving out quiet until it can boot up Fedora.

I think you should give grub another shot because it is easier than LILO. I think grub is better than LILO because you can activate anti-virus check in the BIOS to protect your computer from master boot viruses.
 
Old 09-15-2006, 04:38 PM   #5
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Original Poster
Rep: Reputation: 30
I wish you were right but I still get the same error.

How could I get grub to boot my debian(hda3) images off my fedora(hda2) partition so I won't get my bios error?
 
Old 09-17-2006, 06:10 AM   #6
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Original Poster
Rep: Reputation: 30
I finally got something accomplished. I installed the debian(hda3) lilo to root. Then I installed fedora's(hda2) grub on the MRB and set up debian as a rootnoverify and it works. Now when I click on debian in fedora grub I get taken to my debian's lilo.

Last edited by natewlew; 09-17-2006 at 06:11 AM.
 
Old 09-17-2006, 06:29 AM   #7
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Original Poster
Rep: Reputation: 30
It all comes at once. Now I can boot everything with grub.
This didn't work:
Quote:
title Debian GNU/Linux, kernel 2.6.16-2-k7
root (hd0,2)
kernel /boot/vmlinuz-2.6.16-2-k7 root=/dev/hda3 ro
initrd /boot/initrd.img-2.6.16-2-k7
This did:
Quote:
title Debian GNU/Linux, kernel 2.6.16-2-k7
root (hd0,1)
kernel /boot/vmlinuz-2.6.16-2-k7 root=/dev/hda3 ro
initrd /boot/initrd.img-2.6.16-2-k7
I put my images in my Fedora /boot on hda2. I found that adding root (hd0,1) tells grub that my images are in hda2 but the
root=/dev/hda3 tells it to boot hda3. It gets past my bios limitations.

I learn something new everyday.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Multiboot bubble Linux - Software 5 12-18-2004 08:22 AM
Multiboot WinGeekLinuxNuB Linux - Newbie 4 05-28-2004 04:25 PM
Multiboot sevvy8 Linux - Software 2 03-24-2004 02:23 AM
multiboot confusion MightyKC Linux - Software 1 11-11-2003 05:06 PM
Multiboot ReSync Linux - Newbie 6 06-18-2002 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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