System Administration Guide: Basic Administration

x86: Supported GRUB Versions

In Oracle Solaris 10, GRUB uses multiboot. The contents of the menu.lst file vary, depending on the Oracle Solaris release you are running, the installation method that is used, and whether you are booting the system from an Oracle Solaris ZFS root or a UFS root.

Description of the menu.lst File (ZFS Support)

The following are various examples of a menu.lst file for a boot environment that contains a ZFS boot loader:


Note –

Because the miniroot is mounted as the real root file system, the entry for failsafe booting in the menu.lst file does not change to the ZFS bootfs property, even if the failsafe archive is read from a ZFS dataset. The ZFS dataset is not accessed after the boot loader reads the miniroot.



Example 15–1 Default menu.lst File (New Installation or Standard Upgrade)


title Solaris 10 5/08 s10x_nbu6wos_nightly X86
findroot (pool_rpool,0,a)
kernel$  /platform/i86pc/multiboot  -B $ZFS-BOOTFS
module /platform/i86pc/boot_archive

title Solaris failsafe
findroot (pool_rpool,0,a)
kernel /boot/multiboot kernel/unix -s    -B console=ttyb
module /boot/x86.miniroot-safe


Example 15–2 Default menu.lst File (Oracle Solaris Live Upgrade)


title be1
findroot (BE_be1,0,a)
bootfs rpool/ROOT/szboot_0508
kernel$  /platform/i86pc/multiboot  -B $ZFS-BOOTFS
module /platform/i86pc/boot_archive

title be1 failsafe
findroot (BE_be1,0,a)
kernel /boot/multiboot kernel/unix -s    -B console=ttyb
module /boot/x86.miniroot-safe

Description of the menu.lst File (UFS Support)

The following are examples of a menu.lst file on a system that supports booting from UFS.


Example 15–3 Default GRUB menu.lst File (New Installation or Standard Upgrade)


title Solaris 10 5/08 s10x_nbu6wos_nightly X86 
findroot (pool_rpool,0,a)
kernel /platform/i86pc/multiboot
module /platform/i86pc/boot_archive

title Solaris failsafe
findroot (rootfs0,0,a)
kernel /boot/multiboot kernel/unix -s -B console-ttyb
module /boot/x86.miniroot-safe


Example 15–4 Default GRUB menu.lst File (Oracle Solaris Live Upgrade)


title be1
findroot (BE_be1,0,a)
kernel /platform/i86pc/multiboot
module /platform/i86pc/boot_archive

title be1 failsafe
findroot (BE_be1,0,a)
kernel /boot/multiboot kernel/unix -s    -B console=ttyb
module /boot/x86.miniroot-safe