Print this page
2056 update boot(1m) for right location of the GRUB menu

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/boot.1m.man.txt
          +++ new/usr/src/man/man1m/boot.1m.man.txt
↓ open down ↓ 942 lines elided ↑ open up ↑
 943  943         After a PC-compatible machine is turned on, the system firmware in the
 944  944         BIOS ROM executes a power-on self test (POST), runs BIOS extensions in
 945  945         peripheral board ROMs, and invokes software interrupt INT 19h,
 946  946         Bootstrap.  The INT 19h handler typically performs the standard PC-
 947  947         compatible boot, which consists of trying to read the first physical
 948  948         sector from the first diskette drive, or, if that fails, from the first
 949  949         hard disk. The processor then jumps to the first byte of the sector
 950  950         image in memory.
 951  951  
 952  952  X86 PRIMARY BOOT
 953      -       The first sector on a floppy disk contains the master boot block (GRUB
 954      -       stage1). The stage 1 is responsible for loading GRUB stage2. Now GRUB
 955      -       is fully functional. It reads and executes the menu file
 956      -       /boot/grub/menu.lst. A similar sequence occurs for DVD or CD boot, but
 957      -       the master boot block location and contents are dictated by the El
 958      -       Torito specification. The El Torito boot also leads to strap.com, which
 959      -       in turn loads boot.bin.
 960      -
 961      -
 962  953         The first sector on a hard disk contains the master boot block, which
 963  954         contains the master boot program and the FDISK table, named for the PC
 964  955         program that maintains it. The master boot finds the active partition
 965  956         in the FDISK table, loads its first sector (GRUB stage1), and jumps to
 966  957         its first byte in memory. This completes the standard PC-compatible hard
 967  958         disk boot sequence. If GRUB stage1 is installed on the master boot
 968  959         block (see the -m option of installgrub(1M)), then stage2 is loaded
 969  960         directly from the Solaris partition regardless of the active partition.
 970  961  
 971  962  
      963 +       A similar sequence occurs for DVD or CD boot, but the master boot block
      964 +       location and contents are dictated by the El Torito specification. The
      965 +       El Torito boot will then continue in the same way as with the hard
      966 +       disk.
      967 +
      968 +
      969 +       Floppy booting is not longer supported. Booting from USB devices
      970 +       follows the same procedure as with hard disks.
      971 +
      972 +
 972  973         An x86 FDISK partition for the Solaris software begins with a one-
 973  974         cylinder boot slice, which contains GRUB stage1 in the first sector,
 974  975         the standard Solaris disk label and volume table of contents (VTOC) in
 975  976         the second and third sectors, and GRUB stage2 in the fiftieth and
 976  977         subsequent sectors. The area from sector 4 to 49 might contain boot
 977  978         blocks for older versions of Solaris. This makes it possible for
 978  979         multiple Solaris releases on the same FDISK to coexist. When the FDISK
 979  980         partition for the Solaris software is the active partition, the master
 980  981         boot program (mboot) reads the partition boot program in the first
 981  982         sector into memory and jumps to it. It in turn reads GRUB stage2
↓ open down ↓ 145 lines elided ↑ open up ↑
1127 1128         Platform
1128 1129  
1129 1130  
1130 1131         To be able to boot both 32-bit and 64-bit kernels, add entries for both
1131 1132         kernels to /boot/grub/menu.lst, and use the set-menu subcommand of
1132 1133         bootadm(1M) to switch. See bootadm(1M) for an example of the bootadm
1133 1134         set-menu.
1134 1135  
1135 1136  
1136 1137  FILES
1137      -       /platform/platform-name/ufsboot
1138      -           Second-level program to boot from a disk, DVD, or CD
1139      -
1140      -
1141 1138         /etc/inittab
1142 1139             Table in which the initdefault state is specified
1143 1140  
1144 1141  
1145 1142         /sbin/init
1146 1143             Program that brings the system to the initdefault state
1147 1144  
1148 1145  
1149 1146     64-bit SPARC Only
1150 1147         /platform/platform-name/kernel/sparcv9/unix
1151 1148             Default program to boot system.
1152 1149  
1153 1150  
1154 1151     x86 Only
1155 1152         /boot
1156 1153             Directory containing boot-related files.
1157 1154  
1158 1155  
1159      -       /boot/grub/menu.lst
     1156 +       /rpool/boot/grub/menu.lst
1160 1157             Menu of bootable operating systems displayed by GRUB.
1161 1158  
     1159 +           Note: this file is located on the root ZFS pool. While many
     1160 +           installs often name their root zpool 'rpool', this is not required
     1161 +           and the /rpool in the path above should be substituted with the
     1162 +           name of the root pool of your current system.
1162 1163  
     1164 +
1163 1165         /platform/i86pc/kernel/unix
1164 1166             32-bit kernel.
1165 1167  
1166 1168  
1167 1169     64-bit x86 Only
1168 1170         /platform/i86pc/kernel/amd64/unix
1169 1171             64-bit kernel.
1170 1172  
1171 1173  
1172 1174  SEE ALSO
↓ open down ↓ 35 lines elided ↑ open up ↑
1208 1210  NOTES
1209 1211         platform-name can be found using the -i option of uname(1).  hardware-
1210 1212         class-name can be found using the -m option of uname(1).
1211 1213  
1212 1214  
1213 1215         The current release of the Solaris operating system does not support
1214 1216         machines running an UltraSPARC-I CPU.
1215 1217  
1216 1218  
1217 1219  
1218      -                               January 14, 2015                       BOOT(1M)
     1220 +                                 June 7, 2015                         BOOT(1M)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX