fedora 13 14 硬碟安裝 (windows xp下)

來源:互聯網
上載者:User

 

廢話不多說,直接切入正題,這裡介紹的方法,適用於在xp環境下安裝fedora 14 或類似的linux。

一、下載:

下載grub4dos軟體:地址(http://sourceforge.net/projects/grub4dos/)

下載fedora14光碟片,live-cd or dvd:地址(https://fedoraproject.org/get-fedora)

二、準備

以將系統安裝到c盤為例:

1、將下載下來的grub4dos中的grldr檔案放入c盤中

2、格式化你的D盤為fat32格式(防止假死)

3、將grub4dos中的menu.lst放入D盤根目錄

4、解壓你下載的iso鏡像到D盤更目錄

三、修改

1、在D盤下的menu.lst檔案的最後加上

title Install Fedora  14

kernel (hd0,4)/isolinux/vmlinuz root=live:/dev/sda5  liveimg  quiett  rhgb  

 

rootfstype=auto  vga=791

initrd (hd0,4)/isolinux/initrd.img

注意,如果你下載的是livecd那麼這裡應改為

title Install Fedora  14

kernel (hd0,4)/isolinux/vmlinuz0  root=live:/dev/sda5  liveimg  quiett  rhgb  

 

rootfstype=auto  vga=791

initrd (hd0,4)/isolinux/initrd0.img

3、修改C盤下的boot.ini檔案(開啟隱藏可見)

在boot.ini加入

c:/grldr=“fedora 14”

四、重啟

重啟的時候記得在選擇作業系統的時候選為“fedora 14”

進入grub介面時選擇最後的install fedora 14

 

到這,順利的話,就能成功的引導你進入安裝環境了(livecd的話則進入live模式,在案頭上可以看到

 

相關的安裝嚮導)

 

注意:(hd0,4)表示D盤,(hd0,0)是C盤,那麼(hd0,5)就是E盤了,以此類推

還有,root=/dev/sda5是根據前面的(hd0,4)來的,要是E盤就是(hd0,5)root=/dev/sda6了。具體

 

這些是怎麼來的,還是需要看下grub的help文檔。

那個vga=791是設定命令列的解析度用的,791(10進位)=0x317(16進位)

參照如下表格選擇(LiLo mode numbers)

色彩 640x400 640x480 800x600 1024x768 1280x1024 1600x1200
4bits ? ? 0x302 ? ? ?
8bits 0x300 0x301 0x303 0x305 0x307 0x31C
15bits ? 0x310 0x313 0x316 0x319 0x31D
16bits ? 0x311 0x314 0x317 0x31A 0x31E
24bits ? 0x312 0x315 0x318 0x31B 0x31F
32bits ? ? ? ? ? ?

  1. #特別注意:root=live:/dev/sda17可以寫為root=live:UUID=×××××,但是不能寫為目錄的形式:root=live:/dev/sda17/,否則會導致找不到root device!  
  2. #其中一些選項的說明:  
  3. #rhgb = redhat graphical boot - This is a GUI mode booting screen with most of the information hidden while the user sees a rotating activity icon spining and brief information as to what the computer is doing.  
  4. 這個是redhat的圖形啟動,這個選項作用是讓使用者看到一個旋轉動態表徵圖和簡短的資訊而不會顯示GUI模式下的大部分啟動資訊。  
  5. #quiet = hides the majority of boot messages before rhgb starts. These are supposed to make the common user more comfortable. They get alarmed about seeing the kernel and initializing messages, so they hide them for their comfort.  
  6. #這個是不顯示發生在rhgb之前的啟動資訊。  
  7. #vga=791  
  8. 顯示的解析度為1024×768。  
  9. rootfstype=auto  
  10. 自動選擇檔案系統類型。  

相關文章

聯繫我們

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