You are not logged in.
Pages: 1
Hi,
I've got a 1 Gb memory system, and for some reason I had a 4 Gb swap partition on my hard drive. I used cfdisk to redefine it to 2Gb and free up some disk space. It's the same partition /dev/sda3. In fstab it was using the UUID string, but after I made the change the system was complaining about the UUID being incorrect, so I changed the entry in fstab to:
/dev/sda3 swap swap defaults 0 0
and got rid of the UUID. I still get a FAIL on bootup of turning on the swap. When I try to do it manually using the 'swapon -a' command or 'swapon /dev/sda3' I get an error message: /dev/sda3 invalid argument.
If I do the 'swapon -s' it shows that I have no swap partition turned on.
thanks.
Last edited by nirvanix (2009-01-08 23:36:57)
I've got a lovely bunch of coconuts...
Offline
You re-sized the partition but not the filesystem. Try running "mkswap /dev/sda3" (man mkswap for info) to recreate the swap filesystem.
M*cr*s*ft: Who needs quality when you have marketing?
Offline
If you need it, you can find the UUID with
ls -l /dev/disk/by-uuid/
Last edited by Xyne (2009-01-07 22:31:45)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Thanks pointone and Xyne! Shit I'm gettin' old, I forgot to mkswap!
I've got a lovely bunch of coconuts...
Offline
Pages: 1