insmod part_gpt insmod part_msdos insmod fat insmod ext2 #insmod all_video insmod efi_gop insmod efi_uga insmod video_bochs insmod video_cirrus insmod gfxterm set gfxmode=1920x1080 set locale_dir=/grub/locale set lang=fr_FR insmod gettext terminal_output gfxterm insmod gfxmenu insmod gzio insmod loopback insmod iso9660 insmod png insmod jpeg insmod font loadfont /grub/fonts/unicode.pf2 loadfont /grub/themes/Crunchy-simple/ComicNeue_normal.pf2 loadfont /grub/themes/Crunchy-simple/ComicNeue_title.pf2 theme=/grub/themes/Crunchy-simple/theme-fog.txt #timeout=4 default=1 background_image /grub/themes/Crunchy-simple/fog/foggy-forest.jpg gfxpayload=keep menuentry "------------------- MAINTENANCE -------------------" { true } menuentry "... Gparted live" { set isofile="/gparted-live-1.0.0-5-amd64.iso" search --set=root --file $isofile loopback loop $isofile echo 'Lancement en cours, veuillez patienter ...' linux (loop)/live/vmlinuz findiso=${isofile} boot=live union=overlay username=user config components noswap toram=filesystem.squashfs ip= net.ifnames=0 nosplash locales=fr_FR.UTF-8 keyboard-layouts=fr initrd (loop)/live/initrd.img } menuentry "----------------- Linux à installer -----------------" { true } menuentry ".... Xubuntu 20.04 LTS" { set isofile="/xub-focal-desktop-amd64.iso" search --set=root --file $isofile loopback loop $isofile echo 'Lancement en cours, veuillez patienter ...' linux (loop)/casper/vmlinuz locale=fr_FR bootkbd=fr console-setup/layoutcode=fr iso-scan/filename=$isofile boot=casper file=/cdrom/preseed/xubuntu.seed noprompt quiet splash -- initrd (loop)/casper/initrd } menuentry "----------- Accès aux systèmes installés -----------" { true } menuentry ".. Menu sur /dev/sda2 (e pour modifier)" { set root='hd0,gpt2' configfile /boot/grub/grub.cfg } menuentry " > » ETEINDRE « <" { halt }