Re: [CentOS] DVR recorder how to resucue files

2020-08-27 Thread ralf.prengel



dd does not show partitions, fdisk does (or parted or ...).

Sorry,
my mistake.
I used several disktools.

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.pren...@comline.de

www.comline.de
Vorstand: Stephan Schilling
Aufsichtsratsvorsitzender: N.N.
HR Dortmund B 14570 USt.-ID-Nr. DE124727422

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVR recorder how to resucue files

2020-08-27 Thread Thomas Bendler
Am Do., 27. Aug. 2020 um 13:07 Uhr schrieb :

> [...]
> no partions are shown with dd.
> [...]


dd does not show partitions, fdisk does (or parted or ...).

Regards Thomas
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVR recorder how to resucue files

2020-08-27 Thread ralf.prengel


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


xxx

Hallo,
no partions are shown with dd.
Found an article that some DVR vendors are using their own filesystems.
I think that I ve no chane in this case to rescue anything.
Thanks for all hints.
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.pren...@comline.de

www.comline.de
Vorstand: Stephan Schilling
Aufsichtsratsvorsitzender: N.N.
HR Dortmund B 14570 USt.-ID-Nr. DE124727422

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVR recorder how to resucue files

2020-08-27 Thread Thomas Bendler
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  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.pren...@comline.de
>
> www.comline.de
> Vorstand: Stephan Schilling
> Aufsichtsratsvorsitzender: N.N.
> HR Dortmund B 14570 USt.-ID-Nr. DE124727422
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Linux ... enjoy the ride!
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVR recorder how to resucue files

2020-08-27 Thread Mogens Kjaer

On 8/25/20 9:25 AM, Ralf Prengel wrote:
I made a backup using dd without any problems but how can I mount this 
image. 


What does the command "file" say to the file you've dd'ed?

Mogens

--
Mogens Kjaer, m...@lemo.dk
http://www.lemo.dk

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVR recorder how to resucue files

2020-08-26 Thread Fred Smith
On Wed, Aug 26, 2020 at 10:04:26AM -0400, Yves Bellefeuille wrote:
> ralf.pren...@comline.de wrote:
> 
> >  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.
> 
> If this were a normal DVD, you'd have to specify the file system:
> 
> mount -t iso9660 -o loop save.dd /mnt/backup
> 
> But you say the DVD uses a non-standard file system, so this may not
> work.
> 
> > Tools like parted don t show partions in the  bckup-file
> 
> DVDs don't have partitions, and I don't think parted would work on an
> image anyway.

the OP said "DVR, not "DVD".

I'd try fdisk to see if there are partitions, first, then if you find anything
that looks likely, try mounting that.

Also, try the "disks" utility, which also may be able to tell you something 
about the disk.

Good luck!

Fred

-- 
---
 .Fred Smith   /  
( /__  ,__.   __   __ /  __   : / 
 //  /   /__) /  /  /__) .+'   Home: fre...@fcshome.stoneham.ma.us 
//  (__ (___ (__(_ (___ / :__ 781-438-5471 
 Jude 1:24,25 -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVR recorder how to resucue files

2020-08-26 Thread Yves Bellefeuille
ralf.pren...@comline.de wrote:

>  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.

If this were a normal DVD, you'd have to specify the file system:

mount -t iso9660 -o loop save.dd /mnt/backup

But you say the DVD uses a non-standard file system, so this may not
work.

> Tools like parted don t show partions in the  bckup-file

DVDs don't have partitions, and I don't think parted would work on an
image anyway.

-- 
Yves Bellefeuille



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVR recorder how to resucue files

2020-08-26 Thread ralf.prengel


Ralf Prengel  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.pren...@comline.de

www.comline.de
Vorstand: Stephan Schilling
Aufsichtsratsvorsitzender: N.N.
HR Dortmund B 14570 USt.-ID-Nr. DE124727422

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVR recorder how to resucue files

2020-08-25 Thread Yves Bellefeuille
Ralf Prengel  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).

-- 
Yves Bellefeuille


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] DVR recorder how to resucue files

2020-08-25 Thread Ralf Prengel



Hallo,
we've a DVD recorder from everfoces and problems to open files using  
the interface.

I made a backup using dd without any problems but how can I mount this image.
Normal loop options don't work.
Thanks for hints.

Ralf


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos