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

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

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.

Len Sorensen

Reply to: