Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switch from Grub to Systemd-boot
#1
Hey y'all

Due to the recent hubub surrounding #Grub some of you might want to switch away from it to Systemd-boot.. That's why in this guide we will show you how to switch from Grub to Systemd-boot the easy way.

Will Not Work For BTRFS Systems !



Below are the steps to follow as mentioned in above video...

Backup you boot file via below command
sudo cp -r /boot /boot.org

check for EFI partition via df command then unmount it via
sudo umount /boot/efi

Mount your boot partition from df command to /boot instead via
sudo mount /dev/sdXn /boot

Copy boot files into /boot via
sudo cp -r /boot.org/* /boot

Edit fstab to reflect new boot location via
sudo vi /etc/fstab and change /boot/efi to /boot

Time to install bootctl via
sudo bootctl install

Edit the loader.conf file via
sudo nano /boot/loader/loader.conf

Clear it then add the following to it
default xerolinux
timeout 4

Find your root (/) device and use PARTUUID See image below

[Image: nLYEKXX.jpg]

create new file labeled "xerolinux.conf" via command below
sudo nano /boot/loader/entries/xerolinux.conf

Add the following to it
title  XeroLinux
linux  /vmlinuz-linux
initrd /intel-ucode.img (or amd-ucode.img if you are on AMD)
initrd /initramfs-linux.img
options root=PARTUUID=<PARTUUID> rw

replace <PARTUUID> with string found via previous step (image)

Save file and reboot :-)
~ XeroLinux Maintainer ~
I do try to help where I can, when I can.
I do this on my own, so I might not have all the answers.
[Image: K7U76Mv.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)