Re: trouble loading self compiled vanilla kernel



On Mon, 2007-01-08 at 16:52 +0100, Jonas Svensson wrote:
On Mon, 8 Jan 2007, Tilman Schmidt wrote:

Jonas Svensson schrieb:
I beleive make install does that in CentOS. There were a new initrd
installed and it was not identical to the one supplied by CentOS.

That's surprising. On SuSE I always have to build it separately
with mkinitrd, and the kernel makefiles are the same, after all.
Anyway, your symptoms definitely look like a bad initrd, so you
may want to have a closer look in that area. Perhaps build a
kernel you can boot without initrd for testing, ie. with the
drivers for the root disk and filesystem built in.

I will try it again, maybe I missed something. I will also try to read
more on initrd and see if I am wrong to assume that make install does it
for me.

In my experience on openSUSE, the following sequence of commands
installs both the kernel and the initrd:
make *config*
make
make modules_install
make install
However, if the order of the last two make invocations is switched, then
the initrd does not get generated (correctly or at all). Although
unlikely to be the problem, it's a simple thing to eliminate from the
list of possible borkages.

-- Vadim Lobanov


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: linux-image-2.6-486 vs. linux-image -2.6-
    ... Is there a place where the difference between these latest kernel binary images is documented, other than looking thru the config files or the descriptions of the packages. ... But when I install linux-image-2.6-k7 the boot will fail, because he cannot find the root device, meaning the initrd failed somehow. ... Linux-image-4-486 has no problems when used on a USB disk partition on which Etch is installed with the daily-built d-i. ...
    (Debian-User)
  • Re: Hard drive install (upgrade) from USB drive?
    ... do so and pick the menu item called "Fedora Core 7 ... the pick the USB drive (on every install I have done, ... I compared the MD5 sums of the kernel and initrd from both isolinux/ on the ...
    (Fedora)
  • Re: 2.6.16-1.2080_FC5 kernel panic (nv raid0, 86_64 architecture)
    ... is but whether its the kernel or dmraid I never found out. ... Having raid1 I was able to boot off 1 of the raid disks and ended up ... The thread you reference is exactly what I experienced trying to install ... the solution that was suggested in the thread, mkinitrd is updated using ...
    (Fedora)
  • Re: Moving Fedora 9 Hard Disk To Another System
    ... When the kernel is updated, the Fedora 9 framework will rebuild a new ... initrd and it will NOT have the special modules in it. ... I make a small custom install on the machine in question. ...
    (Fedora)
  • Re: How do you make mkinitrd work!?
    ... mkinitrd needs access to your modules. ... /lib/modules/you need to install some there to make an initrd. ... You're sure you typed 'make modules_install' in your kernel source ...
    (Debian-User)