[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

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\"$,' \

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

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
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@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.

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply to: