[CentOS] DVR recorder how to resucue files

Thu Aug 27 11:02:47 UTC 2020
Thomas Bendler <ml at bendler-net.de>

It looks like you've backuped an entire disk that might contain partitions.
So first check if you have partitions inside:

sudo fdisk -lu save.dd

If you have partitions inside, use the start offset of the partition to
create a loopback device (e.g. a partition starts at 56):

sudo losetup -o $((56*512)) /dev/loop0 save.dd

Now you should be able to use the partition. First check and than mount it:

sudo fsck -fv /dev/loop0
sudo mount /dev/loop0 /mnt

Kind regards
Thomas

Am Mi., 26. Aug. 2020 um 15:49 Uhr schrieb <ralf.prengel at comline.de>:

>
> Ralf Prengel <ralf.prengel at rprengel.de> wrote:
>
> >  I made a backup using dd without any problems but how can I mount
> > this  image.
> >  Normal loop options don't work.
>
> Too little information. Tell us what you tried (the exact command) and
> what happened (any error message).
>
> Ok,
> sorry.
> Our recoder device that stores all videos of several cameras doesn t work
> any longer.
> Before doing anything on the the device or the disk I made a full backup
> oft he disk with dd.
> Trying to mount this file simple with mount -o loop save.dd /mnt/backup
> fails.
> I found out that VDR are using non-standard disk-configurations and
> filesystems.
> So my question if there is a way to get access the files in the image.
> Tools like parted don t show partions in the  bckup-file.
>
> Thanks
> Ralf
>
> Ralf Prengel
> Teamleiter
> Customer Care
> Comline AG
> Hauert 8
> D-44227 Dortmund/Germany
>
> Telefon:+49 231 97575 157
> Mobil:+49 151 10831 157
> Fax:+49 231 97575 257
> E-Mail:ralf.prengel at comline.de
>
> www.comline.de
> Vorstand: Stephan Schilling
> Aufsichtsratsvorsitzender: N.N.
> HR Dortmund B 14570 USt.-ID-Nr. DE124727422
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Linux ... enjoy the ride!