Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to install Windows Images in eve-ng simulator?
#1
Steps to install Windows Images

We are using: Windows7SP1Ultimate_64 Bit.iso. Be sure that distro name does not have spaces in the filename!
The procedure is the same for any other Windows version 7, 8.1, 10 hosts.

1. Create a new directory for this image according to the naming convention:
mkdir /opt/unetlab/addons/qemu/win-7test/

2. Use WinSCP or FileZilla SFTP or SCP (port 22) to copy distro ISO image into the newly created directory path: /opt/unetlab/addons/qemu/win-7test/

3. Go to that directory via CLI
cd /opt/unetlab/addons/qemu/win-7test/

4. Rename this ISO file to cdrom.iso
mv Windows7SP1Ultimate_64_Bit.iso cdrom.iso

5. Create a new virtual harddisk named virtioa.qcow2. Size you can choose per your needs. This example is used 30Gb HDD.
/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 30G

6. Create a new lab and add the newly created win-7test node

7. Connect the node to your home LAN cloud/internet in order for it to be able to get updates from the internet

8. Start the node inside the lab and customize the installation of your Windows as you like, as you have connected it to your home LAN and internet this installation will be like any normal Windows installation

9. IMPORTANT: When windows installation asks you to choose an HDD where Windows will be installed, choose Load driver, Browse, choose FDD B/storage/2003R2/AMD64 or x86, (AMD or x86 depends which version of windows you are installing 64 or 32 bit), click next and you will see HDD RedHat VIRTIO SCSI HDD now.

10. Select this HDD and continue to install Windows as usual.

11. Optional: if you would like to use this image with the EVE RDP console, then you have to allow RDP on this Windows machine and create a user and password. In this example, we use user/Test123. Be sure that in the Windows Firewall the Remote Access inbound rules are permitted for Public access.

12. Finish installation and shutdown properly the VM from inside VM OS. Start/shutdown

IMPORTANT: Commit the installation to set it as the default image for further use in EVE-NG:

13. On the left side-bar within the lab in the EVE Web-UI choose “Lab Details” to get your lab’s UUID details: In this example: UUID: 3491e0a7-25f8-46e1-b697-ccb4fc4088a2

14. Find out the POD ID of your used and the Node ID of your newly installed node.

The POD number is assigned to your username, and can be found in the EVE GUI, Management/User Management. The Admin user uses POD number 0 by default.

   

The Node ID can be obtained by right clicking the node on the topology. In this Example it is 8

   

15. From the EVE CLI, locate the installed image and commit your changes to be used as default for further use in EVE-NG:
cd /opt/unetlab/tmp/0/3491e0a7-25f8-46e1-b697-ccb4fc4088a2/8/
/opt/qemu/bin/qemu-img commit virtioa.qcow2

16. Remove cdrom.iso from /opt/unetlab/addons/qemu/win-7test/
cd /opt/unetlab/addons/qemu/win-7test/
rm -f cdrom.iso
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
Search Forums

(Advanced Search)

Welcome, Guest
You have to register before you can post on our site.


  

Password
  





Online Users
There are currently 66 online users.
» 0 Member(s) | 66 Guest(s)