Matthew Booth
2009-Aug-18 11:12 UTC
[Libguestfs] [PATCH] Load the ext2 module so mkinitrd works on RHEL 3
--- appliance/init | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/appliance/init b/appliance/init index fe135b4..053ef36 100755 --- a/appliance/init +++ b/appliance/init @@ -39,6 +39,9 @@ fi modprobe dm_mod ||: +# For mkinitrd on RHEL 3 +modprobe ext2 + ifconfig lo 127.0.0.1 ifconfig eth0 10.0.2.10 route add default gw 10.0.2.2 -- 1.6.2.5
Richard W.M. Jones
2009-Aug-18 11:46 UTC
[Libguestfs] [PATCH] Load the ext2 module so mkinitrd works on RHEL 3
On Tue, Aug 18, 2009 at 12:12:31PM +0100, Matthew Booth wrote:> --- > appliance/init | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/appliance/init b/appliance/init > index fe135b4..053ef36 100755 > --- a/appliance/init > +++ b/appliance/init > @@ -39,6 +39,9 @@ fi > > modprobe dm_mod ||: > > +# For mkinitrd on RHEL 3 > +modprobe ext2 > + > ifconfig lo 127.0.0.1 > ifconfig eth0 10.0.2.10 > route add default gw 10.0.2.2Hmm .. why doesn't udev load this? I've used RHEL 3 guests fine from libguestfs before, so I don't understand why they don't work now. It's best to find out what the regression is, rather than hack it. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
Seemingly Similar Threads
- [PATCH] Fix mkinitrd detection of LVM root on RHEL 4
- [PATCH] Fix import of RHEL 3 kvm guests using kmod-virtio
- [PATCH 0/2] Use link-local addresses when communicating between appliance and host (RHBZ#588763)
- [PATCH febootstrap 0/8] Add support for building an ext2-based appliance
- [PATCH] v2v: tell v2v the real root device to mkinitrd