Windows 10 on a Mac Pro 2013

The Mac Pro 2013 is the most powerful machine I have at home. I love the hardware looks, its small form factor and its quietness, plus it is still fast enough for my needs. As I realized I hadn’t used macOS for months and I needed to recover the SSD space that this system was using, I’ve done the unthinkable: I have installed Windows 10 as the only OS on this machine. Here is all you need to know to make Windows 10 work well on this hardware, no matter if you choose to use Boot Camp or do a full clean install as I did.

March 1, 2022 · Tags: lab-notes, mac, windows
Continue reading (about 13 minutes)

Putting a PowerMac G5 to good use

A few months ago I bought an old PowerMac G5 off of Craigslist and since then I have been experimenting with various operating systems and configurations. Before I tell you more about these, let me briefly explain why I got such a machine.

Power Mac G5 open case

I had always wanted one of these beasts. They look gorgeous (to me) and, to convince myself to get it, I thought that I would play with the PPC64 architecture. How? By getting NetBSD to run properly on these machines while learning enough to iron out the few rough edges that I thought were left. Unfortunately, that story didn’t go well (more below), so I ended up experimenting with various other operating systems.

July 15, 2013 · Tags: featured, mac, powerpc, review
Continue reading (about 6 minutes)

Installing FreeBSD with a ZFS root on a PowerMac G5

Suppose you have a nice PowerMac G5 big beast around and want to install a modern operating system on it. Suppose that you want FreeBSD to run on it. Suppose that you would like to use ZFS as much as possible, say to use the machine as a NAS.

If all of the above apply to you, you have come to the right place! Read on for how I got FreeBSD 10.0-CURRENT with a ZFS root to work on a PowerMac G5. I am pretty sure the instructions here apply to other PowerPC-based machines as well, although the specific details on how to set up the boot loader most likely differ.

July 11, 2013 · Tags: freebsd, mac, powerpc, zfs
Continue reading (about 4 minutes)

Setting up my old Mac Mini G4 as a development machine

I’ve spent quite a few time last week setting up my old Mac Mini G4 — a PPC 1.2GHz with 1GB of RAM running NetBSD/macppc current — as a “workstation” for the development of Kyua and other tools for NetBSD. Yes, this machine is very slow, but that’s the whole point of the exercise I’m going to narrate below.

I recently got approval from the NetBSD core team to import Kyua into the NetBSD source tree and replace ATF with it… which is great, but when thinking about it objectively, I am reluctant to unnecessarily “punish” all NetBSD users by increasing the build time of the system significantly. Don’t get me wrong: Kyua itself runs efficiently on old machines, but building the code — particularly the hundreds of tests that come with it — takes just too long. This slowdown is not too noticeable on a relatively-modern machine, but it’s unacceptable on not-so-old machines.

October 22, 2012 · Tags: kyua, lab-notes, mac, netbsd
Continue reading (about 3 minutes)

Installing NetBSD/macppc on a Mac Mini G4

Yesterday, I spent a while installing NetBSD/macppc 5.0.1 on a Mac Mini G4. The process wasn’t easy, as it involved the following steps. I’m omitting many details, as they are “common knowledge” to Mac users (or otherwise can be easily found on the net):

  • After booting the installer from the CD image, drop into the shell.
  • Use pdisk to create an Apple_HFS partition for the boot loader and two Apple_UNIX_SVR2 partitions, one for the root file system and another for swap.
  • Run sysinst and install the system. When asked to repartition the disk, just say Use existing partition sizes.
  • Once the system is installed, drop again into the shell before rebooting.
  • Mount your hard disk into /mnt and chroot into it.
  • Fetch a copy of pkgsrc.
  • Install the sysutils/hfsutils package.
  • Use hformat to create a new HFS file system in the Apple_HFS partition we created.
  • Mount the installation CD.
  • Copy, using hcopy, the ofwboot.xcf file from the CD to the boot partition.
  • Reboot.
  • Drop into the OpenFirmware setup (Command+Option+P+R).
  • Set boot-device to hd:,ofwboot.xcf.
  • Set boot-file to netbsd.
  • And here is the tricky thing to get the machine to auto-boot: Set boot-command to ." hello" cr " screen" output boot, not mac-boot.

I found the last command somewhere on the Internet (dunno where now), but, supposedly, a regular mac-boot should have worked. In fact, it works if you call this command from the prompt, but not during automatic boot. (It turns out to be a problem with the version of OpenFirmware I have.)

January 11, 2010 · Tags: mac, netbsd
Continue reading (about 2 minutes)

Reinstalled Mac OS X in multiple partitions, again

Past weekend, for some strange reason, I decided to dump all the MBP’s hard disk contents and start again from scratch. But this time I decided to split the disk into multiple partitions for Mac OS X, to avoid external fragmentation slowdowns as much as possible.

I already did such a thing back when the MBP was new. At that time, I created a partition for the system files and another for the user data. However, that setup was not too optimal and, when I got the 7200RPM hard disk drive six months later, I reinstalled again in a single partition. Just for convenience.

July 5, 2008 · Tags: fragmentation, mac, macos
Continue reading (about 2 minutes)

Serial console cable for an old Mac

I’m currently working on the NetBSD/mac68k kernel to migrate it from the old rcons framebuffer driver to a more modern one that supports colors, virtual terminals, custom fonts and all other assorted goodies that come with wscons. Unfortunately, I’ve found a very mysterious system hang-up with my code that I cannot easily debug from the machine itself because the console does not work at all. Hence, I needed to have a serial console for this machine, a Performa 630.

September 5, 2007 · Tags: cables, mac
Continue reading (about 1 minute)

Random MacBook Pro notes

Some things I have had in my mind for a while but for which I’m lazy to post full-blown posts:

  • Updated the internal Hitachi 160GB 5400RPM drive to a Seagate Momentus 7200.2. There is a lot of people who say that the difference between 5400RPM and 7200RPM is negligible in laptop disks. Screw that. For daily tasks (browse the network, read your mail, etc.) it may not be too noticeable, but for disk intensive operations it really is.

    August 26, 2007 · Tags: mac
    Continue reading (about 2 minutes)

Processor speed and desktop usage

Back in July 7th, I disassembled my MacBook Pro to see if I could easily replace its hard disk for a faster one. I hadn’t bought it yet because I first wanted to check that the whole process was easy. The thing is that, after a couple of problems, I could disassemble it. So I then ran to the local store to buy the new drive. But oh! They didn’t have it. I decided to not reassemble the computer as one of the disassembling steps was quite scary and I didn’t want to repeat it unless really necessary.

July 27, 2007 · Tags: mac, processor
Continue reading (about 3 minutes)

Recovering two old Macs

Wow, it has already been three years since a friend an I found a couple of old Macintoshes in a trash container1. Each of us picked one, and maybe a year ago or so I gave mine to him as I had no space at home to keep it. Given that he did not use them and that I enjoy playing with old hardware, I exchanged those two machines by an old Pentium 3 I had laying around :-) The plan is to install NetBSD-current on at least one of them and some other system (or NetBSD version) in the other one to let me ensure ATF is really portable to bizarre hardware (running sane systems, though).

July 16, 2007 · Tags: atf, hardware, mac
Continue reading (about 3 minutes)

Six months with the MacBook Pro

If memory serves well, today makes the sixth month since I have got my MacBook Pro and, during this period, have been using it as my sole computer. I feel it is a good time for another mini-review.

Well… to get started: this machine is great; I probably haven’t been happier with any other computer before. I have been able to work on real stuff — instead of maintaining the machine — during these months without a hitch. Strictly speaking I’ve got a couple of problems… but that was “my fault” for installing experimental kernel drivers.

June 21, 2007 · Tags: mac, macos, parallels, review
Continue reading (about 3 minutes)

MacBook Pro review

Since the Intel Macs were published, I had been planning to get one of them; I settled on getting an iMac 20" by next Summer (so that it’d carry Leopard “for free”). But last December I found a great offer on the MacBook Pro 15.4", being the total price similar to what I was planning to buy. Furthemore, going for the MacBook Pro instead of the iMac let me get rid of my iBook G4 and my desktop PC.

January 14, 2007 · Tags: mac, review
Continue reading (about 3 minutes)