Problem on partition SD card

Stephen Liu satimis at yahoo.com
Wed May 10 04:39:17 UTC 2006


Hi folks,

Fialed to partition a SD card.

mini SD
kingmax 128M
FC5_64
==========


# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        1734    13823932+  83  Linux
/dev/sda3            1735        3008    10233405   83  Linux
/dev/sda4            3009        9729    53986432+   5  Extended
/dev/sda5            3009        3262     2040223+  82  Linux swap /
Solaris

Disk /dev/sdb: 127 MB, 127139840 bytes
8 heads, 32 sectors/track, 970 cylinders
Units = cylinders of 256 * 512 = 131072 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         969      123983+   6  FAT16


# fdisk /dev/sdb
You will not be able to write the partition table.


# fdisk /dev/sdb1

Command (m for help): d
No partition is defined yet!

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-968, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-968, default 968): +50M

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (383-968, default 383):
Using default value 383
Last cylinder or +size or +sizeM or +sizeK (383-968, default 968):
Using default value 968

Command (m for help): w

Unable to write /dev/sdb1


# dmesg -c
...
usbcore: registered new driver libusual
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
...
....
ppdev: user-space parallel port driver
ppdev0: registered pardevice
ppdev0: unregistered pardevice
ppdev1: claim the port first
ppdev2: claim the port first
ppdev3: claim the port first


Please advise how to partition the SD card.  TIA

B.R.
SL




More information about the fedora-list mailing list