Public bug reported:

Binary package hint: util-linux

I eventually did figure it out, but there was much aggravation.  Here's
a transcript:

blar...@bulti:~$ sudo mkswap /dev/sda2
Setting up swapspace version 1, size = 15695500 KiB
no label, UUID=1c712dc4-3744-4abf-a4ca-2348e68fa91f
blar...@bulti:~$ sudo vol_id -u /dev/sda2 
unknown or non-unique volume type (--probe-all lists possibly conflicting types)
blar...@bulti:~$ sudo vi /etc/fstab
blar...@bulti:~$ sudo swapon -a
swapon: cannot stat /dev/disk/by-uuid/1c712dc4-3744-4abf-a4ca-2348e68fa91f: No 
such file or directory
blar...@bulti:~$ sudo blkid | grep sda2
/dev/sda2: UUID="781848AB18486A68" TYPE="ntfs" 
blar...@bulti:~$ sudo fdisk -l | grep sda2
/dev/sda2             487        2440    15695505   82  Linux swap / Solaris

much aggravation, and I figured out a way around things.


blar...@bulti:~$ sudo mkswap -v0 /dev/sda2
mkswap: warning: truncating swap area to 130752 KiB
Setting up swapspace version 0, size = 130748 KiB
blar...@bulti:~$ sudo blkid | grep sda2
/dev/sda2: TYPE="swap" 
blar...@bulti:~$ sudo mkswap -L swap /dev/sda2
Setting up swapspace version 1, size = 15695500 KiB
LABEL=swap, UUID=2307c43e-c98f-4fd4-8678-3272da24e167
blar...@bulti:~$ sudo blkid | grep sda2
/dev/sda2: TYPE="swap" LABEL="swap" UUID="2307c43e-c98f-4fd4-8678-3272da24e167" 

release: jaunty
util-linux: 2.14.2-1ubuntu4

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
cannot convert NTFS partition to swap
https://bugs.launchpad.net/bugs/346358
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to