Find the answer to your Linux question:
Results 1 to 9 of 9
Hi - haven't done linux in some time. Since I'm posting here I'm using openSuSE 11.2 (64 bit). How do I resize an ext4 partition including moving the start address? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    6

    [SOLVED] How do I resize an ext4 partition?


    Hi - haven't done linux in some time. Since I'm posting here I'm using openSuSE 11.2 (64 bit).

    How do I resize an ext4 partition including moving the start address? Actually what I want to do is extend the partition in front of it but that means first making space between partitions 1 and 2.

    As best I can tell resize2fs will resize the partition but not let me move the start addres. And fdisk will run, on say /dev/sda3 (the one I want to resize), but its default display doesn't show a start and end address which leads me to believe that fdisk isn't going to do what I want either.

    thanx.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello and welcome!

    Gparted can handle ext4 partitions:

    GParted -- Features

    It's easiest to use it when it's running from a liveCD such as the Parted Magic LiveCD.
    oz

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    6
    Thanx Ozar - I'm running KDE - not gnome. Gparted seems to be associated with gnome. Can I use gparted with KDE and if so, how?

    thanx - pat

  4. $spacer_open
    $spacer_close
  5. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    It's on the Parted Magic LiveCD and it will run directly from the liveCD. Your KDE system won't be running at all when you are using the Parted Magic disk.
    oz

  6. #5
    Linux Guru D-cat's Avatar
    Join Date
    Jan 2009
    Location
    Bounce between Dover, NH - Shapleigh, ME
    Posts
    1,638
    Using a LiveCD is the best way to resize partitions, this way you're assured none are mounted. Resizing a mounted partition is like changing a tire while driving down the highway.

  7. #6
    Just Joined!
    Join Date
    May 2010
    Posts
    6
    Sorry - it's taking me an iteration or two to even properly conceptualize the problem.

    Which, now, is that this is openSUSE 11.2 ruuning inside of VirtualBox running on Windows 7.

    That one should resize a partition while booted from off a CD makes sense to me, however what does that mean here where openSUSE is virtualized?

  8. #7
    Linux Guru D-cat's Avatar
    Join Date
    Jan 2009
    Location
    Bounce between Dover, NH - Shapleigh, ME
    Posts
    1,638
    Start VirtualBox with the PartEd Magic ISO mounted in the virtual CDROM. It should boot the VM to the PM desktop and you'll be able to do your resizing.

  9. #8
    Just Joined!
    Join Date
    May 2010
    Posts
    6
    Thanx D-cat. That sounds reasonable - I'll give it a try.

  10. #9
    Just Joined!
    Join Date
    May 2010
    Posts
    6
    Parted Magic was very easy to use and worked perfectly. So I sent them $10 via paypal.

    thanx for the help.

Posting Permissions

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