﻿http://www.gnu.org/software/parted/faq.shtml

GNU Parted - FAQSkip to main content. 
GNU | FSF fdisk | GParted | QtParted 
GNU Parted
 
  › Introduction 
  › Features 
  › Downloads 
  › Documentation 
  » FAQ
   
  › Bugs 
  › Mailing Lists 
  › Contribute 
  › Links 
Latest Stable Release
1.8.8 was released on 2007-08-10. All releases may be found here or on one of 
these mirrors 
Latest Pre-release
Currently None 

All pre-releases may be found here Terminology
  What is parted, libparted, gparted, GNU Parted? 
  'GNU Parted' is a GNU package consisting of a library (libparted) and a 
  textmode frontend (parted) which also serves as a sample implementation. 
  GParted, on the other hand, is a Gnome partition editor that uses libparted. 
  What is a disk label? 
  'Disk label' is another word for 'partition table'. A partition table's main 
  purpose is recording the location of partitions on a disk and boot-time 
  management. 
 
^ TOP 
Features
  Does GNU Parted support logical sector sizes not equal to 512? 
  Yes, but a lot of file systems and disk labels do not. GPT as a disk label is 
  suggested, along with modern file systems like ext2, ext3, reiserfs or xfs. 
  NTFS might also work. 
  Does GNU Parted support physical sector sizes not equal to 512? 
  Starting from 1.7, GNU Parted will automatically align partitions to the 
  physical sector size reported by an ATAPI-compliant drive. 
  Does GNU Parted support Intel EFI/GPT partition tables? 
  Yes. 
  Does GNU Parted support ext2/ext3 extended attributes? 
  No, not yet 
^ TOP 
Resizing
  Can I resize only the partition, leaving the file system as it it? 
  Not at this time. This feature is scheduled for later releases, though. 
  What happens if you try to shrink a partition too much? 
  parted's resizer and partition code uses constraints. That is, the file system 
  resizer says what it can do (safely), and likewise the partition code. Action 
  will only proceed if all constraints can be satisfied. However, parted tries 
  to find the closest solution that satisfies all constraints. If, say, you have 
  a partition that has 20GB of used space on it, and you try to shrink it to 
  100Mb, parted will try to satisfy the constraint (that the file system be able 
  to keep all the 20GB of data), by finding the nearest solution. This "nearest 
  solution" is going to be a long way away - instead of shrinking to 100MB, it 
  shrinks to 20GB instead. parted silently uses the nearest solution. A solution 
  should always exist, because the partition exists! So, the nearest solution 
  might be what you already have! 
  How should I use parted to shrink Windows, and install GNU/Linux? 
  With parted, it is possible to resize your Microsoft Windows partition, to 
  create room to install GNU/Linux. This process shouldn't result in any damage 
  to Windows, although we make no guarantees ;-) Note that this is only possible 
  if your Windows partition is either FAT12, FAT16 or FAT32. If parted is unable 
  to achieve what you want, then it should say so, rather than damaging your 
  data (again, no guarantees). The easiest method is to use a rescue CD with 
  parted on it: 
    Create and boot the rescue CD. 
    Start parted: 
    #partedParted will display this message: 
    Warning: The operating system thinks the geometry
    on /dev/hdb is 2586/240/63. Therefore, cylinder 1024 
    ends at 7559.999M. You should check that this matches
    the BIOS geometry before using this program.
                        You can ignore this, provided you follow the next step. 
    Have a look at your parition table: 
    (parted)print
    Disk label type: msdos
    Minor    Start       End     Type      Filesystem  Flags
    1          36s    19.1GB  primary      FAT         lba
                        This indicates there is a single 19 gigabyte FAT partition. The "lba" 
    indicates that Windows is using LBA (linear) mode. If you don't see this, 
    then things get much more complicated, and you should read the parted 
    documentation thoroughly. If you proceed, you may damage some data without 
    warning (the warning was to check your BIOS geometry matches parted's on 
    startup). 
    Resize the partition to the size you want (in this example, 10GB): 
   (parted) resize 1 0 10GExit parted: 
   (parted) quitThat's it! You can reboot your computer, and start installing GNU/Linux. 
Please direct all questions relating to these pages to: webmasters@gnu.org
Contact the FSF 

Copyright © 1999, 2000, 2001, 2002, 2005, 2006
Free Software Foundation, Inc., 51 Franklin Street, Boston, MA 02110-1301, USA

Last Updated: $Date: 2007/08/10 21:24:11 $ $Author: anant $ 
Verbatim copying and distribution of this entire article is permitted in any 
medium, provided this notice is preserved. 
XHTML 1.0 Compliant    CSS2 Compliant 