Changes between Version 1 and Version 2 of bootloaders/grub2
- Timestamp:
- Jan 25, 2010, 5:20:02 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
bootloaders/grub2
v1 v2 46 46 set timeout=5 47 47 48 set root=(hd0, 1)48 set root=(hd0,2) 49 49 menuentry "Linux 2.6.31.5" { 50 linux / kernel-2.6.31.5 root=/dev/sda250 linux /boot/kernel-2.6.31.5 root=/dev/sda2 51 51 } 52 52 … … 60 60 cat >> ${CLFS}/boot/grub/grub.cfg << "EOF" 61 61 menuentry "Microsoft Windows" { 62 set root=(hd1,1) 63 devicemap -s hd0 hd1 62 set root=(hd0,1) 64 63 chainloader +1 65 64 } … … 67 66 }}} 68 67 68 === Setting the Frame Buffer Resolution === 69 Add the following to the start of your grub.cfg file. 70 {{{ 71 set gfxpayload=1280x800 (put your desired resolution here) 72 insmod gfxterm 73 insmod vbe 74 }}} 75 69 76 === References === 70 77 Gentoo Wiki [[http://en.gentoo-wiki.com/wiki/Grub2]] 78 Cosmo's Example grub.cfg file [[http://cross-lfs.org/~cosmo/wiki_files/grub.cfg]]