Update limine.md

This commit is contained in:
joborun linux 2024-08-04 00:42:34 +02:00
parent e122ab9101
commit 8e84c84069

View file

@ -1,4 +1,3 @@
# TO BE REMOVED BY NEXT RELEASE >8.0.0
## NOTE: this is under construction, several discrepancies, missing explanations, and
@ -25,15 +24,15 @@ A FAT partion is required. A modern trend is to make the FAT partion the /boot d
`mkfs.fat -F 32 /dev/sdXY (for example and where X = disk letter and Y = the partiton number)`
`mkdir /mnt/boot`
`mkdir -p /mnt/boot/efi`
`mount /dev/sdXY /boot`
`mount /dev/sdXY /boot/efi`
`pacman -Syu linux-lts limine`
`mv /boot/limine/limine.cfg /boot/limine/limine.cfg.jobopkg`
`mv /boot/efi/limine/limine.conf /boot/efi/limine/limine.conf.jobopkg`
`nano /boot/limine/limine.cfg `
`nano /boot/efi/limine/limine.conf `
and add:
@ -45,7 +44,9 @@ and add:
`KERNEL_PATH=boot:///vmlinuz-linux-lts`
`CMDLINE=root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ro net.ifnames=0 ipv6.disable=1 init=/usr/bin/runit-init`
`CMDLINE=root=UUID=xxxxx-xxxxx ro net.ifnames=0 ipv6.disable=1 init=/usr/bin/runit-init`
`MODULE_PATH=boot:///{amd,intel}-ucode.img`
`MODULE_PATH=boot:///initramfs-linux-lts.img`
@ -59,9 +60,10 @@ and add:
#### Installing Limine on a new UEFI installation
Step 0: The following command should be run outside (if non-systemd) and inside the chroot:
Step 0: The following command should be run outside and inside the chroot:
mount -t efivarfs efivarfs /sys/firmware/efi/efivars
(if the host was booted from an efi system)
Steps 1 through 8 apply to a new UEFI installation as well but steps 1-5 are very familiar to UEFI setups and dont really need instructions here.
@ -70,9 +72,9 @@ Steps 1 through 8 apply to a new UEFI installation as well but steps 1-5 are ver
`mount -t efivarfs efivarfs /sys/firmware/efi/efivars`
`mkdir -p /boot/EFI/BOOT`
`mkdir -p /boot/efi/EFI/BOOT`
`cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/`
`cp /usr/share/limine/BOOTX64.EFI /boot/efi/EFI/BOOT/`
`efibootmgr --create --disk /dev/sdX --part Y --loader EFI\BOOT\BOOTX64.EFI --label Limine Boot Manager --unicode`
@ -85,7 +87,7 @@ Of interest, both BIOS and UEFI setups can be done on the UEFI installation and
___
Installing limine on an existing system with GRUB can also be done but limine does not replace or reorder the efibootmgr entries but Ill leave that for another day.
Installing limine on an existing system with GRUB can also be done but limine does not replace or reorder the efibootmgr entries.