quark:~ # quark:~ # umount /dev/hda1 quark:~ # fsck /dev/hda1 fsck 1.25 (20-Sep-2001) e2fsck 1.25 (20-Sep-2001) /dev/hda1: clean, 16391/192384 files, 243671/393216 blocks quark:~ # cd parted-1.6.5/ quark:~/parted-1.6.5 # cd parted quark:~/parted-1.6.5/parted # ./parted GNU Parted 1.6.5 Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This program is free software, covered by the GNU General Public License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Using /dev/hda Information: The operating system thinks the geometry on /dev/hda is 1869/255/63. Therefore, cylinder 1024 ends at 8032,499M. (parted) print Disk geometry for /dev/hda: 0.000-14664,726 megabytes Disk label type: msdos Minor Start End Type Filesystem Flags 1 0,031 2000,280 primary ext3 2 2000,281 12001,684 primary fat32 lba 3 12001,685 14660,881 primary ext3 (parted) help check MINOR do a simple check on the filesystem cp [FROM-DEVICE] FROM-MINOR TO-MINOR copy filesystem to another partition help [COMMAND] prints general help, or help on COMMAND mklabel LABEL-TYPE create a new disklabel (partition table) mkfs MINOR FS-TYPE make a filesystem FS-TYPE on partititon MINOR mkpart PART-TYPE [FS-TYPE] START END make a partition mkpartfs PART-TYPE FS-TYPE START END make a partition with a filesystem move MINOR START END move partition MINOR name MINOR NAME name partition MINOR NAME print [MINOR] display the partition table, or a partition quit exit program rescue START END rescue a lost partition near START and END resize MINOR START END resize filesystem on partition MINOR rm MINOR delete partition MINOR select DEVICE choose the device to edit set MINOR FLAG STATE change a flag on partition MINOR (parted) resize 1 0 1400 You found a bug in GNU Parted. Please email a bug report to address@hidden containing the version (1.6.5), and the following message: Block 383544 has no reference? Weird (parted) print Disk geometry for /dev/hda: 0.000-14664,726 megabytes Disk label type: msdos Minor Start End Type Filesystem Flags 1 0,031 2000,280 primary ext3 2 2000,281 12001,684 primary fat32 lba 3 12001,685 14660,881 primary ext3 (parted) quit Warning: You should reinstall your boot loader before rebooting. Read section 4 of the Parted User documentation for more information. Information: Don't forget to update /etc/fstab, if necessary. quark:~/parted-1.6.5/parted #