You are not logged in.
Hi,
I have encrypted partition on usb key, works fine, but when computer boots it complaint that it cannot mount the USB stick (not there usually).
How can I disable this attempt?
My setup:
/etc/fstab:
/dev/mapper/usb-private /mnt/usb-private ext2 user,noauto 0 0
/etc/crypttab:
/dev/mapper/usb-private /dev/disk/by-uuid/ae5.........49b /root/keyfile luks
Notice, I have noauto in fstab, but there must be other rule that attempts to mount the drive.
Problem is not critical, PC goes on with boot without waiting, but I would like to fix it anyway.
Regards
Offline
In your /etc/crypttab, I don't believe you need to prepend the target name with the full path.
So instead of this:
/dev/mapper/usb-private /dev/disk/by-uuid/ae5.........49b /root/keyfile luksUse this:
usb-private /dev/disk/by-uuid/ae5.........49b /root/keyfile luksNotice there is no /dev/mapper/ in the target name anymore. Not entirely sure this will solve your problem, but it can't hurt to try. I was going to mention the "noauto" option, yet you're already using it.
Offline
I modified crypttab - no change during next boot...
Offline
When you see the message, does it specifically say that /dev/mapper/usb-private is unavailable?
Offline
Today my PC run fsck so I had some time to notice what it prints out:
cryptsetup [-?vyrqlp] [--usage] [--version...........
/sbin/cryptsetup: unknown action
Looks like some syntax problem.....
Offline