Results 1 to 5 of 5

Thread: Partitioning With The Command Line.

  1. #1
    Join Date
    Mar 2011
    Location
    Pizza Hut
    Beans
    1,206
    Distro
    Kubuntu 13.10 Saucy Salamander

    Partitioning With The Command Line.

    First a little background. I have an SD card with Puppy installed on it and I want to shrink the partition down. It's formatted as ext4 and the lupusave.2fs is 1GiB. The total amount of used space is like 1.18 GiB. So using KDE Partition Manager I attempted to shrink it but I got the following output:
    Code:
    resize2fs 1.41.14 (22-Dec-2010)
    /sbin/resize2fs: New size smaller than minimum (313259)
    I know that I can shrink the file system by running resize2fs with the -f (force) option, but I can't figure out how to shrink the actual partition. Any help would be greatly appreciated.
    Ubuntu user #35115 - Linux user #555707 - My Ubuntu Wik page
    Join the Ubuntu Forums' IRC room (#ubuntuforums on irc.freenode.net)!

  2. #2
    Join Date
    Mar 2011
    Location
    Pizza Hut
    Beans
    1,206
    Distro
    Kubuntu 13.10 Saucy Salamander

    Re: Partitioning With The Command Line.

    Bump.
    Ubuntu user #35115 - Linux user #555707 - My Ubuntu Wik page
    Join the Ubuntu Forums' IRC room (#ubuntuforums on irc.freenode.net)!

  3. #3
    Join Date
    Dec 2004
    Location
    Atlanta, GA USA
    Beans
    7,257
    Distro
    Ubuntu Development Release

    Re: Partitioning With The Command Line.

    Have you tried Gparted?

  4. #4
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Partitioning With The Command Line.

    Have a look at:

    Code:
    man fdisk
    Although be VERY careful where you aim it. +1 for gparted.

  5. #5
    Join Date
    Mar 2011
    Location
    Pizza Hut
    Beans
    1,206
    Distro
    Kubuntu 13.10 Saucy Salamander

    Re: Partitioning With The Command Line.

    Quote Originally Posted by wolfen69 View Post
    Have you tried Gparted?
    No, but I'm pretty sure it's a backend (resize2fs) problem. I get the same error when I run the command directly (unless I use the -f option). Miscalculation of the minimum is a known bug in resize2fs. I'll give GParted a shot, though.
    Ubuntu user #35115 - Linux user #555707 - My Ubuntu Wik page
    Join the Ubuntu Forums' IRC room (#ubuntuforums on irc.freenode.net)!

Bookmarks

Posting Permissions

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