Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

HOWTO: udev, sep /usr, no initramfs. eudev:3.1.5 rc:0.23.2

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
126 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
Author
Message
steveL
Watchman
Watchman
Posts: 5153
Joined: Wed Sep 13, 2006 1:18 pm
Location: The Peanut Gallery

  • Quote

Post by steveL » Thu May 04, 2017 2:27 am

CyberMuz wrote:I have /usr on separate LVM partition, I used the instruction from the first page to mount it without initramfs but I have some problems. As you can see in the screenshot http://i.imgur.com/6inGEbm.png right after openrc boot I get an error that md5sum is missing and that /usr is not mounted. After that it complains about missing awk (because /usr is not mounted)
System boots correctly and /usr is mounted from fstab couple of steps later...
How can I fix this and force /usr to be mounted at the start so that this errors don't appear?
Bleh, sorry Muz, especially for the delay in response.
You need another, very minor, patch to /lib/rc/sh/init.sh to deal with the red error messages at startup:

Code: Select all

--- /lib/rc/sh/init.sh
+++ /lib/rc/sh/init.sh
@@ -12,13 +12,13 @@
 fi
 
 # check for md5sum, and probably /usr too
+got_md5sum=false
 if command -v md5sum >/dev/null; then
 	got_md5sum=true
-else
+elif yesno "${initramfs:-YES}"; then
 	eerror "md5sum is missing, which suggests /usr is not mounted"
 	eerror "If you have separate /usr, it must be mounted by initramfs"
 	eerror "If not, you should check coreutils is installed correctly"
-	got_md5sum=false
 fi
 
 # By default VServer already has /proc mounted, but OpenVZ does not!
The errors about awk though, are another matter; you need to see why tinyproxy is being pulled into the sysinit runlevel. (I'm guessing that is what is pulling in postgres.) You can do that with less or any text file viewer, but if it helps, I use [post=7168452]some sh functions[/post] in /root/.bashrc and idepend to inspect the deptree.
Though I'd check your config first, to make sure you're not setting some rc_need or the like.
I'm not familiar with the service, so sorry I can't be more helpful.

wrt your runlevels, I noticed straight off that you have syslogger and cron in default; I have them both in boot. Certainly there are things in boot that go after logger, like dhcpcd here.
I also moved modules to sysinit, since it gets pulled there by kmod-static-nodes anyway.
Top
Post Reply

126 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

Return to “Unsupported Software”

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