Problem with adding Linux to qemu

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
sniffer
Posts: 2
Joined: Wed Jan 09, 2019 12:57 pm

Problem with adding Linux to qemu

Post by sniffer » Wed Jan 09, 2019 1:10 pm

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.

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

Re: Problem with adding Linux to qemu

Post by Uldis (UD) » 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

sniffer
Posts: 2
Joined: Wed Jan 09, 2019 12:57 pm

Re: Problem with adding Linux to qemu

Post by sniffer » Wed Jan 09, 2019 1:33 pm

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.

Post Reply