Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Newbie > How to divide a partition into two parts?

Forgot Password?
 Linux Newbie   If you're new to the wonderful world of Linux, start here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-10-2009   #1 (permalink)
Just Joined!
 
Join Date: Apr 2009
Posts: 61
How to divide a partition into two parts?

Hi All,
I am having a big /home partition. I need to make it small and create one more partition from it which will be used for some other purpose. Can you tell me please how to do it?
I searched on google and found some methods which were very different from each other.I don't know which one is good, so, I thought I will ask you experts before doing anything. Please tell me how would you do this partitioning job?
NOTE: there is no need to protect the data written in /home
NewinLinux is offline  


Reply With Quote
Old 07-10-2009   #2 (permalink)
Linux User
 
saivin's Avatar
 
Join Date: Dec 2008
Location: Bengaluru, India
Posts: 292
You have not mentioned which linux distro (Ubuntu, Fedora, Mandriva, openSUSE,...) you are using or which desktop (GNOME, KDE, XFCE...) you are using. Depending on what you have you may find one of Gparted or QTparted on your system. If one of them is not installed or if you cannot find them, you can also use Gparted or PartedMagic liveCD for this purpose. They are graphical applications and the steps you need to take are pretty self explanatory.
__________________
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
saivin is offline   Reply With Quote
Old 07-10-2009   #3 (permalink)
Just Joined!
 
Join Date: Apr 2009
Posts: 61
I am using SuSE 11.0 and Gnome desktop. What are Gparted and Qtparted? I have never heard of it and I even don't know whether they are in my computer or not.. All I know is that there are commands like fdisk,resize2fs,fsck etc for this purpose. I don't know how to partition using those commands.
NewinLinux is offline   Reply With Quote
Old 07-10-2009   #4 (permalink)
Linux User
 
vickey_20's Avatar
 
Join Date: Mar 2009
Location: Mumbai, India
Posts: 493
Its a graphical tools that helps in resizing ,edtiting and modifying a partition. Here check out this site GParted -- Welcome
__________________
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
vickey_20 is offline   Reply With Quote
Old 07-10-2009   #5 (permalink)
Just Joined!
 
Join Date: Apr 2009
Posts: 61
Hi !
I saw the link which you have posted. It tells to make a Live CD first. But, can it be done without that? I mean, by using instructions like umount,fsck, fdisk resize2fs(you know better which ones to use in this case)?
Can you tell me how to do partitioning in this case step by step using fdisk?
NewinLinux is offline   Reply With Quote
Old 07-10-2009   #6 (permalink)
Linux User
 
vickey_20's Avatar
 
Join Date: Mar 2009
Location: Mumbai, India
Posts: 493
fdisk allows creating a new partiton , but I haven't used to modify parition as I don't think it supports it.
The resize2fs may serve what you desire but again chances of mistake are more.
Refer the man page of the command to get a deep idea of how to make it work.
__________________
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
vickey_20 is offline   Reply With Quote
Old 07-10-2009   #7 (permalink)
Linux User
 
vickey_20's Avatar
 
Join Date: Mar 2009
Location: Mumbai, India
Posts: 493
Ok If you have made up your mind to resize the partition using command line you will find this link really valueable How To Resize ext3 Partitions Without Losing Data | HowtoForge - Linux Howtos and Tutorials
__________________
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
vickey_20 is offline   Reply With Quote
Old 07-10-2009   #8 (permalink)
Just Joined!
 
Join Date: Apr 2009
Posts: 61
Lol I refered to everything and still did not get "deep" idea.Forgive me, I am new. I never post anything here unless I try and fail. I have already crashed my system before in trying to partition using fdisk. Is there anyone who can tell me the steps to do partitioning using fdisk?
NewinLinux is offline   Reply With Quote
Old 07-10-2009   #9 (permalink)
Just Joined!
 
Join Date: Apr 2009
Posts: 61
Quote:
Originally Posted by vickey_20 View Post
Ok If you have made up your mind to resize the partition using command line you will find this link really valueable How To Resize ext3 Partitions Without Losing Data | HowtoForge - Linux Howtos and Tutorials
I have already seen it. It uses Knoppix Live-CD. I want to do it without that. There is no need to protect the data in my case.
NewinLinux is offline   Reply With Quote
Old 07-10-2009   #10 (permalink)
Linux User
 
vickey_20's Avatar
 
Join Date: Mar 2009
Location: Mumbai, India
Posts: 493
Ok friend I'll try to do it on my system and let you know as I have never tried it before.
__________________
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
vickey_20 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:02 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2