Encrypted root volume - possible goof up on my part!

Discussion in 'HOWTO-Related Questions' started by physdude, Jul 19, 2008.

  1. physdude

    physdude New Member

    I went through most of the instructions on the encrypted root volume howto as I wanted to add a physical volume to my volume group and also ultimately extend my root logical volume (by booting into the live-cd so that the root filesystem is not mounted). While following the encrypted-lvm-howto, I was editing the /etc/initramfs-tools/conf.d/cryptroot file and I ended up first copying the original cryptroot by mistake and then appending the line I wanted rather than just including the line I wanted to add. Well, the upshot is that I have a cryptroot on the initramfs which duplicates the original cryptroot twice and adds the new line. IOW, the new cryptroot is this (/dev/sdc1 is the new encrypted partition):

    target=sda5_crypt,source=/dev/disk/by-uuid/3fb738d0-e025-4280-a045-bc5d48272605,key=none
    target=sdb1_crypt,source=/dev/disk/by-uuid/84d75f76-0204-494e-806a-cda376ead5ae,key=none,lvm=UUID=35cdabba-23d7-4872-b4a3-6dbfa6901d8c
    target=sda5_crypt,source=/dev/disk/by-uuid/3fb738d0-e025-4280-a045-bc5d48272605,key=none,lvm=mainlynas-swap
    target=sdc1_crypt,source=/dev/disk/by-uuid/f54450d9-fe21-4a7f-bbfc-a7d63f710bb3,key=none
    target=sda5_crypt,source=/dev/disk/by-uuid/3fb738d0-e025-4280-a045-bc5d48272605,key=none
    target=sdb1_crypt,source=/dev/disk/by-uuid/84d75f76-0204-494e-806a-cda376ead5ae,key=none,lvm=UUID=35cdabba-23d7-4872-b4a3-6dbfa6901d8c
    target=sda5_crypt,source=/dev/disk/by-uuid/3fb738d0-e025-4280-a045-bc5d48272605,key=none,lvm=mainlynas-swap

    My first question is whether this will cause a problem or not and secondly how do I go about editing the files in initramfs in general? Thanks in advance!
     
    Last edited: Jul 20, 2008

Share This Page