Skip to content

Instantly share code, notes, and snippets.

@taoy
Last active August 8, 2021 11:55
Show Gist options
  • Save taoy/eaf225e4459af23f8cc1be59937407da to your computer and use it in GitHub Desktop.
Save taoy/eaf225e4459af23f8cc1be59937407da to your computer and use it in GitHub Desktop.
Install Manjaro Linux on Hyper-V under Proxy

Install Manjaro Linux - Hyper-V / Proxied Network

Manjaro Linux's ISOs are booting into Graphical UI (X.org), but unfortunately, LiveMedia of Manjaro doesn't have FBDEV driver for X server.

To run install script for Manjaro needs X server running, so to do that you need to install fbdev driver.

And if you're under proxied network, to install driver, you need to setup proxy configuration.

Proxy configuration to update package manager and package.

$ export http_proxy="proxy.server.address:proxy_port"
$ export ftp_proxy="proxy.server.address:proxy_port"
$ export https_proxy="proxy.server.address:proxy_port"

$ sudo -E pacman -Sy

Don't upgrade packages -- i.e. do not $ sudo pacman -Syu. Because there may no space for that. It's livemedia.

Install fbdev driver

$ sudo -E pacman -S xf86-video-fbdev

Start GUI

$ sudo systemctl start lightdm

If it doesn't work, then

$ sudo systemctl restart lightdm

Installation

If you're using 2nd generation Hyper-V virtual machine (UEFI), you may need to partition disks manually.

After installed

Write proxy information in bashrc or something equivalent.

Using yay

export ALL_PROXY="prot://ip.ad.re.ss:port"

Using compton

$ vim /etc/xdg/compton.conf
vsync = "false"

Setting Swap after instalation without swap partition

See Manjaro Wiki.

@0xmatia
Copy link

0xmatia commented Sep 8, 2020

Thank you!
I just pressed Ctrl+alt+function_key to get to a tty, from there I installed the missing package and started lightdm.

@Brishen
Copy link

Brishen commented Sep 17, 2020

I think sudo systemctl restart graphical.target would be better. KDE doesn't have lightdm

@HedRat
Copy link

HedRat commented Mar 17, 2021

Thanks everyone. All of this worked on the latest Manjaro live ISO except the graphical restart. This worked for me...
sudo systemctl restart sddm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment