# Config file for GRUB2 - The GNU GRand Unified Bootloader # /boot/grub/grub.cfg # DEVICE NAME CONVERSIONS # # Linux Grub # ------------------------- # /dev/fd0 (fd0) # /dev/sda (hd0) # /dev/sdb2 (hd1,2) # /dev/sda3 (hd0,3) # # FRAMEBUFFER RESOLUTION SETTINGS # +-------------------------------------------------+ # | 640x480 800x600 1024x768 1280x1024 # ----+-------------------------------------------- # 256 | 0x301=769 0x303=771 0x305=773 0x307=775 # 32K | 0x310=784 0x313=787 0x316=790 0x319=793 # 64K | 0x311=785 0x314=788 0x317=791 0x31A=794 # 16M | 0x312=786 0x315=789 0x318=792 0x31B=795 # +-------------------------------------------------+ # for more details and different resolutions see # http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution # general configuration: # Timeout for menu set timeout=9 # Set default boot entry as Entry 0 set default=0 ## marek color light-blue/black light-cyan/blue if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode="1024x768x32" set gfxpayload=keep insmod gfxterm insmod vbe terminal_output gfxterm if terminal_output gfxterm; then true ; else terminal gfxterm fi fi insmod tga background_image /grub/archlinux.tga # boot sections follow # each is implicitly numbered from 0 in the order of appearance below # # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line. # #-* # (0) Arch Linux menuentry "Arch Linux" { set root=(hd0,2) linux /vmlinuz26 root=/dev/disk/by-label/arch cryptdevice=/dev/sda7:preDevice resume=/dev/mapper/swapDevice ro quiet console=tty1 logo.nologo splash=silent,theme:arch-banner-icons,fadein,fadeout rootdelay=2 fastboot initrd /kernel26.img } # (1) Arch Linux menuentry "Arch Linux Fallback" { set root=(hd0,2) linux /vmlinuz26 root=/dev/disk/by-label/arch cryptdevice=/dev/sda7:preDevice ro i915.modeset=0 initrd /kernel26-fallback.img } # (0) Arch Linux menuentry "Arch Linux LTS" { set root=(hd0,2) linux /vmlinuz26-lts root=/dev/disk/by-label/arch cryptdevice=/dev/sda7:preDevice resume=/dev/mapper/swapDevice ro quiet console=tty1 logo.nologo splash=silent,theme:arch-banner-icons,fadein,fadeout rootdelay=10 fastboot initrd /kernel26-lts.img } # (0) Arch Linux menuentry "Arch Linux -ck" { set root=(hd0,2) linux /vmlinuz26-ck2 root=/dev/disk/by-label/arch cryptdevice=/dev/sda7:preDevice resume=/dev/mapper/swapDevice ro quiet console=tty1 rootdelay=2 initrd /kernel26-ck.img } # (2) Windows menuentry "Windows XP" { root=(hd0,1) #hide (hd0,4) chainloader +1 } # (3) Recovery menuentry "IBM Rescue and Recovery" { set root=(hd0,4) parttype (hd0,4) 0x0b unhide (hd0,4) chainloader +1 } # menuentry "Hardware Diagnostics" { set root=(hd0,4) parttype (hd0,4) 0x0b unhide (hd0,4) chainloader /bootsect.dos } # menuentry "Virtualization" { set root=(hd0,2) linux /vmlinuz26 root=/dev/disk/by-label/arch resume=/dev/disk/by-label/swap ro vga=866 nohz=off initrd /kernel26.img } menuentry "PartedMagic - livecd" { loopback loop (hd0,10)/pmagic-4.9.iso linux (loop)/pmagic/bzImage isofrom=/dev/sda10/pmagic-4.9.iso root=/dev/ram0 ramdisk_size=75% livecd quiet vga=773 noeject noprompt sleep=0 load_ramdisk=1 prompt_ramdisk=0 loglevel=0 keymap=us initrd (loop)/pmagic/initramfs boot }