Hello All,
This issue seems to occur when:
you have installed Ubuntu _from_ a bootable USB device
you have installed Ubuntu _to_ a bootable USB device
you have changed disks layout in your machine (i.e. add/remove/switch a
disk)
When booting from USB, the "/dev/sd" or "/dev/hd" device enumeration is not the
same as which you will get when booting in the normal environment.
When changing the disk layout (add/remove/switch hard disks), the
enumeration could be also altered.
For example,
While installing from DVD to USB removable disk, your swap partition was
identified as /dev/sda7.
But, on normal boot, just after install, your swap partition is identified as
/dev/sdd7.
It should not be an issue considering that almost all partitions (/, /boot,
/var, etc.) are identified by their UUID.
That's why your installation achieve the boot process without any issue in this
case...
However, UUID identification method cannot apply to your encrypted swap
partition as it is fully encrypted, boot record included...
So, in our example, you just have to edit /etc/crypttab and substitute
"/dev/sdXX" identification with the right one OR with hard disk device
identification (/dev/disk/by-id).
In my case:
/etc/crypttab file
# <target name> <source device> <key file> <options>
# ORIGINAL CONFIG: cryptswap1 /dev/sda7 /dev/urandom
swap,cipher=aes-cbc-essiv:sha256
cryptswap1 /dev/disk/by-id/scsi-SFreecom_Mobile_Drive_XX801130168383-part7
/dev/urandom swap,cipher=aes-cbc-essiv:sha256
This workaround is particularly useful in a removable installation
scenario.
Hope this can help dev team to solve this issue.
Aktarus
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/798086
Title:
Occasional "The disk drive for /dev/mapper/cryptswap1 is not ready yet
or not present" on system startup
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/798086/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs