Windows 7 Support
Become a Fan of PCHF on Facebook!
User Reviews - Add Yours!
The PCHF Lounge
Go Back   PC Help Forum » Operating Systems » Linux
Register for a Free Account

Linux - partition help posted in the Operating Systems forums; no problem....

Advertisement
Advertisement

Reply
Recommended Driver Scanner
Old 08-17-2009   #8
Tech Member
 
apemax17's Avatar
 
Join Date: Nov 2008
Location: lincoln,uk
Posts: 288
PC Experience: Some Experience
Default Re: partition help

no problem.
__________________
prework
apemax17 is offline   Reply With Quote
Old 08-17-2009   #9
Tech Member
 
Arctos's Avatar
 
Join Date: Sep 2006
Location: Bundaberg, Australia
Posts: 4,294
PC Experience: RTM Assoc. Dip.
Default Re: partition help

Have a read of this article, it may give you a few pointers on fixing your swao file woes...

Linux.com :: Increase your available swap space with a swap file
__________________

PCHF open 24/7 - Antiques made daily...

Arctos is online now   Reply With Quote
Old 08-19-2009   #10
Tech Member
 
apemax17's Avatar
 
Join Date: Nov 2008
Location: lincoln,uk
Posts: 288
PC Experience: Some Experience
Default Re: partition help

this is my fstab file, where do i put the line for my swap partition.

# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda5 during installation
UUID=a78fc431-eb95-4201-a0f0-11d2aa1f93b7 / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=6662c3a1-0ff8-4a9f-af95-928c044ee1a4 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
__________________
prework
apemax17 is offline   Reply With Quote
Old 08-22-2009   #11
Mod/Tech Support Staff
 
vger's Avatar
 
Join Date: Oct 2007
Location: second star to right,and straight on till morning
Posts: 3,713
PC Experience: I will learn this stuff if it kills me
Default Re: partition help

Bump!
__________________
esse quam videri= PCHF WCG Team...
Voodoostarz / PCHFRules /Prework
Found an answer elsewhere; please share!
If you need help;just ask!
vger is offline   Reply With Quote
Old 08-23-2009   #12
Tech Member
 
snow's Avatar
 
Join Date: Aug 2009
Posts: 61
PC Experience: A Fair Share
Default Re: partition help

Hi again apemax,

You will need to know what device your new swap partition is, in order to mount it. If you already know what device it is, then great, just say and I'll try to come up an fstab file for you. If not, then try this:

If you created a new 400Mb swap partition, then it will show up as another device in /dev
Enter these commands into a terminal:

Code:
cd /dev

ls | grep sda
This will show you how many SATA hard disk partitions your Linux install recognises. The one with the highest number at the end *should* be the most recent, e.g. your new swap partition.
snow is offline   Reply With Quote
Old 08-23-2009   #13
Tech Member
 
apemax17's Avatar
 
Join Date: Nov 2008
Location: lincoln,uk
Posts: 288
PC Experience: Some Experience
Default Re: partition help

it is /dev/sda4
__________________
prework
apemax17 is offline   Reply With Quote
Old 08-23-2009   #14
Tech Member
 
snow's Avatar
 
Join Date: Aug 2009
Posts: 61
PC Experience: A Fair Share
Default Re: partition help

Ok, run this command to backup your current fstab file:

sudo cp /etc/fstab /etc/fstab.backup

Now open fstab in gedit using sudo, and replace it with this:
Code:
  # /etc/fstab: static file system information.
  #
  # Use 'vol_id --uuid' to print the universally unique identifier for a
  # device; this may be used with UUID= as a more robust way to name devices
  # that works even if disks are added and removed. See fstab(5).
  #
  # <file system> <mount point> <type> <options> <dump> <pass>
  proc /proc proc defaults 0 0
  # / was on /dev/sda5 during installation
  UUID=a78fc431-eb95-4201-a0f0-11d2aa1f93b7 / ext3 relatime,errors=remount-ro 0 1
  # swap was on /dev/sda6 during installation
  UUID=6662c3a1-0ff8-4a9f-af95-928c044ee1a4 none swap sw 0 0
  /dev/sda4 none swap sw 0 0
  /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
Re-boot, and your swap should be added. To check, enter free into a terminal, and check the amount of swap it shows.
snow is offline   Reply With Quote

Reply

Bookmarks

Tags
Fixed:, Open:, partition, Pending:
Similar discussions...
Thread Thread Starter Forum Replies Last Post
Pending: Partition Help Jacob417 Hard Drives 1 10-13-2008 12:09 PM
Solved: Cant Partition mcbackchat Hard Drives 1 12-05-2007 11:03 AM
[Answered] To partition or not to partition? TheBeard Hard Drives 4 09-17-2006 01:35 AM
Partition is gone!! Jeroen Hard Drives 12 06-13-2006 03:02 PM
Help in partition with partition magic 7.0 suman24 Hard Drives 3 12-29-2005 06:50 PM

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On




All times are GMT. The time now is 10:07 PM.
Powered by vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2