Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

[Xen-devel] RE: [RFC][PATCH] create an initrd for dom0 in install.shscri

To: "Sean Dague" <japh@xxxxxxxxxx>
Subject: [Xen-devel] RE: [RFC][PATCH] create an initrd for dom0 in install.shscript
From: "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>
Date: Thu, 30 Mar 2006 13:55:34 -0500
Cc: Harry Butterworth <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 30 Mar 2006 19:03:26 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZUImO7D7l8dROtR1STpxMXMGozvAACBk6Q
Thread-topic: [RFC][PATCH] create an initrd for dom0 in install.shscript
Here is the usage for 

Fedora
usage: mkinitrd [--version] [-v] [-f] [--preload <module>]
       [--omit-scsi-modules] [--omit-raid-modules] [--omit-lvm-modules]
       [--with=<module>] [--image-version] [--fstab=<fstab>]
[--nocompress]
       [--builtin=<module>] [--nopivot] <initrd-image> <kernel-version>

       (ex: mkinitrd /boot/initrd-2.2.5-15.img 2.2.5-15)

SUSE SLES9
        Create initial ramdisk images that contain all kernel modules
        needed in the early boot process, before the root file system
        becomes available. This usually includes SCSI and/or RAID
        modules, a file system module for the root file system, or
        a network interface driver module for dhcp.

        mkinitrd [options] [root_dir]

        options:
          -h               This Text.
          -k "kernel list" List of kernel images for which initrd files
                           are created. Defaults to all kernels found
                           in /boot.
          -i "initrd list" List of file names for the initrd; position
                           have match to "kernel list". Defaults to all
                           all kernels found in /boot.
          -m "module list" Modules to include in initrd. Defaults to the
                           INITRD_MODULES variable in
/etc/sysconfig/kernel.
          -b boot_dir      Boot directory. Defaults to /boot.
          -d root_device   Root device. Defaults to the device from
which
                           the root_dir is mounted. Overrides the
rootdev
                           enviroment variable if set.
          -s size          Add splash animation and bootscreen to
initrd.
          -t tmp_dir       Temporary directory. Defaults to /var/tmp.
          -D interface     Run dhcp on the specified interface.
          -I interface     Configure the specified interface statically.
          -a acpi_dsdt     Attach compiled ACPI DSDT (Differentiated
System
                           Description Table) to initrd. This replaces
the
                           DSDT of the BIOS. Defaults to the ACPI_DSDT
                           variable in /etc/sysconfig/kernel.
          -S               Load policy file for SELinux if exist.
        root_dir:          The directory the root partition is mounted
on.
                           Defaults to "/".

> For what it is worth, here is the break down of the Mandriva tool.
> 
> 
> 
> NAME
>        mkinitrd - creates initial ramdisk images for preloading
modules
> 
> SYNOPSIS
>        mkinitrd [--version] [-v] [-f]
>                 [--preload=module] [--with=module]
>                 [--omit-scsi-modules] [--omit-raid-modules]
>                 [--image-version] [--fstab=fstab] [--nocompress]
>                 [--builtin=module] [--nopivot] [--noudev]
>                 [--allow-missing] [--tmpdir=tmpdir]
>                 [--initrdfs=fs] [--dsdt[=dsdt.aml]]
>                 [--lvm-version=1|2] [--force-usb]
>                 image kernel-version
> 
> 
> 
>       -Sean
> 
> --
> Sean Dague
> IBM Linux Technology Center                     email: japh@xxxxxxxxxx
> Open Hypervisor Team                           alt: sldague@xxxxxxxxxx

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