Forum
[PROBLEM] USB swap? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: [PROBLEM] USB swap? (/thread-865.html)



USB swap? - Mad_Sunday - 4th May, 2013 10:14 PM

Hi, this is my first post. I have succesfully installed XBian onto my RPi system's USB hard drive (320Gb) and it boots fine. I would now like to use the swap partition on that drive rather than the swap file, "sudo swapon -s" shows I'm still using /var/swapfile, how can I force xbian to use sdc3 (the swap partiton)?

Pete


RE: USB swap? - Koenkk - 4th May, 2013 10:49 PM

http://www.tldp.org/HOWTO/Partition/setting_up_swap.html (so remove the /var/swapfile from /etc/fstab and replaced it by your USB harddrive)


Re: USB swap? - f1vefour - 5th May, 2013 09:48 AM

sudo swapoff -a
sudo swapon /dev/sdc3


RE: USB swap? - Mad_Sunday - 8th May, 2013 04:49 AM

Thanks for the help. I am able to get the swap working but I'm having other issues with USB boot.

I'm sure it will be sorted soon. ;-)

Pete