注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Partitioning using parted
Jump to navigation
Jump to search
From an installation method such as the Ubuntu Desktop 14.04.1 installation disc, partitioning using gdisk is not an option. From the command line there is Parted as an option. GParted is also an option, but it doesn't support setting partition flags which can be necessary.
- Start parted on the appropriate device: parted --align=opt /dev/sda
- Create an appropriate partition table: mktable gpt or mktable msdos
- Create an EFI boot partition if applicable (only on GPT): mkpart primary fat32 1mib 512mib
- Create a swap partition (at least the size of RAM if you want to hibernate): mkpart primary linux-swap(v1) 512mib 9gib
- Create a root partition: mkpart primary ext4 9gib -0
- Set the EFI boot partition if applicable (only on GPT): set 1 boot on
- Verify the partition layout: print
- Exit Parted: quit