首页 > 给GRUB添加新的项目

给GRUB添加新的项目

安装了win10,然后又安装了manjaro,最后又安装了Ubuntu。开机默认就是进入的Ubuntu的grub,然而我比较喜欢manjaro的grub主题。在bios中设置manjaro的引导为默认引导,但是此时manjaro的grub没有Ubuntu,进入到manjaro系统,执行如下命令即可:

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.

转载于:https://www.cnblogs.com/feipeng8848/p/10735947.html

更多相关:

  • We have ZZIPlib installed.My command configure line looks like :./configure ?with-apxs ?with-curl ?with-curl-dir=/usr/local/lib ?with-gd ?with-gd-dir=/usr/local ?with-g...

  • asar Whether to package the application’s source code into an archive, using Electron’s archive format. Defaults to true. Node modules, that must be unpacked, will be d...

  • 1.      今天遇到一问题,在sles11/vxworks下编译通过,但是在hpux下失败 2.      编译错误: /usr/ccs/bin/ld:DP relative code in file /projects/xxx/DERIVED/tfa_pa32-hpux.a(tfa02_pa32-hpux.o) -share...

  •         最近买个了小本lenovo x100e,结果发现这小本没有大小写指示灯,在windows用也无妨,不过我常常用这本在ubuntu中调试linux代码,vi 常用的编辑器,熟悉的都知道,大小写很关键的,用google搜了一下,发现可以用如下方法解决:        1.  “sudo apt-get install l...

  •   修改Ubuntu的启动logo 原文链接: https://my.oschina.net/jmjoy/blog/380262     内容:   Plymouth splash screen is the initial splash screen at boot-up.Ubuntu 10.04 uses Plym...