Skip to contentSkip to conversation

Why kernel 2.5.58 only mounts / (not home etc)

DISCUSSION Alessandro Suardi 1 participant 1 message Jan 20, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Mikael Pettersson
Quoted 4 lines · Alessandro Suardi

As I reported in the same thread as the breakage of modules in 2.5.59, module autoloading doesn't work for me since 2.5.58. Using Rusty's module-init-tools 0.9.8 or 0.9.9-pre. Same utils work flawlessly under 2.4.21-pre3.

[snip]

etc/rc.d/rc.sysinit 2003-01-14 03:04:57.000000000 +0100 line 339

Quoted 13 lines

If you're running a RedHat system, you'll also need the following patch to /etc/rc.d/rc.sysinit. Without it the kernel's modprobe and hotplug functionalities will be disabled by rc.sysinit.

etc/rc.d/rc.sysinit 2003-01-14 03:04:57.000000000 +0100 renamed from etc/rc.d/rc.sysinit.~1~ 2002-08-22 23:10:52.000000000 +0200 +1 -1
@@ -334,7 +334,7 @@
     IN_INITLOG=
 fi
 
-if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
+if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/modules ]; then
     USEMODULES=y
 fi

Indeed, I'm running a RedHat 8.0 and this change to rc.sysinit brought me
up and running again. Thanks !

--alessandro