Macbook安装Mac OS X, Windows7, Ubuntu三系统

来源:互联网 发布:欧盟医疗器械数据库 编辑:程序博客网 时间:2024/05/22 06:06

http://leadfast.blog.163.com/blog/static/168557227201111411481130/

http://forum.ubuntu.org.cn/viewtopic.php?f=77&t=261921


由于Macbook用的是EFI系统和GUID-MBR联合分区表,普通PC上的基于Grub的多系统共存方案都不适用。根据本人反复试验,重装几十次的代价,总结出如下方法可以实现Macbook上的多系统共存。

1、机器里一定要有Mac系统。如果没有,先用随机系统盘装上。

2、进入Mac系统,安装rEFIt,一个基于EFI模式的引导软件。

3、用磁盘工具划分出空闲空间用来装Win7,用Bootcamp亦可。注意此时要保证硬盘里总共只有3个分区:EFI隐藏分区、Snow Leopard分区和Win7分区。给Ubuntu用的分区这个时候还不能先分出来,否则后面会发生某个系统不能引导的情况。

4、可以用Win7安装盘对Win7分区进行格式化。Win7安装完成后,回到Snow Leopard下再一次从Mac分区后面划分出空闲空间,利用Paragon ext等第三方驱动,在磁盘工具里把这个空闲空间格式化成Ext2。注意此处必须在Snow Leopard下格式化Ubuntu用的分区,如果用Ubuntu Live CD格式化,会破坏分区表,导致Snow Leopard无法引导。

5、从Ubuntu Live CD启动,进入试用模式,打开终端用 tune2fs -O extents,uninit_bg,dir_index /dev/sd3 把刚才格式化成Ext2的sda3分区转化成ext4。再用e2fsck /dev/sda3检查磁盘。

6、安装Ubuntu,注意千万不要在安装过程中格式化sda3,只把它挂载成/即可。

7、安装完毕后,重启,就会看见rEFIt的启动选项里有三个系统了。大功告成。


[注意]
第4步,可以下载Paragon ex的试用版。在启动格式化后,卡在了30%左右,刚好我下班了,就没管它让它一直挂着。早上来一看,居然完成了!只是格式化时指定的是ext2格式,实际结果是ext3.
第6步: 千万别把grub 装到 /dev/sda, 你应该把它装到/dev/sda3, 否则, rEFLt 界面点击windows will loading grub

如果你不幸把grub装到了/dev/sda, 以下是补救方法:

hey thanks, that was pretty much the solve.
i ended up totally deleting grub from inside my ubuntu partition, then booting to the 10.04 live cd, mounting my /dev/sda4 and messing with it until i convinced grub to reinstall under that partition only
then i booted to the windows 7 cd , letting it find ONLY my windows partition on it's own, and at the command prompt typing
Code:
X:\BootRec.exe /FixMbr
(Don't forget the space before the /)
and it told Windows not to look for grub, and replaced the windows bootloader.
Now everything works great!


[fiannly workabe solution]
X:\BootRec.exe /FixMbr

Then reinstall ubuntu

http://www.ugopiemontese.eu/2012/11/02/ubuntu-12-10-on-macbook-pro-81/




原创粉丝点击