Advertisement
Guest User

Untitled

a guest
Oct 1st, 2011
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.33 KB | None | 0 0
  1. insmod ext2
  2. search --no-floppy --fs-uuid --set=root 1d4c0bf9-059d-473b-9fdd-ed53d03abc60
  3. set timeout=20
  4. set default=6
  5.  
  6. if loadfont /boot/grub/font.pf2 ; then
  7.     set gfxmode=640x480
  8.     insmod vbe
  9.     insmod gfxterm
  10.     terminal_output gfxterm
  11. fi
  12.  
  13. insmod png
  14. if background_image /boot/splash.png ; then
  15.     set color_normal=white/black
  16.     set color_highlight=black/white
  17. else
  18.     set menu_color_normal=cyan/blue
  19.     set menu_color_highlight=white/blue
  20. fi
  21.  
  22. menuentry "Start the Debian Installer (From the mini.iso)" {
  23.     echo "Loading Linux ..."
  24.     gfxpayload=800x600x16
  25.     linux /boot/debinstall/linux desktop=xfce priority=low --
  26.     echo "Loading initrd ..."
  27.     initrd /boot/debinstall/initrd.gz
  28. }
  29.  
  30. menuentry "Boot Slitaz Linux (ONLY 30 MB! OMG!!!)" {
  31.     echo "Loading Linux ..."
  32.     linux /boot/slitaz/vmlinuz-2.6.30.6-slitaz
  33.     echo "Loading initrd ..."
  34.     initrd /boot/slitaz/rootfs.gz
  35. }
  36.  
  37. menuentry "Boot Arch Linux's LiveCD" {
  38.     echo "Loading Linux ..."
  39.     linux /boot/arch/boot/i686/vmlinuz archisobasedir=boot/arch archisolabel=USB-STICK
  40.     echo "Loading initrd ..."
  41.     initrd /boot/arch/boot/i686/archiso.img
  42. }
  43.  
  44. menuentry "Boot the Live CD of Puppy Linux 5.2.8" {
  45.     echo "Loading Linux ..."
  46.     linux /boot/lupu-528/vmlinuz
  47.     echo "Loading initrd ..."
  48.     initrd /boot/lupu-528/initrd.gz
  49. }
  50.  
  51. menuentry "Do a Memory test" {
  52.     echo "Starting Memtest86+ ..."
  53.     linux16 /boot/memtest86+.bin
  54. }
  55.  
  56. menuentry "Play GRUB Invaders XD" {
  57.     multiboot /boot/invaders.exec
  58. }
  59.  
  60. menuentry "Boot FreeBSD From zroot ZFS Pool (If any)" {
  61.     echo "Loading ZFS ..."
  62.     insmod zfs
  63.     search -s -l zroot
  64.     echo "Loading FreeBSD ..."
  65.     kfreebsd /@/boot/kernel/kernel
  66.     kfreebsd_module_elf /@/boot/kernel/opensolaris.ko
  67.     kfreebsd_module_elf /@/boot/kernel/zfs.ko
  68.     kfreebsd_module_elf /@/boot/kernel/linux.ko
  69.     kfreebsd_module_elf /@/boot/kernel/sound.ko
  70.     kfreebsd_module_elf /@/boot/kernel/snd_uaudio.ko
  71.     kfreebsd_module /@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
  72.     set kFreeBSD.vfs.root.mountfrom="zfs:zroot"
  73.     set kFreeBSD.vfs.zfs.prefetch_disable=0
  74.     set kFreeBSD.vm.kmem_size=536870912
  75. }
  76.  
  77. menuentry "Boot the First hard drive (If any)" {
  78.     echo "Mapping HDDs ..."
  79.     drivemap -s (hd0) (hd1)
  80.     echo "Loading MBR ..."
  81.     set root=(hd1)
  82.     chainloader +1
  83. }
  84.  
  85.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement