[Bug 986806] Re: swap not activated after choosing 'use whole disk' with encrypted home

Akhila akhilahegde at gmail.com
Fri Aug 31 12:51:58 UTC 2012


I tried reproducing the bug with Quantal running on VirtualBox with disk space 10.7GB .
jibel's words echo exactly what I experienced.
While rebooting it said, 


"The disk drive for /dev/mapper/cryptswap1 not ready yet or not present.
Continue to wait or Press S to skip mounting or M for manual recovery."


Within a minute system rebboted without any error.
On booting, like you suggested, I executed "free -m"
The result is:


swan at swan-VirtualBox:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          1003        620        382          0         24        338
-/+ buffers/cache:        257        745
Swap:         1021          0       1021 


Though, "sudo sfdisk -l" produced an error:
swan at swan-VirtualBox:~$ sudo sfdisk -l
[sudo] password for swan:

Disk /dev/sda: 1305 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1   *      0+   1174-   1175-   9436160   83  Linux
/dev/sda2       1175+   1305-    131-   1046529    5  Extended
/dev/sda3          0       -       0          0    0  Empty
/dev/sda4          0       -       0          0    0  Empty
/dev/sda5       1175+   1305-    131-   1046528   82  Linux swap / Solaris

Disk /dev/mapper/cryptswap1: 130 cylinders, 255 heads, 63 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
 /dev/mapper/cryptswap1: unrecognized partition table type
No partitions found


Honestly, I didn't understand that.

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

Title:
  swap not activated after choosing 'use whole disk' with encrypted home

Status in “ubiquity” package in Ubuntu:
  Incomplete

Bug description:
  I already had 12.04 installed on this pc, so for partitioning I choose "remove and reinstall Ubuntu 12.04". 
  I choose to install with encrypted home, which means the swap also got encrypted. Installation went fine, but afterwards ubuntu did not recognise the swap partition.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
  Uname: Linux 3.2.0-23-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: i386
  Date: Sun Apr 22 11:54:55 2012
  EcryptfsInUse: Yes
  InstallCmdLine: noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --  apt-setup/restricted=false apt-setup/multiverse=false debian-installer/language=nl keyboard-configuration/layoutcode?=us keyboard-configuration/variantcode?=intl
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120421)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=nl_NL.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list