LeRoy Cressy on 31 Jul 2006 19:36:36 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] initrd/udev hell...again


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jon Nelson wrote:
> 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

Why not compile a kernel without inttrd support since initrd is
primarily used for install kernels where a minimal distro is installen
in ram.  On a normal system you do not need initrd since all of the boot
info is on the HD and contained in the MBR.

> 
> 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
> 
> 


- --
 Rev. LeRoy D. Cressy  mailto:leroy@lrcressy.com   /\_/\
                       http://lrcressy.com        ( o.o )
                       Phone:  215-535-4037        > ^ <
                       FAX:    215-535-4285

gpg fingerprint:  62DE 6CAB CEE1 B1B3 359A  81D8 3FEF E6DA 8501 AFEA

For info on enigmail:    http://lrcressy.com/linux/mozilla.pdf
For info on gpg:         http://www.gnupg.org/

Jesus saith unto him, I am the way, the truth, and the life:
no man cometh unto the Father, but by me. (John 14:6)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iQIVAwUBRM5bdnlsxrSGsIsqAQJ0ZA//bYRb3cxe+ZG7riG6SMBhfPiu7nD8UFw0
Y2Z1pHTa1tu/NYs24AsgkMC4XqrsH33rarvtRD2xKqB6Upt4y4eJPlJcbk9DbAKi
GKBa3dY4yMatjTJhzNU8cKPiAdUDbztRzuXUeH1zf3wDgTWnbuKQCDhR6B2cWgYW
g/ACtYN8tlpcBe0vjvPqPfiYaT3xomW8Ldm555VtDt5KFaSAhNqxVBlCviXc4pTU
AV9YJFF+JhLYlZItxcj096sbuGHx1jivU136FqOHmZZbySEM8Czir3Xpk40uDxGx
HI6xF2ARCIQMIeWKBDZIWWiWCHnKWuYy6EV+fiI/YFBzY3+Q/m0RYCYKKGFvn1uU
KTtjvVYAd42Jm8isDBHGezkMP42KN0HhS8EQnPvZyH3ViWGv8VOx5yW1B0UdJH1y
KeKRyR5ADBmSfmbVMvCQY3cuY6IsImn6/u+aSciqAyEGRc/nWajAqhRHrnzRjurc
KKjecCCNsQYAapLYZSpBvMwpmpn7O5H2B2HdaUnc0vfqRUu+tLshafo4LVxWyuR4
H7CWrfGDrHuBvnjvNV9ZqF1t8J6pA4HerUt96hVaHTnnsFjyRNAyXzqy0RdpHVLx
qhhYpZGxiPHXZXSFW1ybglIqIq+na5fVk4UzLmleL4xbbB1mQe+R2fHNLFvDJOxM
T50YNyn8WNs=
=E/VB
-----END PGP SIGNATURE-----
___________________________________________________________________________
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