Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112250 - When my system boots it is unable to mount / find the root partition
Summary: When my system boots it is unable to mount / find the root partition
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-12 03:13 UTC by Vikrant Aivalli
Modified: 2005-11-12 16:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My grub.conf (grub.conf,737 bytes, text/plain)
2005-11-12 05:09 UTC, Vikrant Aivalli
Details
My fstab (fstab,1.15 KB, text/plain)
2005-11-12 05:11 UTC, Vikrant Aivalli
Details
My fstab (fstab,1.14 KB, text/plain)
2005-11-12 05:32 UTC, Vikrant Aivalli
Details
My .config (gentoo-dot-config,44.05 KB, text/plain)
2005-11-12 05:38 UTC, Vikrant Aivalli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vikrant Aivalli 2005-11-12 03:13:59 UTC
After the GRUB screen various driver etc are initialised. Then it says:

-----------------------

Starting udev:

Determining root device root partition:

!! The root block device is unspecified or not detected !!
Plese specify a root device to boot  or "shell" for a shell
boot () :: /dev/hdb1

>> Mounting root....
mount: Mounting /dev/hdb1 on /newroot failed: Invalid argument
Could not mount the specified ROOT, try again,
!! The root block device is unspecified or not detected !!
Plese specify a root device to boot  or "shell" for a shell
boot () :: 

-----------------------

My fstab contents are as follows:

/dev/hda1		/boot		ext3		noauto,noatime	1 2
/dev/hdb1		/		reiserfs	noatime,auto,rw.notail	0 1
/dev/hda6		none		swap		sw		0 0
/dev/cdroms/cdrom0	/mnt/cdrom	iso9660		noauto,ro	0 0
#/dev/fd0		/mnt/floppy	auto		noauto		0 0

---------

My /boot/grub/grub.conf is as follows: 

# For booting GNU/Linux - Gentoo
title  GNU/Linux - Gentoo
	root (hd0,0)
	kernel (hd0,0)/boot/kernel-genkernel-x86-2.6.14-gentoo root=/dev/ram0
real_root=/dev/hdb1 init=/linuxrc ramdisk=8192 udev

	initrd (hd0,0)/boot/initramfs-genkernel-x86-2.6.14-gentoo


# For booting GNU/Linux - Fedora
title  GNU/Linux - Fedora
	root (hd0,4)
	kernel (hd0,4)/boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ hdd=ide-scsi
	initrd (hd0,4)/boot/initrd-2.6.11-1.1369_FC4.img

-----------------

So, my problem is the kernel cannot mount my ROOT partition !

Reproducible: Always
Steps to Reproduce:
1. Power-up the box.
2. GRUB screen is fine.
3. Loads usb etc drivers.
4. Stops at 

Starting udev:

Determining root device root partition:

!! The root block device is unspecified or not detected !!
Plese specify a root device to boot  or "shell" for a shell
boot () :: 
Actual Results:  
!. I tried various swaps (read: combinations) of root, real_root with /dev/hda1,
/dev/hdb1 and /dev/ram0.

RESULT: Didnt work.

----------

2. Merged the ~x86 of busybox, udev. Also recheked my .config and recompiled my
kernel with all the possible things built-in, instead of modules !

RESULT: No change !
--------------------

Expected Results:  
Should have figured out the ROOT partition and booted normally.

emerge info output below:

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.11-1.1369_FC4 i686)
=================================================================
System uname: 2.6.11-1.1369_FC4 i686 
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://gentoo.seren.com/gentoo http://cudlug.cudenver.edu/gentoo/
ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrored.ca/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://mirror.uni-c.dk/pub/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/
http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X aac alsa apm arts avi bash-completion berkdb bitmap-fonts
bluetooth bzip2 cdparanoia cdr clamav crypt cups dvd dvdr dvdread eds emacs
emboss encode expat foomaticdb fortran ftp gdbm gif gpm gstreamer gtk gtk2 imlib
ipv6 jpeg kde kdeenablefinal libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg
ncurses nls offensive ogg oggvorbis oog oogvorbis opengl oss pam pda pdflib perl
png python qt quicktime readline ruby samba sdl snmp spell sse ssl svg symlink
tcpd truetype truetype-fonts type1-fonts udev vcd vorbis wifi win32codecs xine
xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

------------------

Output of emerge -vp genkernel udev below:


These are the packages that I would merge, in order:

Calculating dependencies    ...done!
[ebuild     UD] sys-fs/udev-070-r1 [073] (-selinux) -static 0 kB 
[ebuild   R   ] sys-kernel/genkernel-3.3.6  -bootsplash -ibm 0 kB 

Total size of downloads: 0 kB

-------------
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-12 03:18:20 UTC
Just noticed:

> /dev/hdb1		/	reiserfs	noatime,auto,rw.notail	0 1

That rw.notail is obviously not correct...
Comment 2 Vikrant Aivalli 2005-11-12 03:27:35 UTC
(In reply to comment #1)
> Just noticed:
> 
> > /dev/hdb1		/	reiserfs	noatime,auto,rw.notail	0 1
> 
> That rw.notail is obviously not correct...
> 

It prolly was a typo while pasting / editing. I have verified the . should be , 

HTH.

-aivalli
Comment 3 Vikrant Aivalli 2005-11-12 05:09:44 UTC
Created attachment 72736 [details]
My grub.conf
Comment 4 Vikrant Aivalli 2005-11-12 05:11:10 UTC
Created attachment 72737 [details]
My fstab
Comment 5 Vikrant Aivalli 2005-11-12 05:32:08 UTC
Created attachment 72740 [details]
My fstab
Comment 6 Vikrant Aivalli 2005-11-12 05:38:45 UTC
Created attachment 72741 [details]
My .config
Comment 7 Vikrant Aivalli 2005-11-12 08:23:35 UTC
Further I ran gpart /dev/hdb1 and the error is:

Fatal error /dev/hdb1: seek error

I dont know what that means. Bad hard-drive ?

-Aivalli
Comment 8 SpanKY gentoo-dev 2005-11-12 16:54:22 UTC
bad hard drive or bad filesystem