Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Could not find the root block device
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
extrenenoob
n00b
n00b


Joined: 10 Apr 2015
Posts: 3

PostPosted: Fri Apr 10, 2015 9:05 am    Post subject: Could not find the root block device Reply with quote

Hello,
I have just installed Gentoo,but it stuck while boot sequence.
Code:
>>Determinig root device...
Could not find the root block device in .

asking root block device,and i enter my root device : /dev/sda3, and system opens without any further error.
what could the problem be?Thanks for any replies.
Back to top
View user's profile Send private message
bstaletic
Apprentice
Apprentice


Joined: 05 Apr 2014
Posts: 225

PostPosted: Fri Apr 10, 2015 9:11 am    Post subject: Reply with quote

Check /etc/fstab. I believe this is theproblem

I also have had similar problem on Arch when my initrd was not correctly configured. So check that and kernel config.
Back to top
View user's profile Send private message
el muchacho
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2015
Posts: 77

PostPosted: Fri Apr 10, 2015 10:37 am    Post subject: Reply with quote

Also check that the device appears in your GRUB config, in the line that looks like:

Code:
kernel /vmlinuz root=/dev/sda2 (...)
Back to top
View user's profile Send private message
extrenenoob
n00b
n00b


Joined: 10 Apr 2015
Posts: 3

PostPosted: Fri Apr 10, 2015 11:02 am    Post subject: Reply with quote

in /etc/fstab
Code:
/dev/sda3  /  ext4  noatime   0 1


el muchacho,about checking GRUB, do you mean /boot/grub/grub.cfg ? because in there there is:
Code:
linux /boot/vmlinuz-(...) root=/dev/sda3 ro rootfstype=ext4

i just found out,the initrd line is missing. Before reboot it was there.
any suggestion?
Back to top
View user's profile Send private message
bstaletic
Apprentice
Apprentice


Joined: 05 Apr 2014
Posts: 225

PostPosted: Sat Apr 11, 2015 12:47 pm    Post subject: Reply with quote

grub2-mkconfig should do the trick. Reuse the command already used. Then recheck grub.cfg.
Back to top
View user's profile Send private message
extrenenoob
n00b
n00b


Joined: 10 Apr 2015
Posts: 3

PostPosted: Mon Apr 13, 2015 2:13 pm    Post subject: Reply with quote

Still not working, i decided the start installing from the beginning.Thanks all you people.
Back to top
View user's profile Send private message
el muchacho
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2015
Posts: 77

PostPosted: Mon Apr 13, 2015 2:46 pm    Post subject: Reply with quote

In your first install, did you edit some Kernel options ?
Back to top
View user's profile Send private message
Atmmac
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2013
Posts: 130
Location: Watertown, MA

PostPosted: Fri Apr 17, 2015 7:04 pm    Post subject: Reply with quote

Make sure you build your file system into the kernel.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43207
Location: 56N 3W

PostPosted: Fri Apr 17, 2015 7:21 pm    Post subject: Reply with quote

extrenenoob,

Welcome to Gentoo.

At this point
Code:
Could not find the root block device in .
the kernel lists all the block devices it can see.
In your case, none at all.
As it boots when you give /dev/sda3, this suggests that the module that provdies allto your HDD is not loaded whet the kernel tries to mount root.

This happens when root is on USB because the kernel tries to mount root before USB has been started.
Do you have root on a USB drive?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Sat Apr 18, 2015 12:55 am    Post subject: Reply with quote

NeddySeagoon wrote:

As it boots when you give /dev/sda3, this suggests that the module that provdies allto your HDD is not loaded whet the kernel tries to mount root.

Do i need to check those english words or is it just some kind of drunk Scotish slang? :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43207
Location: 56N 3W

PostPosted: Sat Apr 18, 2015 2:03 pm    Post subject: Reply with quote

krinn,

:) It was late and I'm still learning dvorak-uk. I've not had anything intoxicating to drink since hogmanay :(. Honest.
dvorak-uk is mosty good. I no longer sign myself with a typo as Rot in emails.

The words should read "access to" and "when"
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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