Partition table to parted script
Julien BLACHE
jblache at debian.org
Sun Mar 6 18:06:26 CET 2011
Hi,
A few months ago I talked about generating a parted script during the
installation, either in setup-storage or using a dedicated tool/script.
The attached Python script does just that, using python-parted. It
outputs a shell script that recreates the partition table using parted.
Unfortunately, with msdos partition tables this doesn't yield the exact
same result due to alignment issues. Basically, I'm only using the
script for GPT partition tables aligned to 1 MiB boundary.
HTH,
JB.
--
Julien BLACHE <jblache at debian.org> | Debian, because code matters more
Debian & GNU/Linux Developer | <http://www.debian.org>
Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gpt2script
URL: <http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20110306/966974bd/attachment.pl>
More information about the linux-fai-devel
mailing list