[ID10T] So, I Just Mistakenly Deleted my BBQ partition...

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

[ID10T] So, I Just Mistakenly Deleted my BBQ partition...

Unread post by Dr_Chroot » Wed Jan 21, 2015 11:33 pm

So, I feel like a complete idiot at the moment. I just finished installing Slackware 14.1 on my Thinkpad, but instead of putting it on /dev/sda4 (as I intended to do) I idiotically had it installed to /dev/sda3, which is (was?) my BBQ partition. It took me a bit to realize this, as I was in my Win7 partition recording my ALSA challenge and doing general browsing for school. I dug around through Reddit looking for a solution, and I did install TestDisk but wasn't able to find anything with it. To top it all off, I did the full Slackware install (~7GB worth?), so I am hoping I haven't overwritten my /home partition yet. There is no great emergency here, although I do happen to have all of my music and configs missing. I can use my Fedora 21 + FF for most of my immediate needs.

Any ideas? Is there hope for recovery? Thanks, and boy do I feel like an idiot.

tl;dr Make backups, kids. I should have.
Last edited by Dr_Chroot on Tue Feb 10, 2015 9:52 pm, edited 1 time in total.
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by wuxmedia » Thu Jan 22, 2015 1:18 am

yeah, the three B's of computing - backup, backup and backup.
You won't find much if overwritten.

(you're a reddit fan, look up Tales From Tech Support.)
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by Dr_Chroot » Thu Jan 22, 2015 1:59 am

wuxmedia wrote:yeah, the three B's of computing - backup, backup and backup.
You won't find much if overwritten.
That is what I feared. The files were not completely necessary anyway; it can all be replaced. I didn't pay for any of the music anyway, so that wasn't too big of a big loss :D
wuxmedia wrote:(you're a reddit fan, look up Tales From Tech Support.)
Whoa! Sweet, I have no clue how I haven't seen that sub before! I am subscribed to a couple other "Tales From" subreddits, such as

/r/talesfromcallcenters
/r/TalesFromTheSquadCar
/r/TalesFromYourServer (note that this is not the type of server that we know and love here at the bbq)
/r/TalesFromThePizzaGuy (where the OP always delivers)
/r/talesfromsecurity <--- I have always thought it would be funny to do a post about something related to IT-security or dealing with an angry customer asking why iptables isn't working properly after they "changed a couple of things in it".

They all have fantastic content, much funnier than /r/funny ever could be!
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by wuxmedia » Thu Jan 22, 2015 2:08 am

^ heh. reddit is rightly eeeeeenormous. I have yet to make any posts in that TFTS sub. :)

have suggested it to other co-worker redditors - "too close to the day job to be funny" was the general feeling. :)
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by machinebacon » Thu Jan 22, 2015 4:23 am

..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by wuxmedia » Thu Jan 22, 2015 11:39 am

^ pretty website :)
the local backup we run at work is a life saver, especially when I'm let loose making apache vhosts and somehow symlink five files to the one file I was duplicating, thereby erasing it and having five no good symlinks.
it basically rsyncs the / to another disk.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by GekkoP » Thu Jan 22, 2015 11:53 am

Backup like a crazy dude, only thing I can say. I usually backup some directories (documents/music) once a week and keep config files on github because I know this poor old lappy can't last forever.

User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by Dr_Chroot » Thu Jan 22, 2015 2:46 pm

@MB Jeez, rsync is something I should have been using ages ago. As I look through the man page, it looks like a simple but powerful little tool.

@GekkoP I have learned my lesson, unfortunately :) I went down to the chalice of American beauty (Wal-Mart) this morning and picked up a 64GB flashdrive to start backing up all of my junk in the future. It will be nice to rebuild my Music library with exactly what I want, though. Sort of like a new start :D
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by machinebacon » Thu Jan 22, 2015 3:41 pm

A bit on topic:
https://wiki.archlinux.org/index.php/fu ... g_a_script
http://www.bobulous.org.uk/misc/rsync-backup.html

There are quite many. Usually, I wouldn't bother syncing the /usr and /lib folders, or /var and /tmp, but really just the /home/$USER folder and, if applicable, the /home/$PORN folder. Configuration files and nude selfies should also go to github ;)
..gnutella..

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by rhowaldt » Thu Jan 22, 2015 4:24 pm

@Dr: that's the spirit :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
stark
MILF
Posts: 521
Joined: Sat Sep 27, 2014 6:38 pm
Location: Arpanet
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by stark » Thu Jan 22, 2015 7:40 pm

Pro tip: Always keep a separate data/media partition that will be shared across multiple OS's :)
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by machinebacon » Fri Jan 23, 2015 2:09 am

^ That's OK but still not failsafe. Imagine you have a Western Digital hard disk as data/media partition, and the fucker breaks (happened to me twice !!), you lose all the carefully downloaded porn. So, back this shit up, too. Seriously. :)
..gnutella..

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by dkeg » Fri Jan 23, 2015 2:59 am

^ agreed, need an 'offsite' backup. It is also possible to dd to sda; not that I've ever done that ... cough,cough.

Anyway, can also say having a /data partititon is definite.

Work hard; Complain less

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by wuxmedia » Sat Jan 24, 2015 12:02 am

machinebacon wrote:Imagine you have a Western Digital hard disk as data/media partition, and the fucker breaks (happened to me twice !!), you lose all the carefully downloaded porn. So, back this shit up, too. Seriously. :)
On a side note:
Always the Seagates that fuck up at the DC, not that we get through google quantities of HDD's, but the WD's (blacks greens and reds) have been good to us so far.
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by machinebacon » Sat Jan 24, 2015 3:13 am

Magic truth: check the country of manufacturing. Those that died on me were all made in Malaysia. The old IDE disks that I brought with me from 'home' (already in heavy us before 2006!) still work fine.
..gnutella..

User avatar
Sector11
Sperminator
Posts: 193
Joined: Mon Aug 19, 2013 4:15 am

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by Sector11 » Mon Jan 26, 2015 11:40 am

A few years ago "Luc" helped me get a bash script working using rsync to back up my $HOME to an External HDD:

Code: Select all

TARGET="/media/disk/S11-$(date +"$MON")"
and my "/media/5" partition, all MY stuff, doc files, music, videos, etc to the HDD: /M5

Currently I have:
/media/disk/M5
/media/disk/S11-Dec
/media/disk/S11-Jan
/media/disk/S11-Nov
/media/disk/S11-Oct

Once the initial monthly backup is done it takes just a few minutes every couple of days to do a backup.

IF anyone is interested I can pop it up here.
I am THE resident noob, hands down no discussion. ... and
I wear my soap on a rope.

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by wuxmedia » Mon Jan 26, 2015 8:29 pm

^ always interested - maybe a new thread?
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
Sector11
Sperminator
Posts: 193
Joined: Mon Aug 19, 2013 4:15 am

Re: So, I Just Mistakenly Deleted my BBQ partition...

Unread post by Sector11 » Mon Jan 26, 2015 9:16 pm

wuxmedia wrote:^ always interested - maybe a new thread?
OK, I put it here. Hope it in the right place
I am THE resident noob, hands down no discussion. ... and
I wear my soap on a rope.

Post Reply