LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2018, 02:21 AM   #1
Psylant
LQ Newbie
 
Registered: Feb 2018
Distribution: Kali GNU/Linux Rolling 64-bit
Posts: 8

Rep: Reputation: Disabled
Smile USB stick (DANE-ELEC) 8GB not recognized/Kali OS/canceled during format by mistake :D lol!


Well, I hope the title says it all. I'm sure it's obvious that I'm very new to Linux and let alone being Kali.

Anyhow,the USB stick was working until I made this mistake of listening to my friend who told me to hit cancel approximately 5 seconds into the format sequence.

After that, when I plugged the USB stick back in, it just was blank, nothing.. Wouldn't even be recognized. I tried to find it in the directories within the terminal(just in case) and still nothing.

So my question is there any hope of me getting it to working again, or did I just fry the thing? I've tried looking this up in the forums, but I suppose this is too infantile of a subject to be posted very much here lol!

Ah well, I just thought I'd ask here and see what happens.

Much Regards!

Psylant (aka /root/dumb/ass/newb)
 
Old 02-18-2018, 02:59 AM   #2
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 987

Rep: Reputation: 260Reputation: 260Reputation: 260
Apparently you have Gparted installed by default in Kali, just follow this tutorial.
Is it noticed by fdisk -l command as root?

Last edited by Brains; 02-18-2018 at 03:01 AM.
 
Old 02-18-2018, 04:23 AM   #3
Psylant
LQ Newbie
 
Registered: Feb 2018
Distribution: Kali GNU/Linux Rolling 64-bit
Posts: 8

Original Poster
Rep: Reputation: Disabled
Howdy Brains!

Well, so far I've fixed it!

first ran fdisk -l

once I found it I then ran

mkfs.vfat /dev/sdb -I

Then all I needed to do was 'label it' so I used the "Disks" to put a label on it which I called it " USB_8GB "

Once that was done I figured out how to unmount it from within the terminal

umount /dev/sdb
.
Which actually I could've done the same thing by using the "Disks" utility.

Okay, I've STARTED or did start using the gparted command

However, everything seems to be in order on the USB stick at the moment.. Its already a Fat32 and everything!

I suppose now that you've brought gparted to my attention, Is this the tool I'd use if I wanted to make partitions on the MAIN hard disk? (I sort want to do some things with partitioning for various reasons)

I'm considering a few things at one time.

1. I'm curious about using the USB stick to turn into RAM

2. Wondering about making a slice of the Hard disk for the purpose of making more RAM

3.Wanting to make a partition on the Hard disk to accommodate a secondary Operating system such as Fedora, or Ubuntu (I dunno, something I can play games on lol! now my true motivations show themselves)

Anyhow, I know I've put too many questions into one post, and they probably need/ought to be put into different threads. However, I'm glad you showed me gparted .. Cause I've got a feeling I would have been getting introduced to it next.. Well, on that note, I'll try to figure some more things out along the way, and I certainly look forward towards any wisdom you may have to offer... Speaking of wisdom, I'll not be taking anymore advice from my buddy who helped start all this haha!

Regards

Psylant
 
Old 02-18-2018, 04:51 AM   #4
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 987

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by Psylant View Post

1. I'm curious about using the USB stick to turn into RAM

2. Wondering about making a slice of the Hard disk for the purpose of making more RAM
A USB pen drive is not a good choice for ram drive, it will wear out quick if actually used constantly. You are best to make a swap partition on the hdd, follow advice here. Gparted is the application you should use to create new partitions, including swap partitions which is extended ram, which is what the quote above suggest you are after. You can also create a swap file instead of a dedicated partition, the swap file would reside in any partition you choose, most common would be somewhere in the root partition. Follow section 3 of the Archwiki swap page link provided in this post for creating a swap file if this is more appealing.

Most folks prefer a dedicated swap partition on the hdd as most hdd are large enough to accommodate such. Gparted will also format your new partitions for you as per your selection, avoiding excessive command line typing, since most folks hate reading and writing, Gparted is a favorite.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Formatting an 8GB usb stick mike11 Linux - Newbie 2 10-24-2011 10:39 PM
[SOLVED] USB stick not recognized DeBeeNeeBus Debian 16 01-24-2011 04:01 PM
PenDriveLinux 2008 won't boot from PNY 8gb USB stick? MrRandomPerson Linux - General 1 02-07-2009 12:10 PM
USB memory stick not recognized Filip Viorel Linux - Hardware 1 03-29-2006 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration