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

Bug#378332: initramfs-tools: Update-initramfs doesn't understand "/dev/vg/lv" in fstab



Package: initramfs-tools
Version: 0.85h
Followup-For: Bug #378332


Similar problem here: update-initramfs 0.85h seems don't understand
that the "/dev/vg/lv" in fstab indicats an LVM, but loves
"/dev/mapper/vg-lv" only.

I was setting up root encryption for an old system. I created a new
encrypted root partition, copied files, updated /etc/crypttab and
/etc/fstab, chrooted into the new root and ran "update-initramfs
-u". The update was successful, but it hadn't incldued cryptroot in
the initrd file.

After a lot of study and try, I changed the "/dev/vg/lv" in fstab to
"/dev/mapper/vg-lv" and rerun the update-initramfs and it was OK.

I think this is quite annoying and should not be too difficult to fix.

Thanks!



Reply to: