grub.cfg.sample 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #
  2. # /boot/grub/grub.cfg - sample grub2 configuration file
  3. #
  4. # This is only a sample, you will need to check/edit the root value
  5. # or UUID used for your configuration.
  6. # See the official grub documentation for more information.
  7. # Set menu colors
  8. set menu_color_normal=white/blue
  9. set menu_color_highlight=light-blue/white
  10. # Set menu display time
  11. set timeout=10
  12. # Set the default boot entry (first is 0)
  13. set default=0
  14. # Set the root variable - grub2 uses this to find files if the
  15. # root device is not specified in the entry itself.
  16. # It can be set explicitly like so:
  17. #set root='(hd0,msdos2)'
  18. # Or it can be set using grub2's builtin search feature like so:
  19. #search --no-floppy --fs-uuid --set root xxxxxxxx-yyyy-zzzz-aaaa-bbbbbbbbbbbb
  20. # The string xxxxxxxx-yyyy-zzzz-aaaa-bbbbbbbbbbbb should be replaced with
  21. # the proper UUID for the root device. It can be found using 'blkid' from
  22. # util-linux.
  23. # Boot entries:
  24. menuentry 'milis-atilla' {
  25. linux /boot/kernel root=/dev/sda1 ro quiet
  26. initrd /boot/initramfs
  27. }
  28. # Windows 7
  29. menuentry "Windows 7" {
  30. set root='(hd0,msdos1)'
  31. chainloader +1
  32. }