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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-21-2018, 12:23 AM
|
#1
|
Member
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582
Rep:
|
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
|
|
|
07-21-2018, 07:54 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,986
|
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.
|
|
|
07-21-2018, 09:08 PM
|
#3
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,417
|
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.
|
|
1 members found this post helpful.
|
07-21-2018, 10:08 PM
|
#4
|
Member
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|