Fixing “The startup disk cannot be partitioned or restored to a single partition” error on a fresh Mac OS installation

I’ve been working on this problem for over 10 hours. First of all, I installed Mojave using the Mojave patcher on an older MacBook. I completely erased my disk before installing Mojave. Here is the output of diskutil list:

    /dev/disk0 (internal, physical):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      GUID_partition_scheme                        *1.0 TB     disk0    1:                        EFI EFI                     209.7 MB   disk0s1    2:          Apple_CoreStorage Local Disk              999.3 GB   disk0s2    3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3  /dev/disk1 (internal, virtual):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:                  Apple_HFS Local Disk             +999.0 GB   disk1                                  Logical Volume on disk0s2                                  17B0E440-563B-4759-B442-CC8FE78F58DB                                  Unencrypted 

and sudo gpt -r show disk0:

       start        size  index  contents            0           1         PMBR            1           1         Pri GPT header            2          32         Pri GPT table           34           6                    40      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B       409640  1951845952      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC   1952255592     1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC   1953525128           7            1953525135          32         Sec GPT table   1953525167           1         Sec GPT header  

Why am I still getting this error when I run boot camp assistant? I’ve already followed a guide that involved deleting any hidden Microsoft files in the EFI EFI partition. But I don’t think it really did anything because as I said, I completely erased this disk before installing Mojave. I’m at a complete loss here, and I’m desperate for help.

EDIT: I know this question has been asked before, but from what I can tell, no one has had this exact problem. On the posts I see involving this problem you can clearly see Microsoft partitions in the diskutil list. I have no visible Microsoft partitions. I performed a clean install. So I’m at a loss for why I keep getting the error.

GRUB Doesn’t detect windows: Disk is MBR but booting via UEFI

I dun goofed. I thought my Windows was booting using UEFI, and I installed Ubuntu using UEFI. But now I think my Windows was booting using MBR, and GRUB can’t detect it.

I’m confident the disk is MBR:

> sudo gdisk -l /dev/sdb GPT fdisk (gdisk) version 1.0.3  Partition table scan:   MBR: MBR only   BSD: not present   APM: not present   GPT: not present 

and that I’m booting via UEFI:

> ls /sys/firmware/efi/ config_table  fw_platform_size  runtime      systab efivars       fw_vendor         runtime-map  vars 

How can I fix my GRUB so that it boots using MBR instead of UEFI?

I’ve tried:

  • Running os-prober and update-grub
  • Running boot-repair

Neither gave me a GRUB menu with Windows listed.

Disk has multiple partitions but Disk Utility can only mount first one

View from Disk Utility: Disk Utility screenshot

Output of diskutil (for this disk only):

/dev/disk6 (external, physical):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:     FDisk_partition_scheme                        *80.0 GB    disk6    1:               Windows_NTFS                         34.9 GB    disk6s1    2:                      Linux                         10.7 GB    disk6s5    3:                 Linux_Swap                         2.1 GB     disk6s6    4:                      Linux                         32.2 GB    disk6s7 

The first NTFS partition, “–“, mounts just fine as read-only. But I can’t get to either of the Linux partitions. I’ve tried mount, diskutil mount, and diskutil mount readOnly, but but they all result in

Volume on disk6s5 failed to mount If the volume is damaged, try the "readOnly" option If the volume is an APFS Volume, try the "diskutil apfs unlockVolume" verb 

Also tried diskutil apfs unlockVolume, but it’s not an APFS volume. Any ideas? Using macOS Sierra 10.12.6.

SSD filling up; problem accessing HDD disk

I recently installed Ubuntu 18.04 on my MSI GV62 7RE laptop (no dual boot, everything wiped). I installed it to the SSD drive, but since there’s not much space, I realize I will have to move some stuff to my HDD.

However, I’m unable to access my HDD. In the file manager, under the “Other Locations” tab, the disk is visible, but “locked” (encrypted). When I try to access the disk, or mount it, it simply disappears from view. When I reboot, it’s again visible under the “Other Locations” tab.

I’m really new to Linux, so the solution is probably easy, but I was unable to find something that worked when googling around.

I want to reset my whole Ubuntu OS and wipe disk through command line?

My questions is about how to reset Ubuntu to its factory settings. I recently installed a gaming panel to manage servers and I am new to Linux. I am having some problems with it and would like to just delete and reinstall the panel on my Linux machine. Is there a way to completely reset the whole filesystem and restore the whole machine to its default/facotry settings state? (e.g. no packages installed, RootFS restored, all the stuff)

Best luks setup disk

I want to encrypt my disk but I want to know what is the best configuration, I currently use ths:

 cryptsetup -v --cipher serpent-xts-plain64 --key-size 512 --key-file=- --hash whirlpool --iter-time 10000 --use-random  luksFormat --type luks2 disk 

Is there anything that can be improved?

Can I use trees and other climbable objects to get on Tenser’s Floating Disk?

I have been creating Tenser’s floating disk next to trees and climbing them to get on the disk. I usually do this just so I can rain literal fire on bad guys. I did this twice and I was asked to do skill checks. I’m fine with it, because I can understand that it’s a pretty cheese tactic.

My motive was that I can better avoid damage this way. I don’t move the disk around or anything, it just stays next to my makeshift ladder. Is this a legal usage of the Tenser’s floating disk spell?