Thanks for this tutorial! I am definitely going to try this, first in virtualbox and then on my laptop. Btw you can install both systemd-boot and grub and then choose which one you want to boot in your systems firmware setup. Both grub and systemdboot will have their own folder on the efi system partition and an entry in your systems uefi nvram. I think its nice to have them both installed just in case you mess up one of them somehow..
thx for this short, simple but very effective tutorial! - just a tip for your next tutorial of this kind, take the youtube controls into account, when pausing it is really hard to see the commands under the title thx again
Any chance you could post a written guide in the description? Some steps are hard to follow on the screen. Great guide though, it really helped me to setup my new efi, systemd-boot, fully encrypted and lvm system. The written steps would be handy for the future. Thanks
Great video, thank you for the upload. Could you add a comment on adding additional HDs to the LVM? I'm trying to do that myself, and I am not sure how I will deal with the multiple UUIDs/multiple passwords.
Hi Jeff, thank you! So, this is something I haven't tried myself yet. The problem with multiple disks and the LVM on LUKS approach is that the encrypt hook only supports a single "cryptdevice=" entry being specified in the kernel command line. This prevent us from being able to decrypt both devices at boot time, but there are alternatives/workarounds tho: 1. Modify the encrypt hook to handle multiple cryptdevice entries: wiki.archlinux.org/index.php/Dm-crypt/Specialties#The_encrypt_hook_and_multiple_disks and bbs.archlinux.org/viewtopic.php?id=105086 2. Use LUKS on LVM instead of LVM on LUKS: wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#LUKS_on_LVM Hope that helps, Lucas
Issues while rebooting install arch with lvm on luks. im following your Gide with a few changes that I has to do for the exact project of my own. first I need to separate the OS( root+home directory) from boot+efi and mount them to separate disks 1.root+home (on sdcard+lvm on luks encrypted) 2.efi+boot on another flash drive. 3.i made an installion iso with rufus. I had some more changes I formatted the partitions of boot and efi with FAT32. and this is another change I made after errors I got with grub installion(arch grub install doesn't look like efi partition) grub-install --efi-directory /boot/efi when I finished the guide I made a reboot and the system got stuck on Emergency sync complete. it happand to me before and I did force reboot to my laptop and then the system load with grub menu after the reboot. thank you for your help
1:27 Shouldn't /dev/sda2 be of type "8309" (Linux LUKS) instead of "8e00" (Linux LVM)? The decrypted devicemapper-file should be 8e00 since it's a PV or am i wrong?
Hi John, it should be straight forward if you follow the Arch Linux Wiki. So, just skip the last part of the video where systemd-boot is installed and instead follow these instructions: wiki.archlinux.org/index.php/GRUB#Installation_2 Just make sure you also include the kernel parameters required for the crypt device, see: wiki.archlinux.org/index.php/GRUB#Configuration
Hi Lucas. Thank you for your work !! How to add an entry for Windows 10 installed on another hard drive in systemd boot? Windows is installed on a nvme ssd and Arch on other SSD. For booting i must switching in UEFI Bios. Thank you for your help !!
Kaz Archman I know I’m a bit late, but perhaps this will help others. Let’s say that Windows is installed on sda and for convenience Arch is on sdb. I also assume you are trying to follow the video as closely as possible. Instead of making two partitions sdb1 and sdb2, make only one partition sdb1 filling the disk. Then when mounting mount /dev/sda2 (which should be the efi partition, which you can check with fdisk -l) to /mnt/boot. When editing the file /boot/loader/loader.conf add the entry auto-entries 1 That should solve your problem, albeit over a year later.
Just out of curiosity you seem to have a Spanish accent and you're using the Dublin timezone so I assume you're living in Ireland... What led you to immigrate to Ireland of all places?
Thanks for this tutorial! I am definitely going to try this, first in virtualbox and then on my laptop. Btw you can install both systemd-boot and grub and then choose which one you want to boot in your systems firmware setup. Both grub and systemdboot will have their own folder on the efi system partition and an entry in your systems uefi nvram. I think its nice to have them both installed just in case you mess up one of them somehow..
thx for this short, simple but very effective tutorial! - just a tip for your next tutorial of this kind, take the youtube controls into account, when pausing it is really hard to see the commands under the title
thx again
Thanks for the feedback man, that's a great point! I will definitely take it in consideration of the next videos.
xiberger its nice to have a 1920x1200 monitor for this reason.
I'm jumping IT WORKED, finally
Nowadays it is necessary to include `linux`, `lvm2` and `mkinitcpio` in the `pacstrap` command.
Even netctl and linux-firmware
Dude, thanks so much, now gotta install all my bloatware back
You welcome! Glad to know that this old video is still relevant
I honestly can't see much on my phone, you can use setfont -d to make it double the size. Makes it easier to see
Thank you very much sir! You are a gent. I am a Linux first timer and it took me 2 days but I got it done
I installed before and LUKS,LVM does take longer
This really helped me, thank you!
Any chance you could post a written guide in the description? Some steps are hard to follow on the screen. Great guide though, it really helped me to setup my new efi, systemd-boot, fully encrypted and lvm system. The written steps would be handy for the future. Thanks
Thanks guy, this helped me a lot!
Great installation guide. Have you considered doing one with Btrfs with snapshots instead of lvm?
Great video, thank you for the upload. Could you add a comment on adding additional HDs to the LVM? I'm trying to do that myself, and I am not sure how I will deal with the multiple UUIDs/multiple passwords.
Hi Jeff, thank you!
So, this is something I haven't tried myself yet. The problem with multiple disks and the LVM on LUKS approach is that the encrypt hook only supports a single "cryptdevice=" entry being specified in the kernel command line. This prevent us from being able to decrypt both devices at boot time, but there are alternatives/workarounds tho:
1. Modify the encrypt hook to handle multiple cryptdevice entries:
wiki.archlinux.org/index.php/Dm-crypt/Specialties#The_encrypt_hook_and_multiple_disks
and bbs.archlinux.org/viewtopic.php?id=105086
2. Use LUKS on LVM instead of LVM on LUKS: wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#LUKS_on_LVM
Hope that helps,
Lucas
Issues while rebooting
install arch with lvm on luks.
im following your Gide with a few changes that I has to do for the exact project of my own.
first I need to separate the OS( root+home directory) from boot+efi and mount them to separate disks
1.root+home (on sdcard+lvm on luks encrypted)
2.efi+boot on another flash drive.
3.i made an installion iso with rufus.
I had some more changes
I formatted the partitions of boot and efi with FAT32.
and this is another change I made after errors I got with grub installion(arch grub install doesn't look like efi partition)
grub-install --efi-directory /boot/efi
when I finished the guide I made a reboot and the system got stuck on Emergency sync complete.
it happand to me before and I did force reboot to my laptop
and then the system load with grub menu after the reboot.
thank you for your help
Thanks! Really helpful!
Thank you!
1:27
Shouldn't /dev/sda2 be of type "8309" (Linux LUKS) instead of "8e00" (Linux LVM)?
The decrypted devicemapper-file should be 8e00 since it's a PV or am i wrong?
Why did you not change the kernel parameters from udev to systemd and sd-lvm2 instead of lvm2?
thank you for this tutorial, can you show how to install arch with grub uefi
Hi John, it should be straight forward if you follow the Arch Linux Wiki. So, just skip the last part of the video where systemd-boot is installed and instead follow these instructions: wiki.archlinux.org/index.php/GRUB#Installation_2
Just make sure you also include the kernel parameters required for the crypt device, see: wiki.archlinux.org/index.php/GRUB#Configuration
Hi Lucas. Thank you for your work !!
How to add an entry for Windows 10 installed on another hard drive in systemd boot?
Windows is installed on a nvme ssd and Arch on other SSD. For booting i must switching in UEFI Bios.
Thank you for your help !!
Kaz Archman I know I’m a bit late, but perhaps this will help others.
Let’s say that Windows is installed on sda and for convenience Arch is on sdb. I also assume you are trying to follow the video as closely as possible.
Instead of making two partitions sdb1 and sdb2, make only one partition sdb1 filling the disk. Then when mounting mount /dev/sda2 (which should be the efi partition, which you can check with fdisk -l) to /mnt/boot.
When editing the file /boot/loader/loader.conf add the entry
auto-entries 1
That should solve your problem, albeit over a year later.
Just out of curiosity you seem to have a Spanish accent and you're using the Dublin timezone so I assume you're living in Ireland... What led you to immigrate to Ireland of all places?
Why at 16:34 it says failed unmounting "run/archiso/bootmnt"?
I haven't noticed that before nor debugged it so I don't know... It hasn't affect my installation tho.
After I install with this method I am unable to get to the internet
Can you be more specific, were you able to run $ pacstrap or it failed later ?
I figured it out thanks for your video