Windows7 下用 grub4dos 安裝 Ubuntu

來源:互聯網
上載者:User
用 grub4dos 安裝了幾次 Ubuntu 了,主要是裝到移動硬碟了,感覺很有必要記錄一下(以 ubuntu-10.10-desktop-i386 為例)。直奔話題,首先下載 Ubuntu 鏡像檔案和grub4dos,從 ubuntu 鏡像檔案提取 initrd.gz、vmlinuz,從 grub4dos 提取 grub.exe、grldr、grldr.mbr,然後和 Ubuntu 鏡像檔案一起丟到 C:\,再手動建立 menu.lst,加入一下內容:title Ubuntu10.10kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-10.10-desktop-i386.iso locale=zh_CN.UTF-8initrd /initrd.lz運行 cmd,輸入 bcdedit /create /d "GRUB4DOS" /application bootsector,返回一個 {GUID},bcdedit /set {GUID} device partition=C:bcdedit /set {GUID} path \grldr.mbrbcdedit /displayorder {GUID} /addlast重啟電腦便可選擇 grub4dos 進入 ubuntu liveCD,準備安裝前開啟終端,輸入sudo umount -l /isodevice這一命令取消掉對光碟片所在磁碟機的掛載,否則分區介面找不到分區。然後點擊案頭上的安裝 Ubuntu 進行安裝。安裝後可以在 win 下刪除剛才放的那些放 C:\ 的檔案,然後運行 cmd,刪除 bcdedit 產生的啟動項(可用 bcdedit /enum 查看):bcdedit /delete {GUID} /f
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.