[Feisty] Swap partition receives new UUID
Bug #105490 reported by
tactus
This bug report is a duplicate of:
Bug #66637: After running mkswap, swap space is discarded, system fails to hibernate (invalid swap signature).
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I noticed recently my swap partition was gone. free -m returned zero space swap. /etc/fstab was configured with a wrong UUID for my swap partition (/dev/sda2).
Updating fstab with correct UUID and a reboot brought back my swap disk, but upon hibernate (or later reboot) the UUID for my swap disk changed to a new value and I have to manually update my fstab file again to restore swap.
Something is causing UUID value to change on my swap partition.
Xubuntu 7.04 beta.
I can confirm this.
UUID for the swap partition was wrong in /etc/fstab. Swap was not mounted or activated.
I do not have laptop so I cannot test the hibernation.
Anyway, this is how to find the correct UUID for any partition.
Find the device name of swap.
$ sudo fdisk -l
Find the UUID for that partition. Eg.
$ sudo vol_id /dev/sda3