给GRUB添加新的项目
安裝了win10,然后又安裝了manjaro,最后又安裝了Ubuntu。開機(jī)默認(rèn)就是進(jìn)入的Ubuntu的grub,然而我比較喜歡manjaro的grub主題。在bios中設(shè)置manjaro的引導(dǎo)為默認(rèn)引導(dǎo),但是此時(shí)manjaro的grub沒有Ubuntu,進(jìn)入到manjaro系統(tǒng),執(zhí)行如下命令即可:
sudo update-grub 原文:https://askubuntu.com/questions/649816/add-new-menu-items-to-grub-boot-menu
Grub menu entries are auto-generated by sudo update-grub. Have you tried to run it ? Doesn't it suite your needs ?
Otherwise, you can use /etc/grub.d/40_custom to add your custom entries. And then run sudo update-grub to update /boot/grub/grub.cfg.
You can however edit manually /boot/grub/grub.cfg to delete an entry. But your change will be lost the next time update-grub will be run by you or automatically by ubuntu when there is a kernel upgrade.
轉(zhuǎn)載于:https://www.cnblogs.com/feipeng8848/p/10735947.html
總結(jié)
以上是生活随笔為你收集整理的给GRUB添加新的项目的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: npm i和npm install的区别
- 下一篇: 如何轻松搞定机构资格准入?