LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2010, 02:44 AM   #1
ganfun
Member
 
Registered: Apr 2010
Location: Mumbai, India
Distribution: Ubuntu Server 9.10
Posts: 38

Rep: Reputation: 15
partition problem


HI

I have installed linux ubuntu server 9.10 on my machine during the installation process i choose the manual partition and made 3 partition

Linux system on 1stdrive with 20GB space.

Then i created another 50GB partition,

Then another partition of 10GB for storing temp etc.

Now how do i tell the linux o/s to use the 10GB to use for teh swap file and temp files.

How do i check the space in this partition

I have installed webmin on this server.
 
Old 04-16-2010, 03:03 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You need different partition for swap. You can not create swap on the partition that is formatted as Linux partition. You will need to create swap on the partition

http://www.redhat.com/docs/manuals/l...ap-adding.html

will tell you how to create a swap partition manually.

And to use the partition as temp, you will need to mount the partition on /temp for it to be used as temp.
 
Old 04-16-2010, 03:03 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Edit: OOPS double post.
 
Old 04-16-2010, 11:32 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,059

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Quote:
Originally Posted by linuxlover.chaitanya View Post
You need different partition for swap...
http://www.redhat.com/docs/manuals/l...ap-adding.html
You will note from the reference quoted that you could create a swap file instead. I'm not sure that it really desirable except in the singular case that you have a running system in which you have some investment in the way of time and testing and you want to extend its life somewhat, withoput major changes to an existing partition system, but it is possible.

The quoted reference is a rather old, and its reference to swap files being in some way generally undesirable probably does not apply any more, but still, swap partitions are more widely used and therefore more extensively tested.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 11:46 AM
,dmrc problem after moving /home partition to NTFS partition yeehung Linux - Newbie 1 11-14-2007 07:17 AM
Partition problem with Qtparted in Knoppix variety & mp3 support problem in FC3 eypros Linux - Software 1 06-01-2005 08:12 PM
boot problem/ partition problem? ian sil Linux - General 1 05-10-2005 07:08 PM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 01:42 PM


All times are GMT -5. The time now is 11:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration