Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have used my flash memory stick to install CentOS on one of my boxes. I used the dd command as it was explained there. Now I cannot use my flash stick again. It says all space I have left is 5 MB.My flash stick is 8 GB in size. Any idea how to get it back as a storage medium?
If it were me, I'd download and use gparted. It's my standard go-to formatting/partitioning utility. Of course there are numerous other options too, but gparted is pretty user-friendly, and should be very helpful.
You could use the cli with 'cfdisk' to create your partition. After the partitions are created then use 'mke2fs' to format the device filesystem as ext2.
In a nutshell the dd command creates an exact image. The size of the flash disk will even though it is 8GB will appear to be the same size as the original boot image file whatever that maybe. As stated all you need to do is use any of the partitioning tools to recover the space and put the disk back to its original state.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.