亚洲欧美精品沙发,日韩在线精品视频,亚洲Av每日更新在线观看,亚洲国产另类一区在线5

<pre id="hdphd"></pre>

  • <div id="hdphd"><small id="hdphd"></small></div>
      學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 操作系統(tǒng) > windows教程 > windows引導(dǎo)linux方法

      windows引導(dǎo)linux方法

      時(shí)間: 志藝942 分享

      windows引導(dǎo)linux方法

        你還在為不知道windows引導(dǎo)linux方法而煩惱么?接下來(lái)是小編為大家收集的windows引導(dǎo)linux方法,希望能幫到大家。

        windows引導(dǎo)linux方法

        用Windows引導(dǎo)Linux(Windows7+Ubuntu)

        啟動(dòng)到linux (Ubuntu)

        sudo dd if=/dev/sda of=/media/linux.lnx bs=512 count=1

        將它c(diǎn)p到你的win根目錄,例如是C:/,為了保險(xiǎn),最好將其屬性改為"+s +h +r",也就是"系統(tǒng),只讀

        ,隱藏"

        >attrib +s +r +h c:linux.lnx.而且我建議你對(duì)這個(gè)文件做多個(gè)備份!

        然后重啟到win

        進(jìn)入后確認(rèn)你的系統(tǒng)根目有l(wèi)inux.lnx這個(gè)文件

        如果是win 2000/XP直接修改boot.ini

        boot.ini請(qǐng)?jiān)趙in 下修改,因?yàn)榫幋a不同! 大俠除外。

        它可能隱藏和只讀

        然后在后面加入

        如果有

        代碼:

        time=0

        請(qǐng)將0更改!如time=5

        代碼:

        C:/linux.lnx="linux"

        保存!

        然后你就可以重啟win看效果了。

        如果Vista/Windows 7,因?yàn)椴捎脝⒂昧诵碌囊龑?dǎo)方式,即是一個(gè)bcdedit的執(zhí)行引導(dǎo)程序操作。

        復(fù)制好引導(dǎo)文件后,還需要進(jìn)一步作如下修改

        ***************************************************

        方案A:

        bcdedit /create {ntldr} /d "Ubuntu Linux"

        bcdedit /set {ntldr} device partition=C:

        bcdedit /set {ntldr} path /ntldr

        bcdedit /displayorder {ntldr} /addlast

        方案B:(注意要根據(jù)第一個(gè)命令返回結(jié)果做相應(yīng)修改):

        bcdedit /copy {ntldr} /d "Ubuntu Linux";系統(tǒng)會(huì)提示說(shuō)"已將該項(xiàng)成功復(fù)制到 {8de1dad8-d399

        -11db-b639-000aeb2dc0ba}",其中的{8de1dad8-d399-11db-b639-000aeb2dc0ba}就是"Ubuntu Linux"

        的啟動(dòng)標(biāo)識(shí)符。不同的操作系統(tǒng)可能會(huì)不一樣。

        再輸入:bcdedit /set {你的Linux標(biāo)識(shí)符} device partition=C:,系統(tǒng)會(huì)提示"操作成功完成".

        輸入:bcdedit /set {你的Linux標(biāo)識(shí)符} path /ntldr,

        最后輸入:bcdedit /displayorder {你的Linux標(biāo)識(shí)符} /addlast.

        保存退出,重啟之后你就會(huì)看到Windows 7 和 Ubuntu Linux的雙啟動(dòng)菜單了。

        方案C:

        輸入bcdedit /? 查看相關(guān)的幫助信息

        1.使用bcdedit配置新引導(dǎo)項(xiàng)

        >bcdedit /create /d "Linux" /application osloader

        #建立新項(xiàng),也就是建立新引導(dǎo)項(xiàng),成功后會(huì)返回一guid值

        格式如下:{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}

        >bcdedit /set {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} drive partition=C:

        #設(shè)置新引導(dǎo)項(xiàng)文件所在分區(qū)

        >bcdedit /set {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} path linux.lnx #設(shè)置啟動(dòng)項(xiàng)文件在分區(qū)中

        的相對(duì)路徑,注意文件之前的""是必須的,表明是所在分區(qū)的根目錄下。若假設(shè)該文件在c:windows

        下,則應(yīng)改為windowslinux.另外path后面有一個(gè)空格

        >bcdedit /displayorder {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} /addlast

        #設(shè)置引導(dǎo)項(xiàng)順序,addlast為將其添加到引導(dǎo)項(xiàng)列表的最后,也可改為addfirst,表示添加到最前。至此

        添加新引導(dǎo)項(xiàng)的操作已成功,但是現(xiàn)在還不能引導(dǎo),為什么呢??

        >bcdedit /default {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}

        #此命令可選,如果要將此項(xiàng)設(shè)為默認(rèn)引導(dǎo)項(xiàng)的話,就執(zhí)行它

        下面就可直接執(zhí)行bcdedit查看一下配置情況了

        ***************************************************

        如果Windows引導(dǎo)正常了,就可以清理掉MBR記錄了。

        步驟:

        win9x的引導(dǎo)盤(pán)啟動(dòng)(或者用其他磁盤(pán)管理工具也行)

        代碼:

        fdisk /mbr

        這樣grub引導(dǎo)就沒(méi)有了,只剩下Windows的引導(dǎo)方式了。

        用Windows引導(dǎo)Linux(Windows7+Ubuntu)

        啟動(dòng)到linux (Ubuntu)

        sudo dd if=/dev/sda of=/media/linux.lnx bs=512 count=1

        將它c(diǎn)p到你的win根目錄,例如是C:/,為了保險(xiǎn),最好將其屬性改為"+s +h +r",也就是"系統(tǒng),只讀

        ,隱藏"

        >attrib +s +r +h c:linux.lnx.而且我建議你對(duì)這個(gè)文件做多個(gè)備份!

        然后重啟到win

        進(jìn)入后確認(rèn)你的系統(tǒng)根目有l(wèi)inux.lnx這個(gè)文件

        如果是win 2000/XP直接修改boot.ini

        boot.ini請(qǐng)?jiān)趙in 下修改,因?yàn)榫幋a不同! 大俠除外。

        它可能隱藏和只讀

        然后在后面加入

        如果有

        代碼:

        time=0

        請(qǐng)將0更改!如time=5

        代碼:

        C:/linux.lnx="linux"

        保存!

        然后你就可以重啟win看效果了。

        如果Vista/Windows 7,因?yàn)椴捎脝⒂昧诵碌囊龑?dǎo)方式,即是一個(gè)bcdedit的執(zhí)行引導(dǎo)程序操作。

        復(fù)制好引導(dǎo)文件后,還需要進(jìn)一步作如下修改

        ***************************************************

        方案A:

        bcdedit /create {ntldr} /d "Ubuntu Linux"

        bcdedit /set {ntldr} device partition=C:

        bcdedit /set {ntldr} path /ntldr

        bcdedit /displayorder {ntldr} /addlast

        方案B:(注意要根據(jù)第一個(gè)命令返回結(jié)果做相應(yīng)修改):

        bcdedit /copy {ntldr} /d "Ubuntu Linux";系統(tǒng)會(huì)提示說(shuō)"已將該項(xiàng)成功復(fù)制到 {8de1dad8-d399

        -11db-b639-000aeb2dc0ba}",其中的{8de1dad8-d399-11db-b639-000aeb2dc0ba}就是"Ubuntu Linux"

        的啟動(dòng)標(biāo)識(shí)符。不同的操作系統(tǒng)可能會(huì)不一樣。

        再輸入:bcdedit /set {你的Linux標(biāo)識(shí)符} device partition=C:,系統(tǒng)會(huì)提示"操作成功完成".

        輸入:bcdedit /set {你的Linux標(biāo)識(shí)符} path /ntldr,

        最后輸入:bcdedit /displayorder {你的Linux標(biāo)識(shí)符} /addlast.

        保存退出,重啟之后你就會(huì)看到Windows 7 和 Ubuntu Linux的雙啟動(dòng)菜單了。

        方案C:

        輸入bcdedit /? 查看相關(guān)的幫助信息

        1.使用bcdedit配置新引導(dǎo)項(xiàng)

        >bcdedit /create /d "Linux" /application osloader

        #建立新項(xiàng),也就是建立新引導(dǎo)項(xiàng),成功后會(huì)返回一guid值

        格式如下:{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}

        >bcdedit /set {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} drive partition=C:

        #設(shè)置新引導(dǎo)項(xiàng)文件所在分區(qū)

        >bcdedit /set {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} path linux.lnx #設(shè)置啟動(dòng)項(xiàng)文件在分區(qū)中

        的相對(duì)路徑,注意文件之前的""是必須的,表明是所在分區(qū)的根目錄下。若假設(shè)該文件在c:windows

        下,則應(yīng)改為windowslinux.另外path后面有一個(gè)空格

        >bcdedit /displayorder {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} /addlast

        #設(shè)置引導(dǎo)項(xiàng)順序,addlast為將其添加到引導(dǎo)項(xiàng)列表的最后,也可改為addfirst,表示添加到最前。至此

        添加新引導(dǎo)項(xiàng)的操作已成功,但是現(xiàn)在還不能引導(dǎo),為什么呢??

        >bcdedit /default {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}

        #此命令可選,如果要將此項(xiàng)設(shè)為默認(rèn)引導(dǎo)項(xiàng)的話,就執(zhí)行它

        下面就可直接執(zhí)行bcdedit查看一下配置情況了

        ***************************************************

        如果Windows引導(dǎo)正常了,就可以清理掉MBR記錄了。

        步驟:

        win9x的引導(dǎo)盤(pán)啟動(dòng)(或者用其他磁盤(pán)管理工具也行)

        代碼:

        fdisk /mbr


      看了“windows引導(dǎo)linux方法”還想看:

      1.Win7刪除Linux后引導(dǎo)出錯(cuò)怎么辦

      2.win10和linux雙系統(tǒng)的安裝教程

      3.開(kāi)機(jī)就是GURB無(wú)法進(jìn)入系統(tǒng)的解決辦法有哪些

      4.linux系統(tǒng)硬盤(pán)安裝教程

      5.如何從硬盤(pán)啟動(dòng)Linux ISO鏡像文件

      2804560