Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is inside USB Stick?

Status
Not open for further replies.

RETGT

Banned
Full Member level 3
Joined
Nov 12, 2016
Messages
161
Helped
0
Reputation
0
Reaction score
0
Trophy points
16
Activity points
0
Hello,
I have boot install ubuntu from usb stick the usb has efi file ...etc
but now i want to use the usb for work but it is showing only 2.8mb from 8gb.
what is the procedure to make it normal storage device??
 

It seems it is partitioned into several drives and you can only see one of them, probably the boot partition.

If you are doing it in Windows, open the "Administration Tools/Computer Management", find the "Storage" section and it will show you the partitions on all your drives, including the USB one. It will probably say the largest part of the USB one is unrecognized (Windows can't read Linux partitions). MAKE SURE YOU SELECT THE CORRECT DRIVE then click on all the partitions in turn and delete them. When they are all gone, create a new partition using the whole area then format it. The stick should then be like new.

In Linux, run the program 'Disks' and basically do the same thing. The commands to delete and create partitions are found by clicking on the icon below the disk map.

I repeat - make sure you have selected the USB drive and not your hard disk. If you select the wrong disk and delete a partition, you WILL lose all the data on the drive and there is no way to recover it.

Brian.
 

USB STICK FORMAT.jpg
It seems it is partitioned into several drives and you can only see one of them, probably the boot partition.

If you are doing it in Windows, open the "Administration Tools/Computer Management", find the "Storage" section and it will show you the partitions on all your drives, including the USB one. It will probably say the largest part of the USB one is unrecognized (Windows can't read Linux partitions). MAKE SURE YOU SELECT THE CORRECT DRIVE then click on all the partitions in turn and delete them. When they are all gone, create a new partition using the whole area then format it. The stick should then be like new.

Hello,
yes how to delete the partion i am unable to do...

THE F Disk is usb..
 

It is the "Disk 1" disk and you still have a partition in the middle between the ones marked "Unallocated". If you click on it and delete it, the whole disk should then say "Unallocated". The click again and create a new primary partition using all the available space, finally, format it (I suggest FAT32 if it asks) and it will be ready to use.

Brian.
 
  • Like
Reactions: RETGT

    RETGT

    Points: 2
    Helpful Answer Positive Rating
I repeat - click in the box marked "7.22Gb Unallocated" then select "Create new primary partition". Those may not be the exact words as it may differ from one version of Windows to another but you should see something similar.

When you have a new primary partition, you next have to format it. If it gives you a choice, select "FAT32" as the type of format to use as that will make most use of the space on the stick.

After formatting, it will be like new again and you will have the full 8Gb available to you.

You need to learn what partitioning is:
Mostly for historical reasons, a single physical hard disk (or any other kind of storage) can be divided into sections. The sections are called partitions.
For example, your computer only has one hard disk fitted and its size is 500Gb but you can see it as three drive letters C:, D: and E:, appearing to be 120Gb, 150GB and 195.76Gb. As far as you are concerned, they are completely different disk drives but in reality, it is all one physical disk.

Windows and Linux use partitions in slightly different ways. Windows does it just for convenience, early versions could not handle hard disks >32Gb so if you had a bigger disk you had no option but to divide it into more than one partition. Later versions used a different filing system that could use disk with higher capacity without partitioning them.
Linux uses partitions to hold different types of data. For example, the users data is held in one partition and the swap data is held in another.

Brian.
 
  • Like
Reactions: RETGT

    RETGT

    Points: 2
    Helpful Answer Positive Rating
usb new.png
In Linux, run the program 'Disks' and basically do the same thing. The commands to delete and create partitions are found by clicking on the icon below the disk map.

how to do in linux i have done in window one usb is working normal
4gb usb stick is left how to do this?
 

From post #2
In Linux, run the program 'Disks' and basically do the same thing. The commands to delete and create partitions are found by clicking on the icon below the disk map.

As stated - click on the partition you want to work with, look under the partition map at the symbols. Use "-" to delete a partition and the 'gearwheel' settings icon to make changes to it. A "+" icon will appear when there is space to create a new partition.

Note: If you booted Linux from the same stick you are trying to re-partition it WILL work but only until you try to run any other program or restart the computer, this is simply because Linux runs in the computer RAM and is already running the "disks" program there. The next time it tries to use the USB stick it will find you have blanked it and crash! If you booted from the hard disk there will be no problem.

Brian.
 
  • Like
Reactions: RETGT

    RETGT

    Points: 2
    Helpful Answer Positive Rating
Ok, how to boot from hardisk?
 

not working.
showing error while deleting what to do?

Error deleting partition /dev/sdb1: Command-line `parted --script "/dev/sdb" "rm 1"' exited with non-zero exit status 1: Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
(udisks-error-quark, 0)
 
Last edited by a moderator:

hello,
ok both USB stick are working how to do studing what is inside usb which store and communicate so fast?
 


Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top