[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.
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.
- 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...
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.
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
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
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: So, I Just Mistakenly Deleted my BBQ partition...
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.)
You won't find much if overwritten.
(you're a reddit fan, look up Tales From Tech Support.)
- 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...
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 :Dwuxmedia wrote:yeah, the three B's of computing - backup, backup and backup.
You won't find much if overwritten.
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 aswuxmedia wrote:(you're a reddit fan, look up Tales From Tech Support.)
/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
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
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: So, I Just Mistakenly Deleted my BBQ partition...
^ 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. :)
have suggested it to other co-worker redditors - "too close to the day job to be funny" was the general feeling. :)
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: So, I Just Mistakenly Deleted my BBQ partition...
^ 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.
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.
Re: So, I Just Mistakenly Deleted my BBQ partition...
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.
- 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...
@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
@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
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
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: So, I Just Mistakenly Deleted my BBQ partition...
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 ;)
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..
Re: So, I Just Mistakenly Deleted my BBQ partition...
@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.
Re: So, I Just Mistakenly Deleted my BBQ partition...
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
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: So, I Just Mistakenly Deleted my BBQ partition...
^ 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..
Re: So, I Just Mistakenly Deleted my BBQ partition...
^ 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.
Anyway, can also say having a /data partititon is definite.
Work hard; Complain less
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: So, I Just Mistakenly Deleted my BBQ partition...
On a side note: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. :)
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.
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: So, I Just Mistakenly Deleted my BBQ partition...
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..
Re: So, I Just Mistakenly Deleted my BBQ partition...
A few years ago "Luc" helped me get a bash script working using rsync to back up my $HOME to an External HDD:
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.
Code: Select all
TARGET="/media/disk/S11-$(date +"$MON")"
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.
I wear my soap on a rope.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: So, I Just Mistakenly Deleted my BBQ partition...
^ always interested - maybe a new thread?
Re: So, I Just Mistakenly Deleted my BBQ partition...
OK, I put it here. Hope it in the right placewuxmedia wrote:^ always interested - maybe a new thread?
I am THE resident noob, hands down no discussion. ... and
I wear my soap on a rope.
I wear my soap on a rope.