Skip to content

Instantly share code, notes, and snippets.

@00Asgaroth00
00Asgaroth00 / ArchLinuxWSL2.md
Created September 18, 2021 15:52 — forked from ld100/ArchLinuxWSL2.md
Steps for setting up Arch Linux on WSL2

Migrating from Ubuntu on WSL to ArchLinux on WSL2

Upgrading to WSL 2

  • Download WSL2 Kernel
  • run wsl --set-default-version 2 in windows command line, so that all future WSL machine will use WSL2.

Installing Arch Linux

@00Asgaroth00
00Asgaroth00 / kickstart-centos7-usb.md
Created November 15, 2018 10:06 — forked from maikell/kickstart-centos7-usb.md
Kickstart driven CentOS 7 install from USB

Kickstart driven CentOS 7 install from USB

None of what is written below is particularly original, however, I was unable to find a method documented on the internet at the time of writing that successfully created a kickstart driven CentOS 7 USB installer.

My interest was in doing this manually as I require this USB (image) to be created from a script. Therefore, I did not look into using ISO to USB applications - in addition, these typically do not allow custom kickstart files to be used.

References

Much of the process described below was found on the CentOS Wiki page on Installing from USB key, and from the Softpanorama page on the same subject. I thoroughly recommend reading all of the latter as it highlights the shortcomings/dangers associated with the steps below.

USB key preparation

#
# CryptoBox Setup
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# start http://boxstarter.org/package/nr/url?<URL-TO-RAW-GIST>
#--- Temporary Settings ---
Disable-UAC
#--- Windows configuration. See http://boxstarter.org/WinConfig ---
@00Asgaroth00
00Asgaroth00 / gist:166f6a3e94881aec048dbc00dc575383
Last active September 20, 2017 13:29
boxstarter_win10.ps1
# Shamelessly pillaged from -J (https://blog.jessfraz.com/post/windows-for-linux-nerds/)
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# start http://boxstarter.org/package/nr/url?<URL-TO-RAW-GIST>
#
# Learn more: http://boxstarter.org/Learn/WebLauncher
#---- TEMPORARY ---
Disable-UAC