#!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### BEGIN /etc/grub.d/39_linux ### function gfxmode { set gfxpayload="${1}" if [ "${1}" = "keep" ]; then set vt_handoff=vt.handoff=1 else set vt_handoff= fi } if [ "${recordfail}" != 1 ]; then if [ -e ${prefix}/gfxblacklist.txt ]; then if hwmatch ${prefix}/gfxblacklist.txt 3; then if [ ${match} = 0 ]; then set linux_gfx_mode=keep else set linux_gfx_mode=text fi else set linux_gfx_mode=text fi else set linux_gfx_mode=keep fi else set linux_gfx_mode=text fi export linux_gfx_mode menuentry 'Ubuntu 1804 2T-TOSHP3-48G Test181218' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0beca069-d781-439a-8538-c4fc07172aaa' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd2,gpt3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3 0beca069-d781-439a-8538-c4fc07172aaa else search --no-floppy --fs-uuid --set=root 0beca069-d781-439a-8538-c4fc07172aaa fi linux /boot/vmlinuz-4.15.0-20-generic root=UUID=0beca069-d781-439a-8538-c4fc07172aaa ro quiet splash $vt_handoff initrd /boot/initrd.img-4.15.0-20-generic } submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-0beca069-d781-439a-8538-c4fc07172aaa' { menuentry 'Ubuntu, avec Linux 4.15.0-20-generic 1804 2T-TOSHP3-48G Test181218' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-20-generic-advanced-0beca069-d781-439a-8538-c4fc07172aaa' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd2,gpt3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3 0beca069-d781-439a-8538-c4fc07172aaa else search --no-floppy --fs-uuid --set=root 0beca069-d781-439a-8538-c4fc07172aaa fi echo 'Chargement de Linux 4.15.0-20-generic…' linux /boot/vmlinuz-4.15.0-20-generic root=UUID=0beca069-d781-439a-8538-c4fc07172aaa ro quiet splash $vt_handoff echo 'Chargement du disque mémoire initial…' initrd /boot/initrd.img-4.15.0-20-generic } menuentry 'Ubuntu, with Linux 4.15.0-20-generic (recovery mode) 1804 2T-TOSHP3-48G Test181218' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-20-generic-recovery-0beca069-d781-439a-8538-c4fc07172aaa' { recordfail load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd2,gpt3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3 0beca069-d781-439a-8538-c4fc07172aaa else search --no-floppy --fs-uuid --set=root 0beca069-d781-439a-8538-c4fc07172aaa fi echo 'Chargement de Linux 4.15.0-20-generic…' linux /boot/vmlinuz-4.15.0-20-generic root=UUID=0beca069-d781-439a-8538-c4fc07172aaa ro recovery nomodeset echo 'Chargement du disque mémoire initial…' initrd /boot/initrd.img-4.15.0-20-generic } } ### END /etc/grub.d/39_linux ###