You are not logged in.

#1 2012-03-19 04:56:25

Surry
Member
Registered: 2012-01-11
Posts: 8

[Solved] Can't boot, root device not found

I recently performed an update of udev and my kernel and after this I am unable to boot the normal kernel or the fallback. When I try I get this error:

ERROR: Unable to find root device '/dev/disk/by-uid/03619a2f-908f-4724-ba4b-1fb3985e382b' You are being dropped to a recovery shell Type 'exit' to try and continue booting sh: can't access tty; job control turned off

Typing exit results in me dropping to another shell and if done repeatedly a kernel panic. I attempted to boot via the grub console using the sda device block but I came up with the same error. When I look in /dev through the recovery console that comes up the sda* blocks aren't present.

I need to know if there is a way to do this without entirely reformatting my system, I also don't have easy access to another computer but I have an android phone. Any assistance is greatly appreciated.

Last edited by Surry (2012-03-20 00:06:12)

Offline

#2 2012-03-19 05:32:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Can't boot, root device not found

There are quite a few threads with the same issue. Short story: you don't need to reinstall - just chroot in from a live CD and repair the damage...

You can find the details in any one of said threads.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-03-19 07:44:44

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Can't boot, root device not found

And it's even literally documented on our lovely wiki.


Burninate!

Offline

#4 2012-03-20 00:04:16

Surry
Member
Registered: 2012-01-11
Posts: 8

Re: [Solved] Can't boot, root device not found

This has been solved.

For anybody's reference:

From the recovery shell I had to load the modules ahci and sd_mod and that got the sda* to appear in /dev. After that I had to mount /dev/sda3 (my root partition) under /root and /new_root and then enter 'exit' to continue booting.

Pretty much:

modprobe ahci
modprobe sd_mod
mount /dev/sda3 /root
mount /dev/sda3 /new_root
exit

Offline

Board footer

Powered by FluxBB