[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] RHEL4 without initrd - too hard!


  • To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Luck, Tony" <tony.luck@xxxxxxxxx>
  • Date: Thu, 20 Oct 2005 10:04:10 -0700
  • Delivery-date: Thu, 20 Oct 2005 17:01:17 +0000
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcXUwJhITcg9E+IFQoWDcbQ14oQxaQA1i+4A
  • Thread-topic: RHEL4 without initrd - too hard!

From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
> IIRC, RHEL4 should be able to boot 2.6 kernel without initrd requirement.

Up until RHEL4 I had always built kernels with all the drivers
builtin to avoid the need to copy around initrd and module files
(so I could easily build a kernel on one machine, copy it to
another, and boot it there).

With RHEL4 I finally gave in and started using initrd.  The issue
that tipped me over into this was "udev" ... my non-initrd kernel
just complained that it couldn't open an initial console (because
udev hadn't been started, and so /dev was empty ... i.e. no /dev/console).

It might be possible to work around this by using mknod to make
all the nodes that you need in /dev (booting a rescue CD to do this).
But I figured that it was too much effort to continue to swim
against the tide.

So now my build scripts also run "mkinitrd" and then make a tarball
of the kernel, initrd, and all the files I need from lib/modules.
So I can still just copy one file to another machine ... I just need
to unpack it when I get there.

-Tony

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.