LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Flash drive coming up as Loop Device (https://www.linuxquestions.org/questions/linux-newbie-8/flash-drive-coming-up-as-loop-device-4175648097/)

zavmat 02-11-2019 04:06 PM

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.

RandomTroll 02-11-2019 05:21 PM

What command do you use? What's in /etc/fstab ?

zavmat 02-11-2019 05:56 PM

I used fdisk -l
I just typed /etc/fstab from root and it says
Code:

-bash: /etc/fstab: Permission denied

scasey 02-11-2019 06:08 PM

Quote:

Originally Posted by zavmat (Post 5960785)
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

zavmat 02-11-2019 06:20 PM

Code:

[root@localhost-live ~]# cat /etc/fstab
vartmp  /var/tmp    tmpfs  defaults  0  0


zavmat 02-11-2019 07:37 PM

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.

zavmat 02-12-2019 09:47 AM

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.

jefro 02-12-2019 02:53 PM

I'd have never guessed that. Thanks for the update and solution.


All times are GMT -5. The time now is 03:56 AM.