Find the answer to your Linux question:
Results 1 to 4 of 4
I have a pen-drive which was working,normally until recently. I must have pulled it out mistakenly when it was still active(I was working on windows). Linux seems to detect it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    59

    Problem with a pen-drive


    I have a pen-drive which was working,normally until recently. I must have pulled it out mistakenly when it was still active(I was working on windows). Linux seems to detect it and allows me to view and edit the files. However, on windows, I get the following error as soon as I insert the drive :
    " There is no disk in drive. Please insert a disk into drive \Device\Harddisk1\DR7".
    Also, windows does not even allow me to format this volume. Does linux have a tool that can be used to format this drive? Or, Is there some other way to make the drive work?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    You can use PartedMagic LiveCD to format any storage media. Plug-in Pen Driver and boot up from PartedMagic LiveCD. Select partition of Pen Drive and format it. Back data before formatting.
    If you have any confusion, execute fdisk -l command in Terminal of Parted Magic and post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    59
    Hi,
    I booted through the disk and through fdisk -l, I was able to select the partition for the pen-drive. The menu has the following options :
    1. Create Partition.
    2. Delete partition.
    3. Select alternate fixed disk.
    Can you let me know which is the command i need to use to format this drive?

    Thanks

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    check the manual of mkfs command. Execute mkfs.vfat to format pen-driver partition in FAT32 filesystem.
    Code:
    mkfs.vfat /dev/<pen_drive_partition>
    Be careful while executing mkfs command. Type correct partition.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •