Hi,
I'm using the community Edition and need to create a customized Ubuntu 18.04 for my labs, so I followed step-by-step the instructions on:
https://www.eve-ng.net/index.php/docume ... ost-image/
All goes well until I create a new Linux node and proceed with the installation of Ubuntu 16.04. Once completed it prompts me to reboot the node. Before that, I first stop the node, delete the cdrom.iso file and start it again. What I see in the QEMU screen is the following:
/dev/vda1: recovering journal
/dev/vda1: clean, 129004/5242880 files, 2048533/2091008 blocks
after that, nothing happens.
Checking directory: /opt/unetlab/addons/qemu/linux-ubuntu-18-04
I only see one file: virtioa.qcow2 file and nothing else. As far as I know there should be a file named hda.qcow2 with the image, but as mentioned it isn't there. So I guess that's the reason why the Ubuntu host Is not working.
To sum up I did the following:
- Created directory /opt/unetlab/addons/qemu/linux-ubuntu-18-04
- loaded the Ubuntu ISO file to the above directory and renamed it to cdrom.iso
- Created virtioa.qcow2 HDD 80G size: /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 30G
- Created new lab, added Linux node, connected to a cloud/internet
- Proceeded with installation/configuration until system prompted to reboot the node.
- deleted cdrom.iso file
- started node but didn't work.
Am I missing something?
Thanks a lot.
Custom Linux Ubuntu 18.04 host fails to boot
Moderator: mike
-
- Posts: 5180
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Custom Linux Ubuntu 18.04 host fails to boot
after remove CDROM, check if your qemu options on node are right
-machine type=pc,accel=kvm -vga std -usbdevice tablet -boot order=dc
it is default qemu options, and you see order of boot is dc
stop node
right click edit node
set boot order cd
-machine type=pc,accel=kvm -vga std -usbdevice tablet -boot order=cd
start node
shutdown node
and remove cdrom now
-machine type=pc,accel=kvm -vga std -usbdevice tablet -boot order=dc
it is default qemu options, and you see order of boot is dc
stop node
right click edit node
set boot order cd
-machine type=pc,accel=kvm -vga std -usbdevice tablet -boot order=cd
start node
shutdown node
and remove cdrom now
-
- Posts: 9
- Joined: Fri Sep 28, 2018 7:59 pm
Re: Custom Linux Ubuntu 18.04 host fails to boot
Hi,
Followed your instructions and that did the trick.
Thank you!
Followed your instructions and that did the trick.
Thank you!