Skip to main content

Arch Linux on VMware

· One min read
Well Honey
Learning How to Learn

TODO: i3-gaps, auto-script, ...


Default Boot Settings is BIOS

Prefer changing to UEFI before any installation

BIOS related GRUB configuration#

grub-install /dev/sdXgrub-mkconfig -o /boot/grub/grub.cfg


Enable DHCPcd before switching to NetworkManager#

systemctl enable dhcpcd


Install & Enable open-vm-tools#

pacman -S open-vm-toolssystemctl enable vmtoolsd

Install Xorg Server#

pacman -S xorg-server

Additional configuration for open-vm-tools#

pacman -S xf86-input-vmmouse xf86-video-vmware mesasudo echo "needs_root_rights=yes" > /etc/X11/Xwrapper.config

Display Manager (SDDM)#

pacman -S sddm


Installation guide - ArchWiki (

VMware/Install Arch Linux as a guest - ArchWiki

XiangShan Day 0 - Environment Setup

· One min read


OpenXiangShan/XiangShan-doc: Documentation for XiangShan


OpenXiangShan/XiangShan: Open-source high-performance RISC-V processor

Prepare Environment#

  • Set environment variable NEMU_HOME to the absolute path of the NEMU project.
  • Set environment variable NOOP_HOME to the absolute path of the XiangShan project.
  • Set environment variable AM_HOME to the absolute path of the AM project.
  • Install mill. Refer to the Manual section in this guide.
  • Clone this project and run make init to initialize submodules.

Run with Simulator#

  • Install Verilator, the open-source Verilog simulator.
  • Run make emu to build the C++ simulator ./build/emu with Verilator.
  • Refer to ./build/emu --help for run-time arguments of the simulator.
  • Refer to Makefile and for more information.