Re: encrypted partitions aren't recognized in a good way

2011-11-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2011 18:42, devkral wrote: +cryptdevice_tmp=cryptdevice=/dev/disk/by-uuid/$(echo ${cryptdevice_check} | sed -e s/ // -e s/ /-/ -e s/ /-/ -e s/ /-/ -e s/ /-/ -e s/ // -e s/ //)${lvmname} What's the reason for probing lvm? awk is much better and readable for uuid transforms. --

Re: encrypted partitions aren't recognized in a good way

2011-11-11 Thread devkral
Here are my updated patches. On 20.07.2011 14:27, devkral wrote: Hello, the scripts to generate a grub.cfg file doesn't find lvm under encrypted partitions (arch). Debian has fixed this problem elsewise but it would be nice to have a clean way detecting such partitions. I attach a

encrypted partitions aren't recognized in a good way

2011-07-20 Thread devkral
Hello, the scripts to generate a grub.cfg file doesn't find lvm under encrypted partitions (arch). Debian has fixed this problem elsewise but it would be nice to have a clean way detecting such partitions. I attach a patch to do so with an alternative /etc/grub.d/10_linux file (cryptgrub2.patch).