.dd file how to view

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
silvatech
Level 2
Level 2
Posts: 95
Joined: Sun Aug 14, 2016 5:50 pm
Contact:

.dd file how to view

Post by silvatech » Mon Jul 16, 2018 11:30 pm

SO I have a recovery in a .dd, but no clue how to view it on Linux. checking on some other software it shows that it has a linux partition to it. Almost tempted to just try to restore to a drive first at this point.

Any software that would help that you know of would be much appreciated.

thanks in advance.

gm10
Level 7
Level 7
Posts: 1606
Joined: Thu Jun 21, 2018 5:11 pm

Re: .dd file how to view

Post by gm10 » Tue Jul 17, 2018 3:39 am

Have you tried right clicking it and opening it with Disk Image Mounter? or use gnome-disk-image-mounter from a terminal

silvatech
Level 2
Level 2
Posts: 95
Joined: Sun Aug 14, 2016 5:50 pm
Contact:

Re: .dd file how to view

Post by silvatech » Tue Jul 17, 2018 4:31 pm

gm10 wrote:
Tue Jul 17, 2018 3:39 am
Have you tried right clicking it and opening it with Disk Image Mounter? or use gnome-disk-image-mounter from a terminal
I dont get anything when I right click. ( Which irronically was the first thing I tried.) I'll take a look at the other program you mentioned. I just need to mount this as read only so I can take a look whats in their.

gm10
Level 7
Level 7
Posts: 1606
Joined: Thu Jun 21, 2018 5:11 pm

Re: .dd file how to view

Post by gm10 » Tue Jul 17, 2018 4:45 pm

silvatech wrote:
Tue Jul 17, 2018 4:31 pm
gm10 wrote:
Tue Jul 17, 2018 3:39 am
Have you tried right clicking it and opening it with Disk Image Mounter? or use gnome-disk-image-mounter from a terminal
I dont get anything when I right click. ( Which irronically was the first thing I tried.) I'll take a look at the other program you mentioned. I just need to mount this as read only so I can take a look whats in their.
Are you using the KDE edition? That's the only one I never used, the others definitely allow you to right click > open with.

The KDE version also won't have the gnome-disk-image-mounter installed I think, either use whatever program KDE uses for that or install the gnome-disk-utility package.
Last edited by gm10 on Tue Jul 17, 2018 5:13 pm, edited 1 time in total.

silvatech
Level 2
Level 2
Posts: 95
Joined: Sun Aug 14, 2016 5:50 pm
Contact:

Re: .dd file how to view

Post by silvatech » Tue Jul 17, 2018 5:07 pm

Im on XFCE 18.3 sorry I guess I should added that at the begining. Ill check if im missing the one program maybe why has no options to open with.

User avatar
Flemur
Level 15
Level 15
Posts: 5919
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: .dd file how to view

Post by Flemur » Tue Jul 17, 2018 5:49 pm

Search on something like

Code: Select all

"dd file" extension
usually works -

Compressed Archive (Macintosh DISKDOUBLER)
DD is a file extension for a compressed archive file format used by Macintosh DISKDOUBLER in Mac OS Classic.
DD files are compressed with LZ78 compression.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

silvatech
Level 2
Level 2
Posts: 95
Joined: Sun Aug 14, 2016 5:50 pm
Contact:

Re: .dd file how to view

Post by silvatech » Tue Jul 17, 2018 5:55 pm

here what I did. I used in terminal the command

mkdir /mnt/Frontdesk

sudo mount -o loop -t auto /media/root/Steam2/Frontdesk/image.dd /mnt/Frontdesk

I now get the error below but its showing it as a device now. Any clues? Or is the .dd just corrupt?


Error mounting /dev/loop0 at /media/zephar/8e69f283-fcd5-44bc-9f8e-6079d8437179: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/loop0" "/media/zephar/8e69f283-fcd5-44bc-9f8e-6079d8437179"' exited with non-zero exit status 32: mount: /dev/loop0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so.

gm10
Level 7
Level 7
Posts: 1606
Joined: Thu Jun 21, 2018 5:11 pm

Re: .dd file how to view

Post by gm10 » Tue Jul 17, 2018 5:58 pm

silvatech wrote:
Tue Jul 17, 2018 5:55 pm
I now get the error below but its showing it as a device now. Any clues? Or is the .dd just corrupt?
You may need to set the offset for the file system in that image - fdisk -l the image to read the partition table then calculate the offset based on start sector x block size.

Or just use the disk mounter tool that does it for you, not sure why you're trying to go the complicated route.
Last edited by gm10 on Tue Jul 17, 2018 6:32 pm, edited 1 time in total.

silvatech
Level 2
Level 2
Posts: 95
Joined: Sun Aug 14, 2016 5:50 pm
Contact:

Re: .dd file how to view

Post by silvatech » Tue Jul 17, 2018 6:15 pm

Well I did install gnome disk image, but I try to open it with it nothing happens. So I was trying to work it the other way.

gm10
Level 7
Level 7
Posts: 1606
Joined: Thu Jun 21, 2018 5:11 pm

Re: .dd file how to view

Post by gm10 » Tue Jul 17, 2018 6:56 pm

silvatech wrote:
Tue Jul 17, 2018 6:15 pm
Well I did install gnome disk image, but I try to open it with it nothing happens. So I was trying to work it the other way.
Then the image wasn't in the correct format. What program did you use to create that? So far the assumption was that you created a .dd file with dd.
Run file <imagefile> and see what it says.

silvatech
Level 2
Level 2
Posts: 95
Joined: Sun Aug 14, 2016 5:50 pm
Contact:

Re: .dd file how to view

Post by silvatech » Tue Jul 17, 2018 9:19 pm

SO rebooting the computer, It does now attempt to mount it with simply clicking and trying to use disk image mounter, but it still comes up with an odd error.
Selection_321.png
I apologize I should put in information of how the .dd was originally made was through testdisk.

Normally I am better at giving all data upfront and I apologize. Its really hot here right now and on top of it I injured my right shoulder pretty good. So maybe fact thinking in heat no fun and typing hurts my shoulder is why I am being vague on obvious stuff that should of been in first post.

Thanks for all replies btw.

mint4all
Level 2
Level 2
Posts: 63
Joined: Tue Feb 13, 2018 1:16 pm

Re: .dd file how to view

Post by mint4all » Tue Jul 17, 2018 9:33 pm

Greetings! Looking into this a bit more i came across the "unarchiver" tool discussed @ https://fileinfo.com/extension/dd ... A search for a linux equivalent turned up a command-line version, discussed @ http://www.webupd8.org/2011/05/unarchiv ... -tool.html ) that might just do the trick for you. Good luck!

gm10
Level 7
Level 7
Posts: 1606
Joined: Thu Jun 21, 2018 5:11 pm

Re: .dd file how to view

Post by gm10 » Tue Jul 17, 2018 9:45 pm

silvatech wrote:
Tue Jul 17, 2018 9:19 pm
I apologize I should put in information of how the .dd was originally made was through testdisk.
Ok, so testdisk creates 1:1 single partition images, there should not be a problem to mount those images at all. Try testdisk <imagefilename> and see if it can read its own image at least. It might be a corrupt image file. Then you can use it to recover files from it, heh.

silvatech
Level 2
Level 2
Posts: 95
Joined: Sun Aug 14, 2016 5:50 pm
Contact:

Re: .dd file how to view

Post by silvatech » Tue Jul 17, 2018 10:09 pm

gm10 wrote:
Tue Jul 17, 2018 9:45 pm
silvatech wrote:
Tue Jul 17, 2018 9:19 pm
I apologize I should put in information of how the .dd was originally made was through testdisk.
Ok, so testdisk creates 1:1 single partition images, there should not be a problem to mount those images at all. Try testdisk <imagefilename> and see if it can read its own image at least. It might be a corrupt image file. Then you can use it to recover files from it, heh.
it appears it can read it. I will look into commands of testdisk I guess to restore its own .dd? I have never done this before. usually pretty good with linux lol.

mint4all
Level 2
Level 2
Posts: 63
Joined: Tue Feb 13, 2018 1:16 pm

Re: .dd file how to view

Post by mint4all » Tue Jul 17, 2018 10:56 pm

Re. "testdisk", this might help: https://www.cgsecurity.org/wiki/TestDisk

Post Reply

Return to “Software & Applications”