On Thu, Mar 25, 2010 at 10:44 AM, Ted Roby <ted.r...@gmail.com> wrote:
> > > On Thu, Mar 25, 2010 at 3:45 AM, Lars Nooden <lars.cura...@gmail.com>wrote: > >> On 3/24/10 21:02 , Pau wrote: >> >> I was also wondering whether it is possible to have openbsd on the >>> laptop as the only OS. I am guessing that the EFI could give trouble. >>> >> >> I've done that with the older macbook pros. I'm sure the openfirmware >> could be set to boot straight into OpenBSD, but would need a good OF >> reference first. If you leave it as-is, the firmware takes a long time to >> find the system. >> >> Leaving a minimal OS X partition and using rEFIt to boot 'legacy first', >> it quickly goes into openbsd as the default. If you leave off all the >> language variants and excess printer drivers, then OS X is about 20 GB. >> >> /Lars >> >> > Actually, a default install of OSX without localizations and printer > support is only 4.5 GB. > You can reduce the partition it is installed on to that, plus the size of > your memory. > So, OSX allowed me to shrink my HFS+ partition (with 4 GB ram) down to 9.5 > GB. > > I used diskutil resize to do this after install. > > > Another trick to reducing size of your OSX partition is to turn off hibernation mode. This mode keeps a file around the same size as your memory, and mirrors the contents of said memory. I've used these options in 10.4, 10.5 and 10.6.2: pmset -a hibernatemode 0 nvram "use-nvramrc?"=false <reboot> rm /var/vm/swapimage After another test reboot the swapimage file should not reappear. You can now shrink your partition with 'diskutil resizeVolume'.