LinuxQuestions.org
Review your favorite Linux distribution.
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 09-26-2004, 05:00 PM   #1
sanitariumson
LQ Newbie
 
Registered: Sep 2004
Location: Seattle Wa
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
Question Grub With dual boot


I have recently installed Gentoo Linux. I already had an install of Windows XP on my first partition. Windows boots just fine when i select it in the Grub loader, when i select Gentoo, it seemingly boots fine but then halts partway through sartup. i get the error:

VFS: Cannot open root device "hda4" or 03:04
Please append a Correct "root=" boot option
Kernel panic: VFS: Unable to mount roont fs on 03:04

The reason that i have selected hda4 as my root drive is becauae my hda1 is my windows drive, hda2 is the boot drive, and hda3 is my swap drive.

Please help, i cannot get into linux until i fix this...and i am eager to start messing with linux
 
Old 09-26-2004, 05:57 PM   #2
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
The common cause of this is that support for your root filesystem was compiled as a module. Its also possible that you didn't include support for your HDD controller (this usually affects SATA drives). If you are using genkernel, make sure you have included the initrd= option in grub.conf
 
Old 09-26-2004, 05:59 PM   #3
sanitariumson
LQ Newbie
 
Registered: Sep 2004
Location: Seattle Wa
Distribution: Gentoo
Posts: 4

Original Poster
Rep: Reputation: 0
my hdd is regular IDE, and i am not using the genkernel how do i get the hdd support if i do not have it?
 
Old 09-26-2004, 06:27 PM   #4
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
In the Device drivers -> ATA/ATAPI/MFM/RLL menu, make sure you have support (not as modules) for
Enhanced IDE/MFM/RLL disk/cdrom/Include
Include IDE/ATA-2 DISK support
generic/default IDE chipset support

its also a good idea (for performance) to have
PCI IDE chipset support
and support for your IDE chipset. You can find out your IDE chipset by typeing "lspci"

You also need you have support for your root filesystem (not as a module).
 
Old 09-26-2004, 06:31 PM   #5
sanitariumson
LQ Newbie
 
Registered: Sep 2004
Location: Seattle Wa
Distribution: Gentoo
Posts: 4

Original Poster
Rep: Reputation: 0
i am new to linux so i am not sure how to get to where i can install the drivers...do i need to use my cd to get into the os or what?
 
Old 09-26-2004, 06:58 PM   #6
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
use the gentoo livecd to boot. Follow the installation instructions up to and including the chrooting step. But DON'T partition the hard drive or create new filesystems. Then
Code:
cd /usr/src/linux
make menuconfig
and make sure you've enabled the stuff above.
You'll need to mount your /boot partition and copy the new bzImage to it. If you copy it to the same name as the previous kernel, there is no need to edit grub.conf
 
  


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 dual boot, dual drives... scoob8000 Linux - General 5 04-11-2005 07:54 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
Dual boot, dual drives. Where to put GRUB? rgbrock1 Linux - Newbie 5 10-02-2004 11:56 AM
Grub Dual Boot Mandrake 9.2 and Win2000 Invalid Boot Disk larsenmtl Linux - Newbie 1 02-01-2004 04:29 PM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 04:38 PM


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