Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.os.unix.linux.misc > #90528

Re: Partitionsimage mounten

From Stefan Reuther <stefan.news@arcor.de>
Newsgroups de.comp.os.unix.linux.misc
Subject Re: Partitionsimage mounten
Date 2017-05-17 18:57 +0200
Message-ID <ofi6en.474.1@stefan.msgid.phost.de> (permalink)
References <9cdab402-e156-1038-b4d8-793fe37e314f@alexander-goetzenstein.my-fqdn.de>

Show all headers | View raw


Am 17.05.2017 um 16:30 schrieb Alexander Goetzenstein:
> ich habe hier ein mit dd gezogenes Image einer Festplattenpartition, das
> ich gern als loop device mounten möchte:
> 
>> sudo mount -o loop /home/alex/Dokumente/Sicherungen/hdd-part.img /mnt/sdb7
>> Failed to read last sector (76083776): Das Argument ist ungültig                                                                                                                                            
>> HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,                                                                                                                                             
>>    or it was not setup correctly (e.g. by not using mdadm --build ...),                                                                                                                                     
>>    or a wrong device is tried to be mounted,                                                                                                                                                                
>>    or the partition table is corrupt (partition is smaller than NTFS),                                                                                                                                      
>>    or the NTFS boot sector is corrupt (NTFS size is not valid).                                                                                                                                             
>> Failed to mount '/dev/loop0': Das Argument ist ungültig                                                                                                                                                     
>> The device '/dev/loop0' doesn't seem to have a valid NTFS.                                                                                                                                                  
>> Maybe the wrong device is used? Or the whole disk instead of a                                                                                                                                              
>> partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
> 
> Wie gesagt, es ist ein Abbild von sda1, nicht von sda, da müsste ich
> doch nichts extra tun, oder doch? Oder ist an dem Image etwas kaputt?

Könnte es denn einer der anderen in der Fehlermeldung erwähnten Gründe
sein, also ist es z.B. ein NTFS? Wenn nicht: hilft es, den
Dateisystemtyp anzugeben?

Google spuckt gleich als erstes das hier zu "Failed to read last sector"
aus: https://tuxera.com/forum/viewtopic.php?f=3&t=124
Das deckt sich mit meinen Erfahrungen aus der DOS-Zeit, dass Microsoft
das mit den Partitionsgrößen manchmal nicht so genau genommen hat (die
Grüßen werden im Bootsektor der Partition gespiegelt, und diese Werte
wurden nicht gegen die Partitionstabelle gegengeprüft). Dann hilft es
vermutlich, einfach per "dd if=/dev/zero bs=1M count=1 >>hdd-part.img"
noch ein Megabyte an das Image anzuhängen.


  Stefan

Back to de.comp.os.unix.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Partitionsimage mounten Alexander Goetzenstein <alexander_goetzenstein@web.de> - 2017-05-17 16:30 +0200
  Re: Partitionsimage mounten Ralph Aichinger <ra@pi.h5.or.at> - 2017-05-17 17:15 +0200
    Re: Partitionsimage mounten Sven Hartge <sh-175@svenhartge.de> - 2017-05-17 18:25 +0200
      Re: Partitionsimage mounten Alexander Goetzenstein <alexander_goetzenstein@web.de> - 2017-05-17 20:45 +0200
        Re: Partitionsimage mounten Sven Hartge <sh-175@svenhartge.de> - 2017-05-17 21:32 +0200
          Re: Partitionsimage mounten Alexander Goetzenstein <alexander_goetzenstein@web.de> - 2017-05-17 21:41 +0200
            Re: Partitionsimage mounten Sven Hartge <sh-175@svenhartge.de> - 2017-05-17 21:47 +0200
        Re: Partitionsimage mounten Sieghard Schicktanz <Sieghard.Schicktanz@SchS.de> - 2017-05-19 01:49 +0200
          Re: Partitionsimage mounten Alexander Goetzenstein <alexander_goetzenstein@web.de> - 2017-05-20 15:08 +0200
      Re: Partitionsimage mounten Sieghard Schicktanz <Sieghard.Schicktanz@SchS.de> - 2017-05-18 01:16 +0200
        Re: Partitionsimage mounten Sven Hartge <sh-175@svenhartge.de> - 2017-05-18 10:49 +0200
          Re: Partitionsimage mounten Michael Prokop <devnull@michael-prokop.at> - 2017-05-18 13:09 +0200
            Re: Partitionsimage mounten Sven Hartge <sh-175@svenhartge.de> - 2017-05-18 16:41 +0200
  Re: Partitionsimage mounten Stefan Reuther <stefan.news@arcor.de> - 2017-05-17 18:57 +0200
    Re: Partitionsimage mounten Alexander Goetzenstein <alexander_goetzenstein@web.de> - 2017-05-17 20:53 +0200
      Re: Partitionsimage mounten Gernot Griese <ggriese@gmx.de> - 2017-05-17 21:09 +0200
        Re: Partitionsimage mounten Alexander Goetzenstein <alexander_goetzenstein@web.de> - 2017-05-17 21:30 +0200
          Re: Partitionsimage mounten Alexander Goetzenstein <alexander_goetzenstein@web.de> - 2017-05-17 22:07 +0200
            Re: Partitionsimage mounten Gernot Griese <ggriese@gmx.de> - 2017-05-17 22:43 +0200
            Re: Partitionsimage mounten gregor herrmann <gregor+usenet-0601@comodo.priv.at> - 2017-06-17 03:09 +0200
              Re: Partitionsimage mounten Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2017-06-17 19:12 +0200
                Re: Partitionsimage mounten gregor herrmann <gregor+usenet-0601@comodo.priv.at> - 2017-06-18 02:13 +0200
                Re: Partitionsimage mounten Marc Haber <mh+usenetspam1118@zugschl.us> - 2017-06-18 07:46 +0200
                Re: Partitionsimage mounten Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2017-06-18 10:11 +0200
                Re: Partitionsimage mounten Marc Haber <mh+usenetspam1118@zugschl.us> - 2017-06-18 11:29 +0200
                Re: Partitionsimage mounten Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2017-06-18 18:34 +0200
                Re: Partitionsimage mounten Marc Haber <mh+usenetspam1118@zugschl.us> - 2017-06-18 19:47 +0200
                Re: Partitionsimage mounten Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2017-06-19 07:56 +0200
                Re: Partitionsimage mounten Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2017-06-19 10:07 +0200
                Re: Partitionsimage mounten Gunter Gutzeit <gunter.gutzeit@arcor.de> - 2017-06-18 10:11 +0200
          Re: Partitionsimage mounten Stefan Reuther <stefan.news@arcor.de> - 2017-05-18 19:30 +0200
  Re: Partitionsimage mounten Michael Limburg <mlimb@gmx.de> - 2017-05-18 00:09 +0200
    Re: Partitionsimage mounten Alexander Goetzenstein <alexander_goetzenstein@web.de> - 2017-05-18 07:18 +0200
  Re: Partitionsimage mounten Peter Blancke <blancke@gmx.de> - 2017-05-18 10:20 +0000

csiph-web