/boot/grub/grub.cfg注釋中已經注明,該檔案為自動生成檔案,不要修改
如果你修改了,什麼時候ubuntu自己update-grub了一下,你做的更改就無效了
1.終端代碼:
root@ubuntu:~# gedit /etc/default/grub
2.然後:
root@ubuntu:~# update-grub
終端提示資訊:
generating grub.cfg ...
found linux image: /boot/vmlinuz-3.2.0-29-generic-pae
found initrd image: /boot/initrd.img-3.2.0-29-generic-pae
found memtest86+ image: /memtest86+.bin
found microsoft windows xp professional on /dev/sda1
done
3.重新開機
要怎麼操作,其實檔案的注釋中已經寫的很清楚了,不用搜尋。
最新内容請見作者的github頁:http://qaseven.github.io/