Shrinking MAC OS partition
Is almost impossible. Some people reported that DiskUtility hanged up in the middle of the process. For me, I ended up reformat the entire disk, and then re-install MAC OS on a small newly created partition (29GB), and left the rest as "FREE SPACE".
Is perhaps the simplest task among all. rEFIt can be downloaded from:
Run the installer, and then reboot twice to be able to see the changes.
Creating bootable USB disk
- Download Debian installation disk image from: http://www.debian.org/devel/debian-installer/
- Convert iso to img by using: hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso
- Insert an empty USB drive (will be formatted)
- Run diskutil list to find out device node: e.g. /dev/disk2
- Unmount USB: diskutil unmountDisk /dev/disk2
- Write the bootable drive: sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
- also work on SD card
- need to use the full CD installation, because to get macbook's wireless card to work with linux it will need extra effort which can be done later. If you use the network installer CD image, you will end up getting a merely CLI debian.
- Insert USB or SD card, reboot and choose to boot from USB.
- Install as usual.
- Run rEFIt's partition manager on the boot screen.
- Choose to boot from Linux.
- And voila you'll got a Debian with no Internet connection because wifi is not working.
Hopefully I can later successfully install wifi driver for Broadcam BCM4322.
Some useful readings: