[H-GEN] Bootable Linux distro, partition backup/restore

Mark Suter suter at zwitterion.humbug.org.au
Wed Mar 26 05:26:48 EST 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Folks,

[ Jason and Hilton discuss interfaces for software like         ]
[ http://www.gnu.org/software/parted/                           ]

I have used many graphical partitioning tools, most recently when
I installed MacOS X on my laptop. I have felt their immediacy was
a benefit; however, they are clumsy compared to automatable tools
like parted:

    $ parted /dev/hda
    (parted) resize 1 0 8192
    (parted) mkpart primary linux-swap 8192 9216
    (parted) mkpart primary reiserfs 9216 -0

The above sequence and the equivalent command below will shrink a
single Windows partition to 8GB (no need to defrag), add 1GB swap
and then use the rest of the disk for a reiserfs partition.

    $ parted /dev/hda resize 1 0 8192 mkpart primary linux-swap 8192 8448 mkpart primary reiserfs 8448 -0

Yours sincerely,

- -- Mark John Suter  | I know that you  believe  you understand
suter at humbug.org.au | what you think I said, but I am not sure
gpg key id 2C71D63D | you realise that what you  heard  is not
mobile 0411 262 316 | what I meant.        Robert J. McCloskey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Check Keyservers or http://zwitterion.org/keys/

iD8DBQE+gYBoRYso2ixx1j0RAgBsAKCMfWMcFAT6p1DPqDGCz7xxP+8n1gCfQh1s
x2Wh0tmgzArciFeXhHh+E0E=
=3wD3
-----END PGP SIGNATURE-----

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list