当前位置: 首页 > 图文教程 > 操作系统 > Windows > 轻松配置Windows7/Ubuntu9双系统

Windows
Windows 7兼容中心即将上线
微软展示Windows 7:原生支持转码加速功能
Computex 2009大会 - Windows 7发售日期公布
Windows 7 RC发布导致Vista市场份额增速减缓
Windows 7 Build 7201 再次遭到泄露
Win 7家长控制功能规范员工电脑使用
巧妙使用Windows 7中空白鍵
微软 - Windows7将无法在搭载ARM处理器的上网本上运行
Windows Server 2008 R2新特性:活动目录回收站
微软确认:澳大利亚和新西兰是Windows 7首发地区
教你在Windows 7和XP之间共享文件
针对Windows 7 - 微软为旗下硬件开发新软件
微软商店确认Windows 7包装设计图
Windows Vista/7中关机、睡眠和休眠有什么区别?
XP用户观念根深蒂固 - 说服其升级到Windows 7困难重重
Windows 7 RTM Touch Pack - 触摸软件包泄露
Windows 7和多点触摸当道ComputeX 2009大会
一体成形电脑 - Omnia iPC S20 AiO
给Windows 7装上Vista的Windows Mail
Windows 7铃声试听下载

轻松配置Windows7/Ubuntu9双系统


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-20   浏览: 67 ::
收藏到网摘: n/a

    今天我们介绍Windows 7下不用虚拟光驱安装Ubuntu 9.04桌面版的方法,具体来说就是先安装Windows 7,然后是Ubuntu 9.04,然后修改grub增加Windows启动项。

    一、安装Windows 7

    二、安装Ubuntu 9.04

    1.复制Ubuntu 9.04光盘镜像文件到C盘根目录

    2.复制镜像文件中casper目录下的initrd.gz和vmlinuz到C盘根目录

    3.下载grub4dos,解压其中的grldr、grldr.mbr、grub.exe(注意一定要有grldr.mbr,XP就不用了,如果是vista、win7就一定要有grldr.mbr,切记!)到C盘根目录。

    4.新建memu.lst文件内容如下:

title  Install Ubuntu 9.04
root (hd0,0)
kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/Ubuntu-9.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd /initrd.gz
boot

    5.复制xp系统里的boot.ini到C盘根目录,在最后一行加上c:\grldr.mbr="grub"(注意是grldr.mbr)如果身边没有xp系统那我就吧boot.ini的代码贴出来供大家使用了,代码如下:

[boot loader]
timeout=30
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
c:\grldr.mbr="grub"

    6.至此准备工作完成,重启机器,在选择菜单选择grub,就会自动进入Ubuntu的live cd桌面环境,接下来的一步也很重要啊,打开终端(应用程序-附件-终端)输入如下代码:

sudo umount -l /isodevice

    然后双击桌面上的安装图标,进入安装界面后,在选择分区时,选择要安装Ubuntu的分区,将其分区格式设为ext3,挂载点选择”/”,安装过程中若出现不能卸载/isodevice错误,打开Terminal,输入

sudo unmount –l /isodevice

    7.修改grub添加windows启动菜单

    安装完重启后会发现无法进入Windows 7,需要我们进行如下步骤:

    Ubuntu,打开终端,输入:sudo gedit /boot/grub/menu.lst

    加入如下代码:

title Windows  Seven
root (hd0,0)
makeactive
chainloader +1