Ubuntu 11.04 启动项的修改
1.启动画面分辨率:
sudo gedit /etc/default/grub修改
GRUB_GFXMODE=640x480
sudo gedit /boot/grub/grub.cfg 修改
set gfxmode=auto 640x480
2.启动项:
整体注释
#menuentry 'Ubuntu,Linux 2.6.38-8-generic (恢复模式)' --class ubuntu --class gnu-linux --class gnu --class os {
# recordfail
# set gfxpayload=$linux_gfx_mode
# insmod part_msdos
# insmod ext2
# set root='(/dev/sda,msdos6)'
# search --no-floppy --fs-uuid --set=root 586f26e4-f547-4ff6-84c1-1b9a3a165be9
# echo 'Loading Linux 2.6.38-8-generic ...'
# linux /boot/vmlinuz-2.6.38-8-generic root=UUID=586f26e4-f547-4ff6-84c1-1b9a3a165be9 ro single
# echo 'Loading initial ramdisk ...'
# initrd /boot/initrd.img-2.6.38-8-generic
#}