Skip to content

Instantly share code, notes, and snippets.

@halferty
halferty / idea.md
Created December 2, 2021 22:52 — forked from motorailgun/idea.md
Installing Windows and Linux into the same partition

Installing Windows and Linux into the same partition

But WHY?

There was a reddit post about installing Arch on NTFS3 partition. Since Windows and Linux doesn't have directories with same names under the /(C:\), I thought it's possible, and turned out it was actually possible.
If you are not familiar to Linux, for example you've searched on Google "how to dualboot Linux and Windos" or brbrbr... you mustn't try this. This is not practical.

Pre-requirements

  • UEFI system
  • Any Linux live-boot CD/DVD/USB... with Linux kernel newer than 5.15
  • Windows installer USB
#include <ncurses.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#define MAX_BRANCH_NAME_LEN 4096
#define MAX_BRANCHES 100
#define COLOR_PAIR_HEADER 1
@halferty
halferty / install_mvn_3_1_1.sh
Created July 6, 2017 23:47 — forked from aaalaniz/install_mvn_3_1_1.sh
Install Maven 3.1.1
# Install to home directory
cd ~
# Extract the package
wget http://mirror.metrocast.net/apache/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz
tar -xf apache-maven-3.1.1-bin.tar.gz
# Install mvn to path
M2_HOME=$HOME/apache-maven-3.1.1
echo -e "\n# Maven 3.1.1 Setup" >> ~/.bashrc