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

Re: Upgrading Sarge to Etch - failing to boot new kernel



W dniu 2010-06-23 00:28, Lennart Sorensen pisze:
On Tue, Jun 22, 2010 at 11:32:28PM +0200, Piotrek Gliźniewicz wrote:
I've tried the uuid approach - the effect is the same - 2.6.18 runs,
2.6.26. But I managed to find the real issue. MILO fails to load the
initrd image: "initdisk too large, would overwrite kernel.", apparently
the same issue as described here:
http://lists.debian.org/debian-alpha/2002/04/msg00157.html
I took a look at MILO source and it seems the LOADER_AT in Makefile
should be changed (the image has to fit between the kernel and LOADER_AT
address, at least that's what I understood). But there's a comment, that
other code depends on it, so I won't even try to touch this. The other
solution would be to build a custom smaller kernel, but this will have
to wait until I have more time.

Try changing the initramfs config to have modules only for known hardware
depends rather than most.  Esentially in /etc/initramfs/initramfs.conf
change MODULES=most to MODULES=dep.

Then regenerate the initrd with update-initramfs.

It should make a much smaller initrd image that way.  powerpc made this
change in the past because the quik boot loader had a initrd size limit
as well.

This did the trick - it shrunk the initrd.img from 9 MB to about 3 MB. Now I'm running 2.6.26 with Lenny. I installed the KDE packages and it works flawless (after some Xorg configuration - it didn't want to run it at anything above 800x600, but after adding the horizontal refresh rates of my display to xorg.conf it runs well at 1440x900x24bit (have to investigate why it doesn't want to run at 1680x1050 - the 8 MB RAM on the VGA should be enough for this)). I wish I could use the Permedia 2 OpenGL capabilities, but it seems there was never a driver for this. All in all, I happy with this setup and would like to thank everyone helping me to run it.
Best,
--
piotrek


Reply to: