您的位置:首页 > 运维架构 > Linux

windows下安装linux系统

2011-12-25 13:12 288 查看
===========================》START《============================

1、首先安装好windows xp系统
2、修改默认的启动时间(C:\boot.ini)
[boot loader]
timeout=5
default=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
3、安装linux centos
4、修改/boot/grub/grub.conf文件
[root@localhost grub]# cat grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,5)
# kernel /boot/vmlinuz-version ro root=/dev/hda6
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1 //默认启动第二个操作系统,即windows xp
timeout=3 //默认的启动时间为3秒
splashimage=(hd0,5)/boot/grub/splash.xpm.gz //GRUB引导界面的背景图片
#hiddenmenu //不隐藏启动的界面
title CentOS (2.6.18-194.el5)
root (hd0,5)
kernel /boot/vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-194.el5.img
title Windows xp english
rootnoverify (hd0,0)
chainloader +1
[root@localhost grub]#

这样windows xp和linux的系统就都装好了,接下来我会给大家讲讲,linux系统下安装windows系统,这和windows下安装linux有所不同。因为先装linux系统的话linux系统的GRUB引导会覆盖windows的引导。

=========================》DONE《===============================本文出自 “我的技术圈” 博客,请务必保留此出处http://lianwei123ok.blog.51cto.com/1318861/750622
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: