在ubuntu中添加widows启动项的方法
来源:互联网 发布:网络诈骗影片观后感 编辑:程序博客网 时间:2024/05/16 06:37
1. 打开终端执行:
sudo vim /boot/grub/grub.cfg
- 1
或者
sudo gedit /boot/grub/grub.cfg
- 1
打开文件grub.cfg。
2. 在grub.cfg文件中添加windows启动项:
添加的时候注意和放在整个的menuentry后面 ,别插在menuentry中间。一个menuentry对应一个启动项。
### BEGIN /etc/grub.d/30_os-prober ###menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-0002542100066BBD' { insmod part_msdos insmod ntfs set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 0002542100066BBD else search --no-floppy --fs-uuid --set=root 0002542100066BBD fi parttool ${root} hidden- chainloader +1}
3.执行:
sudo update-grub
0 0
- 在ubuntu中添加widows启动项的简单方法
- 在ubuntu中添加widows启动项的方法
- ubuntu添加开机启动项的方法
- 关于在ubuntu下面添加自启动脚本的方法
- 在win7 win8和ubuntu多个系统中丢失ubuntu启动项的修复方法
- Ubuntu下添加开机启动项的2种方法
- Ubuntu下添加开机启动项的2种方法
- Ubuntu下添加开机启动项的2种方法
- Ubuntu下添加开机启动项的2种方法
- Ubuntu下添加开机启动项的2种方法
- Ubuntu下添加开机启动项的2种方法
- Ubuntu下添加开机启动项的2种方法
- Ubuntu下添加开机启动项的2种方法
- Ubuntu下添加开机启动项的2种方法
- easybcd添加ubuntu启动项方法教程
- Ubuntu系统下为 intelliJ idea添加启动项,直接在dash中启动即可
- 在启动项上添加项目的方法
- 在Ubuntu中和Android中添加开机自启动的守护进程
- [李景山php]每天TP5-20161224|thinkphp5-Console.php-1
- <飞测>知识清单
- Linux(Ubuntu)综合简单使用及配置
- ArcGIS中的三种查询
- CODEVS 4560 子串
- 在ubuntu中添加widows启动项的方法
- 通达OA2016在windows下IIS上的运行及配置日志
- 动态链接库(DLL)
- JVM client模式和Server模式的区别
- directx实现被遮挡后显示效果的代码
- go 语言 net 扩展 模拟 tcp 收发
- Spark Standalone如何通过start-all.sh启动集群
- iphone 提示(alert):[App] May Slow Down Your iPhone解决办法
- 浅谈企业管理的三层含义