Re: [GIT PATCH] driver core patches against 2.6.24

From: Peter Zijlstra
Date: Fri Jan 25 2008 - 19:28:39 EST



On Sat, 2008-01-26 at 01:05 +0100, Ingo Molnar wrote:
> * Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
>
> > My wish is that distros would just boot without requiring an initrd. I
> > know how to make them for redhat and debian based distros, but the
> > fact that you can't (easily) cross-build them makes it a very tedious
> > construct.
>
> all it takes for me on Fedora is to boot a modular distro kernel once,
> then copy the /dev to the real (persistent) /dev:
>
> mkdir /tmp2
> mount /dev/sda1 /tmp2
> cp -a /dev/* /tmp2/dev/
>
> and from that point on a bzImage/vmlinuz can boot up on Fedora without
> any problems (as long as it has the right drivers built in), and the
> initrd line can be removed from grub.conf.

Yeah, I usually do the same but with a bind mount, still it would be
grand if such things would not be needed.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/