Crunchbang Swap partitioning

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Crunchbang Swap partitioning

Postby heiowge » Sun Sep 16, 2012 9:06 pm

Installing Crunchbang (latest pro build) in virtualbox. I set 11.4ish GB for the virtual hd. Guided partitioning doesn't give me much in the way of / or swap, instead blowing most on /home. Since I'm not intending to store many files on it, I wanted a different split.

I intended to give about 8GB to /, and 1GB to Swap with the rest to /home. Alls well and good, except the flipping partitioner doesn't seem to give me an option to set a partition as Swap.

Am I just being dense here?

Here's a screenshot of what I see...

Image
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 17.1 MATE and Win7


HP mini, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 17 MATE
User avatar
heiowge
LXF regular
 
Posts: 1906
Joined: Wed Feb 27, 2008 8:21 pm
Location: Cheshire, UK

Postby Ram » Sun Sep 16, 2012 10:05 pm

Is it not under 'Enter manually'

lubuntu LXDE 13.10 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
User avatar
Ram
LXF regular
 
Posts: 1684
Joined: Thu Apr 07, 2005 9:44 pm
Location: Guisborough

Postby heiowge » Sun Sep 16, 2012 10:14 pm

I tried that, but it didn't take "swap" as a correct answer.
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 17.1 MATE and Win7


HP mini, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 17 MATE
User avatar
heiowge
LXF regular
 
Posts: 1906
Joined: Wed Feb 27, 2008 8:21 pm
Location: Cheshire, UK

Postby Dutch_Master » Sun Sep 16, 2012 11:44 pm

Choose the "do not mount" option, install as per instructions then have gparted mark it as swap. Enter entry in /etc/fstab, save and reboot. :)
Dutch_Master
LXF regular
 
Posts: 2471
Joined: Tue Mar 27, 2007 1:49 am

Postby nelz » Mon Sep 17, 2012 7:46 am

Do it manually, you don't even need gparted, just "mksawp /dev/sdX", then add it to fstab.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby ajgreeny » Mon Sep 17, 2012 10:32 am

Swap is not mounted in the normal way as your root and home partitions are. The line needed in fstab will be
Code: Select all
UUID=1bfd912d-b6b6-4a68-9aaf-4139513772ec none            swap    sw              0       0
but with your own UUID, of course.

Just make the partition, then do what nelz said and all should work.
Xubuntu 12.04 user, and loving it!
ajgreeny
LXF regular
 
Posts: 462
Joined: Wed May 10, 2006 8:18 pm
Location: Oxfordshire.

Postby nelz » Mon Sep 17, 2012 11:16 am

You don't need to use ugly and unreadable UUIDs of course, you could use the plain device name, /dev/sdN, or you could give the swap filesystem a label and use that.

Code: Select all
mkswap --label myswap /dev/sdN


and

Code: Select all
LABEL=myswap   none   swap   sw   0 0
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby nelz » Mon Sep 17, 2012 12:10 pm

Which Crunchbang ISO are you using? I've tried crunchbang-10-20120207-i386.bpo.iso and crunchbang-11-20120806-amd64.iso and both gave a graphical installer with a swap option. The Crunchbang 10 ISO also had a text install option, as in your screenshot, but this also allowed swap partitions to be created.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby heiowge » Thu Nov 08, 2012 3:00 pm

For those who want to know, this one made the star question in this month's mag! :D
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 17.1 MATE and Win7


HP mini, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 17 MATE
User avatar
heiowge
LXF regular
 
Posts: 1906
Joined: Wed Feb 27, 2008 8:21 pm
Location: Cheshire, UK

Postby Ram » Thu Nov 08, 2012 4:12 pm

heiowge wrote:For those who want to know, this one made the star question in this month's mag! :D


I didn't as I saw it :D

lubuntu LXDE 13.10 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
User avatar
Ram
LXF regular
 
Posts: 1684
Joined: Thu Apr 07, 2005 9:44 pm
Location: Guisborough

Got my free stuff through

Postby heiowge » Mon Dec 10, 2012 3:39 pm

Image

My glittering prizes arrived, along with some cool badges! Cheers guys.

PS. It arrived this morning just fine despite getting my road wrong in the address. :lol:
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 17.1 MATE and Win7


HP mini, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 17 MATE
User avatar
heiowge
LXF regular
 
Posts: 1906
Joined: Wed Feb 27, 2008 8:21 pm
Location: Cheshire, UK

Postby Ram » Mon Dec 10, 2012 6:18 pm

Luck so n so, enjoy.

lubuntu LXDE 13.10 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
User avatar
Ram
LXF regular
 
Posts: 1684
Joined: Thu Apr 07, 2005 9:44 pm
Location: Guisborough


Return to Help!

Who is online

Users browsing this forum: No registered users and 4 guests