Posted by ajt on Sun 13 Nov 2005 at 21:32
I have a Debian "sid" box installed onto a root partition on LVM2, boot is on hda. When I set it up originally everything went in well and it boots perfectly. The inital initrd created during install has all the right bits in and it boots and finds the root partition on the LVM2 without a problem. This works fine for both 2.4 and 2.6 family kernels.
Since installing it I've upgraded to the latest stock 2.6 "sid" kernel. When I try and boot from that kernel it dies with a kernel panic very quickly. I've tried creating an initrd with the standard mkinitrd tool and with that tool it boots a lot further, but still dies complaining about being unable to mount devfs.
What is the correct procedure to make a functioning initrd? It was able to make one during installation, why can't I make one now?
(I've done a Google search, but most of the hits are about LVM2+RAID, which I'm not doing.)
As ever, thanks in advance.