Hello

Scott Mohnkern (<[EMAIL PROTECTED]>) wrote:

> Okay, I'm in the process of installing a new kernel (from 2.20 to
> 2.4.18) and I modified /etc/lilo.conf to have the initrd.img file,
> however, I can't find anywhere on the drive a copy of the initrd.img
> file for the 2.20 kernel.

It doesn't have one. Well, at least the Debian 2.2.20 installation
kernels from Woody didn't have initrds, because the necessary drivers
for installing were compiled into the kernel.

> If I try to use the 2.4.18 kernel, with the image file, It's a
> complete mess, with dozens of errors. Plus the ethernet card stops 
> working.  

The 2.4.18 kernel package should include a matching initrd image that is
called /boot/initrd-2.4-18-something.img, at least if you don't use the
2.4.18 installation kernel (2.4.18-bf2.4). That one doesn't use an
initrd image.

The package manegement should also automatically create a symlink

/initrd.img => /boot/initrd-2.4.18-something.img

so all you need to do is to add a line

initrd=/initrd.img

to the 2.4.18 section of your lilo.conf and rerun lilo. Obviously that
worked so far, because you can't boot without the initrd image - the
kernel doesn't have the drivers to access your hard disk.

If you get device errors, this is probably because when you booted using
your old kernel, the drivers (e.g. for your network card) were compiled
into it, but are now compiled as modules. Adding the module name
to /etc/modules should help. If you need more help, tell us what error
messages exactly you get.

best regards
        Andreas Janssen

-- 
Andreas Janssen <[EMAIL PROTECTED]>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to