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 1Mw9PX-0005ir-10 for garchives@archives.gentoo.org; Fri, 09 Oct 2009 06:57:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B72CE0798; Fri, 9 Oct 2009 06:57:05 +0000 (UTC) Received: from mail-ew0-f205.google.com (mail-ew0-f205.google.com [209.85.219.205]) by pigeon.gentoo.org (Postfix) with ESMTP id E78A6E0798 for ; Fri, 9 Oct 2009 06:57:04 +0000 (UTC) Received: by ewy1 with SMTP id 1so6178111ewy.34 for ; Thu, 08 Oct 2009 23:57:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=tz/JGk9RNjaxDKi472BFoaKh4c1hAPgmUBV82UE9oks=; b=VeDHv9kjS2CRnURxaIUhisDDBMcKjO+gsF5/StoYLRiZ5w4BXVyqDxV/LMp/sZUW83 bW/ul9E+qSrVPl/lPpAbx6mfGOUiF9ZkETfA17Df/1mJPbwMZfIg2nLjYGS/xYyGJ1YT vqGiaZ6S2LPmSG1zRIf7C/95tLVvDEKbifECo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=CeR1FFbmMtGWDssijydYHtqQ0jgtnmcIOwCJ6bLmtXvv8wOFVFJG9fm9p7Ot12LI12 hVywUqXaa+mtIinS6jOOnFm/iDJFHeSf9cCB3fLllcFiuLJmCV8gMig7P+RCVkVeVU8F ct5zm+6WRczSc+yZP9Znda9HsPM6I9zNGdZzU= Received: by 10.211.155.11 with SMTP id h11mr9426395ebo.40.1255071424408; Thu, 08 Oct 2009 23:57:04 -0700 (PDT) Received: from lappy.study (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id 23sm747800eya.26.2009.10.08.23.57.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 08 Oct 2009 23:57:03 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Formating a USB stick Date: Fri, 9 Oct 2009 07:56:49 +0100 User-Agent: KMail/1.9.10 References: <200910072330.36480.michaelkintzios@gmail.com> <58965d8a0910081410h7bea965bj90c60ea82407bfe7@mail.gmail.com> <10F23866-6927-40E3-9A3E-C425CA2A3205@stellar.eclipse.co.uk> In-Reply-To: <10F23866-6927-40E3-9A3E-C425CA2A3205@stellar.eclipse.co.uk> 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 Content-Type: multipart/signed; boundary="nextPart1906028.gM5WSXlERL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200910090757.01760.michaelkintzios@gmail.com> X-Archives-Salt: 9f3d8e0f-9a45-49fb-8e4d-a2bad887dd6e X-Archives-Hash: 5d3c080e58ebc9093cd3613d471121cf --nextPart1906028.gM5WSXlERL Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 09 October 2009, Stroller wrote: > On 8 Oct 2009, at 22:10, Paul Hartman wrote: > > ... > > With SD cards, often times there are no partitions. So if you create > > proper partitions sometimes it won't read in other devices/computers. > > (in linux terms that means you would format /dev/sda not /dev/sda1) > > Uh, unless SD cards are seriously goofy - a possibility I concede - > then they're just a bunch of blocks. Partitions are just something you > - either you the user, or the manufacturer if they come pre-formatted > - put on there. > > I'm pretty sure that my experience with at least one external hard- > drive (USB mass-storage device) was that formatting /dev/sda worked > just fine under Linux (and, I think OS X) but was not recognised by > Windows XP. IIRC mkfs.vfat gave a warning. When formatted by Windows > XP and remounted in Linux the drive was of the /dev/sda1 type of > partition layout. > > This seems to be the opposite of how you describe, unless I am > misreading. Some USB sticks are formatted as floppy disks (?) and show up as /dev/sda=20 (instead of /dev/sda1). I have had no problems mounting these in Linux or= =20 MSWindows, but wouldn't know how to format them in Linux. Their partitions= =20 look all over the shop. dmesg shows: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D usb-storage: device scan complete sd 1:0:0:0: [sda] 1997312 512-byte hardware sectors: (1.02 GB/975 MiB) sd 1:0:0:0: [sda] Write Protect is off sd 1:0:0:0: [sda] Mode Sense: 03 00 00 00 sd 1:0:0:0: [sda] Assuming drive cache: write through sd 1:0:0:0: [sda] Assuming drive cache: write through sda: sd 1:0:0:0: [sda] Attached SCSI removable disk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D and fdisk: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # fdisk -l /dev/sda Disk /dev/sda: 1022 MB, 1022623744 bytes 32 heads, 61 sectors/track, 1023 cylinders Units =3D cylinders of 1952 * 512 =3D 999424 bytes Disk identifier: 0x69737369 This doesn't look like a partition table Probably you selected the wrong device. Device Boot Start End Blocks Id System /dev/sda1 ? 957875 1044294 84344761 69 Unknown Partition 1 has different physical/logical beginnings (non-Linux?): phys=3D(68, 13, 10) logical=3D(957874, 21, 37) Partition 1 has different physical/logical endings: phys=3D(288, 115, 43) logical=3D(1044293, 15, 36) Partition 1 does not end on cylinder boundary. /dev/sda2 ? 871681 1829612 934940732+ 73 Unknown Partition 2 has different physical/logical beginnings (non-Linux?): phys=3D(371, 114, 37) logical=3D(871680, 1, 61) Partition 2 has different physical/logical endings: phys=3D(366, 32, 33) logical=3D(1829611, 4, 30) Partition 2 does not end on cylinder boundary. /dev/sda3 ? 2 2 0 74 Unknown Partition 3 has different physical/logical beginnings (non-Linux?): phys=3D(371, 114, 37) logical=3D(1, 10, 12) Partition 3 has different physical/logical endings: phys=3D(372, 97, 50) logical=3D(1, 10, 11) Partition 3 does not end on cylinder boundary. /dev/sda4 1 1759792 1717556736 0 Empty Partition 4 has different physical/logical beginnings (non-Linux?): phys=3D(0, 0, 0) logical=3D(0, 0, 1) Partition 4 has different physical/logical endings: phys=3D(0, 0, 0) logical=3D(1759791, 23, 37) Partition 4 does not end on cylinder boundary. Partition table entries are not in disk order =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D While parted again has no problem seeing it and identifying the partition=20 tablet as "loop" instead of MSDOS: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # parted /dev/sda Warning: GNU Parted has detected libreiserfs interface version mismatch. =20 =46ound 1-1, required 0. ReiserFS support will be disabled. GNU Parted 1.8.8 Using /dev/sda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) p =20 Model: Crucial Gizmo! overdrive (scsi) Disk /dev/sda: 1023MB Sector size (logical/physical): 512B/512B Partition Table: loop Number Start End Size File system Flags 1 0.00B 1023MB 1023MB fat16 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-=20 Regards, Mick --nextPart1906028.gM5WSXlERL Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEABECAAYFAkrO3r0ACgkQVTDTR3kpaLYEgQCeKHZP3/+tF1H+intYPjppL0W4 QakAnAxOjKexJp6uTbPo8YPYl1/bCBva =ttj3 -----END PGP SIGNATURE----- --nextPart1906028.gM5WSXlERL--