oc2 icon indicating copy to clipboard operation
oc2 copied to clipboard

Provide a way to wipe drives

Open Un1q32 opened this issue 3 years ago • 9 comments

Is your feature request related to a problem? Please describe. If I break my linux install I want to be able to restore it to its default state instead of having to get a new drive. Describe the solution you'd like I think when a hard drive with linux already on it is placed in a grid with a scrench it should revert it back to a normal hard drive with no data.

Un1q32 avatar Sep 09 '22 03:09 Un1q32

But then where would you install it from?

atirut-w avatar Sep 09 '22 03:09 atirut-w

@atirut-w placing a drive without linux on it would make it a linux drive, but if it already had linux on it it would be wiped.

Un1q32 avatar Sep 09 '22 14:09 Un1q32

Determining if a disk have Linux might be tricky

atirut-w avatar Sep 09 '22 20:09 atirut-w

Determining if a disk have Linux might be tricky

there is litterally a seperate item for disks with linux

Un1q32 avatar Sep 10 '22 00:09 Un1q32

Yes but once you use them they becomes different. Maybe there are new files, dotfiles, etc. IIRC, these disks have a sort of template filesystem that becomes normal disk with a copy of those templates, sort of like burning an ISO file onto a disk.

atirut-w avatar Sep 10 '22 01:09 atirut-w

@atirut-w yeah ik. Using a scrench would destroy everything on it. It already does it just only works one way.

Un1q32 avatar Sep 10 '22 01:09 Un1q32

Keep fresh Sedna Linux drive as a backup, and if you mess up your working drive, boot from backup drive and do dd if=/dev/vda of=/dev/vdb

Void-Seeker avatar Sep 20 '22 07:09 Void-Seeker

Keep fresh Sedna Linux drive as a backup, and if you mess up your working drive, boot from backup drive and do dd if=/dev/vda of=/dev/vdb

That works but I shouldn't have to keep a backup drive all the time it should be built into the mod.

Un1q32 avatar Sep 21 '22 01:09 Un1q32

I wish I could install Linux on an empty hard drive with a wrench IRL...

Void-Seeker avatar Sep 21 '22 04:09 Void-Seeker