I'm looking to set up triple-booting on my Macbook Pro, running OSX, Windows 7, and something Linux (probably Ubuntu 14.04)
- Go through the installer until you reach an option that asks where (or how) you want to install the Linux distribution. This will look different depending on your Linux distribution, but you want to choose the option that lets you install Linux alongside Windows, or choose a manual partitioning option and create your own partitions.
- Linux partition deleted cannot load windows, linux partition disk. Partition mac for linux. Linux partition install guide, linux partition tutorial in hindi.
Ordinarily, I don't think this would be too hard, but most of what I've found says all partitions (one for windows, one for linux, one for linux swap) should be created at the same time, before installing any of the additional OS's, or you can run into issues with unbootable windows and messed up partition tables.
The thing is, I have already gone through a full Bootcamp setup to get windows up and running, and have yet to create the linux partition(s).
We will install Kali Linux alongside with Windows 8.1, where windows already has taking 100% of the disk space in our computer. We will resize our current windows partition and then proceed to install Kali Linux in a newly created partition which should be empty.
The Mac disk utility is warning me that shrinking the Mac partition and creating new partitions AFTER setting up bootcamp Windows could make the Windows partition unbootable. Most of what I've found online seems to confirm that this is a valid issue, however almost all the discussions I've seen about this have been a few years old at least.
Have any of you set this up successfully on your systems?Can I get some pointers on what to do?

I'm thinking installing rEFInd to manage the partitions might be the key, but I don't have much experience with that sort of thing. Will rEFInd properly show the bootable disks? Will it replace the [hold option during startup] thing bootcamp made?
tl;dr - How do I nondestructively install Linux alongside existing OSX and Bootcamp Windows installs?
Also - I know VMs are a thing but I'd rather do an actual install.
Thanks!
System: Fall 2014 Macbook Pro 15' retina - 2.5 GHz i7, 16GB RAM, 500GB SSD, Nvidia GT 750 M and Intel graphics
1 Answer
I installed Ubuntu, Windows 7x32, Windows 7x64, and OS X 10.4 on a previous machine, and on my current one I am dual booting OS X 10.9 and Windows 8.1. I installed them using rEFIt (I never upgraded to rEFInd but it did work flawlessly-- and I cannot imagine rEFInd would work worse than its predecessor... If I reboot with extra drives attached -- USB ports, it finds those as well on boot.) I always tend to partition in advance with with either the Mac Disk Utility or gparted. You will have the best luck installing windows first-- less hassles.
Not the answer you're looking for? Browse other questions tagged windows-7linuxmacospartitioningboot-camp or ask your own question.
I'd like to see the full How-To on how to use manual partitioning during Ubuntu installation. The existing guides (at least those I found here) cover only automatic part and leave untouched the manual part (or extremely short and contain no pictures).
I'd like to cover such situations:
- If your disk contains other systems:
6 Answers
- Boot into Ubuntu Installation media. This can be either CD or USB stick.
- Start the installation. Proceed to Step 4 and choose 'Something else':
You will see your disk as
/dev/sdaor/dev/mapper/pdc_*(RAID case, * means that your letters are different from ours)Click 'New Partition Table...' You will see that you have free space on your disk now:
(Recommended) Create partition for swap. Swap is the partition for keeping unneeded memory pages, like Windows swap. Also it can be used for hibernation.
- Select free space and click +
- Set parameters like on the picture below:
Notice that you should set swap size more than you have physical memory in order to use hibernation. Also, you can place it in the end of disk, but thus it will be slow.
Create partition for
/(root fs). This is the filesystem that contains your kernel, boot files, system files, command-line utilities, libraries, system-wide configuration files and logs.- Select free space and click +
- Set parameters like on the picture below:
10 – 20 GiB should be enough
Create partition for
/home. This is the filesystem for your user's files: documents, images, music and videos. It's much more like Users folder in Windows.You can do this just like in step 5 and even choose other fs type (though I recommend use ext4 instead of reiserfs. Simply, the first is much more flexible and the second is quicker)
(Optional) Create separate partitions for
/boot,/tmpand/var. Set their size according to your needs:/bootshould be 100 – 500 MiB/varand/tmpshould be > 5 GiB
If you doubt about which device for boot loader installation to choose, leave it default. It would be set by installer. But sometimes it does mistakes. Let me guide you how to deal with it:
- If you use only one hard disk, select or leave
/dev/sdaintact. - If you use more than one hard disk with no RAID, select the one from which your system does boot. You can also select other disk and set BIOS to boot from it.
- If you have RAID from which your system starts, it will be
/dev/mapper/...
Be sure that you select entire disk, not a single partition!
- If you use only one hard disk, select or leave
After all, you should see your disk like this:
As LiveWireBT noticed in comments, it is recommended to place root partition onto primary partition on MBR scheme disks. However, it belongs to personal taste. Sometimes it's even better to put /boot directory on primary and leave root on logical partition.
That's all! You can now click Install Now and proceed to the installation.
DanatelaDanatelaPartition Mac To Manual Install Windows And Linux Windows 10
- Boot from Ubuntu Installation media.
- Unmount any mounted drives if they exist.
- Proceed to Step 4. Choose 'Something else' and click Continue:
You will see partition table. It will look like this:
Free some space for Ubuntu:
- Select the Windows drive (not the loader!). It should be the biggest drive in the map.
- Click Change... button. Reduce Windows' partition to 60% of it's size. Notice that you should remain some free space on it (8 – 20 GiB should be enough).
- If you want, you can delete some partitions. This is done by clicking - button. Do not delete Windows partition!
And ~40 GiB should be kept for Ubuntu. Click OK and Continue to write changes on disk.
- Now your partition table should look like this:
- Now, you can proceed with steps 4 – 7 of part about blank installation. Notice that swap will be placed on logical partition. This doesn't matter, in any case it will work perfect.
Computers with OEM installs of Windows usually come with more than 1 or 2 partitions. Starting with Windows 8 the partition table should be GPT, allowing for more than 4 primary partitions.
1. Resizing the Windows partition
There are at least 2 ways doing this:
- from the live media
- in Windows
A. Resizing from Ubuntu live media
You can run GParted or use only the manual partitioning menu of the installer.
B. The safer option: Resizing from within Windows
Resize the Windows partition with Disk Management (run
diskmgmt.msc).Select your Windows partition and choose 'Shrink Volume…' from the context menu.
This will usually shrink to the minimum possible, you may want to adjust the value to leave more space for Windows.
Optionally disable fast startup and probably disable hibernation, if it is activated and you intend to access the Windows partition with Ubuntu. Run
powercfg.cpland navigate to Power Options >System Settings through 'Choose what the power button does'.
2. Manually setting up the partition layout for Ubuntu
Attention! No, you don't want to erase the entire disk and Windows along with it. Choose the Something else option if you see this screen. (Something else may be the most difficult option to understand, but considering existing bugs you know what you will get.)
You will get to the manual partitioning menu, where you should at least create a root partition (
/) and a swap partition.Option 1: add only a root partition
Option 2: add a root and home partition
…finally add the swap partition:
Note that there usually is an existing EFI System Partition (short ESP,
efiin the screenshot), that the installer will automatically detect and mount to install EFI loaders and programs.
Related bug reports
Related
- My answer to SU question: Clean install Windows 8.1 or Windows 8 from OEM key (now updated with info for Windows 10)
- Adding an encrypted partition with
pam_mountduring login (1, 2)
If you have md RAID
I will not cover how to create mdadm arrays here. There is a lot of articles around the Internet. However, there is one major problem: Ubiquity installer doesn't account for the arrays created in the live session, so you'll probably get unbootable system after installation on such array.
Create the setup like mine:
As you can guess, I created
/dev/md0mdadmarray from/dev/sda1and/dev/sdb1. It's empty now. Let's install something on it.Create partitions on
/dev/md0as you like:Important: Install
/bootonto one of partition outside the array because GRUB doesn't supportmdadm. In my case, it's/dev/sda3. If you want more quick booting of your system, it should be placed at the beginning of the disk.Install Ubuntu. Click Continue testing. Or reboot and see initramfs prompt
Now, you have to
chrootinto installed system and installmdadm:Installing
mdadmshould fix booting problem.
Do any of the following help you? (sorry, I don't have enough rep to comment this).
Now suppose that we are going to install Ubuntu 11.04 and at first of the installation process we will meet Allocate drive space screen (the most important step in the installation process). In Allocate drive space screen Select Something else to partition your disk drive manually.
The Next screen shows sda1 partition for Windows Xp and free space, Now we are going to install Ubuntu 11.04 so we need to create / partition and Swap.
Create / Partition:
Select free space and press on Add button.
Ubuntu 11.04 requires about 4.4 GB, So we should type a value more than 4.4 GB. Here in my case I put 6000 MB i.e 6 GB.
From 'Use as' I selected Ext4 journalling file system.
From 'Mount point' I selected /.
Press Add button to create / partition.
Create Swap:
In the previous screen select free space, and press Add button.
Swap doesn't need much space. In my case I put 500 MB
From 'Use as' select Swap area
No need to Mount point.
Click Ok button to create swap.
Install:
Now we have /, partition, and swap so we are ready to install.
To start installation process press Install now button.
Install Windows Os
For installing Windows on a separate partition, this should be fairly self explanatory from the 'Install Ubuntu alongside them' option, however you may come across the following bug.
Your existing partition (Windows) is on the left, Ubuntu is on the right. That's the standard order when shrinking one partition to create another for dual-booting.
Partition Mac To Manual Install Windows And Linux Download
Partition shows 'unknown' Used in GParted
This happened to me on 17.10 because my Windows 10 Lenovo P51 used a Logical Disk Manager (LDM) Partition.
The solution was to shrink the partition from inside Windows as shown at: https://askubuntu.com/a/521195/52975

You can then install Ubuntu on the free space allocated.
Cannot shrink disk fully
Then I hit the second problem: Windows said I had 400Gb of free space in the partition, but I could only shrink 250Gb.
The solution was to go inside Windows and:
- Disable Page File (AKA Windows' swap)
- Disable System Protection
as mentioned at: https://superuser.com/questions/1017764/how-to-shrink-a-windows-10-partition/1060508#1060508
Then after the reboot, it let me shrink it all the way.
Ciro Santilli 新疆改造中心996ICU六四事件Ciro Santilli 新疆改造中心996ICU六四事件protected by ZannaDec 29 '16 at 13:18
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?