# # GRUB-Download-From-CVS.sh.txt # ----------------------------- # # Original File # ------------- # http://Linux-Boot.net/Loaders/Grub/Examples/GRUB-Download-From-CVS.sh.txt # # Grub Sources # ------------ # http://www.gnu.org/software/grub/ # http://www.gnu.org/software/grub/grub-legacy-download.en.html # http://www.gnu.org/software/grub/grub-2-download.en.html # # http://www.inf.sgsp.edu.pl/pub/MALUNKI/LOGO/grub.png # # # # 27-Sep-04 amo Date-of-Birth # 14-Sep-05 amo Changed from GRUB-Install-From-CVS.sh.txt to GRUB-Download-From-CVS.sh.txt # 18-Sep-05 amo Cleaned up grub config below # # # # # Todays time Stamp # ----------------- yeardate=`date '+%Y%m%d'` # # cd /usr/local/src # export CVS_RSH="ssh" # # # move the old stuf aside first # mv grub grub.previous # # # Download the latest grub from CVS # --------------------------------- cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/grub co grub # cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/grub co grub2 # # mv grub grub-$yeardate # tar zcvf grub-${yeardate}.tgz grub-$yeardate # cd grub-$yeardate # ./configure # make # make check # make install # # mkdir /boot/grub cp -p /usr/local/lib/grub/i386-pc/* /boot/grub # # # # # Create the GRUB config files # ----------------------------- # vi /etc/grub.conf # - optional, not needed if installing with grub commands # http://Linux-Boot.net/Loaders/Grub/Examples/Grub.Manual-Install-Howto.txt # # # vi /boot/grub/device.map # - rename the old device.map file before running grub-install # - greated by grub-install # # vi /boot/grub/menu.lst # http://Linux-Boot.net/Loaders/Grub/Examples/menu.lst # ( /usr/local/src/grub-2005.0810/docs/menu.lst ) # # End of file