How-to Triple-Boot Windows, MacOS, Ubuntu and a shared DATA partition on the same disk

Preamble :

As Apple now turns to ARM processors for their MacBooks, killing BootCamp as a concept, then I though I should just make a short how-to install multiple OS’s on the older, soon to be considered useless, computers as they will probably be very affordable.

Apple created the official BootCamp concept for OS X Leopard 10.5 in 2007. They released an official installer to install OS X and Windows. However they chose to make it a hands-off installation which did not use the full potential of the concept.

Why bother :

The procedure I will outline allows to install :

  • Windows 7 or 10 on a NTFS partition.
  • MacOS up to and including High Sierra ( the computer does not support Metal so no Catalina ).
  • A shared DATA partition on a NTFS partition.
  • An Ubuntu installation with a root and a swap partition.

The benefit here is that you get two Windows accessible partitions instead of one. You can use them for whatever you want. I prefer one separate partition to hold DATA.

This requires five partitions and with some hidden extra partitions for boot and recovery that makes for seven partitions.

Introduction :

BootCamp as a concept is a slightly fragile mix of a disk simulating having been initialiased as a MBR disk yet really being a GPT disk. The first four partitions created on the disk will have a MBR identity. Additional partitions will not have a MBR identity, only a GPT identity and can only been seen by OS X and Ubuntu.

The difference from the official installation method is that one should make the partitioning from an OS X Installation DVD simply using Disk Utility.

The recent versions of MacOS has apparently crippled Disk Utility functionality so get a DVD for 10.9 Mavericks to do the partitioning. Maybe newer OS X versions will work too.

The official BootCamp concept installs OS X in the first partition before Windows. This is silly as the OS X recovery partition will take up a partition wasting a precious MBR partition ( seen from the Windows perspective ).

When you start partitioning, Disk Utility will silently create a small EFI boot partition as first partition. It will just be there. The first -official- partition to create should be the NTFS Windows System partition. The second should be the NTFS DATA partition. And the third partition should be an HFS+ journaled case insensitive partition. That defined the four MBR partitions and completes the operations for which Disk Utility is needed.

Remember to leave un-allocated space after the allocated partitions so Linux can be installed. And also leave some space to allow disk cloning ( see below ). A reasonable figure would be 50..100 GBytes.

You can now install whatever flavour of OS X ( ~ MacOS ) you want onto the HFS+ partition. OS X will silently resize the HFS+ partition to add a partition for recovery. It does so without destroying the MBR mapping and without taking up a MBR partition.

Thereafter you can install Windows. Windows will see the disk as a basic MBR disk. Nothing special. Then you install Support for BootCamp in Windows.

Support for BootCamp is actually nothing more than hardware drivers and a few utilities, as one to control the BIOS, selecting whether you boot to the Mac boot disk selection menu, or boot directly to Windows.

Thereafter you can install Ubuntu. It will install itself by accessing the disk as a GPT disk and use some of the un-allocated disk space. It will recognize that you have Windows installed and offer to install a GRUB boot menu that offers to boot either Windows or Ubuntu. I prefer using that option.

Booting between the three OS’s is therefore something like this. Either boot to OS X selection or Windows/Ubuntu selection as programmed into BIOS. That BIOS setting can be modified in OS X Preferences and in the Windows Task Bar. If you see the Windows/Ubuntu selection then you can choose which OS to boot. There is a default timeout which in effect allows the computer to boot to Windows or Ubuntu without human interaction.

Corrupt Partitioning Check ( rEFIt 0.14 ) :

The dual partitioning mapping ( MBR and GPT ) can get out of sync. I haven’t experienced this for years but it was quite normal to happen in the early days. It is therefore important to verify that the two tables are in sync. There is a utility to check this, called rEFIt 0.14. It is a nerdy thing, yet easy to use, that runs under OS X. Download it and do a check !

Backup :

There is really no safe way to backup this tricky disk system configuration. So I do something different. I make a complete disk copy ( ~clone ). To do so you must have ( at least ! ) two identical disks. Or spare disks which are the same size or somewhat larger than the currently used. Look for the number of sectors. Not just the number of GBytes.

Cloning is effectively done, booting into OS X Recovery Mode.

First un-mount the clone disk ( if mounted ) using Disk Utility.

Then get the disk numbers and use DD to clone the disk using a Terminal window. Use the procedure listed on the following web site to do the actual cloning ( yes it is from 2011 ) :

See the Clone Your Hard Drive section there for the required typing. It is marked in red for your convenience. It is only a few lines that needs to be typed.

You clone the whole disk in one operation. Not the individual partitions.

Hint – You may need to use the Caffeinate command to prevent the computer from going into sleep while cloning.

I have used DD for years as there were no reliable alternatives. Nowadays there are utilities for MacOS that claims to handle the hybrid partitioning scheme. But why bother ..

Updating :

Updating/refreshing each OS is no different from what one would do if there were only one OS on the disk. I even made an in-place update to Windows 10 from Windows 7, back in 2015. It just works.

Summary :

This is the old school way of managing multiple OS’s on one disk. Modern people prefers virtual environments like VMware. VMware player 15 ( the current version now ) is quite reliable but I prefer the real thing.

How-to Install Win 3.11, Win95, Win98 and Win2000 on the same disk

Preamble :

I recently had to start my very old laptop to open a WPK file ( that is the original Wordperfect file format ) using the program installed under Windows 3.11. Which made me reflect a little about that computer. So here is something from memory lane.

Nowadays I only run Window 10.

But I also keep an aged laptop running Window 7 and Windows XP. It doesn’t see much use, frankly. But better safe than sorry so I keep it.

And I keep an even older laptop from around 2000 running Windows 3.11, 95, 98 and 2000.

Uncommon Disk Configuration :

Having a single computer switchable between those four old OS’s is not common. And it also requires a special partitioning scheme that Microsoft actively disapproved stating it would give trouble and did not support doing. I haven’t experienced any trouble.

The key to allow this is partitioning the hard drive with four primary partitions.

In those days most disks was IDE disks ( contrary to now SATA ) and the disks used the MBR disk initialization scheme ( contrary to now GPT ). The disks sold those day could be as small is 6GB. The sweet spot disk size for this setup is 40-80 GB. Odd problems could arise using disks larger that 128GB so don’t do that.

It can be difficult to find a utility that allows doing this special partitioning. But companies like Paragon and Acronis had disk utilities that supported doing this off a boot CD. I used such tools.

While writing this, I googled the subject and found a link to a free utility which claims to support generating multiple primary partitions.

See here : https://www.majorgeeks.com/files/details/super_fdisk.html.

Otherwise you could mount the disk in an external enclosure to do this. If you have an older Mac then Disk Utility can be used.

Disk partitioning could/should be done before installing any OS. Just in case something should go wrong.

How to select the OS to boot :

The tool used to switch between which partition to boot from is the very basic tool FDISK.exe which was included in all DOS versions. You select which partition should be Active next time you boot. Simple as that. Windows 2000 has a GUI to set the Active partition but the principle is the same. Notice though that FDISK with DOS 6.22 ( Windows 3.11 ) can see and select all primary partitions but it doesn’t know what is on the partition and it also reports the partition size wrongly. But selection works.

No need to install any fragile custom boot manager or anything. Any computer savvy person can do this.

Using this concept has the very nice property that the active disk is always given drive letter C:. The drive letters for the other partitions were mangled in a way only Microsoft could explain. Or maybe they could not.

Remember that Win 3.11 could only install on FAT. 2GB max. And it could not understand any newer partitions like FAT32 nor NTFS. So one such partition should be made. I made it the first partition on the drive. Some also claimed technical reasons for why a FAT partition should be created first.

The next two partitions were for Windows 95 and 98. They also supported FAT32 but not NTFS. So FAT32 were used. 4-8 GB were the sizes I choose.

Finally a partition for Windows 2000. It supported the older partitions and NTFS. I preferred to use FAT32 because then Windows 95 and 98 could use drivers located on that partition. So this partition was the largest. Which were nice as it could also be storage for backups for the older OS’es.

Installing and Round-Up :

All four OS’s were fully independent and did not rely on each other. So once the drive were partitioned then each OS could be installed in any order. The benefit of that fact was that it was also easy to backup each partition to support recovering from system corruption often occurring when installing drivers for the three oldest OS’es. Windows NT backup was very handy for this.

Then it was time to actually install an OS. While partitioning the disk one should also have made the decision which partition to boot from. Which OS to install first. Suggestion is starting with Windows 2000 to have the backup utility ready when installing the older OS’s afterwards.

There is essentially nothing more to this subject. The concept described is very robust contrary to Microsoft’s officiel dual-boot concept which often corrupted the OS’es if anything unexpected happened.

DOS Boot CD :

It is nowadays possible to boot to DOS from a boot CD. Using a boot CD instead of a floppy disk gives a boot speed advantage. It also allows to boot a system that does not have a floppy drive at all. That was the case for several laptop models from around year 2000. Those laptops were sold with an external floppy drive that connected using either the printer port or an USB port. Fortunately the BIOS for those machines often also supported booting off a CD :

Look here for ISO images : https://www.allbootdisks.com/download/iso.html.

Start Menu for Windows 3.11 :

You can actually download a program called Calmira II that gives Windows 3.11 a start menu like Windows 95. That is the coolest thing I have seen for years :

Look here for info : http://toastytech.com/guis/cal.html.

Laptops from around year 2000 :

What is a usable laptop from year 2000 to implement this four OS scheme. A relevant question as they cost next to nothing if they can be found.

There are three essential qualities for such a computer :

  • It must have a proper graphics chip. The ATI Rage or derivative is a good starting point. Besides having Windows drivers for Win 3.11 and newer it also supported DOS graphics.
  • It should have a proper sound chip. The ESS Maestro in some variant is a good starting point. Besides having Windows drivers for Win 95 and newer it also emulated Sound Blaster Pro in DOS and Win 3.11.
  • It should have a BIOS setting to expand the display to full size in text DOS. Otherwise the DOS display will only cover the central part of the display which looks silly.

Using USB for anything pre Windows 2000 is hit and miss, except for an USB mouse on Windows 98. These old laptops usually had only one USB 1.1 port anyway. Be sure to have backups before trying to install USB drivers.

Examples of compatible laptops includes : Compaq Armada M700, HP OmniBook 6000, Dell C600 and IBM ThinkPad 20-something. They are rare, fragile and probably ugly. And they were expensive when new.

As a compromise there are still plentiful of ThinkPad 40 and 41. The ThinkPad 40 and 41 are quite simple to install if they are fitted with the Radeon 7500 chip. The ThinkPad 41 with a Radeon 9000 chip can be used for Windows 95 using a UNIVBE display driver. But it only supports generic 16 color VGA for Windows 3.11. And there is no sound support in Windows 3.11.

The best ( in the meaning of giving the fewest complications ) computer to configure for a four OS setup would of course be an old desktop computer with a Tseng ET4000 graphics card and a Creative Sound Blaster sound card.