SHARE
TWEET

40_custom

a guest Dec 8th, 2019 84 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. menuentry 'Arch Linux TESTING' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-22617c40-a25f-440e-99bf-050edfdcd822' {
  7.     load_video
  8.     set gfxpayload=keep
  9.     insmod gzio
  10.     insmod part_msdos
  11.     insmod ext2
  12.     set root='hd0,msdos1'
  13.     if [ x$feature_platform_search_hint = xy ]; then
  14.       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  adcfbcd8-897e-47e7-8a21-04a6642d2926
  15.     else
  16.       search --no-floppy --fs-uuid --set=root adcfbcd8-897e-47e7-8a21-04a6642d2926
  17.     fi
  18.     echo    'Loading Linux TESTING ...'
  19.     linux   /vmlinuz-linux root=UUID=22617c40-a25f-440e-99bf-050edfdcd822 rw rootflags=subvol=@snapshots/TESTING  loglevel=3 quiet
  20.     echo    'Loading initial ramdisk ...'
  21.     initrd  /initramfs-linux.img
  22. }
  23. submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-22617c40-a25f-440e-99bf-050edfdcd822' {
  24.     menuentry 'Arch Linux, with Linux STABLE' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-stable-advanced-22617c40-a25f-440e-99bf-050edfdcd822' {
  25.         load_video
  26.         set gfxpayload=keep
  27.         insmod gzio
  28.         insmod part_msdos
  29.         insmod ext2
  30.         set root='hd0,msdos1'
  31.         if [ x$feature_platform_search_hint = xy ]; then
  32.           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  adcfbcd8-897e-47e7-8a21-04a6642d2926
  33.         else
  34.           search --no-floppy --fs-uuid --set=root adcfbcd8-897e-47e7-8a21-04a6642d2926
  35.         fi
  36.         echo    'Loading Linux STABLE ...'
  37.         linux   /vmlinuz-linux-stable root=UUID=22617c40-a25f-440e-99bf-050edfdcd822 rw rootflags=subvol=@snapshots/STABLE  loglevel=3 quiet
  38.         echo    'Loading initial ramdisk ...'
  39.         initrd  /initramfs-linux-stable.img
  40.     }
  41.     menuentry 'Arch Linux, with Linux OLDSTABLE' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-oldstable-advanced-22617c40-a25f-440e-99bf-050edfdcd822' {
  42.         load_video
  43.         set gfxpayload=keep
  44.         insmod gzio
  45.         insmod part_msdos
  46.         insmod ext2
  47.         set root='hd0,msdos1'
  48.         if [ x$feature_platform_search_hint = xy ]; then
  49.           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  adcfbcd8-897e-47e7-8a21-04a6642d2926
  50.         else
  51.           search --no-floppy --fs-uuid --set=root adcfbcd8-897e-47e7-8a21-04a6642d2926
  52.         fi
  53.         echo    'Loading Linux OLDSTABLE ...'
  54.         linux   /vmlinuz-linux-oldstable root=UUID=22617c40-a25f-440e-99bf-050edfdcd822 rw rootflags=subvol=@snapshots/OLDSTABLE  loglevel=3 quiet
  55.         echo    'Loading initial ramdisk ...'
  56.         initrd  /initramfs-linux-oldstable.img
  57.     }
  58. }
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
Top