Hot answers tagged

9

You want to run diskutil coreStorage unlockVolume <UUID>, where the UUID is the Logical Volume UUID associated with your encrypted disk, /dev/disk3. You can get the lvUUID by running diskutil cs list in the terminal and looking for the output related to /dev/disk3. The identifier is a long string that would look something like this ...


8

When using OS X, it's usually more advisable to use diskutil for disk-related activities. TL;DR: To mount a volume/disk by identifier: diskutil mount /dev/diskXsY # mounts just that volume diskutil mountDisk /dev/diskX # mounts the whole disk To mount a volume by UUID: diskutil mount [Volume/Partition UUID] To mount a volume by label: ...


7

OS X includes a command line tool called split. See man split for all the details. You can call split using the Terminal.app and the command: split -b 5000m MYBIGFILE To combine it again, have the receiver store all parts in a dedicated folder, open Terminal there and run cat x?? > MYBIGFILE (This assumes that you used the default output names ...


6

I found this worked perfectly (from the terminal): diskutil eraseVolume ExFAT MyName diskX You'll need to change diskX to whatever the number is for your drive. You can find that out in disk utility, select the drive, click info, and look under 'BSD device node'


6

The method to repair your disk and recover the GUID partition table is related to my answers to similar questions: HFS+ invalid number of allocation blocks and Hard drive no longer accessible. Basically you have to find characteristic strings of JHFS+ volumes, use some simple math and common sense and have some luck to fix the GUID. And don't loose sight of ...


6

Booted to Internet Recovery Mode you have to remove all non-OS X partitions, modify the partition types and then resize your main volume. The reason why you can't boot your Mac is the bogus partition type (FFFF-FFF....) of your main partition (i=2/sda2). Additionally the Recovery HD partition (i=3/sda3) has the wrong type. Preparation: Restart to Internet ...


6

I/O Error usually means your disk has hardware failure. I would backup everything ASAP and change the disk. Disk Warrior will probably not solve the issue as it's only repairing a corrupted filesystem. If you can mount it at some point (try repeatedly), use Carbon Copy Cloner to backup your important data on a new drive. If you can't, try some recovery ...


6

Your drive is in the process of failing and will soon become unusable. Drives fail for a number of reasons and all modern drives will try and protect your data by moving what it can from bad sectors to good ones then mark those sectors bad so nothing gets written to them. However, if the data is corrupted to begin with, moving it only means you are ...


5

No, just moved them. Method 1: Disk Utility > Menu > File > Unlock (Embarrassingly I found this item after posting the question and using command line option to unlock the drive) Method 2: Command line, open "Terminal" hdiutil attach /dev/diskXsY Where X,Y are system specific numbers like 1,2,3.


5

hdiutil will show information about all mounted DMGs: hwd@hwds-iMac:~$ hdiutil info framework : 415 driver : 10.11v415 ================================================ image-path : /Users/hwd/Downloads/mountedImageOne.dmg image-alias : /Users/hwd/Downloads/mountedImageOne.dmg shadow-path : <none> icon-path : ...


5

It depends on your viewpoint: a file written to an encrypted disk image is immediately written encrypted to the HDD/SSD where the disk image resides. Since the file system of the unlocked disk image is still mounted, the file appears as "unencrypted". So a user, who can access the raw HDD/SSD only, can't read/decode the file content, but a user with the ...


4

If you format a drive as Encrypted, you are in fact turning on File Vault, as that's the only encryption layer that OS X supports. The main advantage of partitioning the drive as Journaled, and then turning on File Vault is that you can revert the drive to a simple unencrypted volume if you should choose to do so in the future. You can't do this with a ...


4

With Apple's OS X tools you can't expand the start sector of a partition to lower sector numbers. You have to choose another method. You may accomplish your objective if less then one half of the net capacity of your hard drive ((~disk size - size of Recovery HD - size of EFI)/2) or less then one half of the main volume is occupied. If you miss the ...


4

As discussed in fuse-ext2 / OSX 10.11 "El Capitan" make fails, installation of fuse-ext2 fails on OS X 10.11, El Capitan, due to System Integrity Protection (SIP). The recommended solution right now is to disable SIP.


4

The maximum allocation block (or cluster) count for exFAT is 2^32 = 4,294,967,296. To get the minimal size of an allocation cluster on your partition divide the size of your partition through 2^32. Examples: for a 100 GB partition the minimal size is 100,000,000,000 bytes/4,294,967,296=~23.3 bytes. Since the smallest device block size is 512 bytes, the ...


4

You can't create an ISO image from a non-image file. hdiutil and especially hdiutil makehybrid expect an image or a directory (not necessarily containing files!). But you don't have to unzip/unarchive anything. Just create a folder with the name MAKE, move the gz file into it and then enter hdiutil makehybrid -o ~/make.iso ~/MAKE -iso -joliet. The ...


4

Your main volume is encrypted with FileVault and still locked – consequently it doesn't show up in /Volumes. Before being able to mount it you'd have to unlock it: diskutil cs unlockVolume lvUUID #replace lvUUID by the one shown in the diskutil listing You will then be asked to enter the passphrase/password. You have to enter a passphrase or a password of ...


3

Sorry to hear of your situation. The first megabyte will have included the drive's partition and critical structural information. If you can, dd all the remaining content to another drive as a back-up of sorts. Then I suspect your best choice is a professional repair service or a tool like DiskWarrior: DiskWarrior Everything just disappeared after ...


3

How old is the drive? Flash memory has limited write cycles, and it will slowly change into a read-only device. If you have been writing stuff to the drive for a few years it is quite possible some blocks have reached their write limit and the controller has marked them as unusable. Cheaper drive -> fewer cycles. Also note that the one-pass-of-zeros secure ...


3

This is likely coming from one or two things (or both). Partitioning a disk, any disk, takes up drive space. In the megabyte range it is not even noticeable. In the gigabyte range it can be a substantial byte (sorry...) out of the drive. Also computer makers and Drive/RAM makers often calculate bytes differently. O/S companies (Apple, Microsoft, etc...) ...


3

exFAT is not optimal for your situation probably, but unfortunately there isn't really a no-brainer solution for using an external drive frequently with both OS X and Windows, reading/writing large files, and with really low risk of data loss. exFAT is not a journalled file system, so there is higher probability of data loss than with NTFS or HFS+. exFAT ...


3

To get some additional un-allocated disk space on disk0 to create a new partition you have to shrink your CoreStorage Volume Group and all subsequent CoreStorage items. To resize the CoreStorage Volume Group in your case you have to use the Terminal booted to an external boot drive. Preparation: Backup your data. Detach any external drive (especially ...


3

To expand your CoreStorage Logical Volume Macintosh HD you have to delete the blocking NO NAME EFI partition (disk1s5). The two unnamed parts (138.62 GB and 99.9 GB) are no partitions but unallocated disk space. To remove the second EFI partition (and expand Macintosh HD) you have to boot to Internet Recovery Mode or an OS X system on an external device. ...


3

I use Daisy Disk to keep tabs on what's using up space on my disks. Like @Hoshts and @Joonas have mentioned in their comments on another answer it's not free, but gorgeous and easy to understand. Money well spent, in my opinion, unless you're just looking for a one-time solution. One thing to keep in mind - the Mac App Store version of Daisy Disk is ...


3

You can't simply merge a Bootcamp partition or empty space and a FileVault volume with Disk Utility (Boot Camp Assistant should handle this though). You first have to remove the Bootcamp partition and then expand the FileVault volume. To remove the Bootcamp partition and resize the CoreStorage Volume Group (containing the FileVault volume) the Mac has to be ...


3

Windows' Disk Management has overwritten the GUID partition table with something unknown. This usually only effects the partition table but not the content of your disk (though it seems to be gone)! A proper GUID partition table has to be restored. The particular obstacle here is: the OP neither has a thumb drive nor a second Mac. Preparation: Backup the ...


3

Please try the following: Get the disk identifier of your external 3 TB drive diskutil list Below I assume the disk identifier is disk6 unmount the disk: diskutil umountDisk disk6 Overwrite the first 40 blocks: sudo dd if=/dev/zero of=/dev/disk6 bs=512 count=40 Create a new gpt: sudo gpt create /dev/disk6 Check the disk info with: diskutil info ...


3

This is not an answer, but rather an example of how to extract the GPT partition information from the data you presented. The secondary (backup) GPT partition entries were used because you did not post the contents of the primary GPT partition entries. The document "GUID Partition Table" was used to interpret the data. Last usable LBA can be found in the ...


3

Update: IOReg gives the partition UUID, not the volume UUID, as it operates below the HFS layer. I had incorrectly assumed that the device UUID was required rather than the volume UUID because it was substituting for a device node. To get the volume UUID, use hfs.util. For example: /System/Library/Filesystems/hfs.fs/Contents/Resources/hfs.util -k disk0s3 ...


3

Boot to Recovery Mode (hold cmdR while booting). In the menubar open Utilities -> Terminal. Now change your working directory and go to /Volumes: cd /Volumes List all volumes: ls -l Move to your main volume cd name_of_main_volume Now you can move forward to a directory to remove files and folders with cd folder_name. Appropriate paths to remove ...



Only top voted, non community-wiki answers of a minimum length are eligible