You are not logged in.

#1 2009-06-24 01:19:51

oib111
Member
Registered: 2009-06-20
Posts: 87

Arch Won't Boot

So I installed Arch to my SD card. I turn on my computer and boot to my SD card and see GRUB. I choose to boot Arch Linux. I get an Error 21: Selected disk does not exist. So I change it from:

root (hd3,0)

to

root(hd0,0)

So I try booting again, and it appears to be booting for a while but then I see on my screen all these errors:

ERROR: root fs cannot be detected. Try using the rootfstype = kernel parameter.
Waiting for devices to settle....done.

Root device '/dev/disk/by-uuid/b6bdc19a-7a29-47cf-a41c-2f1b0d4f9812' doesn't exist, attempting to create it.
ERROR: Failed to parse block device name for 'b6bdc19a-7a29-47cf-a41c-2f1b0d4f9812'
ERROR: Unable to create/detect root device 'dev/disk/by-uuid/b6bdc19a-7a29-47cf-a41c-2f1b0d4f9812'
Dropping to a recovery shell... type 'exit' to reboot
NOTE: klibc contains no 'ls' binary, use 'echo *' instead

If the device 'dev/disk/by-uuid/b6bdc19a-7a29-47cf-a41c-2f1b0d4f9812' gets created while you are here try adding 'rootdelay=8' or higher to the kernel command-line
ramfs$

What's going on?

Last edited by oib111 (2009-06-24 01:20:46)

Offline

#2 2009-06-24 03:00:09

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

Re: Arch Won't Boot

It appears that the installer thought your root was /dev/sdc1 (based on what it made the grub root line). You'll probably need to change the root line in your /boot/grub/menu.lst, though it looks like it's using UUID right now.

What is your root device for your arch install?

You'll need to change root=/dev/disk/by-uuid/blabla to the correct device if it didn't get the right one.

If you're confused, you can boot a livecd and run fdisk -l. That'll give you your partition layout.


Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.

Offline

#3 2009-06-24 03:03:07

oib111
Member
Registered: 2009-06-20
Posts: 87

Re: Arch Won't Boot

Well what happens is when my USB is plugged in (it has the installer on it) my SD card is recognized as sdd (GRUB numbers start from 0, so 3 is the fourth number, hence sdd). But without my USB plugged in it isn't. And, I'm pretty sure it's the right UUID, I'll check.

EDIT:

Oh, and remember I changed the line from (hd3,0) to (hd0,0).

Last edited by oib111 (2009-06-24 03:03:32)

Offline

#4 2009-06-24 03:11:08

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

Re: Arch Won't Boot

Looks like it must be the uuid device then. If it still doesn't work and you think it's correct, trying running a livecd and mounting that device.

Like,

mount /dev/disk/by-uuid/blabla /mnt/bla

If that mounts the right device then the UUID is fine. Then I'm clueless as to why it won't work. smile


Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.

Offline

#5 2009-06-24 03:14:01

oib111
Member
Registered: 2009-06-20
Posts: 87

Re: Arch Won't Boot

Ok I'll try that now.

EDIT:

Tried:

mount /dev/disk/by-uuid/b6bdc19a-7a29-47cf-a41c-2f1b0d4f9812 /mnt

It said:

mount: you must specify the filesystem type

Last edited by oib111 (2009-06-24 03:24:03)

Offline

#6 2009-06-24 03:19:41

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Arch Won't Boot

Perhaps you need to revert back to previous mkinitcpio to solve this problem?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2009-06-24 03:27:15

oib111
Member
Registered: 2009-06-20
Posts: 87

Re: Arch Won't Boot

How do I do that?

Offline

#8 2009-06-24 14:55:50

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Arch Won't Boot

oib, Statix's advice on uuid is good advice, (it's a unique id that will always identify that device) so you could put that as

root=/dev/disk/by-uuid/b6bdc19a-7a29-47cf-a41c-2f1b0d4f9812

in your menu.lst.  Assuming that is the correct uuid.  (you probably already know but) You can find uuid by:

ls -l /dev/disk/by-uuid/

If you're not sure to what device to use, post your "fdisk -l" and the results of the above command.

Your next step (as I said before) is to create a custom initramfs with mkinitcpio that has usb driver support.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#9 2009-06-24 15:08:42

Vladman
Member
Registered: 2009-01-28
Posts: 118

Re: Arch Won't Boot

I just installed arch on usb drive yesterday and when I rebooted I had the same problem like you.
Rebooted again and everything loaded fine.
Not sure what the problem is though.

Offline

#10 2009-06-24 16:39:41

oib111
Member
Registered: 2009-06-20
Posts: 87

Re: Arch Won't Boot

I'm positive that's the UUID. I'll check one more time just to make sure, then I'll try changing it to:

root=/dev/disk/by-uuid/b6bdc19a-7a29-47cf-a41c-2f1b0d4f9812

Didn't work, I'm still getting thrown into the recovery console. Also, it's kind of odd. I can only use (hd0,0). If I try (hd1,0) or (hd2,0) I get this:

Booting command list

root(hd1,0) //or hd2
  Filesystem type unknown, partition type 0x7
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/b6bdc19a-7a29-47cf-a41c-2f1b0d4f9812 ro

Error 17: Cannot mount selected partition

Press any key to continue

Last edited by oib111 (2009-06-24 19:32:32)

Offline

#11 2009-06-24 21:55:04

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Arch Won't Boot

Hmm, that's strange.  Not sure just why it's doing that. 

As for your booting to $ramfs you'll need to create a custom initramfs with mkinitcpio as I said before.  Have you done that yet?


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#12 2009-06-24 22:13:07

oib111
Member
Registered: 2009-06-20
Posts: 87

Re: Arch Won't Boot

How exactly do I do that?

EDIT:

Was looking on the mkinitcpio wiki page and i found out how, but I installed to an SD card not my USB? So adding USB support wouldn't help, would it? Also I have a question, what exactly is initramfs and what does it do? And does it only differ from initrd by not being a block device?

Last edited by oib111 (2009-06-24 23:05:45)

Offline

#13 2009-09-19 12:40:04

self_bias_resistor
Member
Registered: 2009-03-27
Posts: 4

Re: Arch Won't Boot

Don't know if it is solved already, but I had the exact same error msg (another UUID of course)
with my Arch on a HDD and with advice from this thread

http://bbs.archlinux.org/viewtopic.php?id=71261

I rebuild my mkinitcpio

mkinitcpio -p kernel26

and now it works fine again.

Offline

Board footer

Powered by FluxBB