Chinaunix首页 | 论坛 | 博客
  • 博客访问: 196349
  • 博文数量: 63
  • 博客积分: 1002
  • 博客等级: 准尉
  • 技术积分: 640
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-11 20:34
文章分类

全部博文(63)

文章存档

2017年(2)

2015年(3)

2013年(4)

2012年(21)

2011年(33)

分类: LINUX

2011-05-04 10:27:04

  1.安装之前的准备工作--平台Windows XP;所需软件 grub.rar ,,);
2.接下来就该进行分区了,为了能够确保系统能够正常运行,需要 / 和 swap 两个分区;“/”分区格式为ext3作为CentOS的系统目录,大小建议10G,最好不要少于8G , 分区的详细的详细步骤在这里就不做详细介绍了。
3.把下载的CentOS镜像文件放在FAT格式的任何一个盘。解压镜像中isolinux文件夹到C:\.(说明这个分区必修是fat分区)
4.解压grub,复制grub目录下的 "grldr" ,"grub.exe", "menu.lst"这三个文件到c盘根目录下,
打开“C:\boot.ini”文件,在打开之前要修改它的属性步骤鼠标移动到文件上右激--属性--取消只读存档前面的对号OK.。继续打开文件在文件末尾追加一行内容如下:“C:\grldr = "Grub" ”保存。
5.修改c:\menu.lst内容入下:
     timeout 0
     default 0
           title Install  CentOS
           kernel(hd0,0)/isolinux/vmlinuz
           initrd(hd0,0)/isolinux/initrd.img
6.把下载的CentOS镜像文件拷贝到任意fat32分区的根目录.
7.重启系统,在XP开机选项中选择GRUB。
接下来就是经典的“傻瓜式”安装模式了,认真的选好每一项,你就能够顺利的把Linux请回家了。
祝你好运!顺便提醒一下,重要的数据要做好备份,以免安装过程中出错。
centos:
 

引导CentOS 5.5 的menu.lst文件的配置
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
 
color black/cyan yellow/cyan
timeout 5
splashimage (hd0,0)/bg.xpm.gz
default 0
 
title Win7
fallback 1
rootnoverify (hd0,0)
chainloader /bootmgr
makeactive +1
boot
 
title CentOS 5.5   
        root (hd0,7)     
        kernel /boot/vmlinuz-2.6.18-194.el5 ro root=/dev/hda8  rhgb quiet  
        initrd /boot/initrd-2.6.18-194.el5.img 
 
title           Ubuntu, kernel 2.6.15-23-386  
root            (hd0,1)  
kernel          /boot/vmlinuz-2.6.15-23-386 root=/dev/hdb2 ro quiet splash  
initrd          /boot/initrd.img-2.6.15-23-386 
 
 
title Install—RHEL/CentOS/Fedora 
kernel (hd0,0)/isolinux/vmlinuz 
initrd (hd0,0)/isolinux/initrd.img
 
 
title reboot
savedefault --wait=2
reboot
 
title halt
savedefault --wait=2
halt
阅读(1392) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~