LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 06-12-2021, 05:12 PM   #1
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,065

Rep: Reputation: 146Reputation: 146
Question setup flaws: destroyed data, reconfiguring


What if I my fingers slipped and I accidentally hit <ENTER> twice during configuring drives, formatted a drive I didn't want to? Shouldn't the default option be DON'T format a drive?

When I configure the system and make a mistake, then cancel, it actually doesn't cancel, just keeps configuring. Shouldn't 'cancel' actually cancel so you can start over, instead of doing nothing?
 
Old 06-12-2021, 09:05 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
I am for some fool reason reminded of the old carpenter's motto:

Measure twice, cut once.
 
Old 06-13-2021, 12:06 PM   #3
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Quote:
Originally Posted by dchmelik View Post
What if I my fingers slipped and I accidentally hit <ENTER> twice during configuring drives, formatted a drive I didn't want to?
Choosing target partitions is precise surgeon finger activity; backup data before surgery.

I feel for your data loss. These kinds of accidents happen occasionally: in an xserve, I used to have four hot swapable scsi drives that pushed in to eject, and, squeezing around the corner from the backside of the rack, my hip accidentally pushed in the corner drive, ejecting it, and causing the others to be renamed with different letters when I was making a RAID array, and had all my data consolidated onto one drive while making an array out of the others... naturally, the one drive got put into the array by mistake, and I lost not just my data, but the data of a few customers too, which created a month-long chore of looking at and renaming testdisk-recovered-image-00000 to testdisk-recovered-image-12345... the filenames were not recovered. (photorec wasn't available back then, maybe it would have done better)...

Ever since then I've taken backups seriously. I like mirroring my home folder on a Linode instance using rsync. I also like portable terabyte drives to quickly image a drive before doing anything (especially if device belongs to someone else).

If you haven't written anything to the mistakenly formatted drive, and you have a backup, rewriting the old partition table will restore your data. If writes were made to the mistakenly reformatted partition and you have lost valuable data, you might get some of it back with tools like testdisk and photorec.


Quote:
Originally Posted by dchmelik View Post
When I configure the system and make a mistake, then cancel, it actually doesn't cancel, just keeps configuring. Shouldn't 'cancel' actually cancel so you can start over, instead of doing nothing?
The setup mounted the drives your formatted under /mnt. To really restart, they need to be unmounted. I agree that cancel doesn't all the way unmount. It's not sure how much of setup you want to cancel, just the last operation, or all of setup.

A sure fire way of cancelling is using control-c, which should bring you back to the console prompt, where you subsequently type "reboot" at console. This installer's shell environment can take a "reboot" command, even though the regular slackware cli uses "shutdown -r now". In the installer's console, shutdown is not available, but "reboot" is.
 
1 members found this post helpful.
Old 02-12-2022, 01:55 AM   #4
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,065

Original Poster
Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by slac-in-the-box View Post
[...] I feel for your data loss[...]
I didn't say I actually lost data (unless over a decade ago and probably not anything important) but this setup default is a danger to new users, or even experienced users who forget something.
 
Old 02-13-2022, 12:46 PM   #5
OldHolborn
Member
 
Registered: Jul 2012
Posts: 229

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by slac-in-the-box View Post
I also like portable terabyte drives to quickly image a drive before doing anything
So do I, you just have to avoid then dropping a dinner plate on the drive...

The plate survived, the platters did not
 
Old 02-15-2022, 10:19 AM   #6
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
I remember my first install (no linux nor windows) on a brand new Olivetti (286) in the early ninety's : clicked too quickly (imagine, a mouse ! Coming from Apple IIe...) and borked the whole thing !

Since then I carefuly read and double check everything...
 
Old 03-18-2022, 10:22 AM   #7
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,065

Original Poster
Rep: Reputation: 146Reputation: 146
What I also mean is if you make configuration mistake so want to cancel that, you should be able to revise.
        Of course you can <CTRL>c and start entire configuration over, but to just cancel one mistake, you shouldn't have to.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I destroyed my data trying to create a USB live stick. Can I recover it? caprilo Linux - Hardware 3 12-15-2015 12:02 AM
Transferring Slabs Of Data To External Disk HDD Full, Reconfiguring, How To? Novatian Linux Mint 5 08-15-2009 07:51 AM
Mozilla flaws could allow attacks, data access into Firefox & Mozilla web browsers! t3gah Linux - Security 6 04-09-2006 04:00 AM
reconfiguring the kernel nakkaya Linux - General 4 01-23-2003 04:07 PM
reconfiguring squid via PHP gimme5 Linux - Networking 0 09-09-2001 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration