Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Trouble with backup harddisks
Date: Thu, 30 Apr 2020 09:32:27
Message-Id: 20200430093217.efprkpt4kbvir7nr@solfire
1 Hi,
2
3 recently I switched from the old MBR-scheme to GPT on
4 my new PC.
5
6 I have two external USB-harddisk, which were partioned/formatted with
7 a MBR-scheme/MSDOS partition (but were never used to boot from. They are pure
8 data containers).
9
10 When I connect these to my new PC, only the device is shown:
11 /dev/sdb, /dev/sdc.
12
13 The kernel is configured (beside other things) as follows:
14
15 #
16 # Partition Types
17 #
18 CONFIG_PARTITION_ADVANCED=y
19 # CONFIG_ACORN_PARTITION is not set
20 # CONFIG_AIX_PARTITION is not set
21 # CONFIG_OSF_PARTITION is not set
22 # CONFIG_AMIGA_PARTITION is not set
23 # CONFIG_ATARI_PARTITION is not set
24 # CONFIG_MAC_PARTITION is not set
25 CONFIG_MSDOS_PARTITION=y
26 # CONFIG_BSD_DISKLABEL is not set
27 # CONFIG_MINIX_SUBPARTITION is not set
28 # CONFIG_SOLARIS_X86_PARTITION is not set
29 # CONFIG_UNIXWARE_DISKLABEL is not set
30 # CONFIG_LDM_PARTITION is not set
31 # CONFIG_SGI_PARTITION is not set
32 # CONFIG_ULTRIX_PARTITION is not set
33 # CONFIG_SUN_PARTITION is not set
34 # CONFIG_KARMA_PARTITION is not set
35 CONFIG_EFI_PARTITION=y
36 # CONFIG_SYSV68_PARTITION is not set
37 # CONFIG_CMDLINE_PARTITION is not set
38 # end of Partition Types
39
40 CONFIG_BLOCK_COMPAT=y
41 CONFIG_BLK_MQ_PCI=y
42 CONFIG_BLK_MQ_VIRTIO=y
43 CONFIG_BLK_PM=y
44
45 dmesg shows this:
46 [14617.672363] usb 2-2: New USB device found, idVendor=1058, idProduct=25a2, bcdDevice=10.21
47 [14617.672364] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
48 [14617.672364] usb 2-2: Product: Elements 25A2
49 [14617.672365] usb 2-2: Manufacturer: Western Digital
50 [14617.672366] usb 2-2: SerialNumber: 575844314132383959393934
51 [14617.681660] usb-storage 2-2:1.0: USB Mass Storage device detected
52 [14617.681737] scsi host10: usb-storage 2-2:1.0
53 [14618.725450] scsi 10:0:0:0: Direct-Access WD Elements 25A2 1021 PQ: 0 ANSI: 6
54 [14618.725594] sd 10:0:0:0: Attached scsi generic sg1 type 0
55 [14618.728090] sd 10:0:0:0: [sdb] Spinning up disk...
56 [14619.748918] ...ready
57
58 I tried different USB ports in a desperate hope of success...
59 ...no, same problem.
60
61 Interestingly fdisk shows the following:
62
63 host> sudo fdisk -l /dev/sdb
64 Disk /dev/sdb: 931.49 GiB, 1000170586112 bytes, 1953458176 sectors
65 Disk model: Elements 25A2
66 Units: sectors of 1 * 512 = 512 bytes
67 Sector size (logical/physical): 512 bytes / 512 bytes
68 I/O size (minimum/optimal): 512 bytes / 512 bytes
69 Disklabel type: dos
70 Disk identifier: 0x16f2a91f
71
72 Device Boot Start End Sectors Size Id Type
73 /dev/sdb1 1 1953458175 1953458175 931.5G ee GPT
74
75 The type is shown as GPT...but the drive has a MSDOS partition table.
76
77 Reading my (old) internal harddrive with an external USB docking
78 station is possible without any problems, though.
79
80 Unfortunatelu I have no space for 1T image of that drive -- otherwise
81 I would have made an image copy and experiment with that.
82
83 So better ask, than sorry.... ;)
84
85 Is this fixable or did I lost my backups?
86
87 Cheers!
88 Meino

Replies

Subject Author
Re: [gentoo-user] Trouble with backup harddisks Wols Lists <antlists@××××××××××××.uk>