[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] RE: [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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |