Menu Error

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Lee_Bruce

Menu Error

Post by Lee_Bruce »

I am dealing with an error, my menu isn't loading anything instead I get "couldn't load plugin: places/applications/system management"

Traceback (most recent call last):

File "/usr/lib/linuxmint/mintmenu/plugens/places.py", line 226, in populateplugins x=_import_(plugin)

File "/usr/lib/linxmint/mintmenu/plugins/places.py" line 12, in <module> from easybuttons import*

File "/usr/lib/linuxmint/mintmenu/plugines/easybuttons.py, line 572, in <module> iconmanager = iconmanager()

File "/usr/lib/linuxmint/mintmenu/plugins/easybuttons.py" line 48, in_init_ os.remove(os.path.join(self.icondir, fn))

OSError:[errno 30] read only file system: '/home/xx/.config/mintmenu/-usr-share-pixmaps-mintackup-icon.svg


I will admit that I am having a hard time understanding what this means or how to fix it.

Any help is greatly appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: Menu Error

Post by xenopeek »

Try opening your run dialog (Alt+F2) and running the command:
mintmenu --reset
Image
Lee_Bruce

Re: Menu Error

Post by Lee_Bruce »

xenopeek wrote:Try opening your run dialog (Alt+F2) and running the command:
mintmenu --reset
It turns out this isn't a menu error at all. While trying to do some other operations i got this error

Code: Select all

"unable to mount location Error creating mount point '/media/xx/drive1': read only file system
I'm lost trying to explain the error im having so I'm going to read a bit.
Lee_Bruce

Re: Menu Error

Post by Lee_Bruce »

Here is my best explanation of the problem im having. I have a dual boot with windows 7, I can boot into linux and use the files in the partition but when I try to access connected drives, i get the "unable to mount: read only file system" error. I first noticed this issue through the start menu, which points to files within the partition being "read only". Thats when I made this thread to figure out whats going with the start menu and realized it might be something else.
WharfRat

Re: Menu Error

Post by WharfRat »

Has your /home partition remounted read only for some reason :?:

This message is alluding to that
OSError:[errno 30] read only file system: '/home/xx/.config/mintmenu/-usr-share-pixmaps-mintackup-icon.svg
Lee_Bruce

Re: Menu Error

Post by Lee_Bruce »

WharfRat wrote:Has your /home partition remounted read only for some reason :?:

This message is alluding to that
OSError:[errno 30] read only file system: '/home/xx/.config/mintmenu/-usr-share-pixmaps-mintackup-icon.svg

Not that I am aware, I'm not sure why this would occur. I recently installed some updates before this started happening. After i installed the updates, I booted into Windows, then when I booted back into Linux, this started happening. Which of these two events do you think could have contributed to this?
WharfRat

Re: Menu Error

Post by WharfRat »

Lee_Bruce wrote:I recently installed some updates before this started happening. After i installed the updates, I booted into Windows, then when I booted back into Linux, this started happening. Which of these two events do you think could have contributed to this?
Exiting Mint, booting Windows then returning yo Mint should not cause any problems.

Can you paste back mount|grep ^/dev

Did you do anything with python like install a downloaded version or something :?:
Lee_Bruce

Re: Menu Error

Post by Lee_Bruce »

WharfRat wrote:
Lee_Bruce wrote:I recently installed some updates before this started happening. After i installed the updates, I booted into Windows, then when I booted back into Linux, this started happening. Which of these two events do you think could have contributed to this?
Exiting Mint, booting Windows then returning yo Mint should not cause any problems.

Can you paste back mount|grep ^/dev

Did you do anything with python like install a downloaded version or something :?:

Im not sure what you mean by paste back etc, is that a command i should try? *edit* i will try this command to see where the drive is mounted.

Im not familiar with python or what it is, So i wouldn't say so. My guess would be maybe one of the updates i installed caused some errors? I have no idea how to go about fixing this and seems like more of a headache than I can handle right now. I would prefer to retrieve my files and maybe try to reinstall linux but due to the "read only file system" error im getting I can't copy any of my files.
Lee_Bruce

Re: Menu Error

Post by Lee_Bruce »

Here is an update

I havent used

Code: Select all

mount|grep
but im just now logging into linux and on boot i get these errors

Code: Select all

[0.2530292] pnp 00:04 can't evaluate _crs:12298
[2.735362] sd 4:0:0:0: [sdb] no caching mode page found
[2.735382] sd 4:0:0:0: [sdb] assuming drive cache: write through
[2.738144] scs1 4:0:0:1: wrong diagnostic page: asked for 1 got 0
[2.738163] scs1 4:0:0:1: failed to get diagnostic page 0xffffffea
2.738171] scs1 4:0:0:1: failed to bind enclosure -19

busybux v1.22.1

I can get my computer to boot by running fsck but i don't think this is the right solution for these problems since the next time I boot they're going to be there again. Might this have something to do with the issue im having?

**edit- after running fsck for the 11th time, i boot into linux and its working properly. What the hell? I will backup my files and reinstalling linux, but what exactly happened here? this is confusing. Should I install the next batch of updates and hope for the best? or continue with my plan to reinstall?
WharfRat

Re: Menu Error

Post by WharfRat »

Lee_Bruce wrote:**edit- after running fsck for the 11th time, i boot into linux and its working properly. What the hell? I will backup my files and reinstalling linux, but what exactly happened here? this is confusing. Should I install the next batch of updates and hope for the best? or continue with my plan to reinstall?
My educated guess would be that the file system got corrupted - for reasons unknown - or the HDD is starting to fail which could lead to the corruption.

If the kernel detects something wrong with an ext4 partition it will remount the file system read only.

This is the only conclusion I can surmise given the messages you're getting that the file system is mounted read only.
Lee_Bruce

Re: Menu Error

Post by Lee_Bruce »

WharfRat wrote:
Lee_Bruce wrote:**edit- after running fsck for the 11th time, i boot into linux and its working properly. What the hell? I will backup my files and reinstalling linux, but what exactly happened here? this is confusing. Should I install the next batch of updates and hope for the best? or continue with my plan to reinstall?
My educated guess would be that the file system got corrupted - for reasons unknown - or the HDD is starting to fail which could lead to the corruption.

If the kernel detects something wrong with an ext4 partition it will remount the file system read only.

This is the only conclusion I can surmise given the messages you're getting that the file system is mounted read only.
Hmm.....i see. What type of advice would you give me to follow up this issue. I don't want to have to get a new HDD but I suppose i may have to at some point. Is there anything you would recommend? Thanks again for your help, I appreciate your time.
WharfRat

Re: Menu Error

Post by WharfRat »

The only thing I can suggest is to check the disk's SMART errors with smartmontools.

Install the packages with sudo apt-get install smartmontools gsmartcontrol

gsmartcontrol is the gui interface to smartmontools.

Running sudo smartctl -a /dev/sda look for this information:

Code: Select all

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   151   147   021    Pre-fail  Always       -       11425
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       291
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   096   096   000    Old_age   Always       -       3585
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       291
 16 Unknown_Attribute       0x0022   072   128   000    Old_age   Always       -       1277809225651
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       65
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       225
194 Temperature_Celsius     0x0022   107   106   000    Old_age   Always       -       45
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       4
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       1
Any lines referencing errors and relocation should be zero or low.
Lee_Bruce

Re: Menu Error

Post by Lee_Bruce »

WharfRat wrote:The only thing I can suggest is to check the disk's SMART errors with smartmontools.

Install the packages with sudo apt-get install smartmontools gsmartcontrol

gsmartcontrol is the gui interface to smartmontools.

Running sudo smartctl -a /dev/sda look for this information:

Code: Select all

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   151   147   021    Pre-fail  Always       -       11425
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       291
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   096   096   000    Old_age   Always       -       3585
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       291
 16 Unknown_Attribute       0x0022   072   128   000    Old_age   Always       -       1277809225651
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       65
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       225
194 Temperature_Celsius     0x0022   107   106   000    Old_age   Always       -       45
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       4
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       1
Any lines referencing errors and relocation should be zero or low.


Alright, thank you. I appreciate that.
Locked

Return to “Beginner Questions”