WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] what does "initrd-2.6.32.9.img" contains

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] what does "initrd-2.6.32.9.img" contains
From: lei yang <yanglei.fage@xxxxxxxxx>
Date: Thu, 13 May 2010 23:32:17 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 13 May 2010 08:33:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=4ouwQOjGpRMzzUnDVvDu+w8pJObTCg0Rc7fmYxNS5MY=; b=u3augm/WnFNSWzyoFmEfZUn4lemV0N8lzrbEH1XKWgtnxrhdVXQ4PRITF6wNfLxK/X QmbwNiuQWgRaU4ZKzsvZe5c46WkKGt3GkLXzbYCDqEQ6OJtLNOWH90T8WI9JJjwXX/xy prHNo3qOHmZJ3DJLBmYfzynQfn/nsEo2JpP3I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JS/gjOXrqYeioT7qERmIfLOtSmpC53QCpq4dU6Fkpx8wF/Rrq6G5jSUKqxWP1xiU74 G9/nJYgS4dM6KHjm3MAIJESLhH3Grv7Mj0r9Tlrlx0QWdPkc+Vul0Mw6IaYRSCAdIPRw DwIpIdct3TDPPxTxhpC+KWrInHoa2aJBp5XUk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100513123527.GE17817@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinNx00I0GfhCmJmu7Azw4zA8P86lnj3sJDurkkX@xxxxxxxxxxxxxx> <20100513123527.GE17817@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Thu, May 13, 2010 at 8:35 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Thu, May 13, 2010 at 04:40:33PM +0800, lei yang wrote:
>    Hi all
>
>    If I use nfsroot boot the xen dom0, I find it works well if not use
>    initrd-2.6.32.9.img.
>
>    what does  "initrd-2.6.32.9.img" contains?
>

It's the "initial ramdisk" for Linux kernel. It contains (some) driver modules for the kernel,
and a script to load them and to mount the actual root filesystem and switch to it.

All the distros nowadays compile drivers as modules (ie. not included in the kernel itself),
and use the initrd image to load only the needed/required drivers at boot time.

 
 
Thanks Pasi, I have another question, why we need this initrd ramdisk, because we can put the kernel module in the dir "/lib" of rootfs, if we ignor the initrd, it should work
 
Lei
 
 
-- Pasi




--
"We learn from failure, not from success!"
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users