Difference between revisions of "Vnx-install-root fs"

From VNX
Jump to: navigation, search
(Naming convention)
(Naming convention)
Line 17: Line 17:
 
* '''<ext>''': the extension of the image. For example: qcow2.
 
* '''<ext>''': the extension of the image. For example: qcow2.
 
Example:
 
Example:
* '''vnx_rootfs_kvm-ubuntu-11.04-v021.qcow2.bz2''' is a VNX root filesystem created with KVM, with an Ubuntu 11.04 installed. The version of the rootfs is v021 and the format is qcow2.  
+
* '''vnx_rootfs_kvm-ubuntu-11.04-v021.qcow2''' is a VNX root filesystem created with KVM, with an Ubuntu 11.04 installed. The version of the rootfs is v021 and the format is qcow2.
  
 
=== Downloading instructions ===
 
=== Downloading instructions ===

Revision as of 10:11, 27 July 2011

Downloading VNX root filesystems

You can download VNX preconfigured root filesystems from VNX repository at http://vnx.dit.upm.es/vnx/filesystems.

All root filesystems but Fedora and CentOS ones have a "root" and a "vnx" account with password "xxxx". Fedora and CentOS systems have password "xxxxxx".

Naming convention

Root filesystems names follow this format:

vnx_rootfs_<virtplatform>_<osname>-<osversion>-[gui-]<rootfsversion>.<ext>

being:

  • <virtplatform>: the virtualization platform the root filesystem was created for (kvm, uml, etc).
  • <osname>: the name of the operating system (or distribution in the case of Linux). Ej: ubuntu, freebsd, win7, etc.
  • <osversion>: the version of the OS.
  • gui: included if the root filesystem has a graphical user interface
  • <rootfsversion>: the version of the rootfs itself.
  • <ext>: the extension of the image. For example: qcow2.

Example:

  • vnx_rootfs_kvm-ubuntu-11.04-v021.qcow2 is a VNX root filesystem created with KVM, with an Ubuntu 11.04 installed. The version of the rootfs is v021 and the format is qcow2.

Downloading instructions

Use the following commands to download them and install (the creation of the symbolic link at the end is optional; create it if you want a rootfs to be the default filesystem to be used by the example scenarios):

Additionally, if you plan to use the old UML root filesystems used in VNUML:

# VNUML root_fs_tutorial and kernel
cd /usr/share/vnx/filesystems
wget -N http://vnx.dit.upm.es/download/vnx/filesystems/root_fs_tutorial-0.6.0.bz2
bunzip2 root_fs_tutorial-0.6.0.bz2
ln -s root_fs_tutorial-0.6.0 root_fs_tutorial
cd /usr/share/vnx/kernels
wget -N http://jungla.dit.upm.es/~vnx/download/kernels/linux-2.6.18.1-bb2-xt-4m
chmod +x linux-2.6.18.1-bb2-xt-4m
ln -s linux-2.6.18.1-bb2-xt-4m linux