Sascha Lucas wrote:
On Fri, 23 Jun 2006, Javier Ubillos wrote:
I don't want to use genkernel, but I still want it to work.
you realy should use genkernel.... it's much easier.
mkinitrd --preload md_mod --with=md_mod initrd-2.6.16-gentoo-r9
well you should not use mkinitrd, if you refuse genkernel :-).
btw: md-mod is RAID (multiple devs), LVM is dm-mod (dev mapper).
In conclusion:
how do I get/make a working initrd so I can boot with my lvm2 root?
that's much work to do it your self.... start building ext2 images or
cpio's with static busybox & lvm2 and write your own linuxrc (here you
may cheat by looking into linuxrc from genkernel :-)). Don't forget to
create dev-files and to include some modules.
Sascha.
Yes. What Sascha said. I've had many a user (in #gentoo IRC) sneer at
me for using Genkernel to produce a kernel + initramfs archive to boot
up my RAID + LVM2 based system. But it's far simpler than reinventing
the wheel by creating all that is needed to bootstrap the RAID/LVM2
setup (static bins, linuxrc script to start everything up, create device
nodes, etc, etc). I don't see much value in doing it myself when
Genkernel already does it for me.
Also, you can do all the kernel customization you wish (within reason)
even if you use Genkernel by using one of the --menu|x|g|config flags,
and/or --oldconfig.
--
+---------------------------------------------------------------------------+
| Jim Burwell - Sr. Systems/Network/Security Engineer, JSBC |
+---------------------------------------------------------------------------+
| "I never let my schooling get in the way of my education." - Mark Twain |
| "UNIX was never designed to keep people from doing stupid things, because |
| that policy would also keep them from doing clever things." - Doug Gwyn |
| "Cool is only three letters away from Fool" - Mike Muir, Suicyco |
| "..Government in its best state is but a necessary evil; in its worst |
| state an intolerable one.." - Thomas Paine, "Common Sense" (1776) |
+---------------------------------------------------------------------------+
| Email: [EMAIL PROTECTED] ICQ UIN: 1695089
|
+---------------------------------------------------------------------------+
--
gentoo-user@gentoo.org mailing list