Changes between Version 1 and Version 2 of bootloaders/grub2


Ignore:
Timestamp:
Jan 25, 2010, 5:20:02 AM (15 years ago)
Author:
Jonathan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • bootloaders/grub2

    v1 v2  
    4646set timeout=5
    4747
    48 set root=(hd0,1)
     48set root=(hd0,2)
    4949menuentry "Linux 2.6.31.5" {
    50   linux /kernel-2.6.31.5 root=/dev/sda2
     50  linux /boot/kernel-2.6.31.5 root=/dev/sda2
    5151}
    5252
     
    6060cat >> ${CLFS}/boot/grub/grub.cfg << "EOF"
    6161menuentry "Microsoft Windows" {
    62         set root=(hd1,1)
    63         devicemap -s hd0 hd1
     62        set root=(hd0,1)
    6463        chainloader +1
    6564}
     
    6766}}}
    6867
     68=== Setting the Frame Buffer Resolution ===
     69Add the following to the start of your grub.cfg file.
     70{{{
     71set gfxpayload=1280x800 (put your desired resolution here)
     72insmod gfxterm
     73insmod vbe
     74}}}
     75
    6976=== References ===
    7077Gentoo Wiki [[http://en.gentoo-wiki.com/wiki/Grub2]]
     78Cosmo's Example grub.cfg file [[http://cross-lfs.org/~cosmo/wiki_files/grub.cfg]]