bootadm 명령의 list-menu 하위 명령을 사용하여 현재 시스템에 있는 GRUB 메뉴 항목을 나열할 수 있습니다. 이 정보는 grub.cfg 파일을 통해 제공됩니다. 또한 명령 출력에는 부트 로더 구성 파일의 위치, 기본 부트 항목 번호, autoboot-timeout 값 및 각 부트 항목의 이름이 포함됩니다.
$ bootadm list-menu
예를 들어, 다음과 같습니다.
$ bootadm list-menu the location of the boot loader configuration files is: /rpool/boot/grub default 0 console graphics timeout 30 0 Oracle Solaris 11 FCS 1 Oracle Solaris backup-1 2 Oracle Solaris 11 11.2
명령을 실행할 때 항목 이름 또는 항목 번호를 지정할 경우 해당 정보도 표시됩니다.
$ bootadm list-menu -i entry-number
예를 들어, 다음과 같습니다.
$ bootadm list-menu -i 0 the location of the boot loader configuration files is: /rpool/boot/grub title: Oracle Solaris 11 FCS kernel: /platform/i86pc/kernel/$ISADIR/unix kernel arguments: -B $ZFS-BOOTFS -v boot archive: /platform/i86pc/$ISADIR/boot_archive ZFS root pool: rpool