How to use G-Parted-Live-CD for USB storage device problems
There's a long list of reasons why Windows may stop recognizing your USB drive and/or stops displaying that familiar drive letter in Explorer. It sometimes becomes a challenge to find the problem cause
In such cases, it can help to isolate the problem: Try to rule out Windows and your other computer software
- Create a known and read-only software environment on a boot CD
- Boot from CD. Test your drive to see how it behaves when your computer is running an alternate software envirnoment
This Guide
- Provides two freeware tools G-parted and TestDisk that might help you fix/recover partition related errors that may be causing your problem
- Instructions to create a Gparted-Live boot CD which will provide a bootable software environment along with test tools on the CD
- Guidance to use the CD based software for testing and, if needed, partition management / repair
The Gparted-Live-CD includes an assortment of freeware / public source code based tools. Software tools included with the Gparte-Live-CD
- Gparted. Offers drive detection, partition management and data edit and recovery
- TestDisk. Yet another detect, manage and recovery tool
Gparted tool. Gparted is the Gnome Partition Editor. (If you like interesting acronyms:
Gnome is part of
GNU). Use Gparted to help detect, manage and recover your disk partitions and data.
More info at:
TestDisk tool. TestDisk is a detect / some partition management / more-so-a recovery tool on the Gparted-Live CD. Since it’s freeware, you may want to simply try it and decide things yourself.
More info at:
Creating/booting a Gparted-Live CDTo create CD
- Click here for Gparted-Live-CD download page
- The page lists current and past releases
- Find latest .iso file release at top of list. Click and Save to disk. An ISO (pronounced EYE–so) file is an image of an optical disk's playable surface
- Burn iso file to CD. Pretty much all CD burn software supports iso. Check your documentation (look for iso in the index or simply search for iso in the doc)
To boot from CD
- Power off your computer. Disconnect all USB devices
- Insert CD. Power on
- BIOS boots from first device found containing bootable media. BIOS settings define the search order. Order should put CD before internal hard drive.
- Some systems also provide a Boot Menu. When the boot device is manually selected via Boot Menu, the device search by BIOS is skipped
==> Check your system documentation for available methods
- The CD boots into Linux (another Operating System). When prompted for startup values, hit Enter for defaults. Defaults work for most systems but you may need to select a non-default resolution if display problems occur with default
Use Gparted to test the USB hard drive
You need first understand the device naming conventions used
Device Naming Conventions
Linux device names are created as follows
- Bus Type – Defines the start of the device name
- IDE devices start /dev/hd
- SCSI / USB devices start /dev/sd
- Drives - A letter after Start of device name differentiates drives
- Example: These names represent two different IDE drives (/dev/hda vs. /dev/hdb)
- Partitions – A digit occurs after a drive letter to differentiate partitions
- (/dev/hdb1 and /dev/hdb2 are different partitions on the same drive
/dev/hdc1 is a different partititon on a different drive)
How to Perform a Quick USB detect test
A test result is referred to as USB detect result n where n is a digit representing the specific type of result. An explanation of each USB detect result is provided later below
- Disconnect all USB
- Boot from CD. Gparted’s first screen includes info about the partitions found on computer’s boot drive
- Click Gparted->Devices. Identify other drives found at start up
- Connect USB drive. Wait 30-60 seconds
- Click Gparted->Refresh->Devices then Gparted->Devices
- Does USB drive appear now? If yes, verify drive info is what you expect
>> (eg. disk size, number and types of partitions) <<
Use Gparted to check if your USB hard drive is detected
- If USB drive is now detected and drive info is correct see Detect Result #1 otherwise continue
How to Perform a System-level USB detect test
- Disconnect all USB. Reboot from CD. As above, verify which drives detected on boot
- Open Linux window: double click window icon (top of Gparted window) type dmesg for system log
- Connect USB drive
- Open new Linux window, get system log. Compare new/old logs to find USB entries after connect. Verify new device name of USB device
- Click Gparted->Refresh Devices then Gparted->Devices. Is USB device among the devices?
=> If USB drive is listed in Devices see Detect Result #1
=> If USB drive not listed in Devices and USB drive not found in system log see Detect Result #2
=> If USB drive not listed in Devices but USB drive does appear in system log see Detect Result #3
Checking USB Detect Test Results
Different USB Detect results below along with indication what each means as likely problem source
=>
USB Drive hardware can be: the internal disk, the case enclosure, AC power adapter, USB cable
=>
Computer hardware can be: BIOS, internal boards, USB ports, etc.
- Drive detected by Gparted and recognized correctly
Probably software issue, Windows or other software running (including a virus!)
> Once Gparted sees the device name
=> you can use Gparted and TestDisk to manage partitions / attempt data repair or recovery
=> Still check system log for USB drive error messages as they may help identify problems if seeing the drive but incorrect partition info <
- Drive not found in system log or detected by Gparted
Your drive isn’t even sensed by hardware. Could be USB Drive or Computer Hardware
- Drive found in system log but not seen by Gparted
Sensed by hardware so computer tries reading. Log should reveal device errors (I/O, corruption, etc.) which are severe so Linux (and probably Windows) will not present the new device to other software to see/use. Problem is likely the USB drive or hardware or in system-level software (eg. drivers, driver filters, services)
Using Testdisk
- Connect USB drive
- Open Linux window. Enter TestDisk
- Follow tell prompts till choice of drives listed (along with drive’s info)
- If USB drive not listed
- Exit TestDisk
- Unplug the drive. After a short wait reconnect the drive
- Start TestDisk again