[Assist] Partitioning

Stayvoid stayvoid at gmail.com
Tue Aug 28 15:59:57 GMT 2012


Hello again,

I'd like to know how to create aligned partitions on a 160GB disk
which uses a 512B sector size.
(Partition table: msdos)

I've got the theory [1, 2], but I can't make it work.

I'd like to have three partitions:
1. ext3 ~ 100mb /boot
2. linux-swap ~ 1GB swap
3. ext3 (for the rest of the system)

How to adjust the sizes?

I'm planning to encrypt swap and the third partition with dm-crypt (not LUKS).
Separate /boot is needed to mount and decrypt them after booting.

What do you use on your YeeLoongs?
Could you suggest a better scheme?
What about file system type (i.e. ext3)? Should I change it to something else?

[1] http://forums.gentoo.org/viewtopic-t-838522.html
[2] http://superuser.com/questions/349887/gnu-parted-how-to-deal-with-the-error-about-proper-aligment-of-partitions


More information about the Assist mailing list