LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-02-2019, 08:19 PM   #1
igo470
LQ Newbie
 
Registered: Apr 2016
Posts: 19

Rep: Reputation: Disabled
Remove Corrupt Entry In Device List


In the Devices list there's a corrupt entry which I'd like to remove.The device is labelled GALPon MiniNo.Please see attachments for clarification. The installed OS is MX Linux. GALPon MiniNO is an OS. I have never installed it and there wasn't anything in the CD/DVD drive when I installed MX. The error report shows a phone which was charging via a USB port when I installed MX. As a newbie I have no idea how to remedy this issue. I trust that the info that I have supplied will be enough to enable someone more advanced to assist me.
Thank you.
Attached Thumbnails
Click image for larger version

Name:	GALPonMiniNo.png
Views:	20
Size:	11.4 KB
ID:	30690  
Attached Files
File Type: txt GALPon MiniNo.txt (466 Bytes, 13 views)
File Type: txt dmesg tail.txt (737 Bytes, 8 views)
 
Old 06-02-2019, 08:27 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I haven't looked at MX, but let's see this - just paste the ouput in a message in [code]..[/code] tags.
Code:
cat /etc/fstab
 
Old 06-02-2019, 08:40 PM   #3
igo470
LQ Newbie
 
Registered: Apr 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
I haven't looked at MX, but let's see this - just paste the ouput in a message in [code]..[/code] tags.
Code:
cat /etc/fstab
Code:
cat /etc/fstab
# Pluggable devices are handled by uDev, they are not in fstab
UUID=ec9cd4ed-6f28-47f6-a641-0e31155eec75 / ext4 defaults,noatime 1 1
UUID=19fda84e-7117-47d1-95d4-e63cc8abf3f2 /home ext4 defaults,noatime 1 2
UUID=b25a56c9-4d9e-4b31-a3d9-488dc72aa2fa swap swap defaults 0 0
 
Old 06-02-2019, 08:59 PM   #4
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
What file manager is it?
 
Old 06-02-2019, 09:02 PM   #5
igo470
LQ Newbie
 
Registered: Apr 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ugjka View Post
What file manager is it?
Thunar
 
Old 06-02-2019, 09:20 PM   #6
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
It seems the device was removed without ejecting properly. Run fsck on the disk to auto repair. https://www.tecmint.com/fsck-repair-...rors-in-linux/
 
Old 06-02-2019, 09:26 PM   #7
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
What's the output of...
Code:
cat ~/.config/gtk-3.0/bookmarks
 
Old 06-02-2019, 09:41 PM   #8
igo470
LQ Newbie
 
Registered: Apr 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mddnix View Post
It seems the device was removed without ejecting properly. Run fsck on the disk to auto repair. https://www.tecmint.com/fsck-repair-...rors-in-linux/
Code:
root@MXLinux:~# fsck /dev/sdc1
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
fsck.ext2: No such device or address while trying to open /dev/sdc1
Possibly non-existent or swap device?
 
Old 06-02-2019, 09:42 PM   #9
igo470
LQ Newbie
 
Registered: Apr 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ugjka View Post
What's the output of...
Code:
cat ~/.config/gtk-3.0/bookmarks
Code:
root@MXLinux:~# cat ~/.config/gtk-3.0/bookmarks
cat: /root/.config/gtk-3.0/bookmarks: No such file or directory
root@MXLinux:~#
 
Old 06-02-2019, 09:45 PM   #10
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
Do the same but not as root user
 
Old 06-02-2019, 10:24 PM   #11
igo470
LQ Newbie
 
Registered: Apr 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ugjka View Post
Do the same but not as root user
Same result I think...
Code:
$ cat ~/.config/gtk-3.0/bookmarks
cat: /home/clive/.config/gtk-3.0/bookmarks: No such file or directory
 
Old 06-02-2019, 11:58 PM   #12
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by igo470 View Post
Code:
root@MXLinux:~# fsck /dev/sdc1
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
fsck.ext2: No such device or address while trying to open /dev/sdc1
Possibly non-existent or swap device?
Run fsck on your / and /home partitions. you'll get them by 'sudo blkid' command.
Code:
sudo fsck -y /dev/sdxX
 
Old 06-03-2019, 12:39 AM   #13
igo470
LQ Newbie
 
Registered: Apr 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mddnix View Post
Run fsck on your / and /home partitions. you'll get them by 'sudo blkid' command.
Code:
sudo fsck -y /dev/sdxX
Not sure if I've understood the directions. Here's the result of what I think that you mean. As you can see I've made a couple of attempts.

Code:
$ sudo blkid
/dev/sda1: LABEL="OneDrive" UUID="01D50E2E0C317530" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="0000458f-5c20-e766-2d0e-d5011e8b0000"
/dev/sda2: LABEL="Home" UUID="89cb66cd-a392-4c52-8dd5-a47ace2fd393" TYPE="ext4" PARTLABEL="Home" PARTUUID="fa8456c8-40af-4d0e-af09-f310f92c4070"
/dev/sdb1: LABEL="My Documents" UUID="B65E658F5E654967" TYPE="ntfs" PARTUUID="51148640-01"
/dev/sdc5: LABEL="rootMX18.3" UUID="ec9cd4ed-6f28-47f6-a641-0e31155eec75" TYPE="ext4" PARTUUID="2b96be81-05"
/dev/sdc6: LABEL="swap" UUID="b25a56c9-4d9e-4b31-a3d9-488dc72aa2fa" TYPE="swap" PARTUUID="2b96be81-06"
/dev/sdc7: LABEL="homeMX" UUID="19fda84e-7117-47d1-95d4-e63cc8abf3f2" TYPE="ext4" PARTUUID="2b96be81-07"
/dev/sdd1: LABEL="System Reserved" UUID="5072DFCE72DFB6C6" TYPE="ntfs" PARTUUID="00015733-01"
/dev/sdd2: LABEL="Main" UUID="01D31F2EE5093960" TYPE="ntfs" PARTUUID="00015733-02"
/dev/sdd3: UUID="8638B4C038B4B113" TYPE="ntfs" PARTUUID="00015733-03"
clive@MXLinux:~/Desktop
$ sudo fsck -y /dev/sdc5
[sudo] password for clive: 
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
/dev/sdc5 is mounted.
e2fsck: Cannot continue, aborting.


clive@MXLinux:~/Desktop
$ sudo fsck -y /dev/sdc7
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
/dev/sdc7 is mounted.
e2fsck: Cannot continue, aborting.


clive@MXLinux:~/Desktop
$ sudo fsck -y /dev/sdc7
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
/dev/sdc7 is mounted.
e2fsck: Cannot continue, aborting.


clive@MXLinux:~/Desktop
$ sudo fsck -y /dev/sd5
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
fsck.ext2: No such file or directory while trying to open /dev/sd5
Possibly non-existent device?
clive@MXLinux:~/Desktop
$ sudo fsck -y /dev/sdc7
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
/dev/sdc7 is mounted.
e2fsck: Cannot continue, aborting.


clive@MXLinux:~/Desktop
 
Old 06-03-2019, 01:37 AM   #14
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
You need to unmount partitions before fsck to work. Reboot the machine and boot to rescue mode as mentioned in the link I gave. Also, post the output of 'df -hT' command.
 
Old 06-03-2019, 06:30 AM   #15
igo470
LQ Newbie
 
Registered: Apr 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mddnix View Post
You need to unmount partitions before fsck to work. Reboot the machine and boot to rescue mode as mentioned in the link I gave. Also, post the output of 'df -hT' command.
OK, There is no Recovery Mode in the Grub menu in MX as suggested in the link you pointed me to.

I was able to get the following:
Code:
 df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  7.8G     0  7.8G   0% /dev
tmpfs          tmpfs     1.6G  1.4M  1.6G   1% /run
/dev/sdc5      ext4      273G  4.9G  254G   2% /
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     7.2G   76M  7.2G   2% /run/shm
/dev/sda2      ext4      480G  166M  456G   1% /home
cgroup         tmpfs      12K     0   12K   0% /sys/fs/cgroup
tmpfs          tmpfs     1.6G   12K  1.6G   1% /run/user/1000
and this:
Code:
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/sdc1
Could this be a zero-length partition?
I have also done a clean install using a new usb stick and a different method of creating live usb. The described issue persists. Maybe I just have to live with it?
 
  


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
Unable to remove generic kernel entry from LILO boot list Pinonoir Linux - Desktop 1 05-08-2014 02:56 PM
DNS MX and NS entry working. but A entry failing. Using bind saurabhrh Linux - Server 31 03-24-2010 01:41 PM
hosts entry for a lan unit with no dns entry linxtc Linux - Networking 1 10-03-2003 08:05 AM

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

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