You are not logged in.

#1 2012-03-09 13:14:15

wombat23
Member
Registered: 2011-01-14
Posts: 46

[SOLVED] Unable to find root device

I just did a fresh Arch install. I have a GPT with

sda1 FAT EFI partition
sda2 ext4 root partition

After grub2 launched the kernel, I get this error

:: Starting udevd...
done.
:: Running Hook [udev]
:: Triggering uevents...done.
Waiting 10 seconds for device /dev/sda2 ...
ERROR: Unable to find root device '/dev/sda2'.
You are being dropped to a recovery shell

From here: https://bbs.archlinux.org/viewtopic.php?id=135288 I deduce that people recently had this issue after upgrading. Their solution was to reinstall udev and mkinitcpio and issue

mkinitcpio -p linux

I tried that but it did not solve the problem.

ls /dev/
ls /dev/disk-id/

suggests that only the DVD drive has been recognized at this stage. There is also only a sr0 device but no sda

What could I do?

Last edited by wombat23 (2012-03-09 13:55:53)

Offline

#2 2012-03-09 13:24:09

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Unable to find root device

Does the fallback kernel boot okay?


ᶘ ᵒᴥᵒᶅ

Offline

#3 2012-03-09 13:36:23

wombat23
Member
Registered: 2011-01-14
Posts: 46

Re: [SOLVED] Unable to find root device

litemotiv wrote:

Does the fallback kernel boot okay?

Thanks for the hint. Fallback *does* work (although screen turns off when i get to the login prompt. but that seems to be a different issue which i could solve with an external screen)

So.. what could be underlying issue?

Last edited by wombat23 (2012-03-09 13:38:44)

Offline

#4 2012-03-09 13:41:22

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Unable to find root device

wombat23 wrote:
litemotiv wrote:

Does the fallback kernel boot okay?

Thanks for the hint. Fallback *does* work (although screen turns off when i get to the login prompt. but that seems to be a different issue which i could solve with an external screen)

So.. what could be underlying issue?

It seems that the kernel module that your harddisk requires is not included in the initramfs. If you issue lsmod after booting the fallback kernel, you can probably figure out which module that is, and add it to the MODULES line in /etc/mkinitcpio.conf.


ᶘ ᵒᴥᵒᶅ

Offline

#5 2012-03-09 13:55:35

wombat23
Member
Registered: 2011-01-14
Posts: 46

Re: [SOLVED] Unable to find root device

Thanks a ton.
I added "ata_piix" to the MODULES and it worked (I also added i915 to resolve the blank screen).

Offline

Board footer

Powered by FluxBB