Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VFS: cannot open device "sda4" or unknown-block(8,
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
kooshti
n00b
n00b


Joined: 20 Apr 2005
Posts: 6

PostPosted: Tue Apr 26, 2005 12:04 am    Post subject: unknown-block(8,4) sata drive append a correct "root=&q Reply with quote

Hi all,
I get this error when booting:

"VFS: cannot open device "sda4" or unknown-block(8,4)
please append a correct "root=" boot option
Kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(8,4)

system:
1 sata 80gb drive: 1st partition: windows xp and second partition: gentoo - dual boot

df:
sda1 windows
sd2 /boot
sda3 swap
sda4 /

fstab:
/dev/sda2 /boot ext2 noatime 1 1
/dev/sda4 / ext3 noatime 0 0
/dev/sda2 none swap sw 0 0

grub.conf:
default 0
timeout 15
title=Linux 2.6.9
root (hd0,1)
kernel /linux-2.6.9 root=/dev/sda4

mtab:
/dev/sda4 / ext3 rw,noatime 0 0
/dev/sda2 /boot ext2 rw,noatime 0 0

device.map:
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/hda

Okay. So when in chrooted gentoo environment grub find /boot/grub/stage1 = (hd1,1)
When not in chrooted environment grub find /boot/grub/stage1 = (hd0,1) therefore the error message

Have checked and tripple checked that I have sata adn scsi support enabled in kernel. Have rebuilt kernel over and over.
Have tried changing root= to hda1,2,3,4 and sda ....
Have tried grub-install --device-map=FILE --boot-drive=DRIVE
Have tried grub: root (hd0,1) and setup (hd0,1) when not in chrooted environment

Have spent two + weeks trying to find an answer.
Can someone help me please?
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Karlsruhe, Germany

PostPosted: Tue Apr 26, 2005 10:45 am    Post subject: Reply with quote

:arrow: https://forums.gentoo.org/viewtopic-p-2350557.html#2350557
_________________
KDE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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