On Thu, 2007-10-25 at 16:26 +0930, Glen Turner wrote:
> On Thu, 2007-10-25 at 14:22 +1000, James Gregory wrote:
> 
> 
> > Has the md raid system been deprecated in Gutsy? Is it likely that I
> > need to do something to migrate this to device-mapper or something?
> 
> Hi James,
> 
> It looks like they've reworked the assembly of RAID during boot for
> Gutsy.  See

I finally got time to work this one out. Sorta. Thought I'd post for the
sake of the archives.

There were two problems:

- There was an extraneous kopt_alt_26 (I think) line
in /boot/grub/menu.lst, which means that instead of having
'root=UUID=xyz', it had root=/dev/md5. I removed this line, leaving just
the kopt= line, with the correct root= argument and reran update-grub.

- My /etc/mdadm/mdadm.conf file was subtly wrong: the last two
colon-separated fields on the ARRAY lines for md4 and md5 were wrong.
The first two were correct. I have no idea how it got into this state.
Anyway, I ran 'mdadm -QE --scan', and replaced the relevant lines
in /etc/mdadm/mdadm.conf with that data. Then I ran mkinitramfs to push
that change back into the initrd.

Et voila! It boots again. I can only assume that the reason the old
kernel still worked was because it somehow had a correct mdadm.conf in
its initrd, though I'm utterly puzzled at how it ended up in this state

Thanks to everyone for their help on this.

James.

-- 
     James Gregory  --  http://codelore.com  --  [EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to