Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub and root error!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
warlock55
n00b
n00b


Joined: 25 Jan 2004
Posts: 8

PostPosted: Sun Jan 25, 2004 8:04 am    Post subject: Grub and root error! Reply with quote

I'm having this problem with Gentoo on my laptop (toshiba portege 4010).
I have no boot partition, I use only a single / partition which is formatted with reiserfs. The kernel is already compile with reiserfs (not as a module).

When I boot up, I see this:
VFS: mounted root (ext2 filesystem)
Mounted devfs on /dev
Gentoo initrd startup...
Step1 :.. .
Step 2: .. . ....
....
Step 4: determining root device
Root block device unspecified or not detected
Please specify a device to boot, or "shell" for a shell.

then I enter: /dev/hda2 (my root partition)
I get:
Step 4a: mouting root
step 5: finishing up
step 5b: setting up stuff for pivot_root
step 6: pivot_root and exec/chroot real init
umount /tmp/.initrd/dev: device is busy
Usage: init 0123456SsQqAaBbCcUu
VFS: Cannot open root device "hda2" or 03:02
Please append a correct "root=" boot option
kernel panic: VFS: Unable to mount root fs on 03:02



My fstab has this line:
/dev/hda2 / reiserfs notail 0 0

my grub.conf:
root (hd0,1)
kernel /boot/kernel-version root=/dev/hda2 vga=788
initrd /boot/initrd-version


Is there anything wrong with my setup?
Thanks alot.
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Sun Jan 25, 2004 9:12 am    Post subject: Reply with quote

you tell that you included the Reiserfs into the kernel (which is good, in your situation).
So I suppose that you compiled your kernel yourself, and not with the gentoo-genkernel-tools?
if you did it yourself, IMHO, the initrd line should not be there.

Also, if you did it yourself, make sure that absolutely everything needed to boot is IN the kernel (that includes of cource reiserfs, but also IDE or SCSI drivers, ...)

Code:
VFS: mounted root (ext2 filesystem)

This bothers me too: why is he detecting it as an ext2....
Back to top
View user's profile Send private message
warlock55
n00b
n00b


Joined: 25 Jan 2004
Posts: 8

PostPosted: Sun Jan 25, 2004 3:01 pm    Post subject: Reply with quote

I used the genkernel first but I got the same problem...
I modified the genkernel config file to compile reiserfs into the kernel itself.. still the same problem.

I guess the VFS: Mounted root (ext2 filesystem) is ok because I have a server running Gentoo and it also has that message although the root partition is reiserfs..
The server's dmesg:
Code:

VFS: Mounted root (ext2 filesystem).
NCR53c406a: no available ports found
aec671x_detect:
scsi: <fdomain> Detection failed (no card)
megaraid: v1.18 (Release Date: Thu Oct 11 15:02:53 EDT 2001)
megaraid: no BIOS enabled.
DC390: 0 adapters found
Failed initialization of WD-7000 SCSI card!
3ware Storage Controller device driver for Linux v1.02.00.031.
3w-xxxx: No cards with valid units found.
NCR53c406a: no available ports found
Red Hat/Adaptec aacraid driver, Jan  2 2004
Loading Adaptec I2O RAID: Version 2.4 Build 5
Detecting Adaptec I2O RAID controllers...
sim710: No NCR53C710 adapter found.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB UHCI at I/O 0xe000, IRQ 10
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
reiserfs: checking transaction log (device 03:01) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
VFS: Mounted root (reiserfs filesystem) readonly.
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
Back to top
View user's profile Send private message
mnagl
n00b
n00b


Joined: 05 Jul 2003
Posts: 25

PostPosted: Mon Mar 29, 2004 12:45 pm    Post subject: same problem Reply with quote

i've got the same problem here. it is on a customers server and so it's very annoying. i'm using software-raid an have to type /dev/md2 every time the server boots to get it up.
Back to top
View user's profile Send private message
Pdrie
n00b
n00b


Joined: 29 Mar 2004
Posts: 6

PostPosted: Mon Mar 29, 2004 12:58 pm    Post subject: Reply with quote

I had the same problem. It was solved when I replaced the following line in Grub

kernel /boot/kernel-version root=/dev/hda2 vga=788

with

kernel /boot/kernel-version root=/dev/ram0 init=/linuxrc real_root=/dev/hda2 vga=788
Back to top
View user's profile Send private message
mnagl
n00b
n00b


Joined: 05 Jul 2003
Posts: 25

PostPosted: Tue Mar 30, 2004 10:51 am    Post subject: Reply with quote

that replacement has already been made in my case. so i am very astouned why the error ist going on to show up.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum