How to align partitions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

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.

[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

Thanks


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux