On 01/30/15 23:08, Marek Marczykowski-Górecki wrote:
> Did you regenerated initamfs each time? I have 'allow-discards' in
> crypttab and it works. I have also rd.luks.uuid=UUID-of-my-disk in
> kernel command line.
All relevant config I believe I have at this moment. These are the
files/commands mentioned at the Wiki. I tossed out all the long UUIDs,
leaving only the first part visible.
blkid:
/dev/loop0: UUID="705e6ae3-*-*-*-*" TYPE="ext4"
/dev/loop1: TYPE="DM_snapshot_cow"
/dev/loop2: UUID="f1b31824-*-*-*-*" TYPE="ext4"
/dev/loop4: UUID="e7ffe06f-*-*-*-*" SEC_TYPE="ext2" TYPE="ext3"
/dev/loop5: UUID="f1b31824-*-*-*-*" TYPE="ext4"
/dev/sda1: LABEL="System" UUID="*" TYPE="ntfs" PARTUUID="bf8940d8-01"
/dev/sda2: LABEL="OSDisk" UUID="*" TYPE="ntfs" PARTUUID="bf8940d8-02"
/dev/sda3: UUID="eda1e1bf-*-*-*-*" TYPE="ext4" PARTUUID="bf8940d8-03"
/dev/sda5: UUID="825bac45-*-*-*-*" TYPE="crypto_LUKS"
PARTUUID="bf8940d8-05"
/dev/mapper/luks-825bac45-*-*-*-*: UUID="uFTgbG-*-*-*-*-*-*"
TYPE="LVM2_member"
/dev/mapper/qubes_dom0-swap: UUID="4a9aaf4c-*-*-*-*" TYPE="swap"
/dev/mapper/qubes_dom0-root: UUID="ce2fa9a0-*-*-*-*" TYPE="ext4"
/dev/mapper/snapshot-fd02:15206142-fd02:15206272:
UUID="705e6ae3-*-*-*-*" TYPE="ext4"
/dev/loop3: PTUUID="73179486" PTTYPE="dos"
/dev/loop6: PTUUID="73179486" PTTYPE="dos"
/dev/loop7: UUID="f1b31824-*-*-*-*" TYPE="ext4"
/dev/loop8: PTUUID="73179486" PTTYPE="dos"
crypttab:
luks-825bac45-*-*-*-* UUID=825bac45-*-*-*-* none
luks-ce2fa9a0-*-*-*-* UUID=ce2fa9a0-*-*-*-* none allow-discards
grub:
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="gfxterm"
GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-825bac45-*-*-*-*
rd.lvm.lv=qubes_dom0/root vconsole.font=latarcyrheb-sun16
rd.lvm.lv=qubes_dom0/swap rd.luks.options=discard $([ -x
/usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :)
rhgb quiet"
GRUB_CMDLINE_XEN_DEFAULT="console=none"
GRUB_DISABLE_RECOVERY="true"
GRUB_THEME="/boot/grub2/themes/system/theme.txt"
fstab:
#
# /etc/fstab
# Created by anaconda on Sat Jan 24 01:31:56 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/qubes_dom0-root / ext4
defaults,x-systemd.device-timeout=0,discard 1 1
UUID=eda1e1bf-*-*-*-* /boot ext4 defaults 1 2
/dev/mapper/qubes_dom0-swap swap swap
defaults,x-systemd.device-timeout=0 0 0