LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-04-2009, 08:57 PM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Unhappy Flash drive disaster


How a youtube video and a very dumb mistake just bricked my computer:

I was reading about how to mount a flash drive, and I found a video on youtube that said to do this:

Code:
su
<enter password>
cd /mnt
mkdir sda1
mount /dev/sda1 /mnt/sda1
Then I erased the contents of the drive (whitch had contents that had things that looked like linuz and grub in them, but I thought that that was from something I might have been doing before, and I erased the drive to start putting stuff on it), and went on to doing something else. then the computer froze (the mouse cursor didn't even move), and the keyboard LEDs were flashing, when I reset the computer, I realized what I had just done - erased the Linux kernel and GRUB!!!!!

I am now thinking that the system folders were in different partitions without me even knowing it.

I had backed up a week or two ago, but I had my .fvwm2rc that I had been working on for days, and maybe some other stuff that is now lost.

In an attempt to recover my data, I took the hard drive out of another computer with Windows 7 RC installed, put it in my computer, and booted from it, only to remember that Windows can't read ext4.

At lest I was getting a bit interested in Debian a few days ago, I guess that this would be a good time to try it. I started downloading it now, and will let it finish overnight.
 
Old 10-04-2009, 09:05 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Yup, this is a lesson best learned rarely! Blindly following the instructions given is always a recipe for disaster, especially in Linux and any variant of Unix, since the OS is designed to be used by people who know what they are doing! I'm sorry to here that you have lost what you had.
 
Old 10-04-2009, 10:02 PM   #3
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
At least I have the programs I wrote and my photos backed up. Looks like I will have to start over my .fvwm2rc once debian is downloaded and installed.
 
Old 10-05-2009, 12:03 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Kind of going out on a limb here but by describing linux and grub, does this mean sda1 was a dedicated boot partition on your hard drive? I haven't ever done anything quite like that and don't know how Fedora works but, if it was me and Slack, I'd just try to boot with my installation disk and see about reinstalling my kernel and loader. Either way, if your home partition was separate and wasn't wiped, you should be able to recover your fvwm config and everything else. (I think I'd have a stroke if I lost mine.)

But if I'm misunderstanding and you wiped everything, that really sucks. Hopefully that will be a lesson you only learn once and, while Fedora's not to blame, maybe you'll end up liking Debian better.
 
Old 10-05-2009, 05:44 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299
Yeah, all you need to do is reinstall the kernel and grub too (if that's what you're using). You can probably use a live CD or rescue CD or something.
 
Old 10-05-2009, 06:21 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by slakmagik View Post
Kind of going out on a limb here but by describing linux and grub, does this mean sda1 was a dedicated boot partition on your hard drive? I haven't ever done anything quite like that and don't know how Fedora works but, if it was me and Slack, I'd just try to boot with my installation disk and see about reinstalling my kernel and loader. Either way, if your home partition was separate and wasn't wiped, you should be able to recover your fvwm config and everything else. (I think I'd have a stroke if I lost mine.)

But if I'm misunderstanding and you wiped everything, that really sucks. Hopefully that will be a lesson you only learn once and, while Fedora's not to blame, maybe you'll end up liking Debian better.
I did not wipe the hard drive, I just erased GRUB and the Linux kernel. I already downloaded Debian and I am about to burn the DVD, and I was thinking about trying a live CD to get some data back, but I am not sure how to do that.

And I guess that Fedora did install a seperate boot partition without my knowledge of it, I can't imagine how else this would happen.

Last edited by MTK358; 10-05-2009 at 06:24 AM.
 
Old 10-05-2009, 03:06 PM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I got Debian installed!

I chose to install it without any DE, WM or X window system. It booted fine onto a command line, in which I installed X and FVWM, and now it works good. Now I just wonder how to get the Nvidia driver and Xinerama for my dual monitors, not to mention .fvwm2rc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Flash Drive, write protect, and flash file system questions storkus Linux - Hardware 4 12-01-2008 05:32 AM
Hard Drive disaster, Starting Over with Slack BobNutfield Slackware 16 10-09-2008 02:45 PM
Disaster! Faulty cd/cd drive error while installing. CrinkElite Linux - Newbie 4 11-19-2007 02:47 PM
LXer: EDGE Tech Corp Announces Portable Flash Drive With Muscle - the New 8GB DiskGO!(TM) Now Available; Swap and Go With This Secure Thumb-Sized Flash Drive LXer Syndicated Linux News 0 12-14-2005 03:16 AM
Major disaster partitioning my hard drive pechaman Linux - Software 5 07-11-2004 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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