LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-10-2017, 04:45 AM   #31
phi11ip
Member
 
Registered: Jul 2007
Location: Nottingham, UK
Distribution: Slackware64-current
Posts: 93

Rep: Reputation: 23

Once went to wipe a partition with dd. Unfortunately I forgot to specify the partition (used of=/dev/sda instead of of=/dev/sda3) so dd then wiped out every partition on my hard drive including all my linux and windows (not a great loss) ones and the mbr for good measure. Methinks dd stands for disk destruction. When I use dd nowadays I check at least 3 times before I hit the Enter key :-(
 
1 members found this post helpful.
Old 02-10-2017, 08:06 AM   #32
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by phi11ip View Post
Once went to wipe a partition with dd. Unfortunately I forgot to specify the partition (used of=/dev/sda instead of of=/dev/sda3) so dd then wiped out every partition on my hard drive including all my linux and windows (not a great loss) ones and the mbr for good measure. Methinks dd stands for disk destruction. When I use dd nowadays I check at least 3 times before I hit the Enter key :-(
It's not that dd is particularly dangerous. It's because the things you are trying to do with it are typically dangerous. You can destroy a disk just as effectively with "cp /dev/zero /dev/sd{X}".
 
1 members found this post helpful.
Old 02-10-2017, 10:10 AM   #33
Voltfest
LQ Newbie
 
Registered: Jul 2015
Posts: 1

Rep: Reputation: Disabled
This was some years back; I was trying to update the BIOS on the motherboard of my main desktop, can't really remember if I even had a good reason for doing so, but i flashed the wrong version. No POST, had to order a new motherboard, even if I could have fixed it I had neither the know-how nor the equipment to do so. Never made that mistake again, then again - these days BIOS updates are pretty safe from my experience.
 
Old 02-10-2017, 10:22 AM   #34
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Used dd to install iso to /dev/sdb, what I didn't realize was that the drive order had changed during a reboot and /dev/sdb was now my hard drive.
 
Old 02-10-2017, 12:25 PM   #35
HermanAB
Member
 
Registered: Jun 2016
Location: Al Ain, UAE
Distribution: Slack, Fedora, Ubuntu, OpenBSD
Posts: 38

Rep: Reputation: Disabled
The worst thing I ever did to my computer? I just made a Windows 7 Pro virtual machine to investigate a problem with some crusty Airbus software - .Net and DLL Hell! - Bah, humbug...
 
1 members found this post helpful.
Old 02-10-2017, 09:14 PM   #36
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Rep: Reputation: 81
Quote:
Originally Posted by tronayne View Post
Years ago, working on a Unix box (System V), logged in as root, forgot that I was root and in the root directory and...
Code:
rm -r *
Everything went to the great byte bucket in the sky.

Reinstalled from DC-600 distribution tape cartridge (the operating system) and, fortunately, had a DC-600 with all the user accounts on it plus another with the /usr/local and /opt trees and some other stuff on another tape cartridge and a couple of 8" dual sided floppies.

Got it all back, working, in about 6 hours (DC-600's are not speed demons), didn't get out of there until about midnight.

Never have done that again.
*chuckles* Exactly the same as I did (only I used exabyte tapes), and ... I have never, ever done it again, once was once too often. Still makes me stop and and think twice before using the Enter-button on a 'rm'-command. It was 20 years ago - and it took me some 10 hours to get back again - was finally done 3am.

Last edited by perbh; 02-10-2017 at 09:28 PM.
 
Old 02-10-2017, 11:06 PM   #37
sevendogs
LQ Newbie
 
Registered: Feb 2017
Distribution: Slackware
Posts: 12

Rep: Reputation: Disabled
Spent 2 days or so building a stage 1 or 2 Gentoo box, can't remember which - the one that required bootstrapping and you had to compile the compiler that would compile everything else... Was doing it on an old pentium, probably early to mid 2000's. Finished the core OS install and was copying my user data from a backup drive, as root. Got the data copied, went to chown /home/myuser to my user and did a "chown -R me:me /" as root and was so tired I thought "slash, yeah, I am at the root of my home drive". You can see the problem here...it took about 10 seconds before I figured out what I just did and by then it was too late. Sigh...
 
1 members found this post helpful.
Old 02-10-2017, 11:54 PM   #38
HermanAB
Member
 
Registered: Jun 2016
Location: Al Ain, UAE
Distribution: Slack, Fedora, Ubuntu, OpenBSD
Posts: 38

Rep: Reputation: Disabled
"chown -R me:me /" - That is so inefficient.

You should have done: "chown -R me: /"

 
2 members found this post helpful.
Old 02-11-2017, 12:25 AM   #39
MikelN
LQ Newbie
 
Registered: Jan 2017
Posts: 29

Rep: Reputation: Disabled
The worst thing I did was not fit a hose for my water cooling correctly and have it leak all over the internals of my PC. I dried everything in the microwave. Using the oven part to heat it up and then put the hardware in with the oven off. Luckily after this my PC still worked for years.
 
Old 02-11-2017, 07:12 AM   #40
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
I've done so many some dumb things over the years. Unfortunately I seem to forgotten most of them rather than learning from them.. Here's one though: not even sure how I did it: wanted to update Slackware on my file server, and somehow overwrote the ARM version with the x86 version. Fortunately all the data was on a separate partition, making the reinstall relatively painless.
 
Old 02-11-2017, 08:55 AM   #41
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Left a CRT monitor in the van for a few hours on one of those cold, damp November days in Ireland. Van was not dry-lined. When I finished job #1 I went straight to job #2. Connected CRT monitor to PC, switched it all on and bang! That was the end of the monitor! Customer thanked me and told me he would call again if he ever needed me. That was about 15 years ago. Haven't had a call since. Electronics and condensation = unhappy marriage.

;-)
 
Old 02-11-2017, 02:07 PM   #42
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Stupidest thing: sold it (My Amiga).
 
5 members found this post helpful.
Old 02-11-2017, 02:38 PM   #43
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I have never done anything stupid with slackware. I always back up always double check everything.
Then I woke up.
Big Smile. I would not know where to start.
 
Old 02-12-2017, 06:14 AM   #44
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Once upon a time (early around y2k) made an encrypted loop-back image file (64MB) and had it a 32 char password.
Filled with valuable data...

... a week later found I forgot the exact password (32char!)

No matter what i try couldn't open or decipher it

*secure encryption*

It's worth nothing, that data was ultimately secure every since...
 
Old 02-12-2017, 07:22 AM   #45
M3A2NwLcizG6Kxn4a1GXYBMz
LQ Newbie
 
Registered: Feb 2017
Location: Rio de Janeiro, Brazil
Distribution: Debian GNU/Linux 8.7 (jessie)
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
A couple days ago I accidentally (well, on purpose, but without thinking) deleted everything in /var/log. So of course, /var/log/packages was gone, and package management tools no longer worked. Doh! I reinstalled and am pretty much back up and running now, but that sure was stupid.

That experience prompted this thread. I thought we could have a little fun at our own expense and maybe prevent other people from making the same mistakes. I'm pretty sure most of us have done something stupid at some point (either that, or I'm in a very select company of idiots), so fess up!
I cannot remember the stupidest thing I did to my computer now, but recently I certainly did something memorable:

I was configuring a virtual machine with a "linux" distribution then I decided to make an image of the disk, so I could save it for later use.
Then I thought: "Well, let me just make sure the image will compress as much as possible. I will write a big file filled with zeroes to the disk."


But when I realized there was a bug in my script at the following line:
Code:
dd if=/dev/zero of=/dev/sda3 bs=1MiB count=$size
Haha, it was too late. Bye-bye hours of work!


I was happy it was just a virtual machine. But it couldn't be.
 
  


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
[SOLVED] Weird thing happening to my computer after installation dsplayer14 Slackware - Installation 4 11-12-2011 11:26 AM
What is the funniest thing that you have done (computer related)? theunixwizard General 6 04-20-2008 07:34 PM
The stupidest question ever beanut Linux - Software 4 04-02-2006 10:55 PM
whats the one thing that keeps windows around in/at your computer system('s) mipia General 21 04-10-2004 04:54 PM
Stupidest thing I've done today!!! Post it all here fail66 Linux - Hardware 2 02-16-2004 09:16 PM

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

All times are GMT -5. The time now is 11:08 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