Comments (8)
Hi ravenclaw,
The script variables you posted look ok. I'm not familiar with kvm unfortunately, so can't be much help with its setup.
Please could you provide the script installation log? It should be in the /var/log directory of the new installation. Before the first reboot, that would be in the mountpoint where the new installation is created (/mnt/ub_server).
The log would let me check whether anything went wrong during the installation.
from ubuntu-server-zfsbootmenu.
To get it this far with kvm, I had to manually add a serial number to each virtual disk in xml, so your script is able to find them under /dev/disk/by-id. But I don't think that this has something to do with the shell issue. solution
This time I bootet ubuntu 22.04 in EN (instead of DE), checked out current version, and started the initial run. No changes at all. Selected the first disk.
After reboot i get this:
Here is the log from this run:
ubuntu_setup_zfs_root.log
Thank you for your time.
from ubuntu-server-zfsbootmenu.
I can't see anything obviously wrong in the log. Are you able to manually select the efi file to boot from?
from ubuntu-server-zfsbootmenu.
Yesterday I tried installing in VirtualBox, and it worked flawless (only tested if it could boot, not further).
The only difference I could spot was sda(virtualBox) vs vda(kvm).
So I tried kvm with a sata disk instead of a virtio disk, but this did not work.
This is my first encounter with the uefi shell, could you give me a hint/link on how to boot the efi file?
from ubuntu-server-zfsbootmenu.
Iām glad the script worked in Virtualbox. Hopefully you can test on your hardware server when it arrives too.
For your kvm issue, are you able to select the efi file from a boot menu as part of the kvm boot sequence? Virtualbox has an option to press F12 during boot to select boot device. Does kvm have something similar?
[edit: does setting the boot order help: https://stackoverflow.com/questions/19011159/how-to-set-boot-order-on-kvm-libvirt-virsh ]
from ubuntu-server-zfsbootmenu.
Using from your link I tried all boot options (Sata disk, virtio disk), but only the integrated shell booted.
and the zfsbootmenu initrramfs with the refind_linux.conf, this looks ok to me (to an uefi/zfs/zfsbootmenu noob)
At first, starting refind_x64.efi resulted in a permission denied msg that told me this is not a secure boot signed efi file.
So after choosing a efi bios without secureboot for kvm, (the one I chose earlier linked to a secboot one: OVMF_CODE_4M.ms.fd -> OVMF_CODE_4M.secboot.fd)
I could execute the refind_x64.efi, but it seems there is something missing (maybe it does not find the config file).
I did a fresh initial install with the secureboot disabled firmware, but all I got again was the uefi shell.
from ubuntu-server-zfsbootmenu.
Seems refind crashes freeing the banner image. link
Adding hideui banner
to refind.conf solved the problem.
At line 757 of your script I simply added:
echo hideui banner >>/boot/efi/EFI/refind/refind.conf
But I still have to manually boot it via efi shell.
from ubuntu-server-zfsbootmenu.
That's good news. I'm glad you finally got the script to work with kvm. Thank you for posting the solution. If you find the solution to having to manually boot the kvm VM each time, please post that here too.
from ubuntu-server-zfsbootmenu.
Related Issues (20)
- Arch Linux (and Manjaro etc) adaptation of Ubuntu-Server-ZFSbootmenu scripts based on Kayvlim etc HOT 1
- do-release-upgrade (request for a short how-to) HOT 5
- Question on building the "-part1" partition HOT 20
- Nothing happens after 1st reboot. HOT 4
- VirtIO-backed drives are not available for selection during initial setup HOT 3
- Scripts gets stuck updating mirrors HOT 6
- How to update authorized_keys in remote access HOT 2
- sed: -e expression #1, char 2: unterminated address regex HOT 9
- unable to set up remote access HOT 15
- How to restart after Ctrl+ C? HOT 1
- `striped` option
- Connecting to wifi in postinstall HOT 11
- Kubuntu 23.04 E: Release signed by unknown key (key id 40976EAF437D05B5) HOT 3
- swapon -a fails periodically due to running too quickly, short pause reliably fixes HOT 1
- [Question] How different is KDE Neon from Kubuntu?
- installation failure with : efibootmgr hp prolient dl360 HOT 7
- Recommendation: Only exclude Docker `overlay2` from snapshots
- Ubuntu mirrors.txt only ever has one entry HOT 2
- Create pool without swap HOT 1
- Remove firewalld for desktop installs HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubuntu-server-zfsbootmenu.