I have a pendrive that was used to boot a linux image (created using dd if=... of=/dev/sd4 bs =1m
on a mac)
Now I would like to use it again as regular pendrive. Unfortunately I just have a windows xp pc available.
The problem is the drive is 8BG in size - but I can only access about 2GB that were used by the boot image.
In Computer Management
>Storage
>Disk Management
the drive is show 7.45GB in size with a 2.36GB partition. But for the small partition "delete partion" is grayed out, also in the unused space "new partition" is grayed out.
Here's what I tried:
If I use
diskpart
on the command linelist disk
only shows the built in drives - so I can not select the drive.I also tried a 'lexar_usb_format' utility - but it also just allowed me to format the 2.3GB.
I tried the same on a second XP machine with same results.
If I wait till weekend I can try to restore it on a Mac - but I find it hard to believe there's no way to fix it using plain windows.
(and unfortunately this time I can't boot into linux as the distro won't boot on this PC - bad luck)
Answer
What about using DISKPART
in Windows?
- Open the Command Prompt as the Administrator, and type
DISKPART
, and press Enter. - Type
LIST DISK
and press Enter to see the physical disks attached. Look for which disk is your flash drive (usuallyDISK 1
orDISK 2
). - Type
SELECT DISK x
(replacex
with the number of your flash drive), then press Enter. - Finally, type
CLEAN
and Enter. - Type
CREATE PARTITION PRIMARY
, andASSIGN LETTER X:
(replacex:
with any free drive letter). - You can also run a
FORMAT
from this program, or run it separately.
No comments:
Post a Comment