Find the answer to your Linux question:
Results 1 to 8 of 8
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Change size of partition without data loss?


    A short question: What is the recommendable way to make a new partition out of my free disk space without data loss?

    I am using Fedora.

    Thanks!

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,798
    You could use fdisk.

    Code:
    fdisk /dev/<disc>
    Replacing <disc> with the drive you want to partition.

    Or for a GUI you could use GPARTED which I think is part of the base install.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    thanks. I thougt fdisk cannot shrink exisiting partitions without data loss but I will have a look

  4. $spacer_open
    $spacer_close
  5. #4
    'resize2fs'

  6. #5
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,874
    Are you trying to resize or create from free space? You mentioned both. I do not think fdisk will resize a partition.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  7. #6
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,798
    Quote Originally Posted by dr_faust View Post
    thanks. I thougt fdisk cannot shrink exisiting partitions without data loss but I will have a look
    You asked about free space not shrinking thus my response. If your disk is already fully formatted then you want to use one of the GUI's to shrink the partition and then create a new one. Look at GPARTED for this. In the future you need to say exactly what you need.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  8. #7
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,732
    Hello and welcome to the forums!

    Try using gparted for the task as suggested above, and run it from a liveCD such as the Parted Magic LiveCD. You shouldn't lose any data, but you'll be better protected if you have a good backup in place.
    oz

  9. #8
    thank you! I did not describe my problem clear enough in the first post. With gparted I should get where I want...

    Regards!

Posting Permissions

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