Re: [GIT PATCH] driver core patches against 2.6.24

Jon Masters
2008-01-26T00:41:57Z

On Sat, 2008-01-26 at 01:27 +0100, Peter Zijlstra wrote:
> On Sat, 2008-01-26 at 01:05 +0100, Ingo Molnar wrote:
> > * Peter Zijlstra <a.p.zijlstra@chello.nl> 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.

Agreed. But it's not likely to be a priority - all the vendors want
completely modular kernels. But now we see what Linus wants to do,
perhaps we can try to be a bit more friendly toward that. It's not
actually rocket science, after all. I was concerned that he wanted to
use the modules in the initrd, but now I see Linus, and everyone else,
just want to do what I also secretly do, and just not use an initrd.

Isn't it funny. We all secretly hate using initrds ourselves :)

Jon.