LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-12-2005, 02:13 PM   #1
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Rep: Reputation: 30
*Please* help me save my data (test disk stuff)


Hello...
I'll say as much as I can.
A couple of days ago I did a netinstall of suse 9.2 pro. I was looking around Yast cause I'm used to Debian/Slackware/Gentoo so I've never had it
Anyway... I was looking at how to add partitions with Yast -because I wanted to test whether or not I could give it away as a neat windows replacement.. Anyway It might have been late.. But I was in the LVM (guess it stands for Linux Volume Manager). However I could swear that I exited without saving the changes. I looked around the partitions and all was swell..

(The reason for the LVM part will become apparent later)

Ok fast forward. I bought a case for having a drive connected to my pc by USB. I put the drive I messed around with in and booted up.. Initially I could still browse the first partition on the disk which has my Debian system. The other partition (which holds *all* my personal data) was unbrowseable, couldn't mount it either..

So I messed around and say they were still LVM.. I thought I could change that by using fdisk to change the disk ID's to linux (83) and it seemed to work ok till after a reboot (still couldn't see the personal data partition)..

I backed up my partition table using sfdisk -d to a file and proceeded to wipe it with dd (using /dev/zero)

SO here I am.
This is the output when analyzing the disk with Test disk (which I'm told can reconstruct my partitiontable {hopefully also fixing it, fdisk said the partitions stretched beyond the capacity of the disk somehow})
-----------------
Disk /dev/sda - CHS 32253 64 32 - 32253 MB

Check the harddisk size: HD jumpers settings, BIOS detection, OS limitation...
The following partition can't be recovered. The harddisk seems too small!
Partition Start End Size in sectors
D Linux 19080 1 1 75350 20 32 115241600 [/data]
-----------------------------

What do I do from here ? I really would like to have that data if it is at all reconstructable..
This means alot to me and if I get saved from this I'll definatly have a redundant disk for backups or so heh...
-Jesper
 
Old 02-12-2005, 06:22 PM   #2
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Original Poster
Rep: Reputation: 30
*BUMP*
Oh yea.. It's not a 32gig as testdisk says. it's really 80gigs so yea there's something wrong.. But when I plugged it in as a regular IDE HDD in my computer.. Everything goes all wrong... Suse will boot but I can't boot from CD's and so...

....

this is the partition table that I backed up, just in case it would help.. please....
----------------------------------------------------------------------
# partitiontable for /dev/sda
unit: sectors

/dev/sda1 : start= 63, size= 39061953, Id=8e
/dev/sda2 : start= 0, size= 0, Id= 0
/dev/sda3 : start= 39062016, size=115241616, Id=8e
/dev/sda4 : start= 0, size= 0, Id= 0
-------------------------------------------------------------------------
 
  


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
evolution to thunderbird can i save my stuff? nephish Linux - Software 3 01-22-2006 08:45 PM
Save stuff into USB Drive lucky6969b Linux - General 1 12-01-2005 04:44 AM
live CDs (can you save stuff) jax8 Linux - Newbie 6 07-29-2004 08:57 AM
Toshiba ACPI Test and Power Save Solution icestone LinuxQuestions.org Member Success Stories 0 06-16-2004 04:43 AM
Where do I save stuff?? Dade Slackware 15 05-19-2004 03:46 AM

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

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