关键字: windows 7 下引导grub for dos、linux
1:先去下载grub4dos
2:解压grldr.mbr,grldr,menu.lst三个文件到C盘根目录,注意是根目录哦!
3:然后以管理员模式运行cmd,输入bcdedit /create /d "grub" /application bootsector
会有一大串id,要记下,等下要用.也可以做成批处理:
然后:
4:bcdedit /set {id} device partition=c:
5:bcdedit /set {id} path /grldr.mbr
6:bcdedit /displayorder {id} /addlast
这样就好了
http://emcome.javaeye/blog/467011
批处理如下:
set id={*****}
bcdedit /set %id% device partition=c:
bcdedit /set %id% path /grldr.mbr
bcdedit /displayorder %id% /addlast
引导linux、我用的debian,suse我试了也可以:
1,最好先安装win7,先linux也可以,但是在安装的时候要将grub安装在非启动分区,那样才能,用win7去引导gurb,我的是安装在sda3上,作为/boot分区;
2,安装完linux后正常重启是无法进入linux的,这里提供三种方法:
a:grub4dos如上;
b:光盘进入救援模式rescue mode;
c:u盘版linux,这个很好用,大家用了一次就会爱不释手,puppy就挺好;
3,获取引导文件:
dd if=/dev/sda3 of=grub_backup.bin bs=512 count=1
把/dev/sda3换成你自己grub安装位置,原理用google查一下就了解了;
拷贝backup.bin文件到u盘中,或者放到win7可以访问的分区
4。重启进入win7
按照win7引导grub的方法引导backup.bin文件即可,这样以后再重装linux就不会无法启动win7了!
最后再罗嗦一下,可以调整bcd与grub,设置默认启动系统于等待时间!
windows 7 下引导grub for dos、linux
与本文相关的文章
- 玩转Windows:Office的部署与激活
- 在Windows 7 Media Player中轻松播放Flac,Ogg和其他文件格式
- Windows11 Linux子系统
- 如何解决Windows系统目录权限问题
- windows terminal配置powershell 7和美化
- sentinel的安装(windows环境)
- windows下phpStudy搭建WNMP虚拟机域名
- Windows下Python 64位的的安装
- Mac下使用Boot Camp安装Windows系统
- Visual C++ 在windows 7 上预编译头错误unexpected precompiled header error, simply rerunning the compiler migh
- windows虚拟显示器开发(三)USB显示器
- 【win】windows平台FTP使用总结
- 实现 Windows 系统定时关机或重启
- Centos7自动挂载Windows中的NTFS 分区
- Zabbix对Windows Server的监控
- windows 禁止与取消 ping 的方法(命令行)
- Windows电脑双开多开微信最简便的办法
- windows启动后直接进入指定程序并且不显示欢迎界面和windows桌面
- 【小技巧】Windows系统如何微信双开
- Windows 版本说明,Enterprise、Ultimate、Home、Professional知多少?
评论列表(0)
- 暂无评论