当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 9 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]如何在MACBOOK上安装Ubuntu8.04
帖子发表于 : 2008-06-01 22:08 

注册: 2008-06-01 22:03
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
如题,本人用的是MACBOOK,目前系统是LEOPARD 10.5.3,另外用BOOTCAMP装了WINDOWS XP,之前没接触过LINUX,想问下各位如何可以在MACBOOK上安装Ubuntu8.04。请各位达人指点。
本人现手上有从荷兰寄来的8.04安装盘。


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-06-01 23:02 
头像

注册: 2007-07-22 10:40
帖子: 142
送出感谢: 0 次
接收感谢: 1
虚拟机。
看看有没有leopard下的虚拟机


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-06-02 0:13 
头像

注册: 2007-05-06 2:46
帖子: 15634
送出感谢: 0 次
接收感谢: 2
:cry:

不知道BOOTCAMP行不行

就怕搞不定 EFI 引导

蹉跎至今


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-06-02 0:23 

注册: 2008-06-01 22:03
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
已经用VMWARE安装过了,但是虚拟机毕竟性能太差,跑起来相当慢,所以想有没有其它办法?


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-06-02 9:33 

注册: 2008-05-03 23:42
帖子: 3681
送出感谢: 4
接收感谢: 6
我去年在 forum.onmac.net 上写过一篇置顶帖 Quad-Boot: MacOS/Vista/XP/Linux 据我所知应该是第一次在 intel mac 上没有瑕疵地实现 quad-boot
可惜 forum.onmac.net 站点死了几个月了,不知道为什么。以前google里还找得到的时候我留了一份 google cache 在我的硬盘里。现在 google 里也查不到了。
把我保存的 google cache 摘抄一段帖在这里吧。这是最终形成的方案。各位想在mac上multi boot的朋友可以参考。稍微修改一下就可以做 triple boot.


引用:
Old 17th August 2007, 04:12 PM
billbear billbear is offline
Should be dual-booting by now.

Join Date: Aug 2007
Posts: 36
Default
Now i have a better understanding of how XP installer determines which partition to be "C:". "C:" is the active windows partition. If there is no partition marked as active, it calls the first windows partition "C:" and flag it as "active". So, i have made some improvements. Don't need Winclone now.(Thus you can choose to format XP partition as FAT) Just flag XP partition as "active" in Vista before installing XP. I have never expect that doing a quad booting is so EASY once you find the right place for each OS and the right sequence of installing. I rewrote the HOW-TO:


1> Prepare your Boot Camp driver CD. Backup your files.
edit: Update your firmware, so that your keyboard will work in the legacy bootloaders.

2> Boot from your Tiger install DVD, from the Utilities manu, choose Disk Utility. Under Volume Scheme, choose 6 partitions. Specify a name and format for each partition as below:

0 EFI protected (which is invisible under Disk Utility)
1 Name:Vista Format: MS-DOS File System
2 Name:FAT Format: MS-DOS File System
3 Name:XP Format: MS-DOS File System
4 Name:OSX Format: Mac OS Extended(Journaled)
5 Name:HFS Format: Mac OS Extended(Journaled)
6 Format: Free Space (2 Linux partitions will be created here later)

Click Partition. (Now all your data are destroyed)

3> Close Disk Utility. Install OS X to volume "OSX". After reboot into OS X, download rEFIt from refit.sourceforge.net ,install it to volume "OSX".
edit: Not installing rEFIt is also ok. You can use grub to boot vista, xp, and ubuntu because built-in keyboard issue has been resolved by updating firmware.

4> Insert Vista install DVD and reboot from it. Install Vista onto partition 2 named "Vista". You must format it as NTFS at this point.

5> Under Vista, click the Start button, click Control Panel, click System and Maintenance, click Administrative Tools, and then double-click Computer Management.? In the Navigation pane, under Storage, click Disk Management. Right-click the XP partition, and then click Mark Partition as Active.

edit: There is also a command "fdisk" in MacOS Terminal that handles an MBR-partitioned disk. So for those who don't want to install vista and still want to have more than one partition under XP, do this before installing XP:
open a terminal under MacOS
sudo fdisk -e /dev/rdisk0
enter password and ignore the message "fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory"
type p to print MBR partition table
f 4 to flag partition 4 active
type q to save and quit


6> Insert XP install CD, reboot from it. You may need a USB keyboard at the prompt "Press any key to boot from CD" or you can power of and on and try your luck until the built-in keyboard functions. (Hitting keys immediately after rEFIt selection often works, and sometimes a USB mouse activates the built-in keyboard) If you boot Vista by mistake, you must repeat step 5. (rEFIt will flag Vista as active if you select it)
edit: Built-in keyboard now has no problem as we updated the firmware.

7> You will see the Vista partition marked "D:" and XP partition "C:". Now install XP to "C:". You must format it now or XP will not boot. At reboot, select the 2nd windows logo "boot from partition 4" to continue install. Installation finishes and you have a triple boot Mac.

8> Insert ubuntu install live CD,(i use ubuntu 7.04 64bit) reboot from it. Launch install from desktop.
edit: We can install ubuntu without burning CD:
Install VMware on XP. Create a VM that uses the whole physical disk. Use iso image as cd.
Boot VM, press F2 inside the VM to change bios settings. Make CD the first boot device. Install ubuntu.
(It's DANGEROUS if you fail to press F2 fast enough. It is bad that F2 can be fn-F2 in bootcamp driver's default settings. XP on the real hard disk will boot in the VM while this same XP is running in the real machine. Then VM dies. Reboot the real machine and the real XP corrupts. So, the safe way is to first create a vm without a hard disk, boot it and set the bios to first boot CD, then add the physical disk)
Shut down VM. Reboot the real machine. At the GRUB menu, select recovery mode. Type:
sudo dpkg-reconfigure xserver-xorg
Accept all the default settings.
Reboot.

At step 3, choose your keyboard layout as Macintosh.
At step 4, choose to manually partition the disk:
create a / partition and a swap partition at the end of the disk.(Swap must be larger than memory to be able to "hibernate". And one megabyte here is 1000*1000 bytes, not 1024*1024)
(Optional) You may notice there is a 134M free space(in fact 128M, 134=128*1.024*1.024) between /dev/sda5 and /dev/sda6, believe me, it's of no use. I create a 9th partition here for /boot to reclaim the space.
At step 7, before you go ahead with the install, click "advanced", and tell ubuntu to install GRUB to (hd0,2), the FAT partition. (Yes, this is the right place. Installing GRUB into the MBR will let GRUB manage the windows booting, you will have to go through 2 boot manager to boot windows or linux, which is not what we want. Besides MBR, it seems GRUB can only be installed into among the first 4 partitions to be bootable, and the FAT partition right now doesn't contain a boot code so it's safe to have GRUB live there)
Proceed with the install. Reboot and you will see 4 OSes from rEFIt menu.
edit: If you don't want to use rEFIt, ( I am a little bit uncomfortable that rEFIt creates a directory at the root of my OS X ) install GRUB into the MBR. Hold "option" key upon boot to select "windows", then use GRUB menu to boot ubuntu, vista, or xp.

9> Almost done! Now install hardware drivers in each OS.
edit: To make airport work under ubuntu you must install the madwifi driver.
To write to NTFS partitions under OS X, try Paragon's NTFS for Mac OS X 6.0: www.paragon-software.com/home/ntfs-mac
Last edited by billbear : 12th March 2008 at 04:20 PM.



页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2008-06-02 10:02 

注册: 2008-05-03 23:42
帖子: 3681
送出感谢: 4
接收感谢: 6
写那篇东西的时候用的是7.04
8.04有一个问题,在GPT表存在的时候可能会抹掉MBR表,造成windows和ubuntu都不能启动,解决办法参考如下
http://ubuntuforums.org/showthread.php?t=766172
http://ubuntuforums.org/showthread.php?t=767677


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2008-06-02 10:18 
头像

注册: 2005-09-27 18:24
帖子: 498
地址: 杭州
送出感谢: 0 次
接收感谢: 0 次
debian吧


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2008-06-02 10:19 
头像

注册: 2007-11-21 21:30
帖子: 182
地址: shanghai
送出感谢: 0 次
接收感谢: 1
真的很复杂啊,不过还是会有高手的出现。


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2008-06-02 10:53 

注册: 2008-05-03 23:42
帖子: 3681
送出感谢: 4
接收感谢: 6
背景:主要烦恼来自GPT/MBR
苹果用GPT分区表,可以有128个主分区。没有扩展分区、逻辑分区的概念。
windows用MBR分区表,只能有4个主分区。用扩展分区、逻辑分区来弥补分区的不足。
linux可以使用MBR,也可以使用GPT。但是grub必须有一个MBR分区表,就是说它只能装在MBR或者前四个主分区里。

为了照顾windows,苹果可以把磁盘做成GPT/MBR的混合体,只要磁盘里存在FAT/NTFS,磁盘就里有两个分区表。MBR表是GPT表的一个子集--GPT里的前四个分区。不能有扩展分区/逻辑分区。而GPT的第一个分区被留给了EFI,不能动,就是说windows只能看到三个分区。我们把这三个分区都留给windows,而把OSX和linux放在第五个分区之后。
由于XP的毛病,XP只能被装在MBR表里第一个主分区或者最后一个主分区里,第一个主分区已经被EFI占据,XP只能装在MBR表最后一个主分区里,在三启动的情形下,就是第四个分区。
所以从你的二启动变成三启动有点麻烦:你要在原来的OSX和XP之间做出一个分区来装linux,而且没有地方给你放swap了,因为你没有办法在XP的分区后面再划出分区来--OSX不支持调整XP分区的大小,而在XP或linux里调整分区是不行的--只有OSX的磁盘工具才会同时处理好GPT/MBR。没有swap还没关系,但是装了ubuntu以后你的XP由分区3变成了分区4,你得改boot.ini的写法否则XP就不能启动。
最好是全部重装,在一开始就用OSX的磁盘工具规划好分区,以后就不要再改动了。记住:永远只在OS X里做改变磁盘分区结构的操作。否则GPT/MBR的不同步将会使你发疯。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 9 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译