Cannot install Garuda Linux in Hyper-V as a guest-VM. Black screen

After the boot splash screen when booting from ISO image (dragonized) I only get a black screen.
Things I have tried: Used VM Generation 1 and 2 (2 was worse), different HDD controllers (SCSI, IDE) and different virtual hard drives.
I cannot start-x or start-kde oder plasma or anything.
Tried to update with sudo pacman -Syyu and tried to start desktop .... nothing.
Set video driver as additional option video=hyperv_fb:800x600 .... no luck.
Used free and non-free drivers ... black screen.
Checked inxi -Fxxxza ... the driver shows correct to be Microsoft Hyper-V virtual VGA driver: hyperv_fb.
checked dmesg ... detected virtualization microsoft, detected correct architecture... no severe errors.
Maybe this is an issue because Hyper-V manager makes a connection via RDP?
I have no problem in running ubuntu on hyper-v (Desktop or bare with zsh)

Any ideas?

1 Like

Installing on virtual machines is not recommended as it might result in a bad experience.

You checked but it would be nice to post here as text no pictures, please. :slight_smile:

and
:slight_smile:

2 Likes

.... yes, it results in bad experience. Maybe I try it with KVM. But not today :slight_smile:
Thanks anyways.

Use the resolution only. Try a few, although the general compatible is 1024x768.

video=1024x768

Tip from:
https://www.youtube.com/channel/UCX_WM2O-X96URC5n66G-hvw

2 Likes

Using video=1024x768 did not help.

When using "nosplash" I can see the start messages though.
It seems to hang on: Starting Terminate Plymouth Boot Screen...

I can't even ssh into the VM (still running on Live). So I cannot copy-pasta my results here.

When changing to tty2 I see fish: Job 2, "paleofetch" terminated by signal SIGSEGV (Address boundary error). I don't know what paleofetch is, but SIGSEGV seems to be some kind of segmentation fault or overflow. Guess it is only a process that terminated.

https://forum.garudalinux.org/t/neofetch-fast/2542/9?u=sgs

I don’t really understand the purpose of running Garuda in a Windows VM - why are you doing this, and why not use a standard Arch-based distro given you won’t benefit from the various hardware-focussed optimisations Garuda provides?

1 Like

Well it's Windows, and for some people it's like being addicted to smack, and they just can't get that monkey off their back. Ouch.

2 Likes

I am just curious if this works. I agree Windows and docker / vm are a real pain. But I like virtualization and like to automate things. E.g. build a shared-dll using CMake on Linux and run it on windows. I will try further and let you know if I can make it work :open_mouth:

1 Like

sudo systemctl list-units --failed

UNIT LOAD ACTIVE SUB DESCRIPTION
â—Ź auto-cpufreq.service loaded failed failed auto-cpufreq - Automatic CPU speed & power optimizer for Linux
â—Ź systemd-sysctl.service loaded failed failed Apply Kernel Variables

CPU-specific things are highly unlikely to work in a VM.

2 Likes

startx:

Fatal server error:
(EE) no screens found(EE)

inxi:

System:    Kernel: 5.10.4-107-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.0
           parameters: intel_pstate=passive BOOT_IMAGE=/boot/vmlinuz-x86_64 video=1024x768 lang=en_US
           keytable=us tz=UTC driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1
           misobasedir=garuda misolabel=GARUDA_DR460NIZEDGAMING_SOARING_ quiet systemd.show_status=1 splash
           rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1
           Console: tty 0 DM: SDDM Distro: Garuda Linux
Machine:   Type: Desktop Mobo: Microsoft model: Virtual Machine v: Hyper-V UEFI Release v4.0
           serial: <filter> UEFI: Microsoft v: Hyper-V UEFI Release v4.0 date: 11/01/2019
CPU:       Info: Dual Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ family: 17 (23)
           model-id: 8 stepping: 2 microcode: FFFFFFFF L2 cache: 1024 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 bogomips: 29696
           Speed: 3700 MHz min/max: N/A base/boost: 3700/4350 volts: 1.2 V ext-clock: 100 MHz
           Core speeds (MHz): 1: 3700 2: 3700 3: 3700 4: 3700
           Vulnerabilities: Type: itlb_multihit status: Not affected
           Type: l1tf status: Not affected
           Type: mds status: Not affected
           Type: meltdown status: Not affected
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Message: No Device data found.
           Display: server: X.org 1.20.10 driver: modesetting alternate: fbdev,vesa tty: 112x64
           Message: Advanced graphics data unavailable in console for root.
Audio:     Message: No Device data found.
Network:   Message: No Device data found.
           IF-ID-1: eth0 state: up speed: 10000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 127 GiB used: 15.6 MiB (0.0%)
           ID-1: /dev/sda maj-min: 8:0 model: Virtual Disk size: 127 GiB block size: physical: 4096 B
           logical: 512 B serial: N/A rev: 1.0
Partition: ID-1: / raw size: N/A size: 5.83 GiB used: 15.6 MiB (0.3%) fs: overlay source: ERR-102
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100)
           ID-1: swap-1 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0
           ID-2: swap-2 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1
           ID-3: swap-3 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram2
           ID-4: swap-4 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram3
Sensors:   Message: No sensors data was found. Is sensors configured?
Info:      Processes: 124 Uptime: 15m wakeups: 1173 Memory: 7.77 GiB used: 7.11 GiB (91.5%) Init: systemd
           v: 247 Compilers: gcc: 10.2.0 Packages: pacman: 1578 lib: 481 Shell: fish (sudo) v: 3.1.2
           default: Bash v: 5.1.4 running in: tty 0 (SSH) inxi: 3.2.01

boot log:

[  OK  ] Created slice hostcritical.slice.
[  OK  ] Created slice Virtual Machine and Container Slice.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice system-modprobe.slice.
[  OK  ] Created slice unevictable.slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on LVM2 metadata daemon socket.
[  OK  ] Listening on LVM2 poll daemon socket.
[  OK  ] Listening on Process Core Dump Socket.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
         Mounting Huge Pages File System...
         Mounting POSIX Message Queue File System...
         Mounting Kernel Debug File System...
         Mounting Kernel Trace File System...
         Mounting Temporary Directory (/tmp)...
         Starting Create list of st…odes for the current kernel...
         Starting Monitoring of LVM…meventd or progress polling...
         Starting Load Kernel Module configfs...
         Starting Load Kernel Module drm...
         Starting Load Kernel Module fuse...
         Starting Set Up Additional Binary Formats...
         Starting Load Kernel Modules...
         Starting Remount Root and Kernel File Systems...
         Starting Coldplug All udev Devices...
         Starting Setup Virtual Console...
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Mounted Temporary Directory (/tmp).
[  OK  ] Finished Create list of st… nodes for the current kernel.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module fuse.
         Mounting Arbitrary Executable File Formats File System...
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
[  OK  ] Mounted Arbitrary Executable File Formats File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Set Up Additional Binary Formats.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Load Kernel Modules.
         Starting Apply Kernel Variables...
[FAILED] Failed to start Apply Kernel Variables.
See 'systemctl status systemd-sysctl.service' for details.
[  OK  ] Finished Setup Virtual Console.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Started Entropy Daemon based on the HAVEGE algorithm.
         Starting Journal Service...
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Started LVM2 metadata daemon.
         Starting Show Plymouth Boot Screen...
[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Started Forward Password R…s to Plymouth Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Finished Monitoring of LVM… dmeventd or progress polling.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Tell Plymouth To Write Out Runtime Data.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Monitors for new snapshots.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Paths.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Monthly Btrfs scrub on /.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Monthly clean packages cache.
[  OK  ] Started Daily verification of password and group files.
[  OK  ] Started Daily locate database update.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on Libvirt local socket.
[  OK  ] Listening on Libvirt admin socket.
[  OK  ] Listening on Libvirt local read-only socket.
[  OK  ] Listening on Virtual machine lock manager socket.
[  OK  ] Listening on Virtual machine log manager socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Periodic Command Scheduler.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
         Starting LiveMedia Config Script...
[  OK  ] Started irqbalance daemon.
[  OK  ] Started Daemon that keeps amount of available memory.
         Starting LiveMedia MHWD Script...
         Starting LiveMedia Pacman mirror ranking script...
[  OK  ] Started Sophisticated low memory handler.
         Starting Authorization Manager...
[  OK  ] Started Daemon that locks …ecutables/libraries in memory.
         Starting User Login Management...
         Starting Virtual Machine a…tainer Registration Service...
         Starting Manage swap space…zram, files and partitions....
         Starting Ananicy - ANother Auto NICe daemon...
[  OK  ] Started User Login Management.
[  OK  ] Started Virtual Machine an…ontainer Registration Service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Finished LiveMedia MHWD Script.
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
[  OK  ] Started auto-cpufreq - Aut…d & power optimizer for Linux.
[  OK  ] Started Virtualization daemon.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[  OK  ] Started Authorization Manager.
         Starting Modem Manager...
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Modem Manager.
[  OK  ] Created slice system-udisks2\x2dzram\x2dsetup.slice.
         Starting UDisks2 managed ZRAM device zram0 setup...
[  OK  ] Finished UDisks2 managed ZRAM device zram0 setup.
[  OK  ] Started Ananicy - ANother Auto NICe daemon.
         Activating swap Swap Block/Partition...
[  OK  ] Activated swap Swap Block/Partition.
         Starting UDisks2 managed ZRAM device zram1 setup...
[  OK  ] Finished UDisks2 managed ZRAM device zram1 setup.
         Activating swap Swap Block/Partition...
[  OK  ] Activated swap Swap Block/Partition.
         Starting UDisks2 managed ZRAM device zram2 setup...
[  OK  ] Finished UDisks2 managed ZRAM device zram2 setup.
         Activating swap Swap Block/Partition...
[  OK  ] Activated swap Swap Block/Partition.
         Starting UDisks2 managed ZRAM device zram3 setup...
[  OK  ] Finished UDisks2 managed ZRAM device zram3 setup.
         Activating swap Swap Block/Partition...
[  OK  ] Activated swap Swap Block/Partition.
[  OK  ] Started Manage swap spaces…n zram, files and partitions..
[  OK  ] Finished LiveMedia Pacman mirror ranking script.
[  OK  ] Finished LiveMedia Config Script.
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
         Starting Deactivate Plymouth Boot Screen...
         Starting Hold until boot process finishes up...
         Starting Terminate Plymouth Boot Screen...

I had some success now with

su
pacman -Sy
pacman -Sy xf86-video-fbdev
systemctl restart sddm

It is showing the install screen now. I will try to use the MS Enhanced Session mode if an installation was successful.

It is showing now -- virtual machine install is not recommended -- :wink:

4 posts were split to a new topic: Garuda doesn't run in Windows Hyper-V