curl > dev/sda

84 points by abhin4v


sammko

A fun linux exercise is to take a running system, create a minimal root in a tmpfs, get the system to a state where you can pivot root to the tmpfs and then unmount the disk. It takes some finnagling but is quite doable by hand. Systemd supports a concept of a shutdown initrd which is essentially that.

Then you install Arch curl > /dev/sda.

evert

I love this series. It's connecting a lot of Linux booting dots that I was missing. Note: the link to part 2 is in the bottom. I missed it initially

ClashTheBunny

Things like this need more disclaimers. There are a bunch of people who don't understand the sarcasm and then suggest people do this on Reddit. Most of the search results for "how do I move my steam Deck to a new nvme drive" have this as the top voted answer and it's so frustrating.

There have been gists of better ways floating around for a while because Oracle free tier only allows Ubuntu: https://gist.github.com/4abhinavjain/893ec13c651bee08088c8f4661998952