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

Removing lvm and crypto from rootfs



Hello list!

I'm having an issue with my sheevaplug. Previously it booted off an encrypted lvm. I have now rsynced the entire rootfs to a standard partition on a usb stick and I am trying to get it to boot.

My strategy is to update the initramfs from a chroot, inspired by this: http://www.cyrius.com/journal/debian/orion/d-link/dns-323/fix-initramfs-tools

I have updated /etc/fstab and replaced all occurrences of /dev/mapper/vg-lv with the UUIDs of the partitions. However, after running update-initramfs -u, it still tries to boot from my old lvm, which obviously fails. There is something more than /etc/fstab that needs to be changed.

I'm guessing I need to fiddle with the hooks for initramfs-tools, but I am completely unfamiliar with that. Any hints?

TIA
B

Reply to: