Contribute
Register

[Solved] UniBeast Drive : Copy of apfs.efi failed

Status
Not open for further replies.
Sorry but i have a strange result. I try to format my USB key with this command line:
sudo diskutil partitionDisk /dev/disk3/ GPT JHFS+ USB R

but the Terminal gave me this result:
diskutil: did not recognize verb "partitionDisk /dev/disk3/"; type "diskutil" for a list

Can anybody help me?
--------------------------------------------------------------------
Remove spaces and re-enter
 
Sorry for 2 days i am trying to solve the problem of can't copy
did all what is written included diskutil partitionDisk /dev/disk5 GPT JHFS+ USB R
This is running but with even 2 good USB drives the error apfs.efi stayed
Is there another option?

log:
/dev/disk5 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *15.6 GB disk5
1: EFI EFI 209.7 MB disk5s1
2: Apple_HFS Install macOS Mojave 15.3 GB disk5s2

======================================================
Backing up EFI files

No Active Partition

Stage 0 - Writing boot0af to /dev/rdisk5
dd if=/dev/rdisk5 count=1 bs=512 of=/tmp/origMBR
cp /tmp/origMBR /tmp/newMBR
dd if=/Volumes/Install macOS Mojave/usr/standalone/i386/boot0af of=/tmp/newMBR bs=440 count=1 conv=notrunc
fdisk -f /tmp/newMBR -u -y /dev/rdisk5

Stage 1 - Writing boot1f32 to /dev/rdisk5s1
dd if=/dev/rdisk5s1 count=1 bs=512 of=/tmp/origbs
boot volume format is FAT32
cp /tmp/boot1f32 /tmp/newbs
dd if=/tmp/origbs of=/tmp/newbs skip=3 seek=3 bs=1 count=87 conv=notrunc
dd if=/tmp/newbs of=/dev/rdisk5s1

Stage 2 - Written boot6 (x64) to /Volumes/ESP/boot
 
Status
Not open for further replies.
Back
Top