You are not logged in.

#1 2012-03-26 20:58:54

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

[SOLVED] Unable to find root device on boot

Hey all, I've hit upon a bit of an issue rebooting Arch. This happened after a kernel upgrade (That I admittedly messed up - I stopped and started halfway through...). I found the error message on the wiki and followed the instructions, however I'm still unable to boot.

I followed all this line-by-line (Replacing sdx with sda3 when necessarary).

wiki wrote:

Q: After updating my system, I get a "unable to find root device" error after rebooting and my system will no longer boot.
A: Most likely your initramfs got broken during a kernel update (inproper use of pacman's --force option can be a cause). Use the below procedure in order to restore it.
Boot from a Arch live-cd. Once booted, run:
# mkdir /mnt/arch
# mount /dev/sdx /mnt/arch (your root partition)
# cd /mnt/arch
# mount -t proc proc proc/
# mount -t sysfs sys sys/
# mount -o bind /dev dev/
# mount /dev/sdx boot/ (your /boot partition)
# chroot . /bin/bash
# pacman -Syu
# pacman -S udev
# pacman -S mkinitcpio
# mkinitcpio -p linux
Afterwards, unmount and reboot.

I'm not sure what else to do now... Arch has been pretty good for me so far and I'd like to carry on using it (Preferably without a clean install!).

Thanks for any posts/help!

Last edited by Reded (2012-03-27 15:57:52)


"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."

Offline

#2 2012-03-27 02:10:16

lijpbasin
Member
Registered: 2011-08-09
Posts: 28

Re: [SOLVED] Unable to find root device on boot

Reded wrote:

This happened after a kernel upgrade (That I admittedly messed up - I stopped and started halfway through...).

boot the system from the arch install media
mount the filesystems of your failed system into a sub-directory like /mnt
Backup important data
'chroot /mnt pacman -Sy linux' to finish the unfinished kernel upgrade

Good luck!

Offline

#3 2012-03-27 15:57:37

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [SOLVED] Unable to find root device on boot

Hey, that worked, thanks a lot smile Officially an Archer again! *Solved*


"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."

Offline

Board footer

Powered by FluxBB