I've got another MacBook Pro with Intel 2GHz Core 2 Duo CPU. It's
installed with Mac OS X 10.4, but shipped with a Leopard installation
DVD. Having heard so much about Leopard (good and bad), the first thing
I did is upgrading.
Next thing is to install Solaris Developer Release 1/08 on MacBook. The
installation failed two times, and succeeded at the third time. It cost
me almost 4 hours. Below is a summary of the installation.
Step one, re-partition the hard disk. Bootcamp 2.0 has already been included in Leopard. Ran
Finder->Applications->Utilities->Boot Camp Assistant
to create a Windows partition. Changing the partition size by dragging
the bar between two areas. Or alternatively, command line tool
diskutil can also be used to shrink the HFS+ partition. Given a 150G hard disk, run below commands in a termal.
$ sudo -i
# diskutil resizeVolume disk0s2 100G "MS-DOS FAT32" 48G
Step two, change EFI partition's ID to something that Solaris doesn't
understand. I did it in running Leopard. For safety, you may restart
and boot from the OSX installation CD. When the installer starts, run
terminal from tool menu. Umount the disk
# umount /dev/disk0
Change EFI partition's ID.
# fdisk -e /dev/rdisk0
setpid 1
AF
write
quite
Step three, install rEFlt show GUI boot menu. Download rEFlt form
here.
Step four, change Windows partition to Solaris2 partition. Insert
Solaris Express install CD. Reboot and hold on "C" key to boot from CD.
Select "
Solaris Express" from grub menu. On the next screen, Choose "
4. .Solaris Interactive Text (Console session)". Continue with the installation until you see screen titled with "
Solaris Interactive Installation". press F5 to exit installation. Then you'll be dropped to a terminal. Run
format to re-create a Solaris2 partition.
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1d0 <DEFAULT ... >
...
Specify disk (enter its number): 0
format> fdisk
# Delete the third Windows partition and create a Solaris2 partition
# Enter 5 to save and exit fdisk
format> quit
Step five, run
install-solaris on the terminal to restart the installation. Almost at the end, the installation will fail. It's an unknown bug
6413235. Exit the installation program to enter a terminal. Do workaround for
6413235.
# mount -o remount,rw /
# cd /sbin
# mv fdisk fdisk.real
# cat >fdisk
#!/bin/sh
echo "$*" | grep -- "-F" > /dev/null
if [ $? = 1 ] ; then
/sbin/fdisk.real $*
fi
CTRL-D
# chmod +x fdisk
Restart the installation by running
install-solaris. Now you can finish the installation successfully.
Restart the Mac, now you'll see Solaris from the rEFlt boot menu, which is shown as a Linux penguin icon.
For how to make wired and wireless LAN work, please refer to
my previous blog.
Hey, this entry is useful as well as your past ones. BTW, why don't you add the translation tool? I can feel what you write with Chinese characters although I can't pronounce them. :-)
谢谢
发表于 shita 在 2007年12月29日, 04:30 下午 CST #
Have you thought about trying it with Parallels instead of Boot Camp? The nice thing is you'd save lots of disk because the Parallels image files grow as needed - and they are just regular native files in your Mac OSX filesystem. This also means you can take snapshots and rollback if needed, but then you've got ZFS for that :-) I got Ubuntu 7.1 running on Parallels and it's very nice. Next I'll be trying Vista for my legacy apps. I'm using www.joyent.com to learn Solaris - their Accelerators (zones) are very reasonably priced.
发表于 Kevin Hutchinson 在 2007年12月29日, 06:46 下午 CST #
陈小姐,您好!
我的一个好朋友给我您博客的介绍,因为他找到了您的一篇文章,但,看不懂写上的字词。虽然我非常喜欢看对我兴趣的关于电脑和技术的网页,我们大部分的印度人看不懂汉字,于是请您通过英文翻译给他们机会自己看懂您精彩的文章。
此外,在您的博客,我找不到关于作者的网页。请给您的读者们关于您的一些信息。
谢谢,
-闵士睿
(如果我写错了一些字和词,很抱歉。我只学了一年的中文。)
发表于 Karan Misra 在 2007年12月30日, 01:50 上午 CST #
To shita:
Thanks for your suggestion. I'll add the tool. Although I'm not sure how well it will be translated. I've tried some outside translation tools. The translated English is almost un-readable.
发表于 Judy Chen 在 2007年12月30日, 10:19 下午 CST #
To Kevin Hutchinson:
Thanks for your comments. I knew about Parallels. I dual-installed Solaris so that I can play with Xen which performs the same functionality as Parallels. Next I'll try with Ubuntu and perhaps Windows with Solaris Xen.
发表于 Judy Chen 在 2007年12月30日, 10:24 下午 CST #
To 闵士睿:
Your Chinese is really great! And thanks for your comments. I'll try to add translation tool to my blog later.
发表于 Judy Chen 在 2007年12月30日, 10:28 下午 CST #