problem with mdadm 2.5.2-1 / initramfs-tools <<0.65 (was: RFT: please test mdadm/experimental)

martin f krafft madduck at debian.org
Wed Jun 28 14:42:09 UTC 2006


Hi again,

I am sorry, but there is a stupid, minor glitch in the
README.experimental file, which may lead to an unbootable system
with initramfs-tools << 0.65.

The cause of the problem is the sed call:

  sed -i -e 's,^PREREQ=\"md\"$,PREREQ=\"mdadm\"$,' \
    /usr/share/initramfs-tools/scripts/local-top/lvm

See that second '$'? It should not be there. If it is, the
local-top/lvm script declares a prerequisite on mdadm$, and due to
#369617, this will lead to an error during the initramfs
initialisation.

Fortunately, you all scrutinised the commands before pasting and
running them as root, so the error should not affect anyone. :)

The solution if you have not yet rebooted is to change the line
  PREREQS="mdadm"$
to
  PREREQS="mdadm"
in /usr/share/initramfs-tools/scripts/local-top/lvm, and to rerun

  update-initramfs -u -k$(uname -r)

If you have rebooted and your system won't come back up, reset it,
append break=mount to the kernel command line with your boot loader
and make the above change as soon as you have a shell in
/scripts/local-top/lvm. Then hit ctrl-d and the system should boot
regularly. Don't forget to make the change in
/usr/share/initramfs-tools/scripts/local-top/lvm as well!

Sorry for the inconvenience.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <madduck at debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
quidquid latine dictum sit, altum viditur.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20060628/990d10e1/attachment.pgp


More information about the pkg-mdadm-devel mailing list