Page 1 of 1

Problem with adding Linux to qemu

Posted: Wed Jan 09, 2019 1:10 pm
by sniffer
Hello everyone,

I tried to find topics related to this but w/o success, if it is exist i apologize.

I am trying to add Linux (CentOS7_Min) to EVE-NG, and i do everything successfully, but after i create new lab and add that linux i can't open it, always getting No bootable device.

I follow steps from eve-ng site how to do:

1. mkdir /opt/unetlab/addons/qemu/linux-centos7/
2. cd /opt/unetlab/addons/qemu/linux-centos7/
3. mv CentOS7.iso cdrom.iso
4. /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 20G
5. /opt/unetlab/wrappers/unl_wrapper -a fixpermissions

After this i stop machine, rename cdrom.iso to CentOS7.iso, start again and everything working, but when i reboot eve-ng or i crate new linux host or new lab when i add centos it can't boot, showing no bootable device :(
Am i doing something wrong, do i need to do something more?
Can you please help with this.

Thanks.

Re: Problem with adding Linux to qemu

Posted: Wed Jan 09, 2019 1:13 pm
by Uldis (UD)
it is because you didnt finish your linux install :)
Read how to
https://www.eve-ng.net/documentation/ho ... inux-image

after linux install is complete need commit your changes make this image as default and remove all ISO from it

Re: Problem with adding Linux to qemu

Posted: Wed Jan 09, 2019 1:33 pm
by sniffer
Uldis (UD) wrote:
Wed Jan 09, 2019 1:13 pm
it is because you didnt finish your linux install :)
Read how to
https://www.eve-ng.net/documentation/ho ... inux-image

after linux install is complete need commit your changes make this image as default and remove all ISO from it
You are right m8, i don't know how i missed this big step even red marked :(

Thanks and sorry.