VirtualBox
command. Follow the GUI Wizard to create a new virtual host and virtual disk image.
OS type | Linux |
Version | Redhat (choose the 64-bit variety if your host platform is 64-bit) |
Hard Drive | virtual drive now / VDI / dynamically allocated. Use the folder icon on File Location and Size to check location under a local partition (eg /disk/scratch/)..., size 50Gb (minimum) |
Network | For adapter1, change "Attached to" from NAT to Bridged Adapter Check don't need to set to PCnet for PXE to work |
System | For "Boot order", have only "Hard Disk" and "Network" ticked |
Choose your CDROM (eg host drive D:) as install media (ignore the fact you don't have a CD installed - you're going to install off the network). |
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/sl6_64.h> #include <dice/hw/virtualbox.h> #include <dice/options/desktop.h> #include <dice/options/dhcp.h> /* eof */From this source profile, we can see that diyvm.diy.inf.ed.ac.uk will be running the 64-bit version of SL6 (Scientific Linux 6) and ascobie will be the user.
VirtualBox
, start your VM. After 15-30 seconds you should see a menu similar to the following :-
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:
Loading /kernel-pxe-install-sl5/vmlinux............... Loading /kernel-pxe-install-sl5/initrd.gz............. ....................................... ........................................ Ready. Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 2.6.32-279.5.1.el6.i686 (mockbuild@sl6.fnal.gov) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Tue Aug 14 16:12:17 CDT 2012 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001f7f0000 (usable) BIOS-e820: 000000001f7f0000 - 0000000020000000 (reserved) BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved) ... more kernel output ... ---------- LCFG installroot -------------- Version: 0.102.0 Date: 27/08/12 09:05:20 Starting udev: intel_rng: Firmware space is locked read-only. If you can't or intel_rng: don't want to disable this in firmware setup, and if intel_rng: you are certain that your system has a functional intel_rng: RNG, try using the 'no_fwh_detect' option. sd 0:0:0:0: Attached scsi generic sg0 type 0 [ OK ] [OK] client: install (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.