Skip to main content
Solved

Dual Boot Partition Issues

  • July 29, 2015
  • 16 replies
  • 55 views

Forum|alt.badge.img+8

I have infront of me an iMac that has 256 Apple flash storage, but I cannot for the life of me get Casper Imaging to partition the drive and install the dual boot image we have. Is there a problem with SSD's?

Best answer by Aziz

I'm having the same issues if that matters.

I have been trying to split my drive with Casper Imaging into HFS and NTFS, Casper Imaging 9.72 gave me that error. I haven't tried 9.73 yet.

Edit:

Just tested 9.73 and it also failed.

A script might be needed.

Edit 2: Script works fine.

Set to 'Before' in your imaging config.

diskutil partitiondisk disk0 2 GPTFormat JHFS+ MacintoshHD 500G MS-DOS WINDOWS 400G

16 replies

mpermann
Forum|alt.badge.img+22
  • Valued Contributor
  • July 29, 2015

@m.higgins can you try and erase the drive using Disk Utility first. Then try partitioning the drive in Disk Utility to make sure you can partition it. Sometimes Core Storage volumes can be difficult to partition.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • July 30, 2015

I can partition the drive in disk utility just fine, I also used terminal to erase the core storage so it is no longer a core storage volume


Forum|alt.badge.img+8
  • Author
  • Contributor
  • July 30, 2015

I just keep getting this over and over


mpermann
Forum|alt.badge.img+22
  • Valued Contributor
  • July 30, 2015

What version of Casper Imaging are you using? I would think that if you've removed the core storage volume and you are still not able to partition the drive then there must be something wrong with Casper Imaging.


Forum|alt.badge.img+14
  • Contributor
  • Answer
  • July 30, 2015

I'm having the same issues if that matters.

I have been trying to split my drive with Casper Imaging into HFS and NTFS, Casper Imaging 9.72 gave me that error. I haven't tried 9.73 yet.

Edit:

Just tested 9.73 and it also failed.

A script might be needed.

Edit 2: Script works fine.

Set to 'Before' in your imaging config.

diskutil partitiondisk disk0 2 GPTFormat JHFS+ MacintoshHD 500G MS-DOS WINDOWS 400G

Forum|alt.badge.img+14
  • Contributor
  • July 30, 2015

Updated my post


Forum|alt.badge.img+8
  • Author
  • Contributor
  • August 3, 2015

I will give this a go and let you know what happens!


Forum|alt.badge.img+8
  • Author
  • Contributor
  • August 3, 2015

Still not having any luck. The problem seems to be that unless i tick erase target drive then I can't install windows. As soon as I tick it, it tries to re-partiton the drive even after the script has run!


Forum|alt.badge.img+8
  • Author
  • Contributor
  • August 3, 2015

Ignore that, got it working!

Thanks for the help @Abdiaziz


Forum|alt.badge.img+12
  • Contributor
  • August 3, 2015

@Abdiaziz Is this a known bug then? What's the script doing that Casper Imaging isn't?


Forum|alt.badge.img+14
  • Contributor
  • August 3, 2015

@dferrara

I don't know if it's a known bug or not, I haven't checked into that.

As for the other part, Casper Imaging isn't partitioning the disk at all. It gives the error "Unable to create partition on disk0s2". So a script is needed to partition it (one of OS X, other for Windows).


Forum|alt.badge.img+12
  • Contributor
  • August 3, 2015

@Abdiaziz Thanks, I'll have to look into that. It's just annoying since partitioning is one of Casper Imaging's core functions (setting those variables in the GUI). I'm on 9.65.


Forum|alt.badge.img+14
  • Contributor
  • August 3, 2015

@dferrara

I'm working on a script that merges a partitioned disk back into one, but I've ran into a lot of issues.

If anyone has any idea on how to merge the disk back into one "Macintosh HD", please share it!


Forum|alt.badge.img+12
  • Contributor
  • August 3, 2015

@m.higgins @Abdiaziz I just fixed this by changing the Windows partition name to "WINDOWS" instead of "Windows" in Casper Admin, with the lowercase. Apparently, any lowercase letters will throw an error that the name isn't supported by the MS-DOS filesystem.


Forum|alt.badge.img+14
  • Contributor
  • August 7, 2015

Hey @dferrara, do you know of a way to wipe a dual boot drive back into one?

Example:

Partiton 1: Macintosh HD

Partition 2: WINDOWS

--

What I want is just Macintosh HD. I been using this script, set to "before" and it just fails.

diskutil eraseDisk JHFS+ MacintoshHD disk0

Forum|alt.badge.img+12
  • Contributor
  • August 7, 2015

@Abdiaziz Try this, it should destroy both partitions and leave Macintosh HD as a new JHFS+ volume.

diskutil mergePartitions JHFS+ [force] Macintosh HD WINDOWS