From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5CE7F138334 for ; Wed, 19 Dec 2018 22:16:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4C6EE0AE8; Wed, 19 Dec 2018 22:16:51 +0000 (UTC) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 228B7E0A7F for ; Wed, 19 Dec 2018 22:16:51 +0000 (UTC) Received: by mail-wm1-x334.google.com with SMTP id y139so31293wmc.5 for ; Wed, 19 Dec 2018 14:16:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:reply-to:subject:date:message-id:in-reply-to:references :mime-version; bh=1uYhjGklymhbfPU3dIZKEzWtxzoL55RYv/gNmL2Mdmc=; b=eNfGXrtfyTqy2gJ/obJS5ugZdJc+qiofq7dppNT1ZnGiuyzeqSSVpvCNiiSDqGq848 7Ht2u1z7do8jlUhLjZJ3p5yFs5KQq/gZU0n8WyuZStd1OST04WlKfx0mDeQeG4F1M9TD 6fY4nfCerjOBx3/FRrMOow8HpKuJoAkEtUWMW7XftnmawVpZ43xGuY6W/KgcWRjCXURA pCaxRvQ3ewfzTAuYMs12zLZoJtymfSBE88bb0B0CedhNl8/V9Qar4Xq//S4IvatpLFh3 aXccU8tLGgj0RIPobShNFAgbh10xvBzyxTMGSyFAucgkTzX3bOoeChowqL4izNolJxao EqzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:reply-to:subject:date:message-id :in-reply-to:references:mime-version; bh=1uYhjGklymhbfPU3dIZKEzWtxzoL55RYv/gNmL2Mdmc=; b=kffbb+FCUf9l1+sPhS8puBPajSlezeC2tnAuy8Dd/ikyJ9kfivgBsUdf0dvBrcUVWl sk+1J0l3SSDB9wgk19ToSlgqz+scfpBnf1Ivu4ddm6QiZFgBnCyp3xb0h2z9lNuEYG5B vuSNng8vO/OJuTYWO5UXx9OcxS9zA/SIs5J6oVvwzM+CmQCDU6xbXxswIjUhfLXq/jOO Pbnbh9gz60W0FBn+GXQEDdSgbI+jJd//xnn79cJaXL/yHXB9sX8Y331TBIopr3DSo1A0 yFtjB6IGtNpoo1ocHhhTtkjkDULiQiTDEbYj3SbpcZ43W8ER7PDpFBYm1Ziatz1NnDmh l7Og== X-Gm-Message-State: AA+aEWZqhCLb9UT9N+htGFNqjxMQiMxd3GJK/K6RzcAonZ0TnVSiDi2Q kZarGshpY4PioTZ7RIGzhbXfu3h1 X-Google-Smtp-Source: AFSGD/WsUXobCBcgTymjKNR3R7L+tJcAqdNN57JtbKLYsFR6YtiBxvkQqIXK6Q0EfVj1Kyzullwu3w== X-Received: by 2002:a1c:af89:: with SMTP id y131mr8560096wme.105.1545257809438; Wed, 19 Dec 2018 14:16:49 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by smtp.gmail.com with ESMTPSA id l37sm11618013wre.69.2018.12.19.14.16.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Dec 2018 14:16:48 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] data recovery advice needed Date: Wed, 19 Dec 2018 22:16:49 +0000 Message-ID: <5138848.JoqxQPOfia@dell_xps> In-Reply-To: References: <15309912.c872to7dZ8@dell_xps> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2328797.orndidW2SC"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Archives-Salt: 90227972-4989-46f6-890c-9a7492edebf2 X-Archives-Hash: d61479c98e116f66edf838448c7b73b0 --nextPart2328797.orndidW2SC Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" On Wednesday, 19 December 2018 18:46:40 GMT Grant Taylor wrote: > On 12/19/2018 04:43 AM, Mick wrote: > > Partition table holds up to 128 entries > > 128 entries tells me that the disk has GPT partition table, not a > classis MS-DOS / PC-BIOS partition table. > > This sounds like the (what I understand to be) the classic protection > partition that GPT fakes in PC-BIOS partition tables. > > Do you have GPT partition support in your kernel? > > I'm guessing the one partition that you see is the size of the entire drive. > > Main partition table begins at sector 2 and ends at sector 33 > > First usable sector is 34, last usable sector is 1953525134 > > Partitions will be aligned on 2048-sector boundaries > > Total free space is 4770 sectors (2.3 MiB) > > > > Number Start (sector) End (sector) Size Code Name > > > > 1 2048 821247 400.0 MiB 2700 Basic data > > partition > > 2 821248 1353727 260.0 MiB EF00 EFI system > > partition > > 3 1353728 1615871 128.0 MiB 0C01 Microsoft > > reserved > > > > ... > > > > 4 1615872 1911737034 910.8 GiB 0700 Basic data > > partition > > 5 1911738368 1915412479 1.8 GiB 2700 > > 6 1915412480 1953523711 18.2 GiB 0700 Basic data > > partition > > > > I can see partition 4 I was trying to recover, but could not add it: > > > > partx --show --nr 4 /dev/sdb > > NR START END SECTORS SIZE NAME UUID > > > > 4 1615872 1911737034 1910121163 910.8G Basic data partition fea85fb3- > > > > cfdb-4868-a1ad-bab264dad237 > > > > partx --add --nr 4 /dev/sdb > > partx: /dev/sdb: error adding partition 4 > > > > partx --add /dev/sdb > > partx: /dev/sdb: error adding partitions 1-6 > > That really sounds like your kernel doesn't have GPT support (loaded). Grant, you're spot on! Symbol: EFI_PARTITION [=n] I was under the impression I had it enabled, but clearly I hadn't on this PC; which has a legacy BIOS with an MBR disk and which I used for troubleshooting the faulty drive after I removed it from the laptop. Lesson learned. ;-) -- Regards, Mick --nextPart2328797.orndidW2SC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEt7MNaGaS6HvTUrEz6WnU8jC95dcFAlwaw1EACgkQ6WnU8jC9 5dfP3hAAhPugUQcR2J1SldSJMEZyPea2Av7AyNtfYUkJ5Wcffvhfl3VEU3eTCBqp RPPr76PXmva203zEUcbIFY9NUmrBqDd2WpWFCdUl9nayNojeIeX9cwl+HBWEZUOn mJeURy+ytMiKaTGMRCzWvPKq4taFrDNzhWUOv2Dt0qG5qtr28ygPcee79LV8RZl2 TCWMr/ZK3DldTGsDy6qdtu6fP2plywlkL8SBPrLlLnEsPETVp4xNMyqyxb748QDn EphrJA1xy9EeSBjDObjhzhxjRhgn9SbEQ+Aptj46igZObZ4MrSAyVy8oD+0Vf7QS wQ0R+rcTnLMIDlU64LTTusQ4iFRL6erkzfSEsxZlpgFgqoC4yI13/CQtg/hpnnbl l9AWsILU3EkZEa1F4+FCSSAh8iV8Xpz3aPQH3xYwKA6i4NptaXv1l9kRbAZC1PtM bXPmL0T/rPX4zn05EVxvvohosT+5NFpTCM5d9FkZLh4yrTcJT2B2PFO0fDMFQ+aH LM1f3LWhGN31B3MIzQ9O6Be/Fayw4S1bMlA6imKHSEJIUgAatL9/O7KWq6fz2lRL v5boXQL10eCJDAXCI3/5xu+jswTDbhB10AEWH2jkyoBUV5kX4ziYwPpg+1czRTBU McTCQ3tg1Kcmkmag5gGel6QyNA0dA+Po75W1oJ16MbFYhuDmAww= =nEwZ -----END PGP SIGNATURE----- --nextPart2328797.orndidW2SC--