Problem: How to increase swap size
|
12th Mar, 2014, 05:21 AM
Post: #2
|
|||
|
|||
RE: How to increase swap size
Assuming your partition layout looks similar to this fdisk -l output
Code: /dev/mmcblk0p1 * 2048 71679 34816 b W95 FAT32 1.) shrink the BTRFS partition with Code: mount /dev/mmcblk0p2 /mnt -o subvolid=0 2.) Stop the zram-swap service (if it's running at all), and run swapoff /dev/mmcblk0p3 3.) then use your favorite partition manager (parted, cfdisk etc..) to resize the partition behind it (mmcblk0p3) 4.) re-create swap Code: mkswap /dev/mmcblk0p3 Now you should have 500MB more swap. I haven't tested this on Xbian, but it should work that way. Though it might also blow your RPi, burn your house etc etc.. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How to increase swap size - LeoSum - 12th Mar, 2014, 01:44 AM
RE: How to increase swap size - teekay - 12th Mar, 2014 05:21 AM
RE: How to increase swap size - LeoSum - 12th Mar, 2014, 06:29 AM
RE: How to increase swap size - IriDium - 13th Mar, 2014, 04:32 AM
RE: How to increase swap size - LeoSum - 13th Mar, 2014, 06:07 PM
RE: How to increase swap size - IriDium - 14th Mar, 2014, 02:49 AM
RE: How to increase swap size - LeoSum - 14th Mar, 2014, 03:12 AM
RE: How to increase swap size - mk01 - 16th Mar, 2014, 09:08 AM
|