Re: Partition Resizing

From: Sam Watkins (swatkins_at_fastmail.fm)
Date: 12/13/04

  • Next message: Hugo Vanwoerkom: "Re: Debian-based live-cd w/ LVM2 support?"
    Date: Tue, 14 Dec 2004 01:06:19 +1100
    To: debian-user@lists.debian.org
    
    

    You can also try "regular" parted, in the "parted" package.
    This is a command-line tool, very reliable, and fairly easy to use.

    Personally I'd rather not use a GUI to munge my partitions,
    especially as the X server has not been all that stable lately.

    qtparted is a frontend to parted.

    Unfortunately, as I understand, parted (and presumably also qtparted) cannot
    move the start of an ext2, ext3 or reiserfs partition, so you may have trouble
    doing what you need to do - you may need to stuff around with shrinking your
    partition, then copying it, then deleting the old one and expanding the new one
    or something like that. Might be quicker just to reinstall! If you can make a
    backup of your filesystems, then repartition, then restore, it might be easier.

    Beats me why it can't move the start, I would have thought that would only
    involve copying blocks. Also, the version of parted in sarge doesn't have
    reiserfs support because libreiserfs isn't in sarge - does anyone know why
    libreiserfs was pulled?

    Sounds to me like the moral of the story is "use LVM"!

    Sam

    Package: parted
    Description: The GNU Parted disk partition resizing program
     GNU Parted is a program that allows you to create, destroy,
     resize, move and copy hard disk partitions. This is useful
     for creating space for new operating systems, reorganising
     disk usage, and copying data to new hard disks. This package
     contains the Parted binary and manual page.
     .
     Parted currently supports DOS, Mac, Sun, BSD, GPT, MIPS and
     PC98 disklabels/partition tables, as well as a 'loop' (raw
     disk) type which allows use on RAID/LVM. Filesystems which
     are currently fully supported are ext2, ext3, fat (FAT16
     and FAT32), ReiserFS (with libreiserfs) and linux-swap.
     Parted can also detect and remove HFS (Mac OS), JFS, NTFS,
     UFS (Sun and HP), XFS and ASFS/AFFS/APFS (Amiga) filesystems,
     but cannot create, resize or check these filesystems yet.
     .
     Note that ReiserFS support is only enabled if you install
     the libreiserfs0.3-0 package. Since libreiserfs0.3-0 has been
     removed from sarge, ReiserFS support is not compiled in the
     default package.
     .
     The nature of this software means that any bugs could cause
     massive data loss. While there are no known bugs at the moment,
     they could exist, so please back up all important files before
     running it, and do so at your own risk.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Hugo Vanwoerkom: "Re: Debian-based live-cd w/ LVM2 support?"

    Relevant Pages

    • debian-installer: partman, limited; base-install failed, grave error?
      ... Expert mode failed to install the base system. ... there are also several error messages about package dependency ... formats the disk without asking me for options). ... I partition the disk with /dev/hda1 as a Primary partition, ...
      (Debian-User)
    • installation-report: install base system fails if image in /boot
      ... Package: installation-reports ... During the installation I asked to reuse the /boot partition (no ... Skeleton root filesystem used by debian-installer ... Installed-Size: 44 ...
      (Ubuntu)
    • Re: inode state
      ... Its a statistical analysis package for websites. ... > The system stores most many statistics in memory which is flushed to ... > disk in circles by a worker thread. ... > When those flushes occure, my apps state as displayed by topgets ...
      (freebsd-questions)
    • Re: upgrade->dead system, help.
      ... > kernel package to 'purge' so it wouldn't install. ... > it have it's way and the package in question was installed. ... Get partimage and save your partition to disk before doing drastic things. ...
      (Debian-User)
    • Re: installation problems
      ... >couldn't be opened due to missing file, bad package or bad media. ... I tried a few more times to install in text, since that seems to be the ... The /usr partition had about 2.3GB. ... I got no error message about not being able to open something. ...
      (comp.os.linux.misc)