<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>關於 MacBook 的兩三事</title>
<link>http://blog.roodo.com/candyz/archives/2860911.html/</link>
<description><![CDATA[話說我的 MacBook 入手也將近一個星期了 (上週六入手)
也該來寫寫心得報告才是 (我不是富奸，沒有故意要拖稿)
只是，反反覆覆安裝了幾次，加上慢慢設定調整，直到現在，才總算大部份都搞定了
所以，在連揹了將近一個星期同時帶兩台(PB+MB)上班的情況下
今天總算把 PB 丟在家裡了，只帶 MB 出門即可

目前用 MacBook 的感覺：
很快，很順，跟 Pb 比，好太多了...XD
不過，還是得列一些我對 MacBook 不滿意的地方

* LCD 顏色偏高偏白...XD (PB 用久了，看 MB 的畫面實在有點 ooxx，果然品質有差，我已經用色彩校正了，不過，還是無法達到我想要的狀況...Orz)

* 鏡面實在不好保養，常常在擦...XD

* Keyboard 實在很難接很難用，PB 的 Keyboard 按習慣了，再來按 MB 的，實在感覺不順，大大降低了我打字的速度

* MiniDVI 接頭，其它什麼都沒附，要接投影機還得選購買配備...XD (我買時，一起買了 MiniDVI to DVI，結果發現問題更多，不能這樣再用 DVI 再轉 VGA，所以，又拿去換了 MiniDVI to VGA 的線，反正現在 DVI 的投影機很少看到)


底下算是最近搞 MacBook 的筆記吧...XD

MacBook Triple-Boot

目前我在 MacBook 上同時裝了 MacOSX、FC6 及 Windows XP
(不要問我為什麼不用 Parallels Desktop or VMware Fusion 等，因為我的需求不同)

相關的連結：
http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp
http://wiki.onmac.net/index.php/How_To_Backup_your_Mac
http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp_Ubuntu
http://www.mactel-linux.org/wiki/HOWTO
http://www.mactel-linux.org/wiki/Triple_Booting
http://fedoraproject.org/wiki/FedoraOnMactel

Hardware
########
MacBook Core 2 Duo
2.0 G MHz
2G DDR2 667 RAM
120G HDD

Software
########
Boot Camp:
  http://www.apple.com/macosx/bootcamp
rEFIt:
  http://refit.sourceforge.net/#download
MacBook EFI Firmware Update: MB11.0061.B03 以上
  http://www.apple.com/support/downloads/macbookefifirmwareupdate10.html
Mac OS X Update: Mac OS X 10.4.6 or later

Issues
######
Partitions:
  GPT http://en.wikipedia.org/wiki/GUID_Partition_Table
  要使用 GPT/MBR hybird
  Inter Mac 使用 GPT | Windows 使用 MBR | Linux 可以使用 GPT or MBR
  Partiions 數量有所限制，所以不能有 Linux Swap 的 Partition (可以用 swapfile)
  Windows 的 Partition 一定要在最後一個
  Boot Camp 目前無法處理 triple-boot system

Boot:
  使用 rEFIt 當 boot loader

Drivers:
  使用 Boot Camp 產生 Windows 的 Drivers CD

Partitions:
  只能用 diskutil 手動來分割
  MBR 只支援 4 個 Primary Partition，GPT 不支援 Extened Partition

  Partition 1: EFI System Partition
  Partition 2: Mac OS X
  Partition 3: Linux
  Partition 4: Windows

安裝 Mac OS X
#############
只分割成一個大分割區
安裝 Mac OS X + iLife + iWork(trial) + Xcode Tools 2.4.1 (都包含在安裝光碟中)
軟體更新 + firmware update (if necessary)
安裝 802.11n enabler

偏好設定 (全部) + 桌面 + Finder + Safari + .Mac 同步

Login Window 的問題:
  sudo defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add root
  sudo defaults write /Library/Preferences/com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool false

若要停掉 spotlight:
mdutil -E oi off [Vol]

安裝 Boot Camp 並產生 Windows XP Driver CD

安裝 rEFIt
  在選單時可以直接按 '1', '2', '3'... 直接進第 n 個 OS
  按方向鍵選擇，'Enter' or 'Space' 確定
  按 '+' or 'F2' 可以進入子目錄
  按 'S' 進入 EFI shell
  按 'P' 進入 partitioning tool
  按 'A' About page
  按 'R' Reset

重新分割硬碟
############
不要用 Boot Camp 來分割硬碟
若已經用 Boot Camp 割了 Windows Partition，可以用 Boot Camp 回復成一個大分割區
or
gpt remove -i 3 /dev/disk0

$ diskutil list
/dev/disk0
   #:                   type name               size      identifier
   0:  GUID_partition_scheme                    *111.8 GB disk0
   1:                    EFI                    200.0 MB  disk0s1
   2:              Apple_HFS MacOS              111.5 GB  disk0s2

error -9972 的問題:
http://forum.onmac.net/archive/index.php/t-1283.html
先用安裝光碟開機，進 "磁碟工具程式" -- "修復磁碟" 後再 reboot

$ sudo diskutil resizeVolume disk0s2 91G "Linux" "Linux" 10752M "MS-DOS FAT32" "Windows" 10G

reboot

$ diskutil list
/dev/disk0
   #:                   type name               size      identifier
   0:  GUID_partition_scheme                    *111.8 GB disk0
   1:                    EFI                    200.0 MB  disk0s1
   2:              Apple_HFS MacOS              91.0 GB   disk0s2
   3:   Microsoft Basic Data                    10.5 GB   disk0s3
   4:   Microsoft Basic Data                    10.0 GB   disk0s4

###################
安裝 MacOS 應用程式
###################

系統相關設定檔案
################
# /etc
/etc/bashrc
/etc/hostconfig
/etc/hosts
/etc/inputrc
/etc/ld.so.conf
/etc/motd
/etc/named.conf and /etc/rndc.* # (Name Server 暫不使用)
/etc/postfix/* # (Mail Server 暫不使用)
/etc/printcap and /etc/cups/* # 印表機設定
/etc/profile
/etc/rc # (暫不用)
/etc/rc.common # (暫不用)
/etc/rc.conf # (暫不用)
/etc/rc.firewall # (暫不用)
/etc/rc.local # (暫不用)
/etc/resolv.conf
/etc/smb.conf # (Samba Server 暫不使用)
/etc/snmpd.conf # (SNMP 暫不使用)
/etc/ssh_config
/etc/sshd_config
/etc/sudoers
/etc/syslog.conf # (暫不用)
/etc/xinetd.conf and /etc/xinetd.d/* # (xinetd 暫不使用)

# /etc/X11
/etc/X11/xinit/.Xmodmap*
/etc/X11/xinit/i18n
/etc/X11/xinit/xinitrc

/etx/defaults/* # (暫不用)

# /etc/fonts
/etc/fonts/fonts.conf

# /etc/httpd (Web Server: apache + php + MySQL)
/etc/httpd/*
/etc/httpd/httpd.conf
/etc/httpd/svn.*
/etc/php.ini

# /var/root
.bashrc
.forward
.ssh/
.subversion/
Library/ # (暫不用)
bin/*
bin/Backup.sh
root crontab 設定

# $HOME -- /Users/candyz

# ~/Desktop

# ~/Library
~/Library/Applications Support
~/Library/Preferences
~/Library/Mail* # Mail.app + GPGMail + .Mac sync + Rules
~/Library/Printers + HP LJ 8150 Driver + 設定印表機
~/Library/iMovie
~/Library/iTunes
~/Library/openvpn # Tunnelblick + keys
/var/cron/tabs/* # Crontab

Fonts
#####
/usr/X11R6/lib/X11/fonts/misc (taipeifonts and kcfonts)

/System/Library/Fonts/*.ttf # 把會用到的 ttf 丟進去
sudo fc-cache -f

MacPorts
########
form source code:
$ ./configure && make && sudo make install
$ sudo port sync
$ sudo port selfupdate
$ sudo port install p7zip unzip unrar mc wget rxvt rxvt-unicode subversion pine mtr ncftp wireshark unix2dox dos2unix gnupg coreutils
$ sudo port install gedit gnome-terminal

coreutils 裡的程式都多加一個 g 開頭:
cd /opt/local/bin
ln -sf gmd5sum md5sum
ln -sf gsha1sum sha1sum
ln -sf /opt/local/bin/gpg /usr/local/bin/

mrxvt # 用 macports 重新編譯 or 用 fink
/usr/local/bin/mrxvt
/usr/local/bin/gmrxvt*
/usr/local/bin/gurxvt
/usr/local/bin/gnome-terminal.sh
~/.mrxvtrc*

gcin # 用 macports 編的不能用


Fink
####
Fink-0.8.1-Intel-Installer.dmg

sudo fink scanpackages; sudo fink index
sudo fink selfupdate
sudo fink update-all
sudo apt-get update
sudo apt-get install gtk+2-dev glib2-dev pkgconfig pango1-xft2-dev atk1
sudo apt-get clean

gcin + NewCJ3 # (用 fink 重新編譯後 gcin-setup 完一切正常，記得 fc-cache -f)


Mac OS X 應用程式
#################
OpenVanilla + OVIMGeneric OVIMGenericSQLite + NewCJ3
X11 (gcin + mrxvt)
Growl
Desktop
Finder
Dock
Dashboard + Widgets
Safari + Saft + SafariStand + PowerToy + Safari Enhancer
iLife
 iTunes + iPod nano sync
 iPhoto + PicasaWebAlbums # FlickrExport / iPhotoToGallery / Pixnet / hypo 未裝
 iDVD
 iMovie HD
 GarageBand # 未裝，暫不用
 iWeb # 未裝，暫不用
iWork 升級 + 中文化
 Keynote
 Pages
QuickTime Pro + WM Components + Codecs
MPlayer OSX + Codecs
VLC
DivX
Flip4Mac
Apple Remote Desktop + 更新 + 中文化
AdiumX
X-chat Aqua
Azureus
Google Notifier
iCal
iChat + Chax
iSync + W800i
iTerm
MenuCalendarClock iCal
Namely
NewsFire + 中文化
Photo Booth
FrontRow
QuickDMG
Serial Box
SlimBatteryMonitor
TranslateIt! + 字典檔
Tunnelblick + keys
VirtueDesktops
文字編輯
通訊錄
預覽程式
AppleScript 工具程式 + 把 Menu 顯示打開
工序指令編寫程式
磁碟工具程式
終端機
Firefox + AquaFirefoxSet
Skype
MS Office 2004 (Upgrade + 中文化)
Microsoft AutoUpdate
Remote Desktop Connection
字體簿 (停用新細明體等)
Adobe Reader
Adobe Acrobat Pro
Adobe Photoshop Elements 4 + Noiseware
Flickr Uploadr
NuFile
Logitech Control Center
Mail + GPGMail # MailEnhancer (only for PPC)，httpmail 暫不用
ohphoneX
Vim # macports 裝的用起來有問題
coconutBattery
OnyX
OSXPM
TinkerTool
unpkg
Yasu
Youpi Optimizer
Lotus Notes
xchm
Comic Life
AlienBBS
Bluetooth Remote Control # (ppc only)
ThemesCreater # (ppc only)
CleanUp&Eject
Gmail HD
flvThing
flv_viewer
RealPlayer
EyeTV
FreeMind # (ppc only)
smcFanControl2

# 等用到再裝
Parallels Desktop
VMware Fusion

Services
########
Apache + php + MySQL + wordpress + mt
php.ini -- mysql socket 的問題
/Library/WebServer/*


安裝 Windows
############
放入 Windows 安裝光碟後 reboot
按 C 用光碟開機進行安裝
安裝完後，安裝 Machintosh Drivers for Windows XP
控制台相關的設定
Windows Update
安裝 AntiVir


安裝 Linux
##########
http://www.mactel-linux.org/
http://www.osxbook.com/

放入 Linux 安裝光碟後 reboot
按 C 用光碟開機進行安裝
安裝 Fedora Core 6 x86 version
]]>
	</description>
<language>zh-tw</language>
<generator>Roodo Blog System</generator>
<copyright>All Rights Reserved</copyright>
<atom:link href="http://blog.roodo.com/candyz/archives/2860911-comment.xml" rel="self" type="application/rss+xml" />
<item>
	<title>回應：關於 MacBook 的兩三事</title>
	<description><![CDATA[Is rEFIt compatible with Mac OS X 10.5.6?]]>
	</description>
	<link>http://blog.roodo.com/candyz/archives/2860911.html</link>
	<guid>http://blog.roodo.com/candyz/archives/2860911.html#comment-18854607</guid>
		<category>文章回應</category>
	<pubDate>Wed, 01 Apr 2009 21:47:45 +0800</pubDate>
</item>
</channel>
</rss>