[Libguestfs] [PATCH] Load the ext2 module so mkinitrd works on RHEL 3

Richard W.M. Jones rjones at redhat.com
Tue Aug 18 11:46:44 UTC 2009


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.2

Hmm .. 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




More information about the Libguestfs mailing list