Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] VFS unknown-block(0 0)
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
caaarlos
Apprentice
Apprentice


Joined: 27 Apr 2012
Posts: 155

PostPosted: Tue May 24, 2016 5:51 pm    Post subject: [SOLVED] VFS unknown-block(0 0) Reply with quote

I am trying to boot my system, but this error happens. I have one hard driver (sda) where windows is installed. My gentoo system is on my usb port assigned to sdb and I am booting from a liveusb on sdc.

I have 3 partitions on my gentoo usb hard drive:
Code:
sdb1 --> boot
sdb2 --> swap
sdb3 --> root


This is my fstab:
Code:

/dev/sdb1      /boot      ext4      noauto,noatime   1 2
/dev/sdb3      /              ext4      noatime              0 1
/dev/sdb2      none      swap       sw                      0 0


This is my kernel .config: https://bpaste.net/show/32d32f8c0b31

This is my grub.cfg: https://bpaste.net/show/f2fb7d7c58e6

And this is my lsusb output:
Code:
$ lsusb
Bus 001 Device 005: ID 0951:1665 Kingston Technology Digital DataTraveler SE9 64GB
Bus 001 Device 003: ID 152d:2339 JMicron Technology Corp. / JMicron USA Technology Corp. JM20339 SATA Bridge
Bus 001 Device 002: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 062a:4101 Creative Labs Wireless Keyboard/Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


So, what is my problem?


Last edited by caaarlos on Wed May 25, 2016 2:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7134
Location: almost Mile High in the USA

PostPosted: Tue May 24, 2016 9:22 pm    Post subject: Reply with quote

Need more debug info...

Possibilities:
1. Since you're using root on USB you will need to have rootdelay=10 in your boot command line to allow the kernel to wait while USB enumerates.
2. I don't know if you have XHCI USB ports but if you do, that needs to be statically compiled into the kernel.
3. Identifying statically is dangerous, may need to look into using initramfs/UUID/LABEL or PARTUUID.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue May 24, 2016 9:31 pm    Post subject: Reply with quote

caaarlos,

rootwait, in place of rootdelay= works too. This solves the issue of the kernel mounting root before it starts USB, which is normal behavior.

On some systems, sda is always the boot drive. If your system is like that we will know by the numbers in unknown-block(x,y) as they will be non zero.
_________________
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
caaarlos
Apprentice
Apprentice


Joined: 27 Apr 2012
Posts: 155

PostPosted: Wed May 25, 2016 2:46 pm    Post subject: Reply with quote

Thanks NeddySeagoon and eccerr0r, both answers worked.
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