LinuxQuestions.org
Visit Jeremy's Blog.
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 06-13-2017, 10:01 AM   #1
themohawkninja
LQ Newbie
 
Registered: Jun 2017
Posts: 10

Rep: Reputation: Disabled
"lsblk" sees flash drive but "fdisk -l" does not


Hello,

I am trying to format my flash drive, but running "sudo fdisk /dev/sdf" returns
Code:
fdisk: unable to seek on /dev/sdf: Invalid argument
"lsblk" returns (in addition to the sda main drive):
Code:
sdf   8:80 1 7.5G 0 disk
-sdf1 8:81 1 7.5G 0 part
"fdisk -l" returns nothing

Some research led to a suggestion to run "ls -l /dev/disk/by-id/usb* | grep sd" which in addition to other "sdX" results, returns:
Code:
lrwxrwxrwx 1 root root 9 Jun 13 10:47 /dev/usb-Generic_Flash_Disk_F0D5D7B5-0:0 -> ../../sdf
lrwxrwxrwx 1 root root 9 Jun 13 10:47 /dev/usb-Generic_Flash_Disk_F0D5D7B5-0:0-part1 -> ../../sdf1
Also, I noticed somebody had suggested "lsmod" and to look for "usb_storage", and an "lsmod | grep usb_storage" returns:
Code:
usb_storage     62062  0
I'm not really sure what to do from here to solve my problem.
 
Old 06-13-2017, 10:23 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Which kernel do you have? 3.4 was known to act in this strange manner with USB drives.

To find out which kernel:

Code:
uname -a
 
Old 06-13-2017, 10:29 AM   #3
themohawkninja
LQ Newbie
 
Registered: Jun 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Which kernel do you have? 3.4 was known to act in this strange manner with USB drives.

To find out which kernel:

Code:
uname -a
I'm guessing 3.13?

uname -a:
Code:
Linux testuser1-RX889A-ABA-a6040n 3.13.0-39-lowlatency #66+7.0trisquel2 SMP PREEMPT Wed Oct 29 17:10:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
 
Old 06-13-2017, 10:37 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Yup. Are you able to upgrade that, preferably to a LTS kernel that is not EOL, say 4.4.x or 4.9.x, even 3.16.x? Don't throw away the old one - you'll need a fallback if the new kernel doesn't "take".

https://www.kernel.org/category/releases.html
 
Old 06-13-2017, 12:54 PM   #5
themohawkninja
LQ Newbie
 
Registered: Jun 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Yup. Are you able to upgrade that, preferably to a LTS kernel that is not EOL, say 4.4.x or 4.9.x, even 3.16.x? Don't throw away the old one - you'll need a fallback if the new kernel doesn't "take".

https://www.kernel.org/category/releases.html
I'm not 100% sure if I can upgrade it. My boss told me to just clone the drive (the reason for wanting to wipe the flash drive was due to R/W permissions issues when I tried to copy a tiny Linux client to it) instead f fiddling around with trying to solve the permissions issue.

I'll keep this troubleshooting step in mind for next time though!
 
Old 06-13-2017, 01:42 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by themohawkninja View Post
I'm not 100% sure if I can upgrade it. My boss told me to just clone the drive (the reason for wanting to wipe the flash drive was due to R/W permissions issues when I tried to copy a tiny Linux client to it) instead f fiddling around with trying to solve the permissions issue.

I'll keep this troubleshooting step in mind for next time though!
Ok. Welcome to LQ by the way.
 
  


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] 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
[SOLVED] "unmount volume" or "eject volume" to safely remove a flash drive? Gregg Bell Linux - Newbie 15 04-30-2014 03:02 PM
What "xload" sees which "top" doesn't? kaza Linux - General 3 12-08-2012 01:25 AM
lilo says, "L 01 01 01" and fdisk says, "Unable to seek on /dev/hda1" clausawits Linux - General 3 12-31-2007 09:33 PM
fdisk reports odd "Start "and "End" sectors on single partition eponymous Linux - Software 3 10-01-2007 03:41 PM

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

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