Re: Hibernation woes



Pastor JW wrote:

# /etc/fstab: static file system information.
...
# /dev/sda5
UUID=52810d5c-61ab-4942-afa2-9e6e953f839d none swap sw
...
Yep, running that command gave me this:

Disk /dev/sda: 14593 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/sda1 0+ 7 8- 64228+ de Dell Utility
/dev/sda2 8 660 653 5245222+ b W95 FAT32
/dev/sda3 * 661 14020 13360 107314200 83 Linux
/dev/sda4 14021 14592 572 4594590 5 Extended
/dev/sda5 14021+ 14592 572- 4594558+ 82 Linux swap / Solaris

So I do have a swap but why are sda4 and sda5 both looking like they
start
and end at the same location? I so far have not found a way to edit
fstab, ...well I CAN edit it, but I can't save it.

That's perfect. A disk (due to rules dating back to at least the XT and
DOS) can only have 4 _Primary_ partitions. When it was discovered that
perhaps 4 wasn't enough (approximately the same time we found 640K wouldn't
do for memory). So they created "Extended" partitions that can contain
other "Logical" partitions. Your setup has 3 Primaries, 1 Extended, and
then 1 Logical inside the Extended.

So then you should be able to simply change the lines in /etc/fstab:

# /dev/sda5
UUID=52810d5c-61ab-4942-afa2-9e6e953f839d none swap sw 0 0

to
/dev/sda5 none swap sw 0 0

(use sudo to edit it if you want to use a non-GUI editor like nano, or
kdesudo to edit it in a gui like kate)

Finally, "sudo swapon -a" should turn on your swap.

I'm pretty poor at complaining, usually I get to listen to them not make
them!! ;)

Ah! I suppose that's one of the hazards of your job.
--
derek


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages