Linux系统FTP530c错误,XP系统对外端口无法访问,该怎...- 装配Win7系统时提示蓝屏 - windows7与ubuntu多系统指引_169IT.COM...

windows7与ubuntu多系统引导

常用的操作系统引导程序和其配置文件列表:

操作系统

引导程序

配置文件

引导程序版本

工具

dos

io.sys,msdos.sys,command.com

config.sys、autoexec.bat

windows xp、windows 2000

NTLDR

boot.ini

nt5.0

windows vista、windows 7

BOOTMGR

bcd

nt6.0

bcdedit、bcdboot

linux

lilo

menu.lst

linux

grub

menu.lst

windowsxp与linux多系统: http://blog.csdn.net/kl222/article/details/1554406

windows 7 引导 linux:

1、先装linux,再装windows7的情况。

装完linux后,  备份MBR,linux下使用如下命令:

# dd if=/dev/hda of=/root/linux.bin bs=512 count=1

#sudo dd if=/dev/sda10 of=/media/ubuntu/系统保留/linux.bin bs=512 count=1

再安装windows7。

把前面备的的linux.bin文件复制到C:盘根目录。或者从U盘中启动ubuntu13.1 。把linux.bin文件复制到windows7的系统目录下。

2、先装windows7,再装linux的情况。

装linux时,注意不要把MBR写到主活动分区中。因为主活动分区中已经存储了windows7的MBR

在命令行下执行下面语句:

C:\>bcdedit /create /d "ubuntu" /application bootsector

项{544313b4-2257-11e3-a2c6-94955791f210} 成功创建。

C:\>bcdedit /set {544313b4-2257-11e3-a2c6-94955791f210} device partition=\device\harddiskvolume1

C:\>bcdedit /set {544313b4-2257-11e3-a2c6-94955791f210} path \linux.bin

C:\>bcdedit /displayorder {544313b4-2257-11e3-a2c6-94955791f210} /addlast

查看刚加入的条目:

C:\>bcdedit

Windows 启动管理器

--------------------

标识符                  {bootmgr}

device                  partition=\Device\HarddiskVolume1

description             Windows Boot Manager

locale                  zh-CN

inherit                 {globalsettings}

default                 {current}

resumeobject            {544313b0-2257-11e3-a2c6-94955791f210}

displayorder            {current}

{544313b4-2257-11e3-a2c6-94955791f210}

toolsdisplayorder       {memdiag}

timeout                 30

Windows 启动加载器

-------------------

标识符                  {current}

device                  partition=C:

path                    \Windows\system32\winload.exe

description             Windows 7

locale                  zh-CN

inherit                 {bootloadersettings}

recoverysequence        {544313b2-2257-11e3-a2c6-94955791f210}

recoveryenabled         Yes

osdevice                partition=C:

systemroot              \Windows

resumeobject            {544313b0-2257-11e3-a2c6-94955791f210}

nx                      OptIn

实模式启动扇区

---------------------

标识符                  {544313b4-2257-11e3-a2c6-94955791f210}

device                  partition=\Device\HarddiskVolume1

path                    \linux.bin

description             ubuntu

进入系统后,计算机->属性->系统属性->高级->启动和故障恢复 中可以设置默认启动的操作系统。

参考:

http://blog.csdn.net/kl222/article/details/1554406

http://blog.163.com/panyonglong_917/blog/static/17947455201042611273940/

http://forum.ubuntu.org.cn/viewtopic.php?f=139&t=396667

http://www.pobeta.com/bcd-ubuntu.html

http://hi.baidu.com/fyyfly/item/6bff54f6d1850fb530c1997b

bcdedit使用:http://technet.microsoft.com/zh-cn/library/ee921507.aspx

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值