Advertisement
Guest User

/etc/grub.d/40_custom

a guest
Feb 7th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  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.  
  7. submenu 'Remix OS' {
  8. menuentry 'Remix OS Install' --class android-x86 {
  9. insmod part_msdos
  10. set root='hd0,msdos2'
  11. linux /home/anony/RemixOS/kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet INSTALL=1 DEBUG=0
  12. # linux /home/anony/RemixOS/kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet DATA= CREATE_DATA_IMG=1
  13. initrd /home/anony/RemixOS/initrd.img
  14. }
  15.  
  16. menuentry 'Remix OS' --class android-x86 {
  17. insmod part_msdos
  18. set root='hd0,msdos3'
  19. linux /android-2016-01-12/kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet SRC=/android-2016-01-12 DATA=/android-2016-01-12
  20. # linux /android-2016-01-12/kernel CMDLINE quiet SRC=/android-2016-01-12 DATA= CREATE_DATA_IMG=1
  21. initrd /android-2016-01-12/initrd.img
  22. }
  23.  
  24. menuentry 'Remix OS Resident mode - All your data and apps are saved (iso)' --class android-x86 {
  25. set isofile="/home/anony/Remix_OS_for_PC_64_B2016020201_Alpha_Legacy.iso"
  26. loopback loop (hd0,2)$isofile
  27. search --file --no-floppy --set=root /system.sfs
  28. linux /kernel CMDLINE quiet DATA= CREATE_DATA_IMG=1
  29. initrd /initrd.img
  30. }
  31.  
  32. menuentry 'Remix OS Guest mode - No data will be saved after each session (iso)' --class android-x86 {
  33. set isofile="/home/anony/Remix_OS_for_PC_64_B2016020201_Alpha_Legacy.iso"
  34. loopback loop (hd0,2)$isofile
  35. search --file --no-floppy --set=root /system.sfs
  36. linux /kernel CMDLINE quiet DATA= DATA_IN_MEM=1
  37. initrd /initrd.img
  38. }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement