Limine Bare Bones: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Make PIE kernel |
mNo edit summary |
||
Line 344:
# The entry name that will be displayed in the boot menu.
:myOS (KASLR
# We use the Limine boot protocol.
PROTOCOL=limine
# Disable KASLR (it is enabled by default for relocatable kernels)▼
KASLR=no▼
# Path to the kernel to boot. boot:/// represents the partition on which limine.cfg is located.
KERNEL_PATH=boot:///myos.elf
# Same thing, but
:myOS (KASLR
PROTOCOL=limine
▲ # Disable KASLR (it is enabled by default for relocatable kernels)
▲ KASLR=no
KERNEL_PATH=boot:///myos.elf
Line 393:
# Create the EFI boot tree and copy Limine's EFI executables over.
mkdir -p iso_root/EFI/BOOT
cp -v limine/
cp -v limine/BOOTIA32.EFI iso_root/EFI/BOOT/
# Create the bootable ISO.
Line 447 ⟶ 448:
sudo mkdir -p img_mount/EFI/BOOT
sudo cp -v myos.elf limine.cfg limine/limine-bios.sys img_mount/
sudo cp -v limine/
sudo cp -v limine/BOOTIA32.EFI img_mount/EFI/BOOT/
# Sync system cache and unmount partition and loopback device.
|