Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-12-2021, 05:12 PM
|
#1
|
Senior Member
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, FreeDOS, Illumos, NetBSD, OpenBSD, DragonflyBSD, Replicant, Plan9, Inferno, HURD
Posts: 1,234
|
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?
|
|
|
06-12-2021, 09:05 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,823
|
I am for some fool reason reminded of the old carpenter's motto:
Measure twice, cut once.
|
|
|
06-13-2021, 12:06 PM
|
#3
|
Member
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 816
|
Quote:
Originally Posted by dchmelik
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
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.
|
02-12-2022, 01:55 AM
|
#4
|
Senior Member
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, FreeDOS, Illumos, NetBSD, OpenBSD, DragonflyBSD, Replicant, Plan9, Inferno, HURD
Posts: 1,234
Original Poster
|
Quote:
Originally Posted by slac-in-the-box
[...] 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.
|
|
|
02-13-2022, 12:46 PM
|
#5
|
Member
Registered: Jul 2012
Posts: 229
Rep: 
|
Quote:
Originally Posted by slac-in-the-box
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 
|
|
|
02-15-2022, 10:19 AM
|
#6
|
Senior Member
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,435
|
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...
|
|
|
03-18-2022, 10:22 AM
|
#7
|
Senior Member
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, FreeDOS, Illumos, NetBSD, OpenBSD, DragonflyBSD, Replicant, Plan9, Inferno, HURD
Posts: 1,234
Original Poster
|
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.
|
|
|
All times are GMT -5. The time now is 11:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|