2012年1月9日 星期一

Linux Grub boot menu edit

vi /boot/grub/menu.lst

Example:

default=1    # boot to second title "Windows XP" as default
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
#hiddenmenu    # don't hide menu
title Fedora (2.6.33.3-85.fc13.i686.PAE)
        root (hd0,2)
        kernel /vmlinuz-2.6.33.3-85.fc13.i686.PAE ro root=/dev/mapper/vg_labpc02-lv_root  rd_LVM_LV=vg_labpc02/lv_root rd_LVM_LV=vg_labpc02/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
        initrd /initramfs-2.6.33.3-85.fc13.i686.PAE.img
title Windows XP
        rootnoverify (hd0,0)
        chainloader +1

沒有留言:

張貼留言