bootadm 명령의 remove-entry 하위 명령을 사용하여 GRUB 메뉴에서 지정된 항목 또는 쉼표로 구분된 항목 목록을 제거할 수 있습니다. 이름이 동일한 여러 항목을 지정할 경우 해당 이름을 사용하는 모든 항목이 제거됩니다.
# bootadm list-menu
# bootadm remove-entry [-P pool] [{entry-title [,entry-title...] | -i entry-number[,entry-number...]}
# bootadm list-menu
다음 예에서는 GRUB 메뉴에서 항목 번호 2를 제거하는 과정을 보여 줍니다.
# bootadm list-menu The location of the boot loader configuration file is /rpool/boot/grub default 2 console graphics timeout 30 0 Oracle Solaris 11/11 1 Oracle Solaris 11.2 2 Oracle Solaris 11_test bootadm remove-entry -i 2 1 entry removed # bootadm list-menu The location of the boot loader configuration file is /rpool/boot/grub default 2 console graphics timeout 30 0 Oracle Solaris 11/11 1 Oracle Solaris 11.2