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

Windows
列举不升级到Windows 7的7个理由
说说Windows7破解版的个人观点
提升Windows7开机速度技巧1则
提升我们工作效率的几个Windows7新功能
使用Windows 7备份Ghost注意事项
QQ主面板的自动隐藏与Windows7窗口最大化
Windows 7禁用自动弹出光盘功能
Win7系统删除文件的一个小Bug
Windows7中的Firewall设置策略
Win7/vista系统关闭UAC操作步骤
减少Windows7中的Aero Peek的延迟现象
Windows7显示桌面方法汇总
Windows 7比Vista更省电
局域网打印机ARP病毒解决实例
雪豹操作系统和Windows7最新功能横向评测
Windows7开始菜单设置技巧1例
使用Commands In Demand,Windows命令再也不用记了
Windows7时尚的系统桌面设置
Windows7在电源管理方面9个重要的改进
Vista和Windows7无线连接过程对比

轻松配置Windows7/Ubuntu9双系统


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-20   浏览: 86 ::
收藏到网摘: 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