Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[Solved] Filesystem is read-only before mounting /run

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
drhouse123
n00b
n00b
User avatar
Posts: 23
Joined: Mon Aug 13, 2012 5:30 pm

[Solved] Filesystem is read-only before mounting /run

  • Quote

Post by drhouse123 » Sat Jan 05, 2013 11:03 pm

Hi, everydody!

After upgrading openrc to 0.11.8 I got strange message 'rm: can not remove «/run/openrc»: The file system is read-only' anytime at startup. How i can fix it ?
But system startup anyway is OK.

Code: Select all

  OpenRC 0.11.8 is starting up Gentoo Linux (x86_64)

 * /proc is already mounted
rm: can not remove «/run/openrc»: The file system is read-only
 * Mounting /run ...
 * /run/openrc: creating directory
 * /run/lock: creating directory
 * /run/lock: correcting owner
 * /dev is already mounted
 * Mounting /dev/shm ...
 [ ok ]
 * Mounting security filesystem ...
 [ ok ]
 * Mounting debug filesystem ...
 [ ok ]
 * Mounting cgroup filesystem ...
 [ ok ]
 * Starting udev ...
 [ ok ]
 * Populating /dev with existing devices through uevents ...
 [ ok ]
 * Waiting for uevents to be processed ...
 [ ok ]
I hope for your help. :)
Last edited by drhouse123 on Sun Jan 06, 2013 9:43 am, edited 1 time in total.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Jan 05, 2013 11:32 pm

drhouse123,

Heres what happens.

/run is a mount point on the / filesystem. Before a tmfs is mounted at /run, it should be empty.
For some reason, yours isn't. So the message

Code: Select all

 rm: can not remove «/run/openrc»: The file system is read-only 
is correct. root is still mounted read only.

Next

Code: Select all

 * Mounting /run ... 
mounts /run as tmpfs over the top of whatever you have in /run, so it can't be seen any more.
You may not umount /run as it will be in use on your live system.

If you want to clear it out, you can boot with a liveCD, mount your / at /mnt/gentoo and look in /mnt/gentoo/run
There should be nothing there. Thats your real /run mount point without tmpfs mounted on top.

On a live system you can look with

Code: Select all

mount -o bind / /mnt/gentoo
and you see the underlying run in the same place.
I have never felt comfortable with using a bind mount to manipulate the hidden filesytsem but it should work.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
drhouse123
n00b
n00b
User avatar
Posts: 23
Joined: Mon Aug 13, 2012 5:30 pm

  • Quote

Post by drhouse123 » Sat Jan 05, 2013 11:39 pm

NeddySeagoon

Thank you very much for explaining :)

I just cleaned /run using live-cd,
Top
rootor
n00b
n00b
User avatar
Posts: 25
Joined: Mon Dec 05, 2011 7:53 am

very nice

  • Quote

Post by rootor » Wed Mar 13, 2013 10:32 am

Very nice explication
Top
Mgiese
Veteran
Veteran
User avatar
Posts: 1638
Joined: Wed Mar 23, 2005 5:25 pm
Location: indiana
Contact:
Contact Mgiese
Website

  • Quote

Post by Mgiese » Mon Dec 30, 2013 6:32 pm

very good indeed.

could that be the solution to my problem described here :

http://forums.gentoo.org/viewtopic-t-97 ... ight-.html??

thanks in advance
I do not have a Superman complex, for I am God not Superman :D

Ryzen9 7950x (powersave governor) ; Radeon 9070 XT ; kernel 6.18.4 ; XFCE ; SYSTEMD
Top
Post Reply

5 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic