Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

new install: can't open root device hda3 on boot

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
themoebius
Tux's lil' helper
Tux's lil' helper
Posts: 117
Joined: Wed Mar 10, 2004 5:45 am

new install: can't open root device hda3 on boot

  • Quote

Post by themoebius » Fri May 14, 2004 8:00 am

just finished setting up my system and when i boot I get this:

Code: Select all

VFS: Cannot open root device "hda3" or hda3
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on hda3
I read the sticky thread about grub problems and the tips that it says about my error, but I have all that set up already. My fstab looks like:

Code: Select all

/dev/hda1		/boot		ext2		noauto,noatime		1 2
/dev/hda3		/		ext3		noatime			0 1
/dev/hda2		none		swap		sw			0 0
/dev/cdroms/cdrom0      /mnt/cdrom	auto		ro,user			0 0
#/dev/fd0		/mnt/floppy	auto		noauto			0 0

# NOTE: The next line is critical for boot!
none			/proc		proc		defaults		0 0
My grub.conf looks like:

Code: Select all

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2004.1
root (hd0,0)
kernel (hd0,0)/kernel-2.6.5-gentoo root=/dev/hda3

title=Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
makeactive
There's something funny with how my HDs are set up:
My linux HD is Secondary Master and my windows drive is Primary Master, but I set BIOS up to boot from my Secondary Master first. So in the LiveCD the linux drive is hdc but when I boot to grub its hda. (I think) So when i set up grub from the livecd I had to do:

Code: Select all

grub> root (hd1,0)
grub> setup (hd1) 
but in grub.conf it's (hd0,0).

I do have support for ext2 and ext3 and all the other stuff it specifies in the install handbook. I don't really know how to tell if I have my IDE chipset compiled into my kernel, but I assume I do because it's pretty standard.

I have a Asus K8V Deluxe with chipsets VIA K8T800 &
VIA VT8237. I compiled the only VIA thing I saw menuconfig.

EDIT: OK I just tried compiling my kernel with a few different additional features and I get a slight variation to the error:

Code: Select all

VFS: Cannot open root device "hda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
Any suggestions?

Thanks a lot!
Top
infamousmrsatan
Apprentice
Apprentice
User avatar
Posts: 201
Joined: Thu Jan 08, 2004 12:06 pm
Location: California

  • Quote

Post by infamousmrsatan » Fri May 14, 2004 11:51 am

What changes did you make to change the error?

How many ide drives do you have on your system?

My guess is that its not really (hd0, 0), but maybe (hd1,) or (hd2,0) -- or maybe not.

What about replacing root=/dev/hda3 with root=(hd0,2) or the equivalent?

Justin
Registered Linux User 344425
Join the adopt an unanswered post initiative today!
Por favor, corrija mi espanol!
Top
jkt
Retired Dev
Retired Dev
Posts: 1250
Joined: Fri Feb 06, 2004 12:40 pm
Location: Prague, Czech republic, EU
Contact:
Contact jkt
Website

  • Quote

Post by jkt » Fri May 14, 2004 4:42 pm

infamousmrsatan wrote: What about replacing root=/dev/hda3 with root=(hd0,2) or the equivalent?
kernel doesn't know anything about grub convention.
Top
jkt
Retired Dev
Retired Dev
Posts: 1250
Joined: Fri Feb 06, 2004 12:40 pm
Location: Prague, Czech republic, EU
Contact:
Contact jkt
Website

  • Quote

Post by jkt » Fri May 14, 2004 4:43 pm

what about root=/dev/hdc3 ?

edit: hdc, not hdv :oops:
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Fri May 14, 2004 5:08 pm

If you have a sata disk your hd may not be /dev/hda but /dev/hde. This seems to differ depending on what kind of sata controller the system has.
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
Buzz
n00b
n00b
Posts: 55
Joined: Fri Jul 19, 2002 3:13 pm

Re: new install: can't open root device hda3 on boot

  • Quote

Post by Buzz » Sun May 16, 2004 8:24 am

themoebius wrote:just finished setting up my system and when i boot I get this:

Code: Select all

VFS: Cannot open root device "hda3" or hda3
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on hda3
I feel your pain also... well, almost anyways. I have Gentoo running on 4 machines here. I, personally, HATE (yeah, strong word and I mean it too) the latest install of Gentoo. (2004.1) I'm trying to set up a firewall machine and I got bit by many annoyances on the latest cd (no network, problems untarring stage3, etc...) in all honesty, this is probably less a problem with Gentoo than Grub. Sorry for the venting, here's what I have to say about your problem..

All during the install from the cd and, of course, subsequent boots attempting to fix grub, etc. my root partition was listed as /dev/hdc3 (I boot from a promise card).

Not so after setting up grub. root=/dev/hdc3 gives the same error listed above. I was able to boot enough to see what my drive was recognized as, however...... looking closely I saw that it came in as hde and changing it in the grub setup allowed me to boot far enough to remind me to set up my fstab again (another boot with the freakin' install cd to mount /dev/hdc3 /mnt/gentoo and change fstab to /dev/hde3).

The only thing I can figure right now is I compiled in support for something stupid that uses another /dev/hd?? that is taking precedence.. anyways, good luck with your problem...

*edit*:

did I mention that the real bummer of it is that I couldn't get distcc to compile on this pentium 166 with 64 megs of ram and now that I've rebooted, synced, etc, it wants to install 37 packages to install distcc and stuff like x11, gtk, (for some reason) etc... I have an athlon xp 3200, athlon xp 1800, and a duron 800 all waiting to help out, but... alas... groan...
Top
deadaim
Guru
Guru
Posts: 467
Joined: Mon Oct 27, 2003 3:16 am
Location: Florida
Contact:
Contact deadaim
Website

  • Quote

Post by deadaim » Sun May 16, 2004 5:29 pm

I'm kind of confused why you would put 'root (hd1,0)' when you typed 'grub' in the prompt. That says that your boot partition is located in hdb1. If it's located in hda1, try typing 'root (hd0,0)' and then 'setup (hd0)' so it can write grub to the MBR.
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

Re: new install: can't open root device hda3 on boot

  • Quote

Post by cyrillic » Sun May 16, 2004 6:17 pm

Buzz wrote:now that I've rebooted, synced, etc, it wants to install 37 packages to install distcc and stuff like x11, gtk, (for some reason) etc...

Code: Select all

# USE="-*" emerge -pv distcc 
You can re-emerge it later with support for gnome and gtk if you really want to ...
Top
Buzz
n00b
n00b
Posts: 55
Joined: Fri Jul 19, 2002 3:13 pm

Re: new install: can't open root device hda3 on boot

  • Quote

Post by Buzz » Sun May 16, 2004 6:42 pm

cyrillic wrote:

Code: Select all

# USE="-*" emerge -pv distcc 
You can re-emerge it later with support for gnome and gtk if you really want to ...
ha! I did the -gnome and -gtk already, but thanks... dunno why I never thought of using a wildcard in USE. That can be pretty handy...

:)
Top
jkt
Retired Dev
Retired Dev
Posts: 1250
Joined: Fri Feb 06, 2004 12:40 pm
Location: Prague, Czech republic, EU
Contact:
Contact jkt
Website

  • Quote

Post by jkt » Tue May 18, 2004 3:19 pm

or simply USE="-X", it will filter out a lot of dependencies :-)
Top
Post Reply

10 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic