Re: /dev/loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Thank,

THis is the result of gpart (no -f)

My problem is to guess where was the extended partition.
In addition there was a swap partition is sdd5

Begin scan...
Possible partition(Windows NT/W2K FS), size(13mb), offset(6696mb)
Possible extended partition at offset(10106mb)
   Possible partition(Windows NT/W2K FS), size(12197mb), offset(12197mb)
   Possible partition(Linux ext2), size(500mb), offset(28811mb)
   Possible partition(Linux LVM2 physical volume), size(71711mb), offset(29312mb)
   Possible partition(Linux LVM2 physical volume), size(40960mb), offset(101025mb)
   Possible partition(Linux ext2), size(43000mb), offset(154786mb)
End scan.

Checking partitions...

* Warning: more than 4 primary partitions: 6.
Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary 
Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary 
Partition(Linux ext2 filesystem): primary 
Partition(Linux LVM physical volume): primary 
Partition(Linux LVM physical volume): invalid primary 
Partition(Linux ext2 filesystem): invalid primary 
Ok.

Guessed primary partition table:
Primary partition(1)
   type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
   size: 13mb #s(28261) s(13714360-13742620)
   chs:  (853/173/17)-(855/111/53)d (853/173/17)-(855/111/53)r

Primary partition(2)
   type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
   size: 12197mb #s(24981011) s(24981074-49962084)
   chs:  (1023/254/63)-(1023/254/63)d (1554/254/63)-(3109/253/61)r

Primary partition(3)
   type: 131(0x83)(Linux ext2 filesystem)
   size: 500mb #s(1024000) s(59004928-60028927)
   chs:  (1023/254/63)-(1023/254/63)d (3672/226/11)-(3736/160/8)r

Primary partition(4)
   type: 142(0x8E)(Linux LVM physical volume)
   size: 71711mb #s(146864128) s(60030976-206895103)
   chs:  (1023/254/63)-(1023/254/63)d (3736/192/41)-(12878/159/17)r

* HPFS - NTFS           1555   0  1  2256 254 63   11277630
 P HPFS - NTFS           2257   0  1  2894 254 63   10249470
 D Linux Swap            2895   1  1  3672 254 63   12498507
>D Linux                 3672 226 11  3736 160  8    1024000 [Boot1]
 P Linux LVM             3736 192 41 12878 159 17  146864128
 L Linux LVM            12878 224 19 18100 139 23   83886080
 L Linux                19732 113 30 25214  44 46   88064000 [Backup]


I cannot make the partition table coherent.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


> Sent: Friday, July 14, 2017 at 8:33 PM
> From: "Samuel Sieb" <samuel@xxxxxxxx>
> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: /dev/loop
>
> On 07/14/2017 04:22 AM, Patrick Dupre wrote:
> > I just changed the size of the
> > first partition and I added a ext4 partition.
> 
> Did you unmount the drive before doing these changes?  gparted won't let 
> you modify a partition that is mounted.  You say you changed the size of 
> the first partition, was there more than 1?
> 
> > Thus, I try to read the key from another computer and gparted did not
> > like (fdisk was giving wrong partitions). Thus, I had to entirely
> > repartition the stick.
> 
> Were you using gparted or fdisk or both?  So the USB drive had a mangled 
> partition table as well?  That would be 4 drives messed up then.
> 
> > Anyway, I started to investigate the issues with the PC which could
> > not boot. And I arrived at the point that the partition tables of the
> > 3 HD were mess up.
> 
> I could kind of understand one disk getting messed up if you picked the 
> wrong disk, but I have no idea how all of them would be.
> 
> > Now, I am making the link.
> > Can this stick have a virus which may have mess up the partition tables.
> 
> Extremely unlikely since you didn't actually run anything from it.
> 
> > Please, note that one of the HD probably still had a XP OS bootable.
> > I did not use it for a very long time.
> 
> That should not be relevant other than you should see a FAT32 partition 
> in the table.
> 
> This has been a very long email thread, so I might have dropped some 
> info, but are you using a live image right now for investigating this? 
> Have you tried looking at these hard drives using a different computer?
> 
> I would recommend that you try a program called "gpart" to try to find 
> the partitions.  If the first try doesn't come up with a working layout, 
> you can add the "-f" parameter to make it do a full scan of the disk 
> instead of skipping when it thinks it found a valid filesystem.
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux