Public bug reported:

Hi!

I installed Ubuntu 15.10 64bit desktop with the following partition
schema:

szimszon@szimszon-kili:~$ sudo fdisk /dev/sda

Welcome to fdisk (util-linux 2.26.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Parancs (m = súgó): p
Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E83FD0FA-89C7-4523-A002-259C93091BE7

Eszköz         Start     Vége Szektorok   Size Típus
/dev/sda1       2048    499711    497664   243M EFI System
/dev/sda2     499712   1499135    999424   488M Linux filesystem
/dev/sda3    1499136 974155775 972656640 463,8G Linux filesystem
/dev/sda4  974155776 976771071   2615296   1,3G Linux lapozó


fstab:
=====================================
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/sda3_crypt /               btrfs   defaults,subvol=@ 0       1
# /boot was on /dev/sda2 during installation
UUID=f19afe7d-3905-4e0a-aefa-6684150b15f5 /boot           ext4
defaults        0       2
# /boot/efi was on /dev/sda1 during installation
UUID=BF13-E9D2  /boot/efi       vfat    umask=0077      0       1
/dev/mapper/sda3_crypt /home           btrfs   defaults,subvol=@home
0       2
/dev/mapper/sda4_crypt none            swap    sw              0       0
======================================

lsblk:
======================================
szimszon@szimszon-kili:~$ sudo lsblk
NAME           MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda              8:0    0 465,8G  0 disk ├─sda1           8:1    0
243M  0 part  /boot/efi
├─sda2           8:2    0   488M  0 part  /boot
├─sda3           8:3    0 463,8G  0 part │ └─sda3_crypt 252:0    0
463,8G  0 crypt /home
└─sda4           8:4    0   1,3G  0 part
======================================

After the second boot the system can't find the swap space and I have to
wait 1:30 minute to timeout the process to do something with the swap
space.

I have a crypt partition on sda3 (this is the root partition with btrfs
in it), and sda4 (for swap space).

Now if I try to open the sda3 I got an error that the partition is not
an encrypted one:

=======================================
szimszon@szimszon-kili:~$ sudo cryptsetup luksOpen /dev/sda4 sda4_crypt
Device /dev/sda4 is not a valid LUKS device.
=======================================
   affects ubuntu/boot

-- 
Üdvözlettel:
  Gyuris Szabolcs
  szims...@oregpreshaz.eu

http://oregpreshaz.eu
https://www.facebook.com/oregpreshazpince
https://twitter.com/oregpreshaz
https://plus.google.com/101294094345126934261

** Affects: boot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1515414

Title:
  I can't boot normally with encrypted swap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boot/+bug/1515414/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to