LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-21-2018, 12:23 AM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 541

Rep: Reputation: 28
root mounted readonly


I have 64-bit Linux Mint 18.3 running on an HP 250 G6 laptop.

It normally boots to a desktop with a login prompt.

Yesterday, in an attempt to install a printer, I installed hplip and printer-driver-hpijs. Afterward, the system appeared normal, but still no printer.

Today the computer will only boot to the command prompt with / mounted readonly. If I remount / rw the desktop starts immediately and the system appears normal again.

What issues might cause / to be mounted ro? Disk problems?

When booting, after pressing ESC to see what's happening, I see several [FAILED] message scroll past too fast to read. The last one still visible says hostname.service start failed.

With /etc/inittab no longer used, how do I stop the screen from being cleared before the login prompt is displayed?

Thenks,
clueless
 
Old 07-21-2018, 07:54 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 13,829
Blog Entries: 24

Rep: Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685Reputation: 3685
Have you tried booting into emergency mode?

A web search for "mint emergency mode" will turn up a number of articles; I did not feel competent to pick a particular link to suggest.

As regards the printer, installing hplip does not automatically install the printer. You must run either the HPLIP GUI (hp-toolbox on the command line) or the hp-setup command.
 
Old 07-21-2018, 09:08 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,855

Rep: Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518
If the root is "ro", the OP is in a recovery shell. This is usually filesystem errors, and fstab has "errors=remount-ro". If it keeps happening, look for disk errors.
Mint uses systemd, but the journal is forwarded to a bunch of logs so the users never need to know - see /var/log/ - kern.log and/or syslog would be a good start. The current log is also in journald - try this for a synopsis.
Code:
journalctl -p err
 
1 members found this post helpful.
Old 07-21-2018, 10:08 PM   #4
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 541

Original Poster
Rep: Reputation: 28
Thanks.

I checked /etc/fstab and found that I had accidentally deleted the entry for / when I added lines for nfs mounts.

Once I restored it, the computer boots to desktop normally.
 
  


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
ext3 file system is re mounted with readonly access. santhosh1986 Linux - General 5 10-04-2010 11:27 PM
What the fsck? How to check a partition that is mounted as readonly? gr4nt Linux - Newbie 12 01-18-2010 04:57 AM
How to Mount bin and sbin directories as readonly mounted file systems Larry James Fedora 8 10-21-2008 11:40 AM
parttion gives an error that it is readonly when it mounted as rw jabka Linux - General 1 07-08-2006 09:03 PM
mounted fat32 filesystem becomes readonly after sometime, wierd? koodoo Linux - Newbie 6 11-23-2005 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration