LinuxQuestions.org
Help answer threads with 0 replies.
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 03-26-2020, 10:42 PM   #16
denocean
LQ Newbie
 
Registered: Mar 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled

Hello Michaelk

Thanks so much for your reply.

Please find the reply of supporter from linux forum :



This error typically occurs when a USB drive is removed before it is unmounted, or before the USB device was completely unmounted. It can be fixed. Attach the device, then in the terminal run
Code:

sudo fsck /dev/sdb1

since it shows up as sdb1. The fsck utility will give you info on what it finds and will ask for input or confirmation of action. After it runs the first time, if it indictes the drive is clean, run the same command again to be certain. If the first run was not clean, run the command again, and then run it a third time. It should be fine after that. If not, you can format the USB drive and re-burn the .iso to it.


Reply from my computer :


SATELLITE-C850D-11R:~$ sudo fsck /dev/sdb1
[sudo] password for dennis:
fsck de util-linux 2.20.1
fsck.fat 3.0.26 (2014-03-07)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? sudo fsck /dev/sdb1
Invalid input.
? sudo fsck /dev/sdb1
Invalid input.

I don't know what I can do now ...just only to format the USB drive....the process is unknowned from my side...I am a beginner on Linux.
 
Old 03-27-2020, 01:32 AM   #17
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by denocean View Post
SATELLITE-C850D-11R:~$ sudo fsck /dev/sdb1
[sudo] password for dennis:
fsck de util-linux 2.20.1
fsck.fat 3.0.26 (2014-03-07)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? sudo fsck /dev/sdb1
Invalid input.
? sudo fsck /dev/sdb1
Invalid input.
The question mark is fsck's prompt. It expects a 1 or 2 as input.
Quote:
I don't know what I can do now ...just only to format the USB drive....the process is unknowned from my side...I am a beginner on Linux.
To format the USB drive, make a filesystem:
Code:
sudo mkfs -t vfat /dev/sdb1
You will lose all data that might be on the drive.
 
Old 03-27-2020, 10:47 AM   #18
denocean
LQ Newbie
 
Registered: Mar 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
Good day Berndbaush,

Before formating my usb key I tried this process

SATELLITE-C850D-11R:~$ sudo fsck /dev/sdb1

fsck de util-linux 2.20.1
fsck.fat 3.0.26 (2014-03-07)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Leaving filesystem unchanged.
/dev/sdb1: 3624 files, 63830/1890727 clusters

What do you think about the reply above from the terminal f12?
Do I need to try my usb key now in order to know if it working ?

Thanks for your kind reply and advice
 
Old 03-27-2020, 11:13 AM   #19
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
I would definitely try mounting it.
 
Old 03-27-2020, 04:08 PM   #20
denocean
LQ Newbie
 
Registered: Mar 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
please find the test after ? 1



fsck de util-linux 2.20.1
fsck.fat 3.0.26 (2014-03-07)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Leaving filesystem unchanged.
/dev/sdb1: 3624 files, 63830/1890727 clusters
dennis@dennis-SATELLITE-C850D-11R:~$
 
Old 03-27-2020, 04:13 PM   #21
denocean
LQ Newbie
 
Registered: Mar 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
SATELLITE-C850D-11R:~$ sudo fsck /dev/sdb1
fsck de util-linux 2.20.1
fsck.fat 3.0.26 (2014-03-07)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Leaving filesystem unchanged.
/dev/sdb1: 3624 files, 63830/1890727 clusters
dennis@dennis-SATELLITE-C850D-11R:~$
 
Old 03-27-2020, 05:46 PM   #22
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
I am not experienced with the FAT version of fsck, but according to the manual page, you need to add the -a option (automatic operation) or -r (interactive) for the tool to change anything. So try fsck -r or fsck -a.
 
Old 03-28-2020, 04:16 PM   #23
denocean
LQ Newbie
 
Registered: Mar 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thanks so much for your link.
I will test and revert to you for the news.
 
Old 03-30-2020, 10:46 AM   #24
denocean
LQ Newbie
 
Registered: Mar 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
Good day Berndbaush,

Please find the reply from your previous recommendations.
USB Key unmounted for repairs it :

dennis@dennis-SATELLITE-C850D-11R:~$ sudo dosfsck -r /dev/sdb
fsck.fat 3.0.26 (2014-03-07)
Currently, only 1 or 2 FATs are supported, not 251.

What do you think ?
 
Old 03-30-2020, 03:39 PM   #25
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by denocean View Post
What do you think ?
Earlier you asked how to format the drive. I gave you an answer.

Alternatively, I would search the internet to understand the error.

EDIT: Earlier, you used /dev/sdb1. Now, /dev/sdb. Which is correct?

Last edited by berndbausch; 03-30-2020 at 03:41 PM.
 
Old 03-30-2020, 03:55 PM   #26
denocean
LQ Newbie
 
Registered: Mar 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
Hi friend,

Previous reply to ask me : yes

please find a new reply for testing my problem within a new way :

dennis@dennis-SATELLITE-C850D-11R:~$ sudo umount /dev/sdb1
umount*: /dev/sdb1*: unmounted
dennis@dennis-SATELLITE-C850D-11R:~$ sudo mkfs.vfat /dev/sdb1
dennis@dennis-SATELLITE-C850D-11R:~$
 
Old 03-30-2020, 03:58 PM   #27
denocean
LQ Newbie
 
Registered: Mar 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
Even for reformating my usb kew that doesn't works....
i hope the usb ports on my computer are not just "dead"
 
Old 03-30-2020, 05:18 PM   #28
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by denocean View Post
Even for reformating my usb kew that doesn't works....
i hope the usb ports on my computer are not just "dead"
In which way does it not work?
 
Old 03-30-2020, 07:16 PM   #29
denocean
LQ Newbie
 
Registered: Mar 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
Impossible to open the mounted usb key and always the same message error sent first time.
 
  


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
LXer: How to Install Google Chrome Web Browser in Ubuntu 14.04 LTS Trusty Tahr LXer Syndicated Linux News 0 04-23-2014 03:00 PM
Ubuntu 14.04 LTS (Trusty Tahr) Released jeremy Linux - News 0 04-17-2014 11:42 AM
LXer: Ubuntu 14.04 LTS (Trusty Tahr) Arrives on April 17, Three Features to Look For LXer Syndicated Linux News 0 04-14-2014 07:00 AM
LXer: Ubuntu GNOME 14.04 LTS Alpha 1 (Trusty Tahr) Officially Released – Screenshot Tour LXer Syndicated Linux News 0 12-20-2013 01:15 PM

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

All times are GMT -5. The time now is 05:26 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