Installation session example
The following example shows how to install vCPE by using the install image command. The name of the image in the example is 4.x.
vyatta@vyatta:~$ install image Welcome to the vRouter image installer. What would you like to name this image? [4.x]: This image will be named: 4.x The vRouter system requires a minimum 1000MB disk space on a partiton type 83 (Linux). Probing drives: OK The following drives were detected on your system: sda 8589MB Install the image on? [sda]: A legacy partition table (msdos) supports drives up to 2 TB GPT partition format supports larger drives and partitions Disk label type (msdos/gpt) [msdos]: Would you like me to try to partition a drive automatically or would you rather partition it manually with parted? If partitions are already set up, you may skip this step. Partition (Auto/Parted/Skip) [Auto]: Welcome to the Automated Partition Installer! The default set up for using multiple partitions is to reserve just enough disk space for the vRouter and use the rest for data storage. The first partition entry always gets treated as the root partition for vRouter. In this case, your partitions would look like this: Partition 1: vRouter 4096MB on / Partition 2: LIBVIRT 4493MB on /var/lib/libvirt/images Continue (Yes/No/Adjust/Insert/Delete/Print) [Yes]: Using msdos label combined_part_size size Creating a new disklabel on sda parted /dev/sda mklabel msdos Creating root partition on /dev/sda sect 1024KiB:4096MB Creating filesystem on /dev/sda1: OK Creating extra partition 1 from 4097MB:8590MB with FS label: LIBVIRT Creating filesystem on /dev/sda2: OK Marking /dev/sda partition 1 as bootable Done! Mounting /dev/sda1... I need to install the GRUB boot loader. I found the following drives on your system: sda 8589MB Which drive should GRUB modify the boot partition on? [sda]: Setting up grub on /dev/sda: OK Copying squashfs image... Copying kernel and initrd images... I found the following configuration files: /config/config.boot /opt/vyatta/etc/config.boot.default Which one should I copy? [/config/config.boot]: Copying /config/config.boot... Enter username for administrator account [vyatta]: Enter password for administrator account Enter password for user 'vyatta': Retype password for user 'vyatta': Done.