Custom Linux Ubuntu 18.04 host fails to boot
Posted: Wed Apr 15, 2020 7:27 pm
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.
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.