Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: is disabling HyperV boot customizations possible? #9

Open
SjoerdV opened this issue Sep 28, 2022 · 3 comments
Open

Question: is disabling HyperV boot customizations possible? #9

SjoerdV opened this issue Sep 28, 2022 · 3 comments

Comments

@SjoerdV
Copy link

SjoerdV commented Sep 28, 2022

Hi! After using your image for about a year I decided to migrate from HyperV to Proxmox.

So after setting up the VM in Proxmox and connected the existing disk to it, I can see Grub loading but then failing on loading two 'hv_.ko' files. Is this something that can be solved? Ie. Can I disable the loading of the .ko files?

Thanks for any help on this.

@MirisWisdom
Copy link
Owner

Hey friend, glad to hear the image has been working for you on Hyper-V!

With regard to your error, the files in question are related to Hyper-V, and since you're trying to boot from Proxmox, it'll fail to load them.

The solution might be to use one of the official DietPi VM images on Proxmox. @MichaIng can give you more details on which image would work on Proxmox.


I admit, I've never gone out of my way to add those files. @MichaIng do the official Hyper-V images embed these files?

@MichaIng
Copy link
Contributor

MichaIng commented Sep 28, 2022

It should work when you use initramfs-tools to have a larger set if block device/controller/fs related drivers added to the initramfs:

apt install initramfs-tools
apt autopurge

Otherwise see our Proxmox download: https://dietpi.com/#download

@SjoerdV
Copy link
Author

SjoerdV commented Sep 29, 2022

It should work when you use initramfs-tools to have a larger set if block device/controller/fs related drivers added to the initramfs:

apt install initramfs-tools

apt autopurge

Otherwise see our Proxmox download: https://dietpi.com/#download

Absolutely great (and speedy) tips. Much appreciated. Together with this article

https://linoxide.com/fixing-broken-initrd-image-linux/

this made the boot sequence 'work' again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants