LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-11-2019, 05:06 PM   #1
zavmat
Member
 
Registered: Oct 2018
Posts: 141

Rep: Reputation: Disabled
Flash drive coming up as Loop Device


I mounted a windows image onto a usb for recovery purposes, but I needed it for file transfer again. I formatted the drive to delete everything on and formatted it as NTFS but after ejecting and plugging back in it's coming up as a loop device. How can I make my flash drive able to simply store and transfer files again?

Thanks.
 
Old 02-11-2019, 06:21 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,120

Rep: Reputation: 182Reputation: 182
What command do you use? What's in /etc/fstab ?
 
Old 02-11-2019, 06:56 PM   #3
zavmat
Member
 
Registered: Oct 2018
Posts: 141

Original Poster
Rep: Reputation: Disabled
I used fdisk -l
I just typed /etc/fstab from root and it says
Code:
-bash: /etc/fstab: Permission denied
 
Old 02-11-2019, 07:08 PM   #4
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.5
Posts: 2,399

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
Quote:
Originally Posted by zavmat View Post
I used fdisk -l
I just typed /etc/fstab from root and it says
Code:
-bash: /etc/fstab: Permission denied
Too see what's in /etc/fstab use cat:
Code:
cat /etc/fstab
 
1 members found this post helpful.
Old 02-11-2019, 07:20 PM   #5
zavmat
Member
 
Registered: Oct 2018
Posts: 141

Original Poster
Rep: Reputation: Disabled
Code:
[root@localhost-live ~]# cat /etc/fstab
vartmp   /var/tmp    tmpfs   defaults   0  0
 
Old 02-11-2019, 08:37 PM   #6
zavmat
Member
 
Registered: Oct 2018
Posts: 141

Original Poster
Rep: Reputation: Disabled
I formatted it through the disk GUI. I originally formatted the disk for the windows iso with woeusb.

I looked through fdisk again and the flash drive is also showing up as /dev/sdb with less space.

Last edited by zavmat; 02-11-2019 at 08:51 PM.
 
Old 02-12-2019, 10:47 AM   #7
zavmat
Member
 
Registered: Oct 2018
Posts: 141

Original Poster
Rep: Reputation: Disabled
I reformatted the flash drive to fat32 (unintentionally) using command
Code:
mkvs.vfat /dev/sdb
From that point it began to show up in in disk utility where I formatted it to NTFS.

Thanks for the help.
 
Old 02-12-2019, 03:53 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,772

Rep: Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807Reputation: 2807
I'd have never guessed that. Thanks for the update and solution.
 
  


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
Encrypted HDD/flash drive or HDD/flash drive encryption ilesterg Linux - Security 4 09-27-2016 08:42 PM
[SOLVED] Does "deleting" a flash drive wear the flash drive out faster than "formatting" it? Gregg Bell Linux - Software 7 05-15-2015 04:16 PM
Cloning bootable USB flash drive onto larger flash drive - best method? cilbuper Linux - General 5 02-26-2014 10:51 AM
FLASH FLASH XP Home and Samba Fix FLASH FLASH zollodav Linux - Networking 1 02-19-2006 02:16 AM
LXer: EDGE Tech Corp Announces Portable Flash Drive With Muscle - the New 8GB DiskGO!(TM) Now Available; Swap and Go With This Secure Thumb-Sized Flash Drive LXer Syndicated Linux News 0 12-14-2005 03:16 AM

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

All times are GMT -5. The time now is 06:18 AM.

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