Mk

Syndicate content
Updated: 21 hours 55 min ago

Hardy Heron?

7. May 2008 - 20:36
York Carnival

ไปเที่ยว York มา เค้ามีจัด York Carnival พอดี
ระหว่างดูขบวนเดินผ่าน เราก็เจอกับ Hardy Heron
รูปอื่นๆ

Categories: Planet

VirtualBox on Mac

1. April 2008 - 16:30

I just realize that dual booting Ubuntu on my MacBook Air is huge barrier for me to use it. I’m always too lazy to wait the painful shutdown/reboot process. Then, I need to consider the alternative option, yes, Virtualization.

I have seen some of my colleagues using Windows on their cute Apple laptops via Parallels and VMWare Fusion. Definitely, all that copies are pirate and I don’t want to follow their path. After finding information around, I found that there is also a good free (as free speech) one, VirtualBox.

Ubuntu on Virtualbox Mac

Although VirtualBox web site states that Mac version is still beta and lacks some features as in Windows/Linux version, my test concludes that it’s enough for normal usage.

The setup process is straightforward if you’ve ever used some VM technologies (for me, it’s VMWare Server a while ago). Just download VirtualBox disk image, install it as normal Mac application, create a VM image and setup new OS as if it’s native one. This article from Mac2Windows gives very detailed, step-by-step, howto for beginner.

I have little problem with video resolution. It’s limited to 800x600 and installing guest additional driver doesn’t show more options in preference. Fortunately, Ubuntuforums tends to have every answers for your every question. Just adding one line in /etc/X11/xorg.conf can fix it.

Running another OS in virtualized mode is inferior in term of performance and cause some input confusions. Anyway, it’s lower the barrier of booting process. I hope I can review Ubuntu 8.04 final by this method.

Categories: Planet

Ubuntu on MacBook Air

3. March 2008 - 22:08

Finally I can make it, Ubuntu on MacBook Air with Wi-Fi enable. Since Ubuntu can not detect Wi-Fi out of the box and MacBook Air has no ethernet port. The process is quite tricky.

Follow these steps if you want to install Ubuntu on MacBook Air. Important Information

  • I use MacBook Air 1.6GHz with Apple External Superdrive (need to purchase separately)
  • I install Ubuntu 8.04 Hardy Heron Alpha 4 (Desktop)
  • The good resources are on Ubuntu Wiki: How to install Ubuntu on MacBook and MacBook Santa Rosa. Some methods can be used with MacBook Air

Installation Steps

  1. Prepare you partition by using BootCamp (it’s in Application/Utilities). I allocate 5GB for Ubuntu partition.
  2. Download Ubuntu CD image and burn into actual CD. Disk Utility can do this job.
  3. Insert CD to external drive, make sure you connect the power cable to MacBook Air. Then, reboot
  4. Hold down ‘C’ button at the black screen to boot from CD.
  5. Follow usual Ubuntu installation step. In keyboard selection screen, choose “macintosh”.
  6. In partitioning screen, choose ‘manually edit partition table’.
  7. Delete the 5GB partition just created from BootCamp. Then create the ext3 partition at the same size. Mount it as ‘/’.
  8. Complete the installation process. Then reboot.
  9. Let boot back into the OS X environment which you can access the internet via Wi-Fi. Open up the web browser and download these packages (i386 architecture):

  10. Put all files into ‘Public’ directory in your home directory.

  11. Insert Mac OS X Leopard DVD disc 1 (included with MacBook Air) into the external drive.
  12. Reboot again.
  13. At the black screen, hold down ‘Alt’ button until the BootCamp screen shows up.
  14. Select ‘Windows’ partition and click the arrow to confirm.
  15. Ubuntu should boot and show up. At login screen, enter username and password.
  16. You should see the CD icon on the desktop. Double click on it, go through ‘BootCamp’ and ‘Driver’ directory. Copy the directory named ‘Broadcom’ to the desktop.
  17. Go to menu ‘Places’ and ‘Computer’, select the ‘Macintosh HD’ from the sidebar. Enter your password for superuser priviledge.
  18. The ‘Macintosh HD’ should be mounted. Go to ‘Users’, your username and then ‘Public’. You will see 3 packages you downloaded from the web.
  19. Double click ‘ndiswrapper-common’, install the package. Then follow by ‘ndiswrapper-utils-1.9’ and ‘unrar’.
  20. Now everything is ready for Wi-Fi installation. Open the Terminal from ‘Applications’, ‘Accessories’
  21. Go to the ‘Broadcom’ folder and run this command: __unrar x broadcomxpinstaller.exe’
  22. then run this command: sudo ndiswrapper -i bcmwl5.inf
  23. follow with sudo ndiswrapper -m and sudo modprobe ndiswrapper
  24. Now the driver is installed, next is to load it everytime on boot process. Run this command sudo gedit /etc/modules
  25. Add ndiswrapper to the last line.
  26. Reboot. Hold ‘Alt’ to boot Ubuntu.
  27. After login, Wi-Fi indicator should show up on the top-right corner of the screen. Enjoy your Ubuntu session on MacBook Air!

Note

I haven’t tried to config other MacBook Air hardware yet. If you have some problems or want to share any howto, this MacBook Air thread at Ubuntu Forums is the best place.

Categories: Planet