2.5 KiB
Advanced Installation
Skipping Steps
All major phases can be skipped independently:
boredos_install --no-partition --no-format --uefi /dev/sda
The destructive warning is only shown when --no-partition AND --no-format are both absent.
/mnt/boot Operations
The installer mounts the ESP at /mnt/boot and unmounts it when finished.
FAT32 Limitations
FAT32 does not support Unix file permissions, ownership, or timestamps. These attributes are not preserved during installation. This is expected and documented.
Custom Device Names
Use --esp-dev and --root-dev to bypass auto-detection:
boredos_install --uefi --esp-dev sda1 --root-dev sda2 /dev/sda --no-partition --no-format
Provided device names are still validated via sys_disk_get_info before use.
Step 1: Partitioning
Run fdisk interactively on your target device.
fdisk /dev/sda
Inside the interactive shell:
- Type
nto create a new partition (the ESP). - Press Enter for the default start offset (1mb).
- Enter the size using suffixes like
b,mb, orgb(e.g.,512mbfor a 512 MB ESP). - Type
nagain for the second partition (the Root). - Press Enter for the default start offset (aligned after the ESP).
- Press Enter for the default size (rest of the disk).
- Type
wto write the partition table. - Type 'Q' to quit.
Step 2: Formatting
Initialize the partitions with FAT32. Use the labels EFI and BOREDOS to match the expected system layout.
mkfs_fat -F 32 -n EFI /dev/sda1
mkfs_fat -F 32 -n BOREDOS /dev/sda2
Step 3: Installation
The easiest way to perform the file copy and bootloader setup is to use the installer in "copy only" mode. This ensures that hidden flags (like the root detection file) are placed correctly.
boredos_install --no-partition --no-format --uefi --esp-dev sda1 /dev/sda
What this step does:
- Mounts
/dev/sda2to/mntand/dev/sda1to/mnt/boot. - Identifies the root by creating an empty file at
/mnt/Library/.boredos_root. - Copies the system structure:
/bin,/Library,/docs, and/rootare mirrored to/mnt. - Deploys the kernel and initrd:
boredos.elfandinitrd.tarare copied to the ESP (/mnt/boot/). - Configures Limine: Writes a
limine.confto the ESP and copies the EFI bootloader to/mnt/boot/EFI/BOOT/BOOTX64.EFI.
For a deep dive into why these steps are performed, see the Installation Internals guide.