Virtual machine configuration | Typical |
Guest Operating system installation | I will install the operating system later |
Guest operating system | Linux |
Version | Redhat Enterprise Linux 5 |
Virtual machine name | name of your machine |
Location | your choice |
Disk capacity | at least 30Gb |
Customize Hardware | Change the Network Adapter from NAT to Bridged networking |
mkdir -p ~/LCFG/source
The following is an example source profile :-
/* diyvm.diy.inf.ed.ac.uk */ #define _AUTH_USER ascobie #define FIRST_INSTALL #include <diydice/os/sl5.h> #include <dice/hw/vmware_ws6.h> #include <dice/options/office.h> #include <dice/options/dhcp.h> /* eof */From this source profile, we can see that diyvm.diy.inf.ed.ac.uk will be running SL5 (Scientific Linux 5) and ascobie will be the user.
The following boot options are available sl5:- boot to the sl5 install system sl564:- boot to the sl5_64 install system fc6serial - boot to the fc6 install system with serial console ... other options ... boot:
boot: sl5 Loading /kernel-pxe-install-sl5/vmlinux............... Loading /kernel-pxe-install-sl5/initrd.gz............. ....................................... ........................................ Ready. Linux version 2.6.18-53.1.13.el5.lcfg.2 (squinney@tarragona.inf.ed.ac.uk) (gcc 8 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003f686c00 (usable) BIOS-e820: 000000003f686c00 - 000000003f688c00 (ACPI NVS) ... more kernel output ... Listening on LPF/eth0/00:13:72:cf:65:b8 Sending on LPF/eth0/00:13:72:cf:65:b8 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 DHCPOFFER from 129.215.197.244 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 129.215.197.244 bound to 129.215.197.91 -- renewal in 361 seconds. Hostname is diyvm.diy.inf.ed.ac.uk LCFG client: install [OK] (I)nstall, (D)ebug, (S)hell, (P)atchup, (R)eboot :
If you don't see output similar to the above or the hostname is incorrect please contact Support.
i
at the above prompt, followed by y
to confirm. The install process will now start to install DIY DICE on your machine.
(I)nstall, (D)ebug, (S)hell, (P)atchup, (R)eboot : i Type Y to confirm, S for shell : y [INFO] install: Calling %oneshot% setctx install=true [INFO] install: Calling %oneshot% echo lcfg:x:980:980:LCFG user:/tmp:/bin/false >> /etc/passwd [INFO] install: Calling %oneshot% echo lcfg:x:980: >> /etc/group [INFO] install: Calling client install none: [OK] client: install [INFO] install: Calling %gettime% ntpdate extntp0.inf.ed.ac.uk Attempting ntpdate of extntp0.inf.ed.ac.uk (129.215.160.240) ... more output ...This process will install sufficient software packages (known as RPMs) for the machine to boot off its local disk. This set of ~350 RPMs is known as the "installbase". Once the "installbase" is installed, the machine will reboot off the local disk and continue installing the remaining ~2500 RPMs. This process will take between 1 and 2hrs depending on the speed of the machine. A final reboot is performed and the machine should then be ready for use.
Logon to your VM guest, and from a shell run /usr/bin/vmware-toolbox
; from the "options" tab, enable time synchronisation.