Bug#224758: rootskel: kernel panic when trying to unmount initrd
Package: rootskel
Version: 0.56
Severity: critical
Tags: patch
Justification: breaks the whole system
Hello,
I'm testing the daily netboot images built by sjogren and I get the
following kernel panic when /sbin/init is run:
Setting up filesystem, please wait ...
umount: Cannot open /proc/mounts
umount: initrd: Invalid argument
Kernel panic: Attempted to kill init!
This can be fixed by removing the 'umount initrd' line at the top of the
/sbin/init script, as done in the attached patch. This allows me to
boot into main-menu and to proceed through the installation until I hit
the debootstrap bug of the day... :)
Thanks,
Joe
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux laptop 2.4.22-1-686 #6 Sat Oct 4 14:09:08 EST 2003 i686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
--- src/sbin/init.orig 2003-12-14 17:30:08.000000000 -0500
+++ src/sbin/init 2003-12-21 16:24:21.000000000 -0500
@@ -1,7 +1,6 @@
#!/bin/sh -e
# Set up filesystem as root and pivot into it.
echo "Setting up filesystem, please wait ..."
-umount initrd
mount -t proc proc proc
if grep -q tmpfs /proc/filesystems; then
mount -t tmpfs -o size=100M tmpfs mnt
Reply to: