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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-08-2005, 11:27 AM
|
#1
|
Member
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224
Rep:
|
Kernel Panic dual booting Gentoo + Debian [SOLVED]
This is the story:
I've got a spare 20Gb on my main drive, so I partitioned 10Gb of it and put ReiserFS on it. Then I did a single partition install of the latest stable Debian to that logical partition (/dev/hde7). I skipped the bootloader installation because I'd planned to use the already installed Gentoo bootloader to load it.
So, after installing Debian to /dev/hde7 (which went flawlessly), I rebooted into Gentoo and edited grub.conf to add an entry to boot Debian.
The entry looks like this:
title=Debian
root (hd0,6)
kernel /vmlinuz root=/dev/hde7
When I select debian from the boot menu however, the kernel loads and starts booting up, but then it stops with the following error messages:
VFS: Cannot open root device "hde7" or 21:07
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 21:07
Any ideas what's going wrong? I can still boot into Gentoo fine...
Last edited by JoeDuncan; 12-08-2005 at 05:08 PM.
|
|
|
12-08-2005, 03:08 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
Here are the relevant lines from a Sarge menu.lst:
title Sarge
root (hd0,6)
kernel /boot/vmlinuz-2.6.8-2-686 root=/dev/hde7 ro
initrd /boot/initrd.img-2.6.8-2-686
savedefault
boot
Last edited by WhatsHisName; 12-08-2005 at 03:16 PM.
|
|
|
12-08-2005, 04:55 PM
|
#3
|
Member
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224
Original Poster
Rep:
|
Kernel Panic dual booting Gentoo + Debian [SOLVED]
I fixed it.
The problem was that I was missing the "initrd" command in grub.conf.
I have two symlinks in "/" called "vmlinuz" and "initrd.img" which point to files in "/boot".
Anyways, I was going to move the kernel to my Gentoo "/boot" partition when I noticed the initrd.img file, so I looked up "initrd" in the grub manual and found out I had to add the initrd command in grub.conf.
So now my Debian entry in grub.conf looks like this:
title=Debian
root (hd0,6)
kernel /vmlinuz root=/dev/hde7
initrd /initrd.img
Thanks!
|
|
|
All times are GMT -5. The time now is 03:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|