Skip to content

Commit

Permalink
Hyper-V support
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromaz committed Apr 12, 2022
1 parent 06623f9 commit 04b8cff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ needs just **70 MB RAM** and **40 MB storage size**. *yosild.sh* requires
[minimal][1] *Debian* or *Ubuntu* distro to run with the architecture compatible
with the target device.

The script works with VirtualBox, KVM/QEMU (all drive types except VirtIO) and
Hyper-V - you can create an additional virtual hard drive and install Yosild Linux
The script works with VirtualBox, Hyper-V and KVM/QEMU (all drive types except
VirtIO) - you can create an additional virtual hard drive and install Yosild Linux
on it, and then connect this virtual disk to a new virtual machine - just like in
my [YouTube video][3]:
<p align="center"><a href="https://www.youtube.com/watch?v=BPXxPZBBeJ0" target="_blank"><img src="https://jm.iq.pl/yosild/yosild_mov2.jpg" width="50%"></a></p>

Yosild creates probably the simplest, complete version of Linux, which makes it
easier to understand, how to build the system from scratch. It is much easier to
build than other, previously available solutions: Aboriginal, mkroot, Buildroot or
Linux From Scratch - just specify the target drive (virtual or flash drive) inside
the *yosild.sh* script and simply run the script. You can also rename the system
to make it your distribution.

easier to understand, how to build the system from scratch and how to use it.
Yosild is much easier to build than other, previously available solutions:
Aboriginal, mkroot, Buildroot or Linux From Scratch. Just specify the target
drive (virtual or flash drive) inside the *yosild.sh* script and simply run the
script. You can also rename the system to make it your distribution.

**Yosild**:

Expand Down
17 changes: 3 additions & 14 deletions yosild.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# ---------------------------------------
# Yosild - Your simple Linux distro
version="3.2.1"
version="3.2.1.B2"
# (c) Jaromaz https://jm.iq.pl
# Yosild is licensed under
# GNU General Public License v3.0
Expand Down Expand Up @@ -99,25 +99,14 @@ if [ $answer != "y" ] ; then
mv linux* linux
cd linux

# Linux Kernel configuration -------------------------------
if [ "$hyperv_support" == "true" ]; then
# Linux Kernel config --------------------------------------
if [ "$hyperv_support" = "true" ]; then
cat <<EOF >> arch/x86/configs/x86_64_defconfig
CONFIG_HYPERVISOR_GUEST=y
CONFIG_PARAVIRT=y
CONFIG_PARAVIRT_SPINLOCKS=y
CONFIG_CONNECTOR=y
CONFIG_SCSI_FC_ATTRS=y
CONFIG_HYPERV=y
CONFIG_HYPERV_UTILS=y
CONFIG_HYPERV_BALLOON=y
CONFIG_HYPERV_STORAGE=y
CONFIG_HYPERV_NET=y
#CONFIG_HYPERV_KEYBOARD=y
#CONFIG_FB_HYPERV=y
#CONFIG_HID_HYPERV_MOUSE=y
#CONFIG_PCI_HYPERV=y
#CONFIG_VSOCKETS=y
#CONFIG_HYPERV_VSOCKETS=y
EOF
fi
# ----------------------------------------------------------
Expand Down

0 comments on commit 04b8cff

Please sign in to comment.