Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Crunchbang Swap partitioning

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Sun Sep 16, 2012 10:06 pm    Post subject: Crunchbang Swap partitioning Reply with quote

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...


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

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
Ram
LXF regular


Joined: Thu Apr 07, 2005 10:44 pm
Posts: 1672
Location: Guisborough

PostPosted: Sun Sep 16, 2012 11:05 pm    Post subject: Reply with quote

Is it not under 'Enter manually'
_________________

lubuntu LXDE 13.10 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
Back to top
View user's profile Send private message MSN Messenger
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Sun Sep 16, 2012 11:14 pm    Post subject: Reply with quote

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 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
Dutch_Master
LXF regular


Joined: Tue Mar 27, 2007 2:49 am
Posts: 2435

PostPosted: Mon Sep 17, 2012 12:44 am    Post subject: Reply with quote

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. Smile
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Mon Sep 17, 2012 8:46 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
ajgreeny
LXF regular


Joined: Wed May 10, 2006 9:18 pm
Posts: 453
Location: Oxfordshire.

PostPosted: Mon Sep 17, 2012 11:32 am    Post subject: Reply with quote

Swap is not mounted in the normal way as your root and home partitions are. The line needed in fstab will be
Code:
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!
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Mon Sep 17, 2012 12:16 pm    Post subject: Reply with quote

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:
mkswap --label myswap /dev/sdN


and

Code:
LABEL=myswap   none   swap   sw   0 0

_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Mon Sep 17, 2012 1:10 pm    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Thu Nov 08, 2012 3:00 pm    Post subject: Reply with quote

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

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
Ram
LXF regular


Joined: Thu Apr 07, 2005 10:44 pm
Posts: 1672
Location: Guisborough

PostPosted: Thu Nov 08, 2012 4:12 pm    Post subject: Reply with quote

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


I didn't as I saw it Very Happy
_________________

lubuntu LXDE 13.10 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
Back to top
View user's profile Send private message MSN Messenger
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Mon Dec 10, 2012 3:39 pm    Post subject: Got my free stuff through Reply with quote



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. Laughing
_________________
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
Ram
LXF regular


Joined: Thu Apr 07, 2005 10:44 pm
Posts: 1672
Location: Guisborough

PostPosted: Mon Dec 10, 2012 6:18 pm    Post subject: Reply with quote

Luck so n so, enjoy.
_________________

lubuntu LXDE 13.10 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
Back to top
View user's profile Send private message MSN Messenger
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast