Advertisement
Guest User

Untitled

a guest
May 5th, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. ci74771ht mnt # cat /mnt/boot/grub/grub.cfg
  2.  
  3. function setup_gfxterm {
  4. # Leave 'gfxmode' to 'auto'.
  5. insmod vbe
  6. insmod vga
  7. insmod video_bochs
  8. insmod video_cirrus
  9. insmod gfxterm
  10. terminal_output gfxterm
  11. }
  12.  
  13. # Set 'root' to the partition that contains /gnu/store.
  14. search --label --set /dev/sdb5
  15.  
  16. if loadfont /gnu/store/myrc5cinlhpj2yilhzv5y0szz2ax2i6z-grub-2.00/share/grub/unicode.pf2; then
  17. setup_gfxterm
  18. fi
  19.  
  20. insmod png
  21. if background_image /gnu/store/95yfzaif0bls8mz9y7slijsfpm9z3in6-grub-image.resized.png; then
  22. set color_normal=light-gray/black
  23. set color_highlight=yellow/black
  24. else
  25. set menu_color_normal=cyan/blue
  26. set menu_color_highlight=white/blue
  27. fi
  28.  
  29. set default=0
  30. set timeout=5
  31. menuentry "GNU with Linux-Libre 4.5 (beta)" {
  32. search --label --set /dev/sdb5
  33. linux /gnu/store/x90f821cs9qq821lizvym2ib6wj6ddjm-linux-libre-4.5/bzImage --root=/dev/sdb5 --system=/gnu/store/kc407daffniyrdp86fhryaprsmwgfc0z-system --load=/gnu/store/kc407daffniyrdp86fhryaprsmwgfc0z-system/boot
  34. initrd /gnu/store/kc407daffniyrdp86fhryaprsmwgfc0z-system/initrd
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement