You are not logged in.
Pages: 1
Sooo a bit of a long story here:
Back when I first set up my #! install about a year ago, for reasons that I only understood at the time, I decided to set up my partitions with windows first (~160 Gb), Kubuntu next (~19 Gb), #! after that (~13 Gb), then 80 frigging Gigs of unusable space
I recently did some messing about in GParted to fix this, absorbing the 80 Gb back into my #! partition to finally give me lots of space. In the process however, I had to swapoff my swap space, delete it, and move it back to the end of the space that was unused, format it, reset it to swapon, etc. The new swap space works fine when manually configured like this, but dissapears every time I shut down, and wont allow me to hibernate at all (presumably since hibernation stores the contents of ram into swap space?)
IIRC, the Crunchbang setup required the user to select the swap space partition during installation, is there any way to manually reset this now?
Please let me know if a screenshot from GParted would help
Last edited by BruceJohnJennerLawso (2014-11-11 16:20:59)
Offline
Is it listed in /etc/fstab? Like so (from my system, change the device path):
/dev/mapper/vgroot-swap none swap sw,pri=100 0 0あの日の魂は何処へ行ったのだろう
Offline
Is it listed in /etc/fstab? Like so (from my system, change the device path):
/dev/mapper/vgroot-swap none swap sw,pri=100 0 0
what do the last three numbers represent?
Offline
Hi BruceJohnJennerLawso,
Have you tried to partition from a live medium on CD, DVD or preferably usb? When doing any partition work on my systems, I've always done so from within a "live" system and keep an old copy of puppy around for just that purpose.
"Let me explain something to you. Um, I am not "Mr. Lebowski". You're Mr. Lebowski. I'm the Dude. So that's what you call me. You know, that or, uh, His Dudeness, or uh, Duder, or El Duderino if you're not into the whole brevity thing."
The Dude.
Offline
twoion wrote:Is it listed in /etc/fstab? Like so (from my system, change the device path):
/dev/mapper/vgroot-swap none swap sw,pri=100 0 0what do the last three numbers represent?
The fifth field (fs_freq). This field is used for these filesystems by the dump(8) command to determine which filesystems need to be dumped. If the fifth field is not present, a value of zero is returned and dump will assume that the filesystem does not need to be dumped. The sixth field (fs_passno). This field is used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno of 1, and other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked.
The
pri=parameter is passed to swapon(8):
-p, --priority priority
Specify the priority of the swap device. priority is a value between 0 and 32767. Higher numbers indicate higher priority. See swapon(2) for a full description of swap prior‐
ities. Add pri=value to the option field of /etc/fstab for use with swapon -a.Last edited by twoion (2014-11-10 23:23:16)
あの日の魂は何処へ行ったのだろう
Offline
Hi BruceJohnJennerLawso,
Have you tried to partition from a live medium on CD, DVD or preferably usb? When doing any partition work on my systems, I've always done so from within a "live" system and keep an old copy of puppy around for just that purpose.
Yes, I opened Gparted from a live usb session of Pinguy OS.
@twoion, etc/fstab looks like
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=00ed5bcb-5f45-478b-b9ed-ddda7b3bd476 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=e15c2a7d-ae73-4537-8799-3a68eb956edc none swap sw 0 0
#/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
UUID=62FADFE3FADFB211 /media/Windows7_OS ntfs-3g defaults,windows_names,locale=en_US.utf8 0 0
Offline
@OP: change the UUID of the swap partition in the fstab file to match that of the new one you have created.
Offline
@OP: change the UUID of the swap partition in the fstab file to match that of the new one you have created.
k, thanks, will see if that works. 
Offline
Yep, all fixed now, although I had to uninstall and reinstall the hibernate package to get that feature working again
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.