Gentoo Archives: gentoo-user

From: dhk <dhkuhl@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Formating a USB stick
Date: Wed, 07 Oct 2009 22:55:23
Message-Id: 4ACD1C58.3050907@optonline.net
In Reply to: [gentoo-user] Formating a USB stick by Mick
1 Mick wrote:
2 > What's the best way to reformat a USB stick? It currently shows this in
3 > fdisk:
4 > ===========================================
5 > Disk /dev/sda: 1010 MB, 1010826752 bytes
6 > 255 heads, 63 sectors/track, 122 cylinders
7 > Units = cylinders of 16065 * 512 = 8225280 bytes
8 > Disk identifier: 0x91f72d24
9 >
10 > Device Boot Start End Blocks Id System
11 > /dev/sda1 * 1 123 987104 6 FAT16
12 > Partition 1 has different physical/logical endings:
13 > phys=(121, 254, 63) logical=(122, 227, 40)
14 > ===========================================
15 > Not sure I understand the "physical/logical endings" comment that fdisk throws
16 > at me.
17 >
18 >
19 > This is what sfdisk shows:
20 > ===========================================
21 > # sfdisk /dev/sda
22 > Checking that no-one is using this disk right now ...
23 > OK
24 >
25 > Disk /dev/sda: 1011 cylinders, 32 heads, 61 sectors/track
26 > Old situation:
27 > Warning: The partition table looks like it was made
28 > for C/H/S=*/255/63 (instead of 1011/32/61).
29 > For this listing I'll assume that geometry.
30 > Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
31 >
32 > Device Boot Start End #cyls #blocks Id System
33 > /dev/sda1 * 0+ 122- 123- 987104 6 FAT16
34 > end: (c,h,s) expected (122,227,40) found (121,254,63)
35 > /dev/sda2 0 - 0 0 0 Empty
36 > /dev/sda3 0 - 0 0 0 Empty
37 > /dev/sda4 0 - 0 0 0 Empty
38 > Input in the following format; absent fields get a default value.
39 > ===========================================
40 >
41 > Grateful for any attempt to educate me on this! :-)
42
43 I use fdisk and treat it like any other drive/disk.