Disclaimer :
This handbook has been replaced by a newer version and is not maintained anymore.
|
[ << ]
[ < ]
[ Home ]
[ > ]
[ >> ]
10. Configuring the Bootloader
Content:
10.a. The MIPS PROM
MIPS doesn't require that you install a bootloader. The MIPS PROM handles the
booting, but you need to install your kernel as a viable option.
First, install dvhtool, needed to copy the kernel to the SGI Volume
Header.
Code Listing 1.1: Installing dvhtool |
# emerge dvhtool
|
Now copy over the kernel to the SGI Volume Header. By default dvhtool
assumes that the SGI Volume Header is on /dev/sda. If this is not
the case (for instance when IRIX is installed on /dev/sda and
Gentoo/MIPS on /dev/sdb) you need to inform dvhtool about it
using -d <device>.
Code Listing 1.2: Copying a kernel to the SGI Volume Header |
# dvhtool --unix-to-vh <kernel name in /boot> <name you want to give in volume header>
|
If you want to see all available entries in the volume, use
--print-volume-directory:
Code Listing 1.3: Viewing all available entries in the volume |
# dvhtool --print-volume-directory
|
To set up your system to boot Gentoo/MIPS you need to go tweak some settings in
the MIPS PROM.
Continue with Rebooting the System.
10.b. Rebooting the System
Exit the chrooted environment and unmount all mounted partitions. Then type in
that one magical command you have been waiting for: reboot.
Code Listing 2.1: Exiting the chroot, unmounting all partitions and rebooting |
# exit
cdimage ~# cd
cdimage ~# umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo
cdimage ~# reboot
|
10.c. Tweaking the MIPS PROM
When you are rebooted, go to the System Maintenance Menu and select
Enter Command Monitor (5). If you want to test your new Gentoo
installation, you can just run boot -f <kernel name>. To have your
system permanently boot into the Gentoo installation, you need to set some
variables in the MIPS PROM:
Code Listing 3.1: Configuring the PROM to Boot Gentoo |
1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor
Option? 5
Command Monitor. Type "exit" to return to the menu.
>> setenv OSLoadPartition <root device>
>> setenv OSLoader <kernel name>
>> setenv OSLoadFilename <kernel name>
>> setenv OSLoadOptions <kernel parameters>
>> setenv SystemPartition scsi(0)disk(1)rdisk(0)partition(8)
>> setenv AutoLoad Yes
>> setenv TimeZone EST5EDT
>> setenv console d1
|
Now you're ready to enjoy Gentoo! Boot in your Gentoo installation and finish
up with Finalizing your Gentoo
Installation.
[ << ]
[ < ]
[ Home ]
[ > ]
[ >> ]
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-2.5 license. The Gentoo Name and Logo Usage Guidelines apply.
|