DIsk Image " no mountable file system"

Using TestDisk to repair the filesystem
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
mhendawy
Posts: 1
Joined: 06 May 2020, 13:28

DIsk Image " no mountable file system"

#1 Post by mhendawy »

I have an issue that I ran first AID on one of my volumes but It gives file system check exist code is 8 and even if I tried to presse partition the disk utility console crashed , then by mistake I unmount the entire disk by force , but the problem wasnt resolved and when I tried to remount again one volume was mounted and the other was greyed out and I couldn't mount it all. so I took an disk image from this volume with read-only mode . but now when I am trying to open it gives no mountable file system.

Can I have any idea on how to resolve this issue , also here is the record from the terminal console when I am trying to mount the image using hdiuitl :

hdiutil attach -noverify -nomount /Volumes/Work/disk0s1.dmg
/dev/disk4
$ diskutil verifydisk /dev/disk4
Nonexistent, unknown, or damaged partition map scheme
If you are sure this disk contains a (damaged) APM, MBR, or GPT partition
scheme, you might be able to repair it with "diskutil repairDisk /dev/disk4"

diskutil repairDisk /dev/disk4" might then be necessary for further repairs
Proceed? (y/N) y
Error repairing map: Couldn't read partition map (-69876)

fsck_hfs /dev/disk4
** /dev/rdisk4 (NO WRITE)
Executing fsck_hfs (version hfs-407.200.4).
** Checking Journaled HFS Plus volume.
Invalid B-tree node size
(3, 0)
** The volume could not be verified completely.


fsck_hfs -r -d /dev/disk4
Unable to open block device /dev/disk4: Permission deniedjournal_replay(/dev/disk4) returned 13
** /dev/rdisk4 (NO WRITE)
Cache size should be greater than 32M and less than 17592186044415M
Using cacheBlockSize=32K cacheTotalBlock=98304 cacheSize=3145728K.
Executing fsck_hfs (version hfs-407.200.4).
Block 2 is not an MDB or Volume Header
CheckForClean - could not get VHB/MDB at block 976824630
** Checking Journaled HFS Plus volume.
Invalid B-tree node size
(3, 0)
** The volume could not be verified completely.
volume check failed with error 7
volume type is pure HFS+
primary MDB is at block 0 0x00
alternate MDB is at block 0 0x00
primary VHB is at block 2 0x02
alternate VHB is at block 976824630 0x3a392936
sector size = 512 0x200
VolumeObject flags = 0x05
total sectors for volume = 976824632 0x3a392938
total sectors for embedded volume = 0 0x00
CheckHFS returned -1317, fsmodified = 0

sudo gdisk -l /dev/disk4
Password:
GPT fdisk (gdisk) version 1.0.5

Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present

Creating new GPT entries in memory.
Disk /dev/disk4: 976824632 sectors, 465.8 GiB
Sector size (logical): 512 bytes
Disk identifier (GUID): 8B0DF477-FF1B-4AB9-976A-CD5FCC8BBA41
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 976824598
Partitions will be aligned on 2048-sector boundaries
Total free space is 976824565 sectors (465.8 GiB)

Number Start (sector) End (sector) Size Code Name

gpt -r show disk4
start size index contents
0 976824632

sudo fdisk /dev/disk4
Disk: /dev/disk4 geometry: 60804/255/63 [976824632 sectors]
Signature: 0x0
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

Locked