Results 1 to 7 of 7

Thread: How do I format my /home partition ( which is xfs ) to ext4 or FAT32 ?

  1. #1

    Default How do I format my /home partition ( which is xfs ) to ext4 or FAT32 ?

    Hi. I just installed openSUSE 13.2 and I want am already low on my "/" partition space ( 40 GiB ). I just went with the suggested partitioning and now I want to format my home partition with ext4 without failing my system from booting. Can anyone tell me how can I safely do that? my distro is: openSUSE 13.2 GNOME. Thanx

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,384
    Blog Entries
    1

    Default Re: How do I format my /home partition ( which is xfs ) to ext4 or FAT32 ?

    Quote Originally Posted by jatinkaushal280280 View Post
    Hi. I just installed openSUSE 13.2 and I want am already low on my "/" partition space ( 40 GiB ). I just went with the suggested partitioning and now I want to format my home partition with ext4 without failing my system from booting. Can anyone tell me how can I safely do that? my distro is: openSUSE 13.2 GNOME. Thanx
    The first thing to do will be to back up /home to some external media. (Make sure it is formatted ext4 or similar to preserve permissions.) Before you shut down, you can edit /etc/fstab to reflect the ext4 partition type. Be careful with typos though. Then you'll need to reformat the partition, using a partitioning tool. GParted on a Live CD or USB is good for this task. Once done, you can copy the data back to /home. Now, you should be good to boot again.

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,384
    Blog Entries
    1

    Default Re: How do I format my /home partition ( which is xfs ) to ext4 or FAT32 ?

    For the brave and interested, you might want to consider fstransform. It claims to be able to convert between a number of file-systems on the fly. (I don't have personal experience with this, but others report success. I would always back up data before proceeding with any method.)

    http://www.linux-magazine.com/Online...th-Fstransform

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: How do I format my /home partition ( which is xfs ) to ext4 or FAT32 ?

    FAT32?
    I don't think so...
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5

    Default Re: How do I format my /home partition ( which is xfs ) to ext4 orFAT32 ?

    On 2014-11-18, jatinkaushal280280 <jatinkaushal280280@no-mx.forums.opensuse.org> wrote:
    > Hi. I just installed openSUSE 13.2 and I want am already low on my "/"
    > partition space ( 40 GiB ). I just went with the suggested partitioning
    > and now I want to format my home partition with ext4 without failing my
    > system from booting. Can anyone tell me how can I safely do that? my
    > distro is: openSUSE 13.2 GNOME. Thanx


    Before making any recommendation, we need to know more about your hard drive configuration. Please run GNOME's terminal
    and entire the following commands:

    Code:
    sh-4.2$ df -h
    sh-4.2$ cat /etc/fstab | grep dev
    sh-4.2$ su -c "fdisk -l"
    .... and paste the results here inside code tags, iconified by octothorpes (#) in the forum toolbar.

    Couple of questions just to check for things:

    1. How have you managed to fill up your / partition so quickly?
    2. Why have you chosen ext4 as your home partition file format?

  6. #6
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: How do I format my /home partition ( which is xfs ) to ext4 or FAT32 ?

    Quote Originally Posted by jatinkaushal280280 View Post
    Hi. I just installed openSUSE 13.2 and I want am already low on my "/" partition space ( 40 GiB ). I just went with the suggested partitioning and now I want to format my home partition with ext4 without failing my system from booting. Can anyone tell me how can I safely do that? my distro is: openSUSE 13.2 GNOME. Thanx
    ... but NOT FAT32, for heaven's sake!
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How do I format my /home partition ( which is xfs ) to ext4 orFAT32 ?

    On 2014-11-18 07:46, jatinkaushal280280 wrote:
    >
    > Hi. I just installed openSUSE 13.2 and I want am already low on my "/"
    > partition space ( 40 GiB ). I just went with the suggested partitioning
    > and now I want to format my home partition with ext4 without failing my
    > system from booting. Can anyone tell me how can I safely do that? my
    > distro is: openSUSE 13.2 GNOME. Thanx


    If you just installed, backup your data, and install again. Migration is
    doable but not trivial. AND, migration of home will not solve your low
    space on "/", you also need to resize it, or choose not btrfs on it.


    And of course, you CANNOT use FAT32 on /home.

    I would leave home as XFS, actually. It is a very good choice.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

Tags for this Thread

Posting Permissions

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