Find the answer to your Linux question:
Page 1 of 4 1 2 3 4 LastLast
Results 1 to 10 of 34
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. ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    63

    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

  2. #2
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305
    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

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    63
    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.

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

  5. #5
    Just Joined!
    Join Date
    Apr 2009
    Posts
    63
    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?

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

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

  8. #8
    Just Joined!
    Join Date
    Apr 2009
    Posts
    63
    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?

  9. #9
    Just Joined!
    Join Date
    Apr 2009
    Posts
    63
    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.

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

Page 1 of 4 1 2 3 4 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •