You are not logged in.

#1 2009-06-29 03:04:59

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Root device '/dev/md0' doesn't exist [solved]

I'm trying to install Arch64 on a raid5 setup.  I've walked through the wiki method twice but cannot get arch to boot.  I get:

Root device '/dev/md0' doesn't exist.  Attempting to create it
ERROR:  Failed to parse block device ids for '/dev/md0'
ERROR:  Unable to detect or create root device '/dev/md0'
then some information and

ramfs$

At that point I have a system that won't accept any input, so nothing more to be done but a reboot.
I have mdadm and lvm2 in the hooks portion of mkinicpio
my rc.conf  sets the root device at /dev/md0

I read some posts on similar problems, suggesting rerunning mkinitcpio, which I tried, but I apparently don't know how to chroot correctly into the system from the live CD because mkinitcpio spawned a page of error messages before declaring SUCCESS, so I assume I messed it up good.  I don't understand the bind directives given in various posts preceding the actual chroot command, reading about it hasn't changed that, so that might be part of the problem as I'm stuck trying to cookbook that.

The system did wait 10 seconds for /dev/md0, and when that didn't work I added a rootdelay=15, but that was not successful either.

I started with the CD install, but it complained that the mdadm hook could not be found.  My last try used the FTP install.

I'm stuck on where to go next.  Any help appreciated.

Last edited by timm (2009-07-01 11:33:46)

Offline

#2 2009-06-29 03:25:02

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Re: Root device '/dev/md0' doesn't exist [solved]

So I should have gone to bed, but I'm obsessive....

So I went down and ran the install again from the install cd
went into the system configuration menu, opened mkinitcpio but made no changes
exited to the main menu
mkinitcpio runs
I quit the installation program and reboot.....

And the system works all the way through and boots.

I have no explanation........

Offline

#3 2009-06-29 03:27:44

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: Root device '/dev/md0' doesn't exist [solved]

Use the 'mdadm' hook in mkinitcpio.conf instead of 'raid'

Offline

#4 2009-07-01 11:33:13

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Re: Root device '/dev/md0' doesn't exist [solved]

Had that in there both times, was really confused with the failure given the good reports about the mdadm hook.  Anyway, it's up and working now.

Offline

Board footer

Powered by FluxBB