Comments (9)
probably including links to the relevant upstream Asahi docs
Definitely include this guide: https://github.com/AsahiLinux/docs/wiki/Partitioning-cheatsheet
from ubuntu-asahi.
Usefull screenshot.
File system after / before installation
As guy from youtube showed (https://youtu.be/aXh_d1OixRI), we able to erase EFI EFI - UBUNTU after installing
diskutil eraseVolume JHFS+ empty /dev/disk0s4
from ubuntu-asahi.
What worked for me was booting into recovery, and running the wipe-linux.sh script provided by the Asahi team.
Running it in normal OS resulted in permission denied errors, and leftover partitions (such as the EFI partition).
from ubuntu-asahi.
@cowpod Thanks, I almost forgot about that. Maybe I should mirror that on my domain too. I vaguely remember the Asahi docs warning against using it blindly and I don't know how well it plays with multiple Linux installations.
from ubuntu-asahi.
@tobhe at the moment the script will erase a random APFS container where the size match 2.5GB, and volumes that match 'asahi|linux|EFI'.
https://github.com/AsahiLinux/asahi-installer/blob/main/tools/wipe-linux.sh
I would have been interested to know that it exist before manually wiping my previous ArchLinux
It could be improved a bit by adding a user confirmation before performing these operations.
from ubuntu-asahi.
The script warned you what it'd do when you ran the script.
echo "THIS SCRIPT IS DANGEROUS!"
echo "DO NOT BLINDLY RUN IT IF SOMEONE JUST SENT YOU HERE."
echo "IT WILL INDISCRIMINATELY WIPE A BUNCH OF PARTITIONS"
echo "THAT MAY OR MAY NOT BE THE ONES YOU WANT TO WIPE."
echo
echo "You are much better off reading and understanding this guide:"
echo "https://github.com/AsahiLinux/docs/wiki/Partitioning-cheatsheet"
echo
echo "Press enter twice if you really want to continue."
echo "Press Control-C to exit."
We could get the partition UUIDs using like diskutil info /dev/diskXsX | grep "Disk / Partition UUID" | sed 's/.*: //'
and place them somewhere, eg. in the EFI partition. Then when we run the uninstall script it'll delete partitions by UUID.
Downside: If we somehow delete the EFI partition, we'd lose those UUIDs. This is unlikely, and if we do lose the EFI partition we've likely already nuked the other partitions as well.
Another option would be to somehow label each partition with a single (newly generated) UUID tied to the install. This would allow us to delete all partitions with said UUID, matching whatever OS you want to remove. We'd still need to place that single UUID somewhere as well...
from ubuntu-asahi.
PSA: Stop telling people to run wipe-linux
That script is deliberately dangerous and only intended for developers wiping regularly.
Going forward mentioning it [on reddit] is banned. Your comments/posts will be removed and repeat offenders will be banned. Yes, this is that serious.
If people are asking how to uninstall, send them to the Partitioning cheatsheet instead, which does mention that script with all the appropriate warnings that y'all never do, as well as documents the right way of doing things manually.
from ubuntu-asahi.
I fail to see how a reddit post contributes to this. We all know that the script can be dangerous. If you're somehow surprised that a script that warns it'll wipe everything... wipes everything, then I don't know what to say.
from ubuntu-asahi.
When the docs are made, we should just link to upstream for the uninstall process :)
from ubuntu-asahi.
Related Issues (20)
- Installation on M1 mac mini stuck at extracting disk.img HOT 3
- Libvirt VMs don't run with KVM HOT 7
- New GPU drivers HOT 6
- Night Light/Night Shift HOT 1
- Problem with go module HOT 7
- Cannot install on m2 Macbook Air HOT 3
- Ubuntu 20.04 HOT 2
- Anyone know what to do? HOT 3
- Updating to latest version breaks booting HOT 2
- Requesting 13.5 Firmware for Installer HOT 22
- safe to install alongside sonoma ? HOT 2
- Ubuntu is good but
- Custom Kernel Failed to Boot Launch Issue after installing HOT 1
- LAG Graphics HOT 1
- Laggy interface - graphics driver problem? HOT 4
- No mouse or Keyboard HOT 9
- File is not a zip file HOT 3
- Question about GPU accelerated ubuntu docker container HOT 5
- boot hangs after updating HOT 20
- Notch Support HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubuntu-asahi.