Entries : Category [ macosx ]
[OpenBSD]  [Random]  [Security]  [Hardware]  [MacPPC]  [SPARC]  [MobileCows]  [fedora]  [desktop]  [windows]  [macosx]  [redhat] 

29 October

resizing partitions in os x

so bootcamp is no longer available from the apple.com as it's now been integrated with leopard but i needed to resize a macbook drive so i could install windows.
i searched around and found out that diskutil now does this and it seems that's how bootcamp does the resizing. here's how:

root# diskutil resizeVolume disk0s2 86000M "MS-DOS FAT32" "Windows" 25000M
Started resizing on disk disk0s2 Macbook
Resizing Volume
99% ..Adjusting Partitions

Finished resizing on disk disk0s2 Macbook
You will need to manually reformat your new partitions.
WARNING: You must now reboot!

this will resize the current partition to 86GB (no need to mention the filesystem cause you can't change that), then specify that you want a 25GB FAT32 volume labeled Windows.
before this it spit this error 9972 and couldn't resize. i had to run disk utility on the disk but it couldn't repair neither. so i had to boot in single user, repair the filesystem and then back to the system where i run the above command. i tried running it on single user but it just stood there doing nothing, no output whatsoever.

Posted by rgouveia at 13:33 | Comments (1) | Trackbacks (0)
20 December

Q (as in "qemu for running OpenBSD on Mac OS X")

For those too lazy to dual boot

Q emulation window on Mac OS X

For those too lazy to dual boot OpenBSD on their Intel Mac hardware, I found another solution to run OpenBSD in emulation: Q (as in "qemu on Mac OS X") will boot OpenBSD just fine. Previously I had tried VirtualBox, which shows problems in disk access from OpenBSD as guest OS. Since Q is another open source alternative, there's no need to spend large amounts of playmoney for this software, and you can still go and test your favorite ports to make wiwi happy!

Speed seemed reasonable. I didn't do anything heavy yet - actually I didn't do much at all - but there did not seem to be any of the slight lag you sometimes get with emulation / virtual machines.

I didn't have to do anything special to get Q to run OpenBSD. Booted from the 4.2 installer CD disk image (leeched off wiwi's mirror, ofcoz). After playing around a bit with xorgconfig I got X to work almost reasonably. I say "almost", because it does not want to give me the macbook's native resolution of 1280x800, so fullscreen mode looks warped. I haven't completely figured out what I can and can't do with networking either. We'll see.

Oh, yeah, here is a dmesg too, scp'ed directly from the virtual machine.

Posted by betabug at 11:06 | Comments (1) | Trackbacks (0)