LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2012, 04:26 PM   #1
s2005
LQ Newbie
 
Registered: Feb 2012
Posts: 13

Rep: Reputation: Disabled
Trying Ubuntu, Broke Windows, Please help! :(


So, I'll start at the beginning. I have a Micro-SD card that got corrupted and I wanted the files off of it. I read that there was no way to do it, and I'd have to format it. I found this unacceptable. I read deeper. Somewhere I read that it could be done in Linux. I have an old BackTrack3 disk, and I tinkered around in there with it. I read that I'd need something more. I got Ubuntu 11.1 (I think that's the version).

I tinkered around in Ubuntu trying commands that I found on forums to repair the "superblock." I'd like to mention here, that I am NOT good at Linux. I have only ever used it to recover deleted files on a hard drive, and to crack a WEP key a long time ago. I am worse than a noobie, as I soon proved to myself.

I had to go to work, so I gave up on the Micro-SD card temporarily. I shut down. Upon coming home, I wanted to play some Star Wars:TOR, so I booted up, and now my Windows won't boot. It goes all the way to the graphic (the swirly windows symbol), starts the graphic, and then blue screens for a fraction of a second, and reboots. I tried booting in recover mode, I tried the Windows disk, nothing will repair it.

I loaded Ubuntu back up (from CD) and have been trying a few commands, but I have no idea what I am doing. I am probably causing more damage than good.

$fdisk -l
Quote:
Disk /dev/sdc: 90.0 GB, 90028302336 bytes
255 heads, 63 sectors/track, 10945 cylinders, total 175836528 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table
This is the drive. It's a 90GB OCZ-Agility3 SSD. I'm using Win7x64.

Also, to note, it does not show up at all in my Home Folder. I have 2 other drives that do show up.

Quote:
*-disk:1
description: ATA Disk
product: OCZ-AGILITY3
physical id: 0.0.0
bus info: scsi@8:0.0.0
logical name: /dev/sdc
version: 2.15
serial: OCZ-44MSYHT4Z73OZ5IA
size: 83GiB (90GB)
configuration: ansiversion=5
In summary, I have no idea what to try. I don't know what I broke. I can remember most of the commands I attempted, and I think I was using the wrong /dev.
 
Old 02-18-2012, 04:50 PM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by s2005 View Post
I loaded Ubuntu back up (from CD) and have been trying a few commands, but I have no idea what I am doing. I am probably causing more damage than good.
I dare say you have accidentally wipe the disc, thus the "Disk /dev/sdc doesn't contain a valid partition table" report.
 
Old 02-18-2012, 04:56 PM   #3
s2005
LQ Newbie
 
Registered: Feb 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
oh no! please tell me that isn't true...

Is there any way to get the info back off that drive?

Or get it to list what is on it? Maybe show used blocks...? I don't know these Linux commands
 
Old 02-18-2012, 05:16 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Even though u feel that you wiped the disk & are getting sdc doesn't have a valid partition table try mounting the drive & see if there are any files on it that are recoverable.
Depending on what level of disk wipe you did gparted-live-cd has testdisk on it you may be able to recover some of your files from there.

Last edited by EDDY1; 02-18-2012 at 05:19 PM.
 
Old 02-18-2012, 05:18 PM   #5
s2005
LQ Newbie
 
Registered: Feb 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
I don't know how to mount a drive... I know very little about Linux
 
Old 02-18-2012, 05:38 PM   #6
Aut/Geek
LQ Newbie
 
Registered: Jan 2012
Location: cheshire,UK
Distribution: fedora fifteen
Posts: 18

Rep: Reputation: Disabled
Quote:
Originally Posted by s2005 View Post
oh no! please tell me that isn't true...

Is there any way to get the info back off that drive?

Or get it to list what is on it? Maybe show used blocks...? I don't know these Linux commands
s2005,
if it is as k3lt01 says [to put it another way,that the disk is FUBAR] there are actualy programs available which recover wiped disks,am remembering from memory but think the forensic section in back track [well in the latest version anyway] possibly had such a program but may be entirely wrong.

am not familiar of specific brand names for these programs,apart from recuva on windows but that was trash and never found one file of mine though that was just an accidental delete from within windows.
google something like 'hard disk partition recovery open source',one search that came up was clonezilla,have had it on a number of distros for cloning but never used it-also never knew recovered whole disks let alone specific partitions,so it may be worth a go; have a read into it- http://clonezilla.org/

also,slightly offtopic but dont be so hard on self about making a mistake,cant say have personaly known any linux newbie who has ever known what cracking WEP keys involved let alone what it means,so that is having one over a lot of people.
everyone makes screwups it comes with the risk of using linux et al; which all offer us freedom over autopilot,we need to screw up to learn dont we?

if are setting up a windows partition again [assuming have got the disks] install a virtual machine and a linux/s that matches spec,its very good for practicing with as any screwups only mess up the virtual partition which can be easily recovered or-wiped and restarted.
 
Old 02-18-2012, 05:43 PM   #7
s2005
LQ Newbie
 
Registered: Feb 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks Aut.

However, I don't think I can go solid Linux... I enjoy lots of PC gaming. I don't like Wine. Starwars:TOR and WoW won't run on Linux native
 
Old 02-18-2012, 05:46 PM   #8
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
As Eddy say's try to mount it, if you are using Linux boot with it connected and it will hopefully see it is available and then try to see what is still on it.

There are programs available but I'm not sure if the ones I have should be advertised on LQ, suffice to say I obtained them through a program on the Pendrivelinux website.

All you can do is try, there are people here willing to help when and where they can.

@Aut/Geek, I thought that to about the cracking WEP.
 
Old 02-18-2012, 05:55 PM   #9
s2005
LQ Newbie
 
Registered: Feb 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks again guys for all the helpful info!

I'm trying testdisk right now... neat bit of software, but so far no luck...
 
Old 02-18-2012, 08:19 PM   #10
barnac1e
Member
 
Registered: Jan 2012
Location: Moorhead, Minnesota, USA (birthplace of Slackware, ironically)
Distribution: openSuSE 13.1 - KDE
Posts: 234
Blog Entries: 1

Rep: Reputation: 9
Here's my two cents.

Take either that Backtrack CD or Ubuntu, pop it in. Get to a command line somehow, anyway will work.

When you see "xxxxxx@ubuntulive$ or whatever it will say,

type sudo parted

If it then says <parted>, your in.

Then simply type print all

If you see anything remotely close to that sccard come up, it will tell you or should.

Anyway, if not, type mktable /dev/sdb

and see what it says. If it warns you, say okay. If it gives error, try mktable /dev/sdc

If you still get errors or "not found", you may be out of luck. however, if you see <label type>?, type msdos or it may fat then if you see <file type? [ext2] pop up, just type vfat and hit enter and you should be good to go.

I must warn you, if you use parted, it does not play around so don't make any typos, okay? Be careful. It's real time but it works best of anything.

Last edited by barnac1e; 02-18-2012 at 08:22 PM.
 
Old 02-18-2012, 08:44 PM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Not to stir up confusion but the OP is posting from linux machine, so I think any help u offer will be beneficial, as any help will preserve the linux os or be recoverable
Quote:
There are programs available but I'm not sure if the ones I have should be advertised on LQ, suffice to say I obtained them through a program on the Pendrivelinux website.

Last edited by EDDY1; 02-18-2012 at 08:46 PM.
 
Old 02-18-2012, 09:20 PM   #12
barnac1e
Member
 
Registered: Jan 2012
Location: Moorhead, Minnesota, USA (birthplace of Slackware, ironically)
Distribution: openSuSE 13.1 - KDE
Posts: 234
Blog Entries: 1

Rep: Reputation: 9
Oh I see, yes I had only read the first couple of paragraphs there,

I agree with an earlier post about using Clonezilla, that Aut/Geek mentioned. Clone the whole drive before anything gets worse or better...
 
Old 02-18-2012, 09:24 PM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,839

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Seems you have (at least) a couple of problems.

a) The SDcard:
With the disk id being zeroes, looks like you wiped the card. Would also explain the invalid (as in non-existent) partition table. Testdisk, which is very good, will be unable to help if you really did zero the disk. It looks for "signatures" for partitions and files. You won't have any. This also precludes using a "data carving" forensic tool like foremost.

b) Windows boot problem:
This should be unrelated, but who'd bet against it ?. Hard to know what was done to the other two disks, and even if we did, recovery would be difficult. Re-install maybe ?.
 
Old 02-18-2012, 10:23 PM   #14
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by EDDY1 View Post
Not to stir up confusion but the OP is posting from linux machine, so I think any help u offer will be beneficial, as any help will preserve the linux os or be recoverable
I didn't actually take any notice of what type of OS he was using after he said in his post he was using a Windows 7 machine. My concern, after already being warned for certain behaviours, is that it would be deemed inappropriate and also that the OP could cause more damage using such tools.

PendriveLinux has a list of programs to create bootable usb drives. Some of these programs have the ability to download and install anything from a Linux iso to security iso to cracking isos. I have personally used multisystem and know it can do this I have also used Yumi and it was able to do it to.

Be very careful with tools like the ones supplied, or downloadable, with these programs.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading to Ubuntu 10.04 and computer broke dpeterson3 Ubuntu 6 06-10-2010 08:35 PM
Broke ubuntu themes please help hawk__0 Linux - Software 1 12-30-2009 06:03 PM
Help:Updating to Ubuntu 8.04 broke Compiz Serith Linux - Software 1 05-02-2008 06:20 PM
Can i uninstall Linux, but don't broke windows? YberDo Linux - General 1 09-05-2007 10:20 AM
I broke Ubuntu, nothing is opening Scarlett_Oh Linux - Newbie 3 09-12-2006 04:35 AM


All times are GMT -5. The time now is 08:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration