Hello Jonas, On Mon, 18 Feb 2008, Jonas Meurer wrote: > Maybe I don't understand your request, as you talk about /etc/fstab, > which not used by cryptdisks and initramfs cryptroot script at all.
Let me try to be clearer. The script: /usr/share/initramfs-tools/cryptroot adds entries to /conf/conf.d/cryptroot in the initrd. This is based on what root and resume devices are dependent on an encrypted device. For example, supose that we have the device /dev/mapper/vg0-root where vg0 is a volume group based on the dm-crypt device /dev/mapper/encbase. If the entry in /etc/fstab has the root device as /dev/mapper/vg0-root ... then the following entry is added to /conf/conf.d/cryptroot in the initrd target=encbase,source=/dev/hda2,key=none,lvm=vg0-root However, if the entry in /etc/fstab is /dev/vg0/root ... then no such entry is created. Moreover, if the filesystem on /dev/vg0/root has label ROOT and the entry in /etc/fstab is LABEL=ROOT ... then again no such entry is created. Thus one is forced to add all these options to the kernel command line which becomes quite long! I hope this clarifies the bug report. Thanks and best regards, Kapil. --
signature.asc
Description: Digital signature