fix again

This commit is contained in:
joborun linux 2024-07-13 16:33:39 +02:00
parent 5fbd4a1193
commit 5e768a1605

View file

@ -8,34 +8,24 @@
### Additonal steps to a fresh installation:
Limine works with either a DOS or an GPT partion table. GPT is recommended.
A FAT partion is required. A modern trend is to make the FAT partion the /boot directory so make the size at least 256M or 512M.
Limine works with either a DOS or an GPT partion table. GPT is recommended.
A FAT partion is required. A modern trend is to make the FAT partion the /boot directory so make the size at least 256M or 512M.
`mkfs.fat -F 32 /dev/sdXY (for example and where X = disk letter and Y = the partiton number)`
`mkfs.fat -F 32 /dev/sdXY (for example and where X = disk letter and Y = the partiton number)`
`mkdir /mnt/boot`
`mount /dev/sdXY /boot`
`pacman -Syu linux-lts limine`
`mv /boot/limine/limine.cfg /boot/limine/limine.cfg.jobopkg`
`nano /boot/limine/limine.cfg `
`mkdir /mnt/boot`
and add:
`mount /dev/sdXY /boot`
`pacman -Syu linux-lts limine`
`mv /boot/limine/limine.cfg /boot/limine/limine.cfg.jobopkg`
`nano /boot/limine/limine.cfg and add:`
`TIMEOUT=5`
`:Joborun Linux-LTS`
`PROTOCOL=linux`
`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`
`MODULE_PATH=boot:///initramfs-linux-lts.img`
`TIMEOUT=5`
`:Joborun Linux-LTS`
`PROTOCOL=linux`
`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`
`MODULE_PATH=boot:///initramfs-linux-lts.img`
(Your UUID can be found by cat /etc/fstab or genfstab -U /
@ -51,16 +41,11 @@ mount -t efivarfs efivarfs /sys/firmware/efi/efivars
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.
`pkg -S efibootmgr`
`mount -t efivarfs efivarfs /sys/firmware/efi/efivars`
`mkdir -p /boot/EFI/BOOT`
`cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/`
`efibootmgr --create --disk /dev/sdX --part Y --loader EFI\BOOT\BOOTX64.EFI --label Limine Boot Manager --unicode`
where X and Y need to be replaced with your disk letter and partition number. Note that backslashes are used here instead of forward slashes. Also note that /boot or \boot is omitted as it is cover by the disk and partition info.
___