Bug#386468: mdadm: cannot mount root filesystem after upgrade (system unbootable)

martin f krafft madduck at debian.org
Fri Sep 8 08:42:58 UTC 2006


retitle 386468 initramfs creation from chroot renders system unbootable
thanks

also sprach martin f krafft <madduck at debian.org> [2006.09.08.1011 +0200]:
> That's because you cannot just mount to /.
> 
> What do you have in your grub configuration as the root= parameter?

I think it's all due to your chroot. What happens is that mdadm
decides that /dev/md3 (which probably is your stable root
filesystem) holds the root filesystem, so it decides to bring it up
during boot. Your grub configuration, however, is expecting
/dev/md2...

What happens if you change the INITRDSTART parameter in
/etc/default/mdadm to /dev/md2 (in the testing chroot) and run

  update-initramfs -u -k all

?

Can you then boot?

-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- 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/20060908/59993685/attachment.pgp


More information about the pkg-mdadm-devel mailing list