You are not logged in.
Hi everyone,
Apologies in advance as I'm sure this is a silly question, but I can't for the life of me find the answer.
Installing Arch on an UEFI system, with a boot partition and the rest of the disk LVM on LUKS.
Following the Beginner's Guide and other Wiki pages, using parted :
parted /dev/sda
(parted) mklabel gpt
(parted) mkpart ESP fat32 1MiB 513MiB
(parted) set 1 boot on
...
Then - "Create a partition of type 8E00, which will later contain the encrypted container."
What exactly is the command for this with parted?
(parted) mkpart ???? 513MiB 100%
(parted) set 2 lvm on ???
Thanks in advance.
Offline
you might also need 'set 1 esp on'.
set 2 lvm on is fine. (the partition type for encrypted containers, doesn't really matter, as long as windows won't format it anything goes)
the first word after mkpart is just a label name, you can use whatever you want... esp or boot is fine for the first one, the second one you can just call luks or whatever.
if 100% doesn't work, try -1 or just use 'unit mib', 'print free' to see what's available
Offline
Hi.
sorry for my english ))
I'm comfortable doing disk partitioning with fdisk .
fdisk /dev/sda
press m for help
press d for delete partitions (several times if you have multiple partitions)
press g for create a new empty GPT partition table
next press l for to see a list of known partition types (you need 1 for a EFI boot and 31 for Linux LVM)
press n for adding a new partitions (Field beginning of the chapter you left empty, the end of the section typing + 512M to make partition size is 512 MB)
press t if you forgot to change the partition type
and press w for save changes
Last edited by drdru (2016-07-19 14:19:30)
Offline
I have installed the system a few days ago, but I chose LUKS on LVM
If you have questions - ask
Last edited by drdru (2016-07-19 14:26:58)
Offline