LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 04:06 PM   #1
zavmat
Member
 
Registered: Oct 2018
Posts: 184

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, 05:21 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

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

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, 06:08 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
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, 06:20 PM   #5
zavmat
Member
 
Registered: Oct 2018
Posts: 184

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

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 07:51 PM.
 
Old 02-12-2019, 09:47 AM   #7
zavmat
Member
 
Registered: Oct 2018
Posts: 184

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, 02:53 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

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


Reply



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 07: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 03:16 PM
Cloning bootable USB flash drive onto larger flash drive - best method? cilbuper Linux - General 5 02-26-2014 09:51 AM
FLASH FLASH XP Home and Samba Fix FLASH FLASH zollodav Linux - Networking 1 02-19-2006 01: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 02:16 AM

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

All times are GMT -5. The time now is 02:55 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
Open Source Consulting | Domain Registration