Fixing setup-storage_no-cylinder-boundaries

Julien BLACHE jblache at debian.org
Fri Feb 11 12:13:08 CET 2011


Hi,

setup-storage_no-cylinder-boundaries in experimental had serious issues
with preserving msdos partitions created by previous versions of
setup-storage.

There were 2 issues:
 - aligning to sector boundary instead of cylinder boundary by default
 - aligning the start position of partitions 1 and 5

This leads to the new setup-storage creating partitions that are up to
several megabytes larger than they were with the old setup-storage.

I've fixed both issues by:
 - reverting to cylinder boundary for msdos partitions by default, but
   align-at can override that
 - ignoring alignment constraints for the start of partitions 1 and 5 on
   msdos disk labels

Basically, we shouldn't mess with alignment on msdos disklabels, it's
going to break backward compatibility.

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <jblache at 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 


More information about the linux-fai-devel mailing list