« Some tips of making Ferrari 4000 laptop work with Ubuntu | Main | Tips of QTerm on Mac OS X »

November 24, 2006

Installing Solaris (snv_53) on MacBook Pro under Parallels

First, I'm using Parallels build 1970 on my new MacBook Pro (Core 2 Duo 2.33GHz).
Here're some tips about the installation. (Most of them are from http://www.inf.furb.br/~javito/?p=39 , thanks!)
1) You need to add atapi-cd-dma-enabled=0 to grub kernel command.
For installation DVD, press 'e' to edit it, make it looks like
kernel … -B install_media=cdrom,atapi-cd-dma-enabled=0
Press enter and then b to boot.

After installation, you also need to edit the grub command, add
-B atapi-cd-dma-enabled=0
After that, you should edit /etc/boot/menu.lst for default and safemode boot menu ASAP.
It's really hard to spell atapi-cd-dma-enabled correctly, and it won't warn you if you misspelled, you just can't boot and get a lot of errors.

2) Use text mode install, option 4. Otherwise, you may have trouble to click some where, the screen is 1600x1200, too big for MacBook Pro's 1440x900.

3) To fix the screen resolution, you can run /usr/X11/bin/xorgconfig
Select PS2 mouse, 101 keyboard, answer 'n' for additional XKB options, choose 'Non-interlaced SVGA 1024x768', '50-90 vertical sync rate', answer 'y' for you'd like to look at the card database, choose 'Generic VESA', choose '4096K' for video memory, choose '4' for the modes are OK, choose '16bits', say 'y' to write to /etc/X11/xorg.conf
Now press ctrl+alt+delete to restart X.
You should get a reasonable resolution now.
If you like native 1440x900, you can hack /etc/X11/xorg.conf by yourself.
These numbers work for me.
Moniter section:
HorizSync 31.5 - 100
VertRefresh 59.0 - 75.0
Modeline "1440x900_60.0" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync

Screen section:
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1440x900"
ViewPort 0 0
EndSubsection

UPDATE: You can just rename /etc/X11/.xorg.conf to /etc/X11/xorg.conf and add these lines, you don't need to run xorgconfig, and middle button and scroll ball of your mouse will be fine.

4) Install network adapter driver
In Parallels menu, Devices-CD/DVD-ROM1-Connect Image, choose /Library/Parallels/Tools/vmtools.iso
If nautilus ask you audio or data, choose data.
Run network.sh on the CD somewhere.
Choose dhcp and reboot.

5) Install sound driver
Go to http://www.tools.de/solaris/audio/
Download the x86 driver.
pkgadd -d audio-1.8-i86pc.pkg
Choose the framework first, and run pkgadd again to install audioi810.
Reboot, everything should be fine now.

UPDATE: You may not need to add atapi-cd-dma-enabled=0 for newer Solaris and newer Parallels Desktop.


Technorati Tags: , ,

Posted by ginn at November 24, 2006 1:30 PM

Trackback Pings

TrackBack URL for this entry:
http://www.chenqi.org/mt/mt-tb.cgi/124

Comments

Post a comment




Remember Me?