LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 02-22-2005, 08:42 PM   #1
jiapei100
Member
 
Registered: Jan 2005
Location: Surrey, BC, Canada
Distribution: Ubuntu 12.04
Posts: 66

Rep: Reputation: 15
How to multi boot by GRUB?


Open a terminal, type "fdisk -l"
I got:

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 12111 97281576 7 HPFS/NTFS
/dev/sda2 12112 12313 1622565 82 Linux swap
/dev/sda3 * 12314 14593 18314100 83 Linux

Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 7000 56227468+ 83 Linux
/dev/sdb2 7001 7025 200812+ 82 Linux swap
/dev/sdb3 * 7026 12553 44403660 a5 FreeBSD
/dev/sdb4 * 12554 14593 16386300 83 Linux

Note:
sda1 -- windowsXP
sda2 --swap
sda3 --Gentoo
sdb1 --Fedora
sbd2 --swap
sdb3 --FreeBSD
sdb4 --just formatted into ext2fs(ext3), no system yet.

and, the following is my "grub.conf" , I installed my grub in Fedora Core 3 (sdb1)

title WindowXP
rootnoverify (hd0,0)
chainloader +1
title Gentoo (2.4.28-r7)
root (hd0,2)
kernel /boot/kernel-2.4.28-gentoo-r7
initrd /boot/initrd-2.4.28-gentoo-r7
title Fedora Core (2.6.10-1.766_FC3smp)
root (hd1,0)
kernel /boot/vmlinuz-2.6.10-1.766_FC3smp ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.10-1.766_FC3smp.img
title FreeBSD
root (hd1,2,a)
kernel /boot/loader

WindowsXP and Fedora Core 3 boot well. Fedora Core 3 can mount all 3 existing systems-- WindowsXP, Gentoo, FreeBSD.

While FreeBSD can boot, but cannot start X.
Gentoo cannot even boot.

When I tried to boot from Gentoo (that is /dev/sda2),
it always tells an error like:

"Kernel Panic: VFS
Unable to mount root fs on 08:03
..."

Then, the system holds on there...


I do need some help on this. Can anybody help??

Cheers

JIA Pei
 
Old 02-22-2005, 09:00 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,093

Rep: Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978
Message seems pretty straight-forward.
You have no root parameter in the Gentoo section. Looks like a genkernel build, which I've never used, so you're on your own I'm afraid.
The Gentoo handbook has parameters that might (should ???) make this work.
 
Old 02-22-2005, 09:11 PM   #3
jiapei100
Member
 
Registered: Jan 2005
Location: Surrey, BC, Canada
Distribution: Ubuntu 12.04
Posts: 66

Original Poster
Rep: Reputation: 15
Thank you very much for you prompt reply. However, I still cannot figure it out....

"No root parameter in Gentoo section? " What does it refer to?

I used genkernel, but just now, I changed the configuration by "make menuconfig" and remade the kernel. It still doesn't work.

oops.... confused:

Quote:
Originally posted by syg00
Message seems pretty straight-forward.
You have no root parameter in the Gentoo section. Looks like a genkernel build, which I've never used, so you're on your own I'm afraid.
The Gentoo handbook has parameters that might (should ???) make this work.
:
 
Old 02-22-2005, 09:22 PM   #4
jiapei100
Member
 
Registered: Jan 2005
Location: Surrey, BC, Canada
Distribution: Ubuntu 12.04
Posts: 66

Original Poster
Rep: Reputation: 15
Thank you very much!!!

I know what you refer to.... Cheers
I will try it right now!!!!!

Can the forum Moderator just delete this topic(thread)??

Thanks



Quote:
Originally posted by syg00
Message seems pretty straight-forward.
You have no root parameter in the Gentoo section. Looks like a genkernel build, which I've never used, so you're on your own I'm afraid.
The Gentoo handbook has parameters that might (should ???) make this work.
 
  


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
Grub - multi OS boot hiteshmaisheri Linux - Software 3 01-15-2006 11:19 AM
Grub Multi-Boot On Old Laptop JamieKitson Linux - Software 1 11-16-2004 04:07 AM
GRUB Multi boot system JSThePatriot Linux - Newbie 11 07-30-2004 08:04 PM
Need help with boot loader. Multi boot questions. Grub? 1993gt40 Linux - Software 1 10-16-2003 08:28 PM
GRUB, Multi Linux/Multi Disk Boot gtnorton Linux - Software 1 03-16-2003 03:48 AM


All times are GMT -5. The time now is 12:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration