Apr 24, 2015

How to Unboot an Ubuntu Bootable USB

Retrieve full size from bootable USB
Unboot a bootable pendrive| Retrieve full size from bootable USB 
After the releasing of latest Ubuntu (14.04), I made my USB (pendrive) device bootable with Ubuntu 14.04 OS using Power ISO software for having a try.

The pendrive used was with capacity of 32 GB.

After installing Ubuntu on my PC, removed the pendrive and connected it to my laptop which runs on Windows 8.1 OS. But unfortunately it shows only 2.25 MB of total size but the actual capacity of my pen drive was 32 GB. I was shocked and formatted my pendrive many times for retrieving my lost space but still it shows only 2.25 MB of space.

Soon after, I found a solution for this issue, and the solution is, We have unboot the pendrive or any USB device once made it bootable if we need again for storing other files. Windows command prompt can be used for this. 

Steps for Unbooting a USB Device.

Start Administrator's command prompt. For this,

Windows 8 users, press Win + X and then press a.

Windows 7 and lower users, press start button and search for cmd then right click on it and click open as administrator. A black colored window will be opened.

Now we need to enter into disk partition by, 

Enter "diskpart" command on your command window.

Now, in Diskpart, we have to list out the available discs connected to the PC by,

Type "LIST DISK" command. This command will list all disks available in your PC including your USB device and note it's disk number.

Now we are going select the USB device from the disc list by,

Type the command "Select disk <num>" where <num> indicates the USB disk number seen on the disc list.

Now type "List Partition" Command to list our all available partitions in the USB disk.

For every one of them, type: "Select Partition <num>" where <num> is the partition number and "Delete partition". 

After selecting and deleting all partitions, make sure the the disc doesn't contains any partitions left by type the command "List Partition" again. 

If there aren't any, create new partition using  "create partition primary" command. If it asks size just use the default value. 

Now type the command “format fs=fat32 quick”.


buzzoole code
It’s Done