Author Topic: [SOLVED] Suspend to Disk  (Read 2097 times)

acataldi123

  • Guest
Re: Suspend to Disk
« Reply #15 on: February 24, 2011, 07:08:17 AM »
Thanks for the info Andy. That makes sense why I cannot swap to disk. If I may ask, since I am pretty clueless when it comes to OS type stuff, how do I increase my swap size now to at least 4GB? Sorry to be a pain.

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Suspend to Disk
« Reply #16 on: February 24, 2011, 07:32:57 AM »
Thanks for the info Andy. That makes sense why I cannot swap to disk. If I may ask, since I am pretty clueless when it comes to OS type stuff, how do I increase my swap size now to at least 4GB? Sorry to be a pain.

Do you have free unpartitioned space on your hard drive, sufficient to create a large enough swap partition? It doesn't appear so. If not, you need to shrink an adjacent partition, then expand the present swap partition. Just looking at your fdisk -l results shows that's not very promising either. That leaves you with totally repartitioning, and reinstalling everything, installing a larger hard drive and dong the same, or adding another hard drive and putting a large enough swap partition on it. The additional drive option could be a USB external drive, if need be. I'm currently running this OS entirely from a partition on an e-SATA/USB external 1 TB drive, with an 8 GB swap partition to handle the 4 GB physical RAM on this machine.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1624
  • UK MLU
Re: Suspend to Disk
« Reply #17 on: February 24, 2011, 07:44:26 AM »
Essentially you have 2 options

You can reinstall PCLinuxOS which would give you the opportunity to resize your root and swap partitions, if you don't reformat your home partition your settings and files will be retained

You can use something like the Parted Magic live CD to re-size your existing partitions using gParted.

However you should seriously consider o-p's comments with regards to adding a second drive

Regards


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

acataldi123

  • Guest
Re: Suspend to Disk
« Reply #18 on: February 24, 2011, 02:27:44 PM »
THanks for the info. I think I have another drive hanging around that I may be able to use. I will look into that. If I find another drive, is it easy to point swap to that drive?

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1624
  • UK MLU
Re: Suspend to Disk
« Reply #19 on: February 24, 2011, 03:03:24 PM »
Yes, just a case of partitioning formatting and letting the OS know it's there.
We'll do it if you get another disk in the box

Regards


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Suspend to Disk
« Reply #20 on: February 24, 2011, 03:09:15 PM »
THanks for the info. I think I have another drive hanging around that I may be able to use. I will look into that. If I find another drive, is it easy to point swap to that drive?

If the drive is installed in a permanent manner, ie internally, yes it is. If the drive is external, it's just as easy, but the drive has to be plugged in before booting. If the drive is external, and large enough, having the OS installed entirely on the external drive makes it portable, for use between different machines. This is what I do with this vastly expanded MiniMe installation I'm using now. The only drawback is that the various computers need to be new enough to be able to boot from USB, or older ones need a boot partition to store copies of the kernel and initrd.img files on the internal hard drive.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

acataldi123

  • Guest
Re: Suspend to Disk
« Reply #21 on: February 25, 2011, 09:28:18 AM »
I was able to get my disk repartitioned and get swap set up. I can now suspend to disk and suspend to RAM. My original problem with closing the lid not suspending still is there, but I will start another thread for that (after searching the archives). Thanks to all for your help!!!!

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1624
  • UK MLU
Re: Suspend to Disk
« Reply #22 on: February 25, 2011, 09:37:11 AM »
Glad you got the first part fixed  8).

As you're opening a new thread don't forget to mark this one solved

Regards
« Last Edit: March 02, 2011, 08:53:32 AM by 7272andy »


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

acataldi123

  • Guest
Re: Suspend to Disk
« Reply #23 on: March 02, 2011, 08:45:49 AM »
I couldn't seem to find how to mark this as solved. How do I accomplish this?

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: Suspend to Disk
« Reply #24 on: March 02, 2011, 08:46:38 AM »
I couldn't seem to find how to mark this as solved. How do I accomplish this?

'Modify' your first post, and edit the title ;)