insmod echo insmod terminal insmod test terminal_input console terminal_output console set default="boot" set timeout="5" set timeout_style="menu" insmod loadenv if [ -s $prefix/grubenv ]; then load_env fi if [ "${default}" ]; then set default="${default}" fi if [ "${next_entry}" ]; then set default="${next_entry}" set next_entry= save_env next_entry fi insmod usb_keyboard insmod part_msdos insmod ext2 insmod fat insmod linux insmod gzio set gfxmode=auto if [ "${grub_platform}" = "efi" ]; then insmod efi_gop insmod efi_uga else insmod vbe insmod vga fi insmod serial if serial --unit=0 --speed=115200; then terminal_input --append serial_com0 terminal_output --append serial_com0 fi insmod search search --set=root --label "ARPL3" if [ -s /zImage-dsm -a -s /initrd-dsm ]; then if [ "${default}" = "direct" ]; then set timeout="1" menuentry 'Boot DSM kernel directly' --id direct { echo "Loading DSM kernel..." linux /zImage-dsm console=ttyS0,115200n8 earlyprintk log_buf_len=32M earlycon=uart8250,io,0x3f8,115200n8 root=/dev/md0 loglevel=15 ${dsm_cmdline} echo "Loading DSM initramfs..." initrd /initrd-dsm echo "Booting..." } fi menuentry 'Boot DSM' --id boot { echo "Loading kernel..." linux /bzImage-arpl console=tty2 quiet net.ifnames=0 biosdevname=0 echo "Loading initramfs..." initrd /initrd-arpl echo "Booting..." } menuentry 'Force re-install DSM' --id junior { echo "Loading kernel..." linux /bzImage-arpl console=tty2 quiet net.ifnames=0 biosdevname=0 force_junior echo "Loading initramfs..." initrd /initrd-arpl echo "Booting..." } else set timeout="1" fi menuentry 'Configure loader' --id config { echo "Loading kernel..." linux /bzImage-arpl console=tty2 quiet net.ifnames=0 biosdevname=0 IWANTTOCHANGETHECONFIG echo "Loading initramfs..." initrd /initrd-arpl echo "Booting..." }