usb key partition table
Hello.
I've been trying to make a usb key work with both windows xp and windows 98. I couldn't. The key does not work. So, eventually, I tried to rebuild its partition, using my Linux pc. I first ran: badblocks -vw /dev/sda that finished successfully after some time. Then I tried to run cfdisk, but: Quote:
Quote:
dd if=/dev/zero of=/dev/sda bs=1K count=1 but it didn't work; I mean, dd executed successfully, but the partition trouble is still there. What's wrong?!? Thanks. |
try fdisk /dev/sda
|
Code:
# fdisk /dev/sda Thanks |
Type x > Type m - to read help it will show you menu to setup the cylinders
|
Thank you for your reply, but my problem is: how should I guess the number of cylinders? I don't even know what a cylinder is...
|
have you tried the key in another machine just to rule out that there is a hardware fault?
|
Quote:
Anyway, looking at cfdisk on a working disk: Code:
Disk /dev/hde: 120.0 GB, 120034123776 bytes My usb key has a capacity of 256MB, that *should* be 268435456 bytes; so it's 512 * x * y = 268435456 like: 512 * 1008 * 232581 = 120034123776 am I right? How could I know x (or y) ? Thanks |
:confused:
|
All times are GMT -5. The time now is 02:05 AM. |