Code Monkey home page Code Monkey logo

dietpi.hyper-v's Introduction

DietPi

Hyper-V images releases for DietPi!

optimised • compatible • untouched

DietPi Website DietPi GitHub


VHDX images for DietPi, fully compatible with Microsoft Hyper-V.

Download Latest VHDX


Hyper-V Screenshot

Introduction

DietPi is an extremely lightweight Debian-based OS. With images starting at 400MB, that's 3x lighter than "Raspbian Lite". It is highly optimized for minimal CPU and RAM resource usage, ensuring your SBC always runs at its maximum potential. The programs use lightweight Whiptail menus. You'll spend less time staring at the command line, and more time enjoying DietPi.

DietPi makes self-hosting incredibly easy and straightforward, making it a superb candidate for running as a virtualised server image in home labs.

The DietPi.Hyper-V project aims to release DietPi images that are compatible with Hyper-V with minimal modifications. This way, Hyper-V users can experience the true essence of DietPi: optimised, simplified, for everyone.

Features

  • fully compatible with Microsoft Hyper-V
  • minimal modifications to the DietPi installation
  • optimised file size (~120-150MB when compressed!)
  • images are compressed, signed and released on GitHub

Releases

Release Date Hash
v8.00 2022-01-10 SHA256: BBB18B8DBCDF49CDF514E63CA133B9A4C837BC689F960111481A5DAFC999DA42
v7.00 2021-03-02 SHA256: 71B8EF57F62CA23B1D50421B5B031A652A5E98F597DA63307B7F45CC8585E4B1
v6.30 2020-05-11 SHA256: 42D82FFC46483077D18183491D3057EAC3E98FD3EAFE5E4D9E9123D20F9143BF
v6.29.2 2020-05-04 SHA256: C8153DD8FD522CD20AD737E61B462E93C05D2DA8E953AE819B0FCCF365BC82DD
v6.28 2020-01-06 SHA256: ECE74E8DCAD0915BB842214F45D0B71F0A92BF4D1A634ECB7D9707843DF82EE6
v6.26.3 2019-10-21 SHA256: AA8C0AF30C4B4EB8FC174B1E4D15A1789EB6AF2373A04BC1F8BB9435AD5130EE
v6.25.3 2019-07-08 SHA256: 04A7BD4261E08D84EB6DA0E96F95718690C435FDE0ED9831E36A71E29CA1BBBE
v6.24 2019-05-16 SHA256: C7EB2957ADF9480D6B24B97DCC303B21F2EC3C1314F696C67899790EAF604DF9
v6.23 2019-05-13 SHA256: D52463AE3CC8671A0521EFC6AE8D2383CE6DB6D5452BEA8264E919780D4FFAAF
v6.22-rev02 2019-03-26 SHA256: D670890B1C9DEC7C48E70BA6516A31FB73720FA7BDC863F2DD709DDC93DE3359
v6.22 2019-03-24 SHA256: CD0D43D7E799387278E5865E9C9237E8CFFCBF5C418D061DBD4E67B1E437266E
v6.20 2019-01-31 SHA256: 0D0267701B1D894DB4513F4C3A6C7D04D981CC77661C413B7DAC13424A9AB783

Disclaimer

This project is NOT officially supported by the DietPi team, nor is the team affiliated with it. This is a spin-off project which aims to formally support Hyper-V as a hypervisor for running DietPi.

Please rely on this project's issues page for errors/bugs directly related to Hyper-V, and the official DietPi GitHub or forums for DietPi-specific issues. If uncertain, report the issues here. Any issues that are related to DietPi itself will be relayed to the official team.

Attributions

  • DietPi
    • Project lead: Micha (MichaIng)
    • Founder: Daniel Knight (Fourdee)
  • Hyper-V: Microsoft Corporation

dietpi.hyper-v's People

Contributors

michaing avatar miriswisdom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dietpi.hyper-v's Issues

Issue Loading Kernel

I am testing this image out on Hyper-v but the image fails to boot. The error is below. Any ideas or is this image just not compatible on hyper v? I'm using the DietPi_Hyper-V-x86_64-Stretch - v6.25.3.vhdx by the way.

"Loading Linux 4.9.0-8-AMD64
error: Invalid magic number
Loading initial ramdisk
error: you need to load the kernel first. "

Update - Tested the Virtualbox image and it works great. So I can use that if the hyper v won't work. Would be preferable however.

VHDX Capacity

This issue aims to discuss and decide on the maximum size of future VHDX images.

What capacity do you think the VHDX images should have and why? 80GB seems like a nice balance between stability, flexibility and nimbleness. However, it wouldn't be enough for a small media server. However, would people even store media in a VM? This is the kind of dilemma that inspired this post.

At the moment, the maximum capacity of the released images are 8GB, though posts such as MichaIng/DietPi#3559 hint at the capacity needing to be increased,.


When suggesting a capacity, please consider any technical caveats. Some (speculative) examples include:

  • can DietPi handle a, say, 64TB VHDX?
  • will there be any performance losses with increased disk capacity?
  • will there be a hassle with administrating, backing up, cloning, etc.?

Ultimately, the decided capacity will need to be a balance between practicality and technicality.

The VHDX images are dynamic, which means that the capacity change won't affect their initial physical size. This means that the images can be set to have a maximum of size of entire terabytes without any impact on distribution and base system requirements. The releases will continue to remain nimble!

Default region on new install is GB?

Heya. Thanks so much for maintaining these, DietPi works great on my Win10 system.

Is there anyway to setup the region/keyboard settings based on IP when first booting into DietPi fresh? I recently found out it defaults to GB (I live in US) and had issues thinking my KB was malfunctioning because some keys were writing different things. ;)

Update to Buster-based image

@yumiris
If you find time, would you mind to create a new image based on new stable Debian Buster?
Includes many benefits, native PHP7.3, a much newer Linux (even 5.2 possible via backports) and of course generally better long term support.

But probably its best to wait for v6.26 stable release 😉.

Question: is disabling HyperV boot customizations possible?

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.

Official DietPi Hyper-V images

As part of switching to a new build process and having this done fully automated, I also had another look into Hyper-V and was able to create an image for it. But I faced quite some hurdles, so as you have more experience with Hyper-V, some questions:

  • How did you convert the VMDK to VHDX? First I tried VBoxManage, but for some reason it fails to convert either a raw image or a VMDK into VHD (I wanted to use the MS conversion tool for the second step to VHDX), with some "invalid argument" error, not sure whether this is a bug in VBoxManage, as docs and help print shows it being supported just as VMDK and VDI (which both work). There is this MS VM converter tool, but it is designed to convert remote VMs, not really to convert local image files, at least I wasn't able to achieve that without being forced to enter remote hostnames/IPs, having remote share instead of a local directory as target etc. Finally V2V Image Converter worked well. I guess on a Linux system qemu-img is the way to go to convert a raw img into VMDK, VDI and VHDX all together.
  • Do I get it right that Hyper-V Generation 2 VMs strictly require booting from an EFI partition (even with Secure Boot and other UEFI features disabled), so that an MBR single partition image can only be used with a Generation 1 VM? What I am puzzled with is that it shows the drives as IDE then, still internally loads SCSI drivers, while only Gen 2 VMs show an actual SCSI controller, but do not boot any of our images (on my tests). Since I don't even see GRUB being loaded, it must be looking for an GPT/EFI partition. Would be just nice if it was possible to use Gen 2 but still boot from MBR.
  • Do you think there is a point in packing a whole Hyper-V VM export available as download, instead of only the VHDX? At least it assures that users do not try to boot it with a Gen 2 VM. But I'm not sure how well this is compatible with older Windows versions, when I create the export on a current Hyper-V. Sadly the exported VM configuration is binary, so no chance to review and in case adjust things like local network adapter info or so.

Here the image to review/test: https://dietpi.com/downloads/images/DietPi_Hyper-V-x86_64-Bullseye.7z

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.