Win7下重装ubuntu双系统

一、卸载现有ubuntu系统(参考 linuxidc.com)
1、下载 MBRFix工具,放在c盘
2、
cd c:\mbrfix

执行
MBRFix /drive 0 fixmbr /yes


二、格式化现有ubuntu分区
1、控制面板-系统和安全-创建并格式化硬盘分区
选中ubuntu所在的几个主分区,并右键选择'删除卷'
于是硬盘多出了“可用空间”

三、使用easyBCD(参考 linuxidc.com)
1、依次点击:
Add New Entry --NeoGrub -- Install --Configure

2、将ubuntu镜像文件在D盘根目录,保存如下配置文件:
root (hd0,4)

kernel (hd0,4)/vmlinuz boot=casper iso-scan/filename=/ubuntu-12.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8

initrd (hd0,4)/initrd.lz

3、将ubuntu镜像文件中的vmlinuz和vmlinuz解压,也放在D盘根目录。
4、重启。

四、安装过程
1、进入ubuntu的终端,输入:
sudo umount -l /isodevice


五、磁盘划分(参考 weste.net)

1、"/" 划分至少20G
2、"/boot"划分200M
3、交换分区"swap"不大于物理内存,比如2G
4、"/home"分区尽量大些

六、安装完成,修复引导项目

1、恢复win7引导
sudo mv /etc/grub.d/30_os-prober /etc/grub.d/06_os-prober
sudo update-grub


2、进入easyBCD,删除nerogrub引导项

猜你喜欢

转载自hyj1254.iteye.com/blog/1636307
今日推荐