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.
Oracle Solaris ZFS boot support for GRUB
If you are running a supported Oracle Solaris release, you can choose to boot from an Oracle Solaris ZFS or a UFS file system. For a description of the menu.lst file and an example, see Description of the menu.lst File (ZFS Support).
GRUB UFS boot support
For a description of the menu.lst file and an example, see Description of the menu.lst File (UFS Support).
The following are various examples of a menu.lst file for a boot environment that contains a ZFS boot loader:
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.
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 |
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 |
The following are examples of a menu.lst file on a system that supports booting from UFS.
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 |
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 |