[Tutorial] Convert to systemd-boot

Thanks i will clarify what i am trying to do
First of all i am familiar with the installer and choose systemd-boot as bootloader.
I am trying to set up an installation from konsole all in virtualbox, no desktop what so ever
Why ? from there i have a minimal system skip unnecessary programs and choose whatever desktop i need.

  • create partition table with sgdisk
  • format partitions
  • mount and create subvols
  • make directories in /mnt
  • mount the subvols
  • pacstrap
  • generate fstab
  • arch-chroot /mnt
  • do locales time users etc
  • exit and umount

So where does bootctl fit in and what commands do i need for this minimal installation ?

I do this all the time and honestly all you have to do is just choose nodesktop option. The installer will still install systemd / grub for you. depending on which you choose in the installer

Thanks i know all that but i am trying from konsole so how to do that ?
That’s what i would like to know.
I described in my post that i am famliiar with the installation procedure from iso and the installer.
from konsole is it possible and if so how ?

never ran a virtual machine so I have no idea of what your trying to do from konsole or even why?

boot to live cd
choose correct options
when at desktop choose nodesktop
proceed to install
reboot
login
finish setting it up how wanted.

this is all i have done so trying to install from konsole is nothing i’ve even heard of.

Ok that’s the easy way

No its the Kiss way

1 Like

Some want the convoluted way. :laughing:

3 Likes

First, just a heads up that you can not only choose no desktop in the installer, you can literally deselect everything.

If you do that, the installer will basically pacstrap and configure the system. You will get an extremely minimal install that is only what is needed for the system to function and to be EOS.

Before exiting and unmounting the chroot you need to run the commands:

bootctl install
pacman -S kernel-install-for-dracut

You then need to manually create /etc/kernel/cmdline and then run reinstall-kernels

3 Likes

Why not ā€œjustā€ installing arch by the way this way ?

I mean if you want a minimal install and do the magic yourself from terminal, being able to control every step and install only exactly what you need, wouldn’t it by be the way to go ?

Endeavour is so bloated anyway

:face_with_open_eyes_and_hand_over_mouth:

:door:

3 Likes

ni desktop install is possible and uncheck :smile:

1 Like