Is is possible to add existing .qcow2 with addtional data?

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Is is possible to add existing .qcow2 with addtional data?

Post by Uldis (UD) » Sun Apr 26, 2020 6:17 pm

Be as admin user, prepare install your image as you need.
Then simply commit it to be as default...
https://www.eve-ng.net/index.php/docume ... qemu-node/

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Is is possible to add existing .qcow2 with addtional data?

Post by Uldis (UD) » Mon Apr 27, 2020 9:52 am

something is not right
try create agin fresh node in fresh lab, connect to cloud, make changes
STOP node
and then commit

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Is is possible to add existing .qcow2 with addtional data?

Post by Uldis (UD) » Tue Apr 28, 2020 7:20 pm

absolutelly not that way

second hdd to add in your image folder:

Code: Select all

root@eve-ng:~# cd /opt/unetlab/addons/qemu/win-7-x86-IPCC/
root@eve-ng:/opt/unetlab/addons/qemu/win-7-x86-IPCC# ls
virtioa.qcow2
root@eve-ng:/opt/unetlab/addons/qemu/win-7-x86-IPCC# /opt/qemu/bin/qemu-img create -f qcow2 virtiob.qcow2 30G
Formatting 'virtiob.qcow2', fmt=qcow2 size=32212254720 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
root@eve-ng:/opt/unetlab/addons/qemu/win-7-x86-IPCC#
root@eve-ng:/opt/unetlab/addons/qemu/win-7-x86-IPCC# ls
virtioa.qcow2  virtiob.qcow2
root@eve-ng:/opt/unetlab/addons/qemu/win-7-x86-IPCC# 
Then boot your windows and use disk manager
After all is set and completed, Commit you will need do for both disks virtioa and virtiob
Example:
##############Commit qemu node changes#################
cd /opt/unetlab/tmp/10/8da80bb9-d9eb-45c2-8760-eff19057fe95/1/
qemu-img commit virtioa.qcow2
qemu-img commit virtiob.qcow2
You do not have the required permissions to view the files attached to this post.

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Is is possible to add existing .qcow2 with addtional data?

Post by Uldis (UD) » Tue Apr 28, 2020 7:28 pm

But to be honest better create fresh Windows node and install what you want, after submit it

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Is is possible to add existing .qcow2 with addtional data?

Post by Uldis (UD) » Thu Apr 30, 2020 4:29 pm

please go to eve live helpdesk..
this conversation over forum is useless
https://www.eve-ng.net/index.php/live-helpdesk/

use gmail to join

your issue is very simple but need explanations

Post Reply