You are not logged in.

#1 2012-10-01 18:16:19

KangarooLemonade
Member
Registered: 2012-10-01
Posts: 3

[SOLVED] Getting an 'Unable to Find Root Device' error.

I ran through the beginner's guide to installing Arch on the wiki and installed Arch onto an external USB hard drive. Everything ran pretty smoothly, but when I tried to boot from the USB, Arch dropped me off into a recovery shell (didn't let me run any of the commands, had to type 'reboot -f' to get out).

I've gone through a ton of different forum posts (including https://bbs.archlinux.org/viewtopic.php?id=149538 ), tried running 'pacman -S udev', 'pacman -S mkinitcpio', 'pacman -S linux', 'mkinitcpio -p linux', and took a look at fstab and mkinitcpio.conf. This is my second time installing Arch Linux (the first time I installed it, /arch/setup was still available) and I followed the install guide to the letter.

I'm hoping someone here can give me some advice on this, I've been at it for about 36 hours now with no results.

Partition layout:
/dev/sdb2 - root
/dev/sdb3 - swap
/dev/sdb4 - home

I can also hop onto the live CD and grab some more information if you need it, I'd just need to know what commands to run (still have little experience with Arch). Thanks.

Last edited by KangarooLemonade (2012-10-01 20:36:52)

Offline

#2 2012-10-01 18:22:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Getting an 'Unable to Find Root Device' error.

Do you have a /boot partition?
Post your bootloader (syslinux, grub or whatever you use) setup, so we can see if you configured it correctly.
It should look something like this: https://wiki.archlinux.org/index.php/Sy … sic_Config

Offline

#3 2012-10-01 19:11:45

KangarooLemonade
Member
Registered: 2012-10-01
Posts: 3

Re: [SOLVED] Getting an 'Unable to Find Root Device' error.

No /boot partition.

DEFAULT arch
PROMPT 0
TIMEOUT 50
UI menu.c32

LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sdb2 ro
    INITRD ../initramfs-linux.img

LABEL archfallback
    MENU LABEL Arch Linux Fallback
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sdb2 ro
    INITRD ../initramfs-linux-fallback.img

Offline

#4 2012-10-01 19:28:33

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Getting an 'Unable to Find Root Device' error.

KangarooLemonade wrote:

I ran through the beginner's guide to installing Arch on the wiki and installed Arch onto an external USB hard drive.

Yeah? And did you see this: https://wiki.archlinux.org/index.php/Be … nvironment ?

Here you need to set the right hooks if the root is on a USB drive, if you use RAID, LVM, or if /usr is on a separate partition.

No, of course you missed it...

Boot your install using the Fallback entry. If you do not have a Fallback entry, press Tab (for Syslinux) or "e" (for GRUB) and rename it initramfs-linux-fallback.img. After it boots, open up a terminal and run:

# nano /etc/mkinitcpio.conf
<add "usb" to the HOOKS line>
# mkinitcpio -p linux
# reboot

And don't forget to mark it as solved.

Last edited by DSpider (2012-10-01 20:11:04)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-10-01 19:38:55

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: [SOLVED] Getting an 'Unable to Find Root Device' error.

Why is it sdb?  The first drive that boots should really be sda.  Unless you've got the drive on the secondary.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2012-10-01 19:44:35

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Getting an 'Unable to Find Root Device' error.

Internal drives show up first, external drives show up later, hence, sdb.

Last edited by DSpider (2012-10-01 19:45:58)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#7 2012-10-01 20:36:20

KangarooLemonade
Member
Registered: 2012-10-01
Posts: 3

Re: [SOLVED] Getting an 'Unable to Find Root Device' error.

Well I was going to call you out on that condescending behaviour of yours, but you pointed me in the right direction and my error was the result of my own actions.
Either way, problem solved.

Offline

#8 2012-10-01 21:28:21

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Getting an 'Unable to Find Root Device' error.

Don't take it personal. I wrote it after noticing that a wiki admin cancelled my merger in the Beginners' Guide (for which I wasted two hours thinking over), for some bullshit reasons.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#9 2012-10-01 21:39:28

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Getting an 'Unable to Find Root Device' error.

I think DSpider has every right to respond to a question like this in any way he pleases.  It is a question that shows up far too often and could be easily solved with a quick search of these forums, or ideally, the wiki.

Offline

Board footer

Powered by FluxBB