Posts

Showing posts from November 13, 2019

Why USB drive lose space?

Image
Why USB drive lose space? When trying to use your USB drive, you plug it in your computer and open My Computer, only to find that much space on the USB drive is lost, leaving only a few megabytes available free space. Then you open Disk Management, which is a Windows built-in utility, to see what really happens to your USB drive. You will find out that the lost space is shown as unallocated. Before you manage to recover unallocated space on the USB drive, you may want to know how this happened. The lost space on USB drive often occurs after trying to burn a system to the USB drive. Some operating system (OS), such as Chrome OS and Linux, will change the partition system of your removable device, so there will be little free space on your USB drive. Using some third party software inappropriately or an unsuccessful  formatting  may also cause inaccessible portion on your USB drive, which is shown as unallocated space. How to use the unallocated space? When this situation happen

Install GParted

The following steps will help to fix your USB drive. Step 1 - Install GParted By default, GParted isn't installed in Ubuntu. You can install GParted in a number of ways, but the easiest is to run the following command in the  Linux terminal : sudo apt-get install gparted Step 2 - Run GParted Press the  super key  to bring up the Dash and search for "GParted". Click on the  GParted icon  when it appears. Select the disk that represents your drive from the list in the top right corner of the screen. Step 3 - Create A Partition Table You should now see a large area of unallocated space. To create a partition table select the  Device  menu and then  Create Partition Table . A window will appear stating all data will be erased. Leave the partition type as "msdos" and click  Apply . Step 4 - Create A Partition The final step is to create a new partition. Right click on the unall

A command-line method to make a live USB for UEFI systems

A command-line method to make a live USB for UEFI systems Please note: this deletes all data on the target device. Install prerequisite: sudo apt-get install p7zip-full Assuming the target USB is at  /dev/sdb ( please check  first with  lsblk  or  gnome-disks  or  sudo fdisk -l  and be sure you know what you are formatting) Make sure the device has no mounted filesystem and unmount it if necessary, for example: udisksctl unmount -b /dev/sdb1 Destroy existing partition table: sudo sgdisk --zap-all /dev/sdb Create new GPT: sudo sgdisk --new=1:0:0 --typecode=1:ef00 /dev/sdb Format as FAT32: sudo mkfs.vfat -F32 /dev/sdb1 Check it: sudo fdisk -l /dev/sdb Should output something like: Device Start End Sectors Size Type /dev/sdb1 2048 15663070 15661023 7.5G EFI System Mount the drive and extract iso onto it, replacing 'name-of-iso' with the actual filename of the iso you downloaded earlier sudo mount -t vfat /dev/sdb1 /mnt sudo 7z x name-of