现在的位置: 首页 > 综合 > 正文

fedora 13 14 硬盘安装 (windows xp下)

2013年09月02日 ⁄ 综合 ⁄ 共 1943字 ⁄ 字号 评论关闭

 

废话不多说,直接切入正题,这里介绍的方法,适用于在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. 自动选择文件系统类型。  

抱歉!评论已关闭.