Skip to content

Instantly share code, notes, and snippets.

Avatar

Abhinav Jain 4abhinavjain

View GitHub Profile
@4abhinavjain
4abhinavjain / reinstall_VPS_from_inside.txt
Last active Jan 25, 2023 — forked from ClashTheBunny/reinstall_VPS_from_inside.sh
DIY install debian on Oracle Cloud Infrastructure ( Free Tier ) - ARM64
View reinstall_VPS_from_inside.txt
# should works on any cloud-init enabled hypervisor (openstack.. )
# start from a normal ubuntu 20.04 install as minimal was not available for ARM64
# Since ARM64 machines has higher RAM, Shrinking is desired but not necessary. Instead we will increase tmpfs to 1700MB
# Getting root (if sudo -i doesn't work then set a root password beforehand using 'sudo passwd root'
sudo -i
# make sure we are on the highest kernel, so we can delete all the others ...