{"id":15205,"date":"2011-09-20T11:43:17","date_gmt":"2011-09-20T19:43:17","guid":{"rendered":"http:\/\/blog.wapreview.com\/?p=15205"},"modified":"2011-09-20T11:45:50","modified_gmt":"2011-09-20T19:45:50","slug":"windows-8-ubuntu-dual-boot-on-the-exopc","status":"publish","type":"post","link":"https:\/\/wapreview.com\/15205\/","title":{"rendered":"Windows 8, Ubuntu Dual Boot On The ExoPC"},"content":{"rendered":"

\"Windows<\/a><\/p>\n

I spent part of the weekend installing the Windows 8 Developer Preview on an ExoPC<\/a> X86 tablet. The ExoPC already had three versions of Linux on it; Ubuntu 11.04, the MeeGo 1.2 tablet preview<\/a> and WeTab<\/a>, which is a third party disto based on MeeGo.\u00a0I wanted to keep the other OSs if possible. Lots of guides to dual booting Windows and Linux claim that you need to install Windows first as it will take over you hard drive and obliterate any other installed OSs. I’m here to tell you that’s not true. Here’s how to safely install the Windows 8 Developer Preview alongside Ubuntu.<\/p>\n

Download the 64 bit Win8 .iso from http:\/\/msdn.microsoft.com\/en-us\/windows\/apps\/br229516<\/a>. I used a Windows 7 box with Microsoft’s Windows 7 USB\/DVD download tool<\/a>\u00a0to create a bootable USB drive.<\/p>\n

Before Windows 8 my ExoPC’s partitions looked like this<\/p>\n

Partition 1 (200 MB primary) WeTab \/boot
\nPartition 2 (primary) \/linux swap (shared by WeTab, MeeGo and Ubuntu)
\nPartition 3 (10 GB primary) WeTab \/
\nPartition 4 (extended) containing:<\/p>\n

Partiton 5 (200 MB logical) MeeGo \/boot<\/div>\n
Partion 6 (10 GB logical) MeeGo root<\/div>\n
Partition 7 (200 MB logical) Ubuntu \/boot<\/div>\n
Partion 8 (10 GB logical) Ubuntu root<\/div>\n
Unallocated (27 GB)<\/div>\n

 <\/p>\n

I hoped to put Windows 8 into a logical partition using the 27 GB of unallocated space. It initially looked\u00a0promising. Choosing the custom option in the Win8 installer displayed my partitions and seemed to give me the option to install to the unallocated space. But when I tried that I got the error “Setup was unable to create a system partition or locate an existing partition.<\/strong>” which I was afraid meant that Windows 8 could only be installed in a primary partition.<\/p>\n

Fortunately for me, the Windows 8 installer can install into any partition including logical partitions. However the windows loader must be in a primary parttion. The loader is only about 70 MB. The rest of Windows can be in a logical partition. Also, and this is critical, the Win8 installer only supports installing into a partition if it can find another copy of Windows installed somewhere on the disk. What it looks for\u00a0specifically\u00a0is a primary NTFS or FAT partition that has the “active” flag set. This is what it calls the “system” partition. So you can trick the installer into thinking Windows is present by creating an NTFS primary partition and setting its Active flag<\/p>\n

As all four of my primary\/extended partition slots were allocated something had to go; either WeTab or the extended partition containing Ubuntu and MeeGo. I chose to nuke WeTab which is\u00a0unfortunate\u00a0as I’ve found it to be the best touch friendly Linux distro I’ve used to date. I’m hoping to be able to find a way to re-install WeTab in a logical partition.<\/p>\n

You can do all the necessary partition manipulation from within the Win 8 installer. Here’s how:<\/p>\n

\"Windows<\/p>\n

1. Start the Win8 installer and choose “Custom”.<\/p>\n

\"Windows<\/p>\n

2. If the primary partition you want to use isn’t already NTFS, highlight it and tap or click Drive Options (advanced). Otherwise skip to step 4<\/p>\n

\"Windows<\/p>\n

3.Tap delete to remove the non-NTFS partition, creating some unallocated space. With the unallocated space highlighted, tap New to create an NTFS partition in the unallocated space.<\/p>\n

\"Diskpart<\/a><\/p>\n

4. Press Shift-F10 from within the Win8 installer to\u00a0launch\u00a0a command window and type the following commands:<\/p>\n

SELECT DISK 0<\/em>
\n LIST PARTITION to display a partition list and verify the partition number that you want to use.<\/em>
\n SELECT PARTITION <partition to use><\/em>
\n ACTIVE to set the partition’s Active flag.<\/em>
\n Type EXIT twice to return to the installer<\/em><\/p>\n

5. Now you should be able to install Win8 into the active partition if it’s large enough. The 64-bit version of Win8 requires 20 GB. If you don’t have a primary partition that’s big enough, the loader will let you pick any NTFS primary or logical partition to install to as long as you have a primary system partition for it to install the Windows loader to.<\/p>\n

When the install finishes, reboot the tablet and it should boot directly into Win8 with no option to boot into your Linux installs. If you had Ubuntu installed as I did it’s easy get the GRUB bootloader back so that you can choose to boot Win8, Ubuntu and any other OSs you have. There are several ways to do this which are all documented at help.ubuntu.com<\/a>. By far the easiest is with the Boot-Repair<\/a>\u00a0utility. You can either create a bootable Boot-Repair USB drive or CD or do as I did and\u00a0use a copy of Ubuntu Live on a bootable USB to install and run\u00a0Boot-Repair<\/a>:<\/p>\n

Boot Ubuntu Live. Launch a\u00a0Terminal\u00a0and type the following to install and run\u00a0Boot-Repair<\/a>:<\/p>\n

sudo add-apt-repository ppa:yannubuntu\/boot-repair<\/em>
sudo apt-get update && sudo apt-get install -y boot-repair && boot-repair\\<\/em>
\n<\/em><\/p>\n

\"Ubuntu<\/a><\/p>\n

Then click the “Recommended repair” button to reinstall the Grub2 bootloader with options to launch Windows, Ubuntu and any other OSs you have on your hard disk.<\/p>\n

\"Grub2<\/a><\/p>\n

Grub will label Windows 8 as “Windows Recovery Console” and MeeGo as “Other Linux distro”. If that bothers you it easily fixable by installing and running Grub-Customizer<\/a> from within\u00a0Ubuntu.<\/p>\n

Windows 8 runs surprising well on the ExoPC, which uses a single core Atom CPU. The user interface is both attractive and usable on the touch-only tablet. I use Linux as my primary desktop OS and I’m hoping this release from Microsoft will inspire the open source communities to create more and better touch friendly tablet interfaces for mainstream Linux distros.<\/p>\n","protected":false},"excerpt":{"rendered":"

I spent part of the weekend installing the Windows 8 Developer Preview on an ExoPC X86 tablet. The ExoPC already had three versions of Linux on it; Ubuntu 11.04, the MeeGo 1.2 tablet preview and WeTab, which is a third party disto based on MeeGo.\u00a0I wanted to keep the other OSs if possible. Lots of guides to dual booting Windows and Linux claim that you need to install Windows first as it will take over you hard drive and obliterate … Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":15230,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[189],"tags":[1199,1028,1272,1208,1273],"_links":{"self":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts\/15205"}],"collection":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/comments?post=15205"}],"version-history":[{"count":24,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts\/15205\/revisions"}],"predecessor-version":[{"id":15242,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts\/15205\/revisions\/15242"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/media\/15230"}],"wp:attachment":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/media?parent=15205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/categories?post=15205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/tags?post=15205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}