Now that your kernel is configured and compiled and the necessary system
configuration files are filled in correctly, it is time to install a
program that will fire up your kernel when you start the system. Such a
program is called a
Several bootloaders exist for Linux/Alpha. You must choose one of the supported
bootloaders, not all. You have the choice between
We first install aboot on our system. Of course we use
# emerge --usepkg aboot
The next step is to make our bootdisk bootable. This will start
# swriteboot -f3 /dev/sda /boot/bootlx # abootconf /dev/sda 2
Additionally, you can make Gentoo boot automatically by setting up the aboot configuration file and some SRM variables. You can try setting these variables from Linux, but it may be easier to do so from the SRM console itself.
# echo '0:2/boot/vmlinux.gz root=/dev/sda2' > /etc/aboot.conf # cd /proc/srm_environment/named_variables # echo -n 0 > boot_osflags # echo -n '' > boot_file # echo -n 'BOOT' > auto_action # echo -n 'dkc100' > bootdef_dev(Substitute dkc100 with whatever your boot device is)
If you need to get into the SRM console again in the future (to recover your Gentoo install, play with some variables, or whatever), just hit CTRL+C to abort the automatic loading process.
If you're installing using a serial console, don't forget to include
the serial console boot flag in
Aboot is now configured and ready to use. Continue with
Before continuing, you should decide on how to use MILO. In this section, we will assume that you want to make a MILO boot floppy. If you are going to boot from an MS-DOS partition on your hard disk, you should amend the commands appropriately.
To install MILO, we use
# emerge --usepkg milo
After MILO has been installed, the MILO images should be in
(First insert a blank floppy) # fdformat /dev/fd0 # mformat a: # mcopy /opt/milo/milo-2.2-18-gentoo-ruffian a:\milo # mcopy /opt/milo/linload.exe a:\lilnload.exe(Only if you have a Ruffian: # mcopy /opt/milo/ldmilo.exe a:\ldmilo.exe) # echo -ne '\125\252' | dd of=/dev/fd0 bs=1 seek=510 count=2
Your MILO boot floppy is now ready to boot Gentoo Linux. You may need to
set environment variables in your ARCS Firmware to get MILO to start;
this is all explained in the
Not reading the
Now continue with
Exit the chrooted environment and unmount all mounted partitions. Then type in
that one magical command you have been waiting for:
# exit cdimage ~# cd cdimage ~# umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo cdimage ~# reboot
Of course, don't forget to remove the bootable CD, otherwise the CD will be booted again instead of your new Gentoo system.
Once rebooted in your Gentoo installation, finish up with