Here's another question, this time about mkinitrd. I got this result when running mkinitrd: [root@xxxxxx linux-2.5.73]# mkinitrd /boot/initrd-2.5.73-bk8.img 2.5.73-bk8 No module raid1 found for kernel 2.5.73-bk8 What does this error message mean? I believe it is telling me that there is no module named 'raid1' in /lib/modules/2.5.73-bk8/..., is this correct? I had actually (I believe) compiled RAID1 support into the kernel, rather than enabled it as a module. How does mkinitrd decide that I need a module, raid1, based on inspecting /etc/modules.conf and /etc/fstab? E.g. why doesn't it check to see if the kernel has support for raid1 compiled in? And how can I tell mkinitrd, "don't worry about RAID1, I compiled it in the kernel"? Thanks Bob On Mon, 2003-06-30 at 12:42, Robert P. J. Day wrote: > just for anyone who needs all the details (step by step), here's > what it takes to play with the latest 2.5 kernels (at least on > red hat 9). > > 1) upgrade to the latest red hat rawhide versions of both the > modutils and mkinitrd RPMs. you *need* the latest modutils RPM > to understand the 2.5 kernel, but that RPM is backward-compatible > if you want to reboot back to 2.4. (when, oh when, is red hat > finally going to get a grip and have the URL rawhide.redhat.com > take one *directly* to the rawhide repository? sigh.) > > 2) get latest kernel tarball (2.5.73 at last glance) from www.kernel.org > or ftp.kernel.org, and unload it under /usr/src. there is no need to > mess with symlinks, as the tarballs from kernel.org automatically > unload into the appropriate directory name (linux-2.5.73). > > 3) in order to be *really* up to date, grab the latest BK patch from > kernel.org, and patch. > > 4) "make mrproper" in the new source directory, just to play it safe. > > 5) do your very first configure. you can either grab your old > .config and "make oldconfig", or do a real "make xconfig" and > admire all the new options. (if you grab an old 2.4 .config file, > be prepared to answer lots of queries about new options.) > > 6) build new compressed kernel and modules with > > # make bzImage > # make modules > > once all that succeeds, copy/install everything with > > # cp arch/i386/boot/bzImage /boot/vmlinuz-2.5.73-bk5 (or whatever) > # make modules_install > > create a new initrd image with > > # mkinitrd /boot/initrd-2.5.73-bk5.img 2.5.73-bk5 > > NOTE: about the mkinitrd command: > > 1) it does not have to be done from within the kernel source dir > 2) it can be done only *after* the "make modules_install" command, > as it requires the corresponding /lib/modules directory to exist. > > finally, edit /etc/grub.conf, add a new entry for the new kernel, and > reboot. > > did i forget anything? > > rday > > -- > > Robert P. J. Day > Eno River Technologies > Unix, Linux and Open Source training > Waterloo, Ontario > > www.enoriver.com -- Need help with computer hardware or software? I can take care of it in your home at very reasonable cost. Bob Cochran Greenbelt, Maryland, USA http://www.greenbeltcomputer.biz/
Attachment:
signature.asc
Description: This is a digitally signed message part