From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RB7ij-0002DT-I8 for garchives@archives.gentoo.org; Tue, 04 Oct 2011 16:19:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CED721C0F8; Tue, 4 Oct 2011 16:19:44 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id DDB1021C021 for ; Tue, 4 Oct 2011 16:18:38 +0000 (UTC) Received: by wwg14 with SMTP id 14so919899wwg.10 for ; Tue, 04 Oct 2011 09:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=sjjvrvoZj7zJjwQRoWFRxk57elXBDGMdLfUkZ6W5I4U=; b=hxoOZQIXsL54KZzyASvaTpbRaVL55jK0rMg3V+F4jFDcYX7gLSsFvRw68P6lETBua0 N/ZlQ2amPCmN7MWTg+A2S4eBCreJCgTfyvtI7qDRGDRzkj1BLOmNaXzixho9WRDBKvJA AqOjwl4U6ErS0LZnRNu4BCau9L31s1pDACeRs= Received: by 10.227.29.85 with SMTP id p21mr1745927wbc.84.1317745118108; Tue, 04 Oct 2011 09:18:38 -0700 (PDT) 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 MIME-Version: 1.0 Sender: paul.hartman@gmail.com Received: by 10.227.59.193 with HTTP; Tue, 4 Oct 2011 09:18:18 -0700 (PDT) In-Reply-To: <201110040759.09558.michaelkintzios@gmail.com> References: <201110032316.11950.michaelkintzios@gmail.com> <201110040618.46748.michaelkintzios@gmail.com> <201110040759.09558.michaelkintzios@gmail.com> From: Paul Hartman Date: Tue, 4 Oct 2011 11:18:18 -0500 X-Google-Sender-Auth: iR3IYp-qjZbu3YtGmyoWNqoIRO4 Message-ID: Subject: Re: [gentoo-user] Strange partition on USB stick To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: a450de405183158515fe7aa8d70c5cf6 On Tue, Oct 4, 2011 at 1:58 AM, Mick wrote: > On Tuesday 04 Oct 2011 06:27:50 Paul Hartman wrote: >> On Tue, Oct 4, 2011 at 12:18 AM, Mick wrote: >> > On Tuesday 04 Oct 2011 04:39:45 Adam Carter wrote: >> >> If the data is important, I'd use ddrescue to create an image of the >> >> drive, then run testdisk over that image to see if it can untangle th= e >> >> partition table mess. Both are in portage. >> > >> > Well, that's the thing: =A0I'm not sure that there is a mess. =A0At le= ast not >> > as far as parted is concerned, which can read the partition table >> > properly. >> > >> > I suspect that fdisk (unlike parted) is not capable of reading the dev= ice >> > correctly. >> > >> > I forgot to say that when mounted the USB stick shows not partitions >> > (i.e. there is no sdb1, sdb2, etc.) =A0To access the fs I must do >> > something like: >> > >> > pmount /dev/sdb >> > >> > and then all is lists under /media/sdb. =A0It is like a big floppy. >> >> I think that's your answer. The "partition table" looks funny because >> it isn't one. :) It is somewhat common. I've had some myself that are >> like that. > > If there isn't a partition table, then why fdisk sees /dev/sdb1-4 with > somewhat strange ID types? It's misinterpreting the data that happens to be there because it makes the assumption that it's a partition table even though it's not. You can create a real partition table on that device and reformat, if you want. (Note that some flash-based devices suffer degraded performance if you repartition or reformat them because they come with specially-aligned FAT tables from the factory)