modifying initrd.img
Hi all,
I just attempted to upgrade one of my boxes to a 2.4 kernel (using
kernel-image-2.4.18-586tsc)
Unfortunately, the loadmodules script tries to load INI9100 for my SCSI
card, but that module doesn't exist, so I end up with a kernel panic
(can't mount root fs).
I've mounted the initrd.img (on another box; when I use the old 2.2
kernel I can't mount cramfs) using
mount -o loop initrd.imf initrd
on a directory I created for the purpose.
I discovered a module called initio.o (haven't confirmed that that will
work yet btw)
But when I tried to edit loadmodules, I can't save it, and the file is
truncated instead. However, if I umount and re mount the image, the file
is unchanged.
I guess this is all to do with the mounting of the cramfs fielsystem -
I've seen references to losetup, but have never used it - is this a
consequence?
More generally, is there a better way to get my SCSI card working?
Thanks,
Richard
Reply to: