Close Menu
    What's Hot

    YouTube Unblocked Proxy: Overview, Benefits, and Real-World Use Cases

    April 7, 2026

    Linux Kernel Release Frequency Statistics 2026

    April 7, 2026

    How To Use The SSH Login Command

    April 7, 2026
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • Man Pages
    • Arch Linux
    • Statistics
    • How to
      • Q&A
    • OS
      • Windows
    • Blog
      • Featured
    • MORE
      • Easter Eggs
      • IP Address
    • Write For Us
    • Contact Us
    Command Linux
    Home - man page - growpart

    growpart

    WillieBy WillieApril 6, 2026Updated:April 6, 2026No Comments2 Mins Read
     

    NAME

    growpart – extend a partition in a partition table to fill available space

     

    SYNOPSIS

    growpart [OPTIONS] DISK PARTITION-NUMBER

    growpart partition
       rewrite partition table so that partition takes up all the space it can
       options:
        -h | –help      print Usage an exit
             –fudge F   if part could be resized, but change would be
                         less than ‘F’, do not resize (default: 20480)
        -N | –dry-run   only report what would be done, show new ‘sfdisk -d’
        -v | –verbose   increase verbosity / debug

     

    OPTIONS

    -h | –help
    Show usage and exit
    -N | –dry-run
    Only report what would be done
    –fudge COUNT
    Only modify partition table if the given partition would grow more than COUNT sectors (512 bytes). The default value is 20480 indicating that no change will be made unless more than 10M of space would be gained.
    -v | –verbose
    Give more information to stderr.
    -r | –ramdisk r
    Use previously registered ramdisk with id ‘r’ specify ‘none’ for no ramdisk

     

    ARGUMENTS

    DISK
    The device or disk image to operate on
    PARTITION-NUMBER
    The number of the partition to resize (counting from 1)

     

    DESCRIPTION

    Rewrite a the partition table in a disk or disk image so that the given partition takes up as much space as it can. After running, the partition will end at the end of the disk, or at the beginning of the next partition.

     

    EXAMPLES

    Extend partition 1 in /dev/sda to fill empty space until end of disk or next partitiong

       growpart /dev/sda 1
    Extend partition 2 in disk image my.image.

       growpart my.image 2

     

    AUTHOR

    This manpage was written by Scott Moser <[email protected]> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation.

    On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    E2FREEFRAG

    April 7, 2026

    Net::DNS::RR::DHCID

    April 7, 2026

    LOGROTATE

    April 7, 2026

    EVP_MD_CTX_destroy

    April 7, 2026
    Top Posts

    How to Set Up Arch Linux VirtualBox

    March 6, 2026

    CARG

    April 4, 2026

    dcut

    March 9, 2026

    STRCPY

    April 2, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.