You are not logged in.

#1 2017-03-09 04:52:30

KeeNuM23
Member
Registered: 2017-03-09
Posts: 4

[Solved] How-To replace GRUB boot loader with systemd-boot manager

Are there any advantages of replacing the GRUB bootloader with the systemd-boot manager? Systemd-boot is 100% new to me, as GRUB has always been the 'goto' as long as I can remember.

This is my first post, I ditched Windows two weeks ago full time, and I found Arch to be my favorite distro. Glad to be part of the community.

Here's an overview of the steps I took for anyone else who has GRUB and wants to use systemd-boot:

  1. Installed systemd-boot as root using:

    bootctl install

  2. Install vim so we can edit conf files.

    pacman -S vim

    Configure loader.conf file:

    vim /boot/loader/loader.conf

    The default contents of loader.conf:

    #timeout 3
    default 43l34jkl32j4lk32

    just blank that out and type:

    default arch 
    timeout 3

  3. Create arch.conf:

    vim /boot/loader/entries/arch.conf

    This will create arch.conf. Add the following contents:

    title Archlinux
    linux /vmlinuz-linux
    initrd /initramfs-linux.img
    options root=PARTUUID=YOUR-PARTUUID-HERE

    You can get your PARTUUID by reading in blkid via vim.

    :r !blkid
  4. Uninstall GRUB with:

    pacman -Rcnsu grub
  5. Reboot and enjoy smile

Last edited by KeeNuM23 (2017-03-09 14:15:46)


Kernel: X86_64 Linux 4.9.11-1-ARCH
CPU: Intel Core i7-6700K CPU @ 4.2GHz
GPU: GeForce GTX 1080
RAM: 3320MiB / 32123MiB

Offline

#2 2017-03-09 04:56:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] How-To replace GRUB boot loader with systemd-boot manager

Other than eliminating unnecessary complexity and bloat? Not really.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-03-09 05:00:15

KeeNuM23
Member
Registered: 2017-03-09
Posts: 4

Re: [Solved] How-To replace GRUB boot loader with systemd-boot manager

jasonwryan wrote:

Other than eliminating unnecessary complexity and bloat? Not really.

Thanks!


Kernel: X86_64 Linux 4.9.11-1-ARCH
CPU: Intel Core i7-6700K CPU @ 4.2GHz
GPU: GeForce GTX 1080
RAM: 3320MiB / 32123MiB

Offline

#4 2017-03-09 05:34:14

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 675

Re: [Solved] How-To replace GRUB boot loader with systemd-boot manager

KeeNuM23 wrote:

Are there any advantages of replacing the GRUB bootloader with the bootctl boot manager?

Note it's called systemd-boot, not bootctl.

I thought boot-loaders had to be ugly as sin like grub until I started using systemd-boot.

Offline

#5 2017-03-09 05:49:14

KeeNuM23
Member
Registered: 2017-03-09
Posts: 4

Re: [Solved] How-To replace GRUB boot loader with systemd-boot manager

bulletmark wrote:
KeeNuM23 wrote:

Are there any advantages of replacing the GRUB bootloader with the bootctl boot manager?

Note it's called systemd-boot, not bootctl.

I thought boot-loaders had to be ugly as sin like grub until I started using systemd-boot.

Edited. Thank you for the input. Since I already have GRUB, how hard would it be to uninstall it and install systemd-boot? Has anyone tried that?


Kernel: X86_64 Linux 4.9.11-1-ARCH
CPU: Intel Core i7-6700K CPU @ 4.2GHz
GPU: GeForce GTX 1080
RAM: 3320MiB / 32123MiB

Offline

#6 2017-03-09 05:55:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] How-To replace GRUB boot loader with systemd-boot manager

It is straightforward. Just follow the wiki page for systemd-boot and, when you have it all working, uninstall Grub.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2017-03-09 07:14:54

KeeNuM23
Member
Registered: 2017-03-09
Posts: 4

Re: [Solved] How-To replace GRUB boot loader with systemd-boot manager

jasonwryan wrote:

It is straightforward. Just follow the wiki page for systemd-boot and, when you have it all working, uninstall Grub.

I'm now booting using systemd-boot!! smile

Here's an overview of the steps I took for anyone else who has GRUB and wants to use systemd-boot:

  1. Installed systemd-boot as root using:

    bootctl install

  2. Install vim so we can edit conf files.

    pacman -S vim

    Configure loader.conf file:

    vim /boot/loader/loader.conf

    The default contents of loader.conf:

    #timeout 3
    default 43l34jkl32j4lk32

    just blank that out and type:

    default arch 
    timeout 3

  3. Create arch.conf:

    vim /boot/loader/entries/arch.conf

    This will create arch.conf. Add the following contents:

    title Archlinux
    linux /vmlinuz-linux
    initrd /initramfs-linux.img
    options root=PARTUUID=YOUR-PARTUUID-HERE

    You can get your PARTUUID by reading in blkid via vim.

    :r !blkid
  4. Uninstall GRUB with:

    pacman -Rcnsu grub
  5. Reboot and enjoy smile

Last edited by KeeNuM23 (2017-03-09 07:17:52)


Kernel: X86_64 Linux 4.9.11-1-ARCH
CPU: Intel Core i7-6700K CPU @ 4.2GHz
GPU: GeForce GTX 1080
RAM: 3320MiB / 32123MiB

Offline

#8 2017-03-09 07:57:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] How-To replace GRUB boot loader with systemd-boot manager

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Also, there is no need to add documentation here: the wiki is actively maintained and is the canonical reference for Arch.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2017-03-11 03:51:12

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: [Solved] How-To replace GRUB boot loader with systemd-boot manager

systemd-boot is very easy to remove as well.

bootctl remove 

done.

ever since i switched to systemd-boot i havent looked back

Offline

#10 2018-12-07 23:35:49

nasatsli
Member
Registered: 2017-11-05
Posts: 1

Re: [Solved] How-To replace GRUB boot loader with systemd-boot manager

pacman -Rcnsu grub

won't uninstall grub as the bootloader. grub bootloader is installed in `/boot/grub`. I guess you'd have to delete those file to remove grub.

Last edited by nasatsli (2018-12-07 23:36:42)

Offline

#11 2018-12-08 00:01:41

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [Solved] How-To replace GRUB boot loader with systemd-boot manager

Please do not bump old threads, especially solved ones.  If you are having a problem, please open a new thread and link back to this one if needed.

Offline

#12 2018-12-08 00:56:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] How-To replace GRUB boot loader with systemd-boot manager


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB