If you want run Parted on a machine without GNU/Linux installed, or you want to resize a root or boot partition, you will need to use a boot disk.
A boot disk image is available from:
To actually create the boot disk, the disk image must be written to a floppy disk. In GNU/Linux, this can be done with
# dd if=partboot.img of=/dev/fd0 bs=1440k
Or use RAWRITE.EXE under DOS.
Unfortunately, the boot disk doesn't support a very wide range of hardware. If your hard disk isn't supported, then you will need to make your own boot disk. You can copy the parted binary from the parted bootdisk onto another disk, or try other boot disks, or make your own. You may find mkparted useful, which is a shell script to make custom parted boot disks. It is available at:
To copy parted from the boot disk onto another disk:
$ parted /dev/fd0 mklabel loop mkpartfs primary ext2 0 1.4
$ mount -t ext2 /dev/fd0 /mnt/floppy
$ cp /sbin/parted /mnt/floppy
$ cp /lib/* /mnt/floppy
$ umount /mnt/floppy
# cd /mnt/floppy # LD_LIBRARY_PATH=. ./parted
Go to the first, previous, next, last section, table of contents.