Handbook Talk:Alpha/Installation/Bootloader
Drop Alternative: Using MILO Section
MILO no longer works with kernels higher than 2.6 and as we don't support 2.6 kernels in Gentoo it's is pointless to keep this.
Confirmed with matts88.
Immolo (talk) 21:08, 22 February 2025 (UTC)
- Dropped in Special:Diff/1271705/1343935, thanks!
- --csfore (talk) 17:03, 23 February 2025 (UTC)
update location of aboot .conf
- adapt aboot config according to file system layout proposed in guide, i.e no abooot.conf should no longer go into /etc but in /boot (root of boot slice). Also make sure that /dev/sda2 is mounted on /boot. The Handbook has root slice as /dev/sda3 which is whole-disk on a bsd labeled disk, in this example root slice is sda4.
Lindholm (talk) 19:47, 24 February 2025 (UTC)
Also, in aboot.conf, the kernel and initrd.img files should now be located in the root of the boot slice, adjust aboot.conf accordingly.
Lindholm (talk) 14:31, 25 February 2025 (UTC)
.
Mounting boot partition
Make sure that the boot file system is mounted, in this guide we have chosen second slice as boot partition:
root #
mount /dev/sda2 /boot
Although aboot is now installed, we still need to write a configuration file for it. aboot only requires one line for each configuration, so we can do this:
root #
echo '0:2/vmlinux.gz root=/dev/sda4' > /boot/aboot.conf
If, while building the Linux kernel, an initramfs was build as well to boot from, then it is necessary to change the configuration by referring to this initramfs file and telling the initramfs where the real root device is at:
root #
echo '0:2/vmlinux.gz initrd=/initramfs.img root=/dev/sda4' > /boot/aboot.conf
- Could this proposal be reworked to use the dracut initramfs example? We are currently working on dropping genkernel from Handbook.
- Thanks! Change LGTM.