I saved my SSD partitions with TestDisk
My partition table did gone and My SSD has two partitions, first one is NTFS and second one is mac os extended.
And I save my partition table like this guide.
The command you are using adds any significant amount of free space immediately after the APFS container partition. The APFS partition container is already at the end of the drive. There is no significant amount of free space to add.
There is approximately200 GB of free space above the APFS container partition. The macOS operation system offers no command ...
If you are able to repair you drive, then you will need to be running at least Sierra in order to mount the macOS partition on the SSD via USB.
Below are two possible solutions.
Using a Third Party Tool
Since you already have the SSD connected as disk2 in a USB port, a simple solution would be to download and use gdisk.
The current gdisk installer is ...
The command you are using adds any significant amount of free space immediately after the APFS container partition. By adding the values posted in your Update 2, you can see the APFS partition container is already at the end of the drive. There is no significant amount of free space to add.
+ 81,926,582,272 B
This should unlock the ability to resize your disk:
tmutil listlocalsnapshots | cut -d. -f4 | xargs -n1 tmutil deletelocalsnapshots
It does the same thing as Neil's answer, except that it copy-pastes the timestamps for you.
This is a duplicate of a question asked many time before. Perhaps a better explanation is required.
The command sudo diskutil eraseVolume free none disk0s4 preforms at least the following tasks.
Erases enough of disk0s4 to make any volume or container stored in this partition difficult to recover.
Removes the partition associated with disk0s4 from the Guid ...
From Ubuntu, you need to run the command gdisk.
Open a Terminal. Basically, press the control+alt/option key combination.
Enter the command given below to execute gdisk.
sudo gdisk /dev/sda
If the version is not at least 1.0.4, then enter the q command to exit gdisk. Next, enter the commands given below to update gdisk, then return to step 2. Otherwise, ...
The WDC WD100... and the Mercury Electra are devices. They represent the physical drives that are attached to your Mac.
Devices contain one or more volumes. Macintosh HD is a volume on the WDC device. There will be other volumes on that device that aren't displayed.
The Mercury device uses Apple's new APFS format. This uses a structure called a Container ...
As an educated guess after reading around, the likely reason that the High Sierra container could not be resized was that it was not contiguous with the free space.
I have now zeroed-out Mojave and cloned the contents of High Sierra to there, whereupon I can resize that partition to occupy the free space.
For me it looks like you need to resize the container first. So something like
$ diskutil apfs resizeContainer /dev/disk0s3 500g
should help to avoid the error message you get on your second try.
I've got not much knowledge about the diskutil, but as far as I know Apple software overall, this seems to be the step you are missing here.
If the second partition on HDD is for Mac data, you could attempt to install Windows 10 by allocating the entire HDD to Windows. After you have finished installing Windows, you could then shrink the Windows volume and create a partition for the Mac data.
You did not include an image for the container holding the Macintosh HD volume. If you select Show All Devices in the View pulldown, then this container will appear. If the Physical stores for this container is disk0s2, then you can apply my answer.
Enter the following commands.
diskutil apfs deleteContainer disk0s3
diskutil eraseVolume free none disk0s3
The simple fix is:
Back everything up (apps and files and settings and possibly keychain passwords if you don’t have them written down / recorded elsewhere)
Boot to internet recovery
Erase and start with one partition
Using the command line to merging containers requires you to clearly understand quite a few items and processes and concepts and one mistake ...
You didn't lose any storage, the partitioning system simply forgot to put it back into usable form.
/dev/disk1 would be your physical disk.
/dev/disk2 is an APFS disk architecture, which, in laymen terms, is a fake virtual disk within a physical disk. This is where the macOS and your files on macOS are stored.
Bootcamp Assistant encountered an error which ...
To use the Graphical User Interface (GUI) provided by Microsoft to install Windows 10 on disk1 of your Mac, you would have to remove the disk1s2 partition containing the APFS Container disk2. To keep this partition and also install Windows 10 to this drive, you will have to use the Windows 10 Command Line Interface (CLI). Basically, you will need to run the ...
The latest Windows 10 ISO file (October Update) is over 4GB in size, so you have to partition the USB drive to exFAT on Mac before burning. If not, you will receive waring message in Boot Camp Assistant.
Actually, there are a few good ISO burner apps (Ether, UUbyte, DiskMarkX) out there than Boot Camp, which does good in creating dual boot on Mac. If the ...
This question has a comment that FAT32 is not best for Mac. Can you format disc as ExFAT? That would be best if you want this to be cross-platform or HFS+ for Mac only. Reformatting a drive will delete all data on the drive.
i finally figured it out. my situation without a recovery HD i had to either partition my internal HD in half for linux and macos or just by a external HD do i bought an external HD because i didn't want to mess with partitions and i also bought an installation usb of macOS el capitan. I formatted the external HD to macOS extended (journed) and installed os ...
Try to extend the size in the last shown screenshot by entering a new size in the field or dragging the white dot to the top in the chart on the left.
If this does not work, you need to manually resize the CoreStorage via the recovery system. Look here how to do it.