Windows 下硬碟安裝CentOS 5.3 收藏

來源:互聯網
上載者:User
1、開啟鏡像檔案CentOS-5.3-i386-bin-DVD.iso(我的CentOS鏡像檔案放在D[一定要是fat32格式]盤),找到isolinux目錄,右鍵選擇"解壓到指定檔案夾",選擇D盤,確定。進入D:/isolinux目錄,只保留initrd.img和vmlinuz兩個檔案,其它的全部刪除。(若保留其它檔案,可能會出現中途安裝退出的情況)【note】我的D盤是ntfs格式,安裝開始前提示找不到鏡像檔案。於是,用分區工具Norton PartitionMagic將D盤轉成了fat32格式。2、win + R 鍵 運行"c:/boot.ini",斷行符號。我的boot.ini檔案內容如下:[boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(1)/WINDOWS[operating systems]multi(0)disk(0)rdisk(0)partition(1)/WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect在檔案末添加一行如下,儲存並退出。C:/grldr="Install CentOS Linux"3、下載grub4dos,將其檔案解壓至C盤根目錄下, 不要檔案夾。(我下的是grub4dos-0.4.4-2009-01-11.zip)4,把該目錄下的grldr也複製到根目錄5、win + R 鍵 運行"c:/menu.lst".(有的可能是c:/grub/menu.lst),在檔案末添加如下:(我的v鏡像檔案放在D盤,即/dev/hda5)title Install CentOS Linuxroot (hd0,1)kernel /isolinux/vmlinuz ro root=/dev/hda5initrd /isolinux/initrd.img6、重啟電腦,選擇菜單,開始安裝。
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.