SHARE
TWEET

40_custom

a guest Nov 18th, 2019 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. exec tail -n +3 $0
  3. # This file provides an easy way to add custom menu entries.  Simply type the
  4. # menu entries you want to add after this comment.  Be careful not to change
  5. # the 'exec tail' line above.
  6. # submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-c84c4a98-015c-4efa-afd8-937734c104d2' {
  7. menuentry 'Arch Linux TESTING' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c84c4a98-015c-4efa-afd8-937734c104d2' {
  8.     load_video
  9.     set gfxpayload=keep
  10.     insmod gzio
  11.     insmod part_msdos
  12.     insmod ext2
  13.     set root='hd0,msdos1'
  14.     if [ x$feature_platform_search_hint = xy ]; then
  15.       search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  c8145201-c2bb-441c-ac4f-70e8784cacca
  16.     else
  17.       search --no-floppy --fs-uuid --set=root c8145201-c2bb-441c-ac4f-70e8784cacca
  18.     fi
  19.     echo    'Loading Linux TESTING ...'
  20.     linux   /vmlinuz-linux root=UUID=c84c4a98-015c-4efa-afd8-937734c104d2 rw rootflags=subvol=@snapshots/TESTING  quiet
  21.     echo    'Loading initial ramdisk ...'
  22.     initrd  /initramfs-linux.img
  23. }
  24. submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-c84c4a98-015c-4efa-afd8-937734c104d2' {
  25.     menuentry 'Arch Linux STABLE' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c84c4a98-015c-4efa-afd8-937734c104d2' {
  26.         load_video
  27.         set gfxpayload=keep
  28.         insmod gzio
  29.         insmod part_msdos
  30.         insmod ext2
  31.         set root='hd0,msdos1'
  32.         if [ x$feature_platform_search_hint = xy ]; then
  33.           search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  c8145201-c2bb-441c-ac4f-70e8784cacca
  34.         else
  35.           search --no-floppy --fs-uuid --set=root c8145201-c2bb-441c-ac4f-70e8784cacca
  36.         fi
  37.         echo    'Loading Linux STABLE ...'
  38.         linux   /vmlinuz-linux-stable root=UUID=c84c4a98-015c-4efa-afd8-937734c104d2 rw rootflags=subvol=@snapshots/STABLE  quiet
  39.         echo    'Loading initial ramdisk ...'
  40.         initrd  /initramfs-linux-stable.img
  41. }
  42.     menuentry 'Arch Linux OLDSTABLE' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c84c4a98-015c-4efa-afd8-937734c104d2' {
  43.         load_video
  44.         set gfxpayload=keep
  45.         insmod gzio
  46.         insmod part_msdos
  47.         insmod ext2
  48.         set root='hd0,msdos1'
  49.         if [ x$feature_platform_search_hint = xy ]; then
  50.             search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  c8145201-c2bb-441c-ac4f-70e8784cacca
  51.         else
  52.             search --no-floppy --fs-uuid --set=root c8145201-c2bb-441c-ac4f-70e8784cacca
  53.         fi
  54.         echo    'Loading Linux OLDSTABLE ...'
  55.         linux   /vmlinuz-linux-oldstable root=UUID=c84c4a98-015c-4efa-afd8-937734c104d2 rw rootflags=subvol=@snapshots/OLDSTABLE  quiet
  56.         echo    'Loading initial ramdisk ...'
  57.         initrd  /initramfs-linux-oldstable.img
  58. }
  59.     menuentry 'Arch Linux normal, with Linux normal' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-c84c4a98-015c-4efa-afd8-937734c104d2' {
  60.         load_video
  61.         set gfxpayload=keep
  62.         insmod gzio
  63.         insmod part_msdos
  64.         insmod ext2
  65.         set root='hd0,msdos1'
  66.         if [ x$feature_platform_search_hint = xy ]; then
  67.           search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  c8145201-c2bb-441c-ac4f-70e8784cacca
  68.         else
  69.           search --no-floppy --fs-uuid --set=root c8145201-c2bb-441c-ac4f-70e8784cacca
  70.         fi
  71.         echo    'Loading Linux linux ...'
  72.         linux   /vmlinuz-linux root=UUID=c84c4a98-015c-4efa-afd8-937734c104d2 rw rootflags=subvol=@  quiet
  73.         echo    'Loading initial ramdisk ...'
  74.         initrd  /initramfs-linux.img
  75.     }
  76.     menuentry 'Arch Linux, with Linux nomal (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-c84c4a98-015c-4efa-afd8-937734c104d2' {
  77.         load_video
  78.         set gfxpayload=keep
  79.         insmod gzio
  80.         insmod part_msdos
  81.         insmod ext2
  82.         set root='hd0,msdos1'
  83.         if [ x$feature_platform_search_hint = xy ]; then
  84.           search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  c8145201-c2bb-441c-ac4f-70e8784cacca
  85.         else
  86.           search --no-floppy --fs-uuid --set=root c8145201-c2bb-441c-ac4f-70e8784cacca
  87.         fi
  88.         echo    'Loading Linux linux ...'
  89.         linux   /vmlinuz-linux root=UUID=c84c4a98-015c-4efa-afd8-937734c104d2 rw rootflags=subvol=@  quiet
  90.         echo    'Loading initial ramdisk ...'
  91.         initrd  /initramfs-linux-fallback.img
  92.     }
  93. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top