|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
[PLUG] initrd/udev hell...again
|
Hi all,
I brought this topic up once before and the thread is here:
http://lists.netisland.net/archives/plug/plug-2005-12/msg00167.html
In a nutshell...
I have:
Debian sarge
CPU: AMD k6
FS: reiser
I installed 2.6 kernels (2.6.12-1-k7, 2.6.15-1-k7, 2.6.16-2-k7) via
aptitude, which told me to purge hotplug and install udev. After doing
that the new kernel wont boot. The last thing I see on the screen is:
savedefault
boot
Then the system reboots.
I never found a solution to this problem except reverting to an old 2.4
kernel. Like any good geek I have to figure out why it wont work. I
would really like to get the 2.6 kernel running.
Since revisiting this problem I have tried creating a new initrd image.
# uname -a
Linux myHost 2.4.27-3-k6 #1 Tue May 30 00:12:18 UTC 2006 i586
GNU/Linux
# mkinitrd --supported-host-version=2.6.12-1-k7 && echo "foo" foo
# mkinitrd --supported-target-version=2.6.12-1-k7 && echo "foo" foo
# mkinitrd -o /boot/initrd.img-test 2.6.16-2-k7
This appears to create the initrd image but it still wont boot. Here is
my /etc/mkinitrd/mkinitrd.conf:
-----------------------start /etc/mkinitrd/mkinitrd.conf--------------------
# /etc/mkinitrd/mkinitrd.conf:
# Configuration file for mkinitrd(8). See mkinitrd.conf(5).
#
# This file is meant to be parsed as a shell script.
# What modules to install.
MODULES=most
# The length (in seconds) of the startup delay during which linuxrc may be
# interrupted.
DELAY=0
# If this is set to probe mkinitrd will try to figure out what's needed to
# mount the root file system. This is equivalent to the old PROBE=on
setting.
ROOT=probe
# This controls the permission of the resulting initrd image.
UMASK=022
# Command to generate the initrd image.
MKIMAGE='mkcramfs %s %s > /dev/null'
# Set this to yes if you want to use busybox(1).
BUSYBOX=no
# Set this to no if you want to disable /usr/share/initrd-tools/scripts.
PKGSCRIPTS=yes
# This is the value for LD_LIBRARY_PATH when deciding what goes onto the #
image.
INITRD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
# Hardcode partition to resume from so it doesn't have to be specified #
on the command line. The command line will override this setting.
# RESUME=
-----------------------end /etc/mkinitrd/mkinitrd.conf--------------------
My /etc/mkinitrd/modules has "reiserfs" as its only entry.
Thanks in advance for any help!
Jon
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|