9.10: Grub -> LVM / mdadm hook not found after kernel update
linuxmail at 4lin.net
Sun Jan 10 19:29:33 UTC 2010
first, sorry for my very late answer. I had no time over Christmas.
so, the exact error message was:
/scripts/init-premount/mdadm line 98: add_mountroot_fail_hook not found
/scripts/init-premount/lvm line 39: add_mountroot_fail_hook not found
i got this message after the first kernel update (from
2.6.31-14-generic, to 2.6.31-16-generic). I absolutely sure, that the
ramdisk is the problem. To get it a _bit_ working, i copied the scripts
out of the ramdisk 2.6.31-14-generic /scripts/*
to /etc/initramfs-tools/scripts/ and did an update-initramfs -u -t.
Voila, the error disappears (i made a copy before). But to get the
system booting, I have to type:
initramfs> mdadm -A /dev/md1 /dev/sdb1 /dev/sdc1
initramfs> lvm vgchange -a y
I don't know, why the raid doesn't start. Without /dev/md1 the LVM can't
The /etc/mdadm.conf is OK and works for the old kernel/ramdisk from
CREATE owner=root group=disk mode=0660 auto=yes
ARRAY /dev/md1 level=raid1 num-devices=2
First i thought, of missing modules (multipath/raid1) and did some grub
tests, but the modules are available and working. But Raid doesn't start
so, again, sorry for my late mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
More information about the ubuntu-users