Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-05-2004, 09:20 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 8

Rep: Reputation: 0
How to add a new partition in my system

I'm using Red Hat Advance Server 3 update1
While installing my system, I had maken the partition as following:
/boot 100M primary
SWAP 3000M
/ 72G
Then all my driver space was filled. And I only have one driver in my box.

Now I want to create more partitions, for example, I want to add a new partition named "/setup" and give it 1G space

How to do?
Must I reinstall?
Old 08-05-2004, 09:25 PM   #2
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Well, if the drive is filled, you have to resize some partition. Depending on the filesystem you use, it can be done.
How do you plan to use this /setup thing? Is it really important? Can you live without it?
Old 08-08-2004, 07:29 AM   #3
LQ Newbie
Registered: Jul 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Yes, the directory "/setup" is very important for me.

I'm a newbie on Linux.
I would make clear your meaning.
But I still don't know how to do it.

Would you pls give me your solution in detail procdurces?
Or give me a instruction URL to let me study?

Thank you very much!
Old 08-08-2004, 07:59 AM   #4
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
...but your drive is full - you say...
How would you get additional space by resizing and adding more partitions ?
If / which has a size of 72 GB is full - then only an additional drive will help
If you split the full space in half you have two full spaces of half the size then before!
The only space you could add is by shrinking your swap and adding what came from that as an extra partition - but ths will give 2 - 2,5 GB max - you want to keep some swap, I believe...

do: swapoff

then delete the swap-partition create a new one of your desired size and with what is left over you can create a new partition
then do: mkswap /dev/where_your_swap_is
then change your /etc/fstab to be correct for the new swap
and then: swapon -a

then you can format and use the newly created partition


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
Add partition in hdb d4d4n9 Mandriva 2 12-19-2003 10:43 PM
How to add a new partition bennett Linux - Newbie 3 10-11-2003 12:31 AM
How to partition to add another distro Bruce Hill Linux - Newbie 3 07-22-2003 01:38 PM
How to add new partition before Linux partition in an existing Linux box? ashutosh Linux - Software 3 04-23-2002 03:26 AM
How to Add a partition Ismark Linux - Newbie 1 01-13-2002 06:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 AM.

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