Fedora Linux Support Community & Resources Center
  #1  
Old 22nd November 2005, 02:39 PM
mugs Offline
Registered User
 
Join Date: Jul 2004
Location: VA
Age: 51
Posts: 317
Recover Data...

Hi, I had a related post a couple of days ago. To summarize, I turned on my PC and my FC4 drive would not boot, no error message, just stopped after to "2 Logical volumes in volume group00 now active. I then tried the backup kernel and I did get an error message: BUG: Soft Lockup detected on CPU#0!" Again, it just stops.

I booted into my FC2 drive and that is fine. I have tried and tried to mount the hdb3 partition (LVM) to no avail. I am able to mount hdb1 which is my boot partition though.

My question now is there ANY way for me to recover the data on the disk? If I pop it into another box with an LVM partition, will that help?

I tried Linux Rescue from the DVD with no success. It stopped on trying to locate existing installations. I then thought about reinstalling, trying to keep my home directory, but the installation also stopped at trying to find existing installations. It had no trouble originally installing FC4 on this drive with the FC2 drive already there.

My wife is desperate to recover some of her data which she hadnt backed up lately.

Any help at all would be greatly appreciated.

Thanks.
__________________
Yossi 4Ever

AMD XP 3000+|1024 DDR|2 X 160 GB Seagate|XFX FX 5500 256 MB|DVD|Toshiba 3500A 16X Dual Layer DVDRW|Audigy LS|
Reply With Quote
  #2  
Old 22nd November 2005, 02:58 PM
mndar Offline
Registered User
 
Join Date: Feb 2005
Posts: 1,102
Is your partition table intact ? You can use a package testdisk if its corrupted.
__________________
GStreamer XOverlay and VideoOverlay http://mndar.phpnet.us/gstreamer
Reply With Quote
  #3  
Old 22nd November 2005, 03:23 PM
mugs Offline
Registered User
 
Join Date: Jul 2004
Location: VA
Age: 51
Posts: 317
Thank you for the reply!

I spent so much time on Sunday trying to fix/mount this, that I hope I havent made things worse.

How do I tell if the partition table is intact and how do I use testdisk?

Are there any utilities I could use to just dump/copy the data onto a different drive? Is there a good way to tell if the drive itself went bad? At the same time that this started, I noticed that my usb bluetooth stick is dead.

Thanks so much!
__________________
Yossi 4Ever

AMD XP 3000+|1024 DDR|2 X 160 GB Seagate|XFX FX 5500 256 MB|DVD|Toshiba 3500A 16X Dual Layer DVDRW|Audigy LS|
Reply With Quote
  #4  
Old 22nd November 2005, 03:50 PM
mndar Offline
Registered User
 
Join Date: Feb 2005
Posts: 1,102
Download testdisk from this site http://www.cgsecurity.org/testdisk.html. Download the linux static package. I think its included in Knoppix.

Boot using the Knoppix disc.
untar the testdisk-6.1.linuxstatic.tar.bz2 package
inside the testdisk-6.1/linux directory, there is the binary testdisk_static. run that

I don't remember the exact details of the interface but its pretty intutive. lets you choose which drive to scan, shows the partition table it recovered and gives you an option to write it to the disk. Its worked for me twice when I screwed up.

I don't remember if it works from an installation on the hard drive. But I guess it should.
__________________
GStreamer XOverlay and VideoOverlay http://mndar.phpnet.us/gstreamer
Reply With Quote
  #5  
Old 22nd November 2005, 03:53 PM
mugs Offline
Registered User
 
Join Date: Jul 2004
Location: VA
Age: 51
Posts: 317
Ok, i will try that. the only question I have right now is if it will work on LVM?
__________________
Yossi 4Ever

AMD XP 3000+|1024 DDR|2 X 160 GB Seagate|XFX FX 5500 256 MB|DVD|Toshiba 3500A 16X Dual Layer DVDRW|Audigy LS|
Reply With Quote
  #6  
Old 22nd November 2005, 04:25 PM
mugs Offline
Registered User
 
Join Date: Jul 2004
Location: VA
Age: 51
Posts: 317
One more question:

I have a perfectly fine installation of FC2 on the other drive, can I do what you suggest from that drive, or do i need to boot into a Live Knoppix CD?

Thanks
__________________
Yossi 4Ever

AMD XP 3000+|1024 DDR|2 X 160 GB Seagate|XFX FX 5500 256 MB|DVD|Toshiba 3500A 16X Dual Layer DVDRW|Audigy LS|
Reply With Quote
  #7  
Old 22nd November 2005, 05:09 PM
mndar Offline
Registered User
 
Join Date: Feb 2005
Posts: 1,102
Never had a chance to use it. But anyway you can view the partition table before actually writing it to the disk.
Have a look at this thread especially the last post by LocutosOfBorg. http://fedoraforum.org/forum/showthread.php?t=82579
__________________
GStreamer XOverlay and VideoOverlay http://mndar.phpnet.us/gstreamer
Reply With Quote
  #8  
Old 22nd November 2005, 05:29 PM
mugs Offline
Registered User
 
Join Date: Jul 2004
Location: VA
Age: 51
Posts: 317
Ok, thanks. But, my mbr and grub, etc are on my FC2 hard drive, the good one.
__________________
Yossi 4Ever

AMD XP 3000+|1024 DDR|2 X 160 GB Seagate|XFX FX 5500 256 MB|DVD|Toshiba 3500A 16X Dual Layer DVDRW|Audigy LS|
Reply With Quote
  #9  
Old 24th November 2005, 03:23 PM
mugs Offline
Registered User
 
Join Date: Jul 2004
Location: VA
Age: 51
Posts: 317
Well, I ran testdisk, told me there were errors, but didnt do much else for me. I tried running ddrescue, but it tried to copy over the whole drive...and my current drive ran out of space!

At this point, I dont know what else to do. I have the superblock errors,etc
When I tried rescue cd, it tells me it cant mount /dev/hdb3, invalid argument.

I am just about at the point of giving up and losing the stuff I hadnt backed up. My wife wants to take it to one of these data recovery people, but I think that would be a waste of time and money.
__________________
Yossi 4Ever

AMD XP 3000+|1024 DDR|2 X 160 GB Seagate|XFX FX 5500 256 MB|DVD|Toshiba 3500A 16X Dual Layer DVDRW|Audigy LS|
Reply With Quote
  #10  
Old 24th November 2005, 03:30 PM
mndar Offline
Registered User
 
Join Date: Feb 2005
Posts: 1,102
Quote:
Well, I ran testdisk, told me there were errors, but didnt do much else for me
Did it not give you an option to write the corrected partition table to the drive ?
__________________
GStreamer XOverlay and VideoOverlay http://mndar.phpnet.us/gstreamer
Reply With Quote
  #11  
Old 24th November 2005, 04:09 PM
mugs Offline
Registered User
 
Join Date: Jul 2004
Location: VA
Age: 51
Posts: 317
It does, but says I have to reboot. I reboot, and nothing has changed.
__________________
Yossi 4Ever

AMD XP 3000+|1024 DDR|2 X 160 GB Seagate|XFX FX 5500 256 MB|DVD|Toshiba 3500A 16X Dual Layer DVDRW|Audigy LS|
Reply With Quote
  #12  
Old 24th November 2005, 04:50 PM
mndar Offline
Registered User
 
Join Date: Feb 2005
Posts: 1,102
So, you wrote the new partition table to the disk and rebooted. If you run testdisk again, it still shows the same errors? Thats weird.
We could have checked this earlier but does fdisk -l show any error?
Or does qtparted tell you about any inconsistency ?
You could try PartitionMagic under windows, but I don't think it supports LVM
__________________
GStreamer XOverlay and VideoOverlay http://mndar.phpnet.us/gstreamer
Reply With Quote
  #13  
Old 24th November 2005, 05:40 PM
mugs Offline
Registered User
 
Join Date: Jul 2004
Location: VA
Age: 51
Posts: 317
When I try to list the files on that partition with test_disk I get this:

P Linux 268 0 1 19456 254 63 308271285
Use right arrow to change directory, q to quit
Directory /

No file found, filesystem seems damaged.


However, on hdb1 I get:

* Linux 0 1 1 12 254 63 208782 [/boot1]
Use right arrow to change directory, q to quit
Directory /

drwxr-xr-x 0 0 1024 4-Sep-2005 01:52 .
drwxr-xr-x 0 0 1024 4-Sep-2005 01:52 ..
drwx------ 0 0 12288 20-Jul-2005 02:23 lost+found
drwxr-xr-x 0 0 1024 19-May-2005 23:36 grub
-rw-r--r-- 0 0 1707756 20-Jul-2005 06:29 initrd-2.6.11-1.1369_FC4.img
-rw-r--r-- 0 0 764778 2-Jun-2005 23:03 System.map-2.6.11-1.1369_FC4
-rw-r--r-- 0 0 56991 2-Jun-2005 23:03 config-2.6.11-1.1369_FC4
-rw-r--r-- 0 0 1639539 2-Jun-2005 23:03 vmlinuz-2.6.11-1.1369_FC4
-rw-r--r-- 0 0 762852 15-Jul-2005 01:19 System.map-2.6.12-1.1398_FC4
-rw-r--r-- 0 0 94600 28-Mar-2005 17:08 memtest86+-1.55.1
lrwxrwxrwx 0 0 16 4-Sep-2005 01:34 xen.gz
-rw-r--r-- 0 0 1814152 25-Jul-2005 21:34 initrd-2.6.12-1.1398_FC4.img
-rw-r--r-- 0 0 56869 15-Jul-2005 01:19 config-2.6.12-1.1398_FC4
-rw-r--r-- 0 0 1634997 15-Jul-2005 01:19 vmlinuz-2.6.12-1.1398_FC4
-rw-r--r-- 0 0 1814157 12-Aug-2005 06:40 initrd-2.6.12-1.1390_FC4.img
-rw-r--r-- 0 0 762548 5-Jul-2005 20:13 System.map-2.6.12-1.1390_FC4

fdisk:

mugs@dhcppc1 mugs]$ sudo /sbin/fdisk -l

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 19203 154143675 83 Linux
/dev/hda3 19204 19457 2040255 82 Linux swap

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 268 2048287+ 82 Linux swap
/dev/hdb3 269 19457 154135642+ 8e Linux LVM
[mugs@dhcppc1 mugs]$

I tried to change the partition type with test_disk from LVM to ext3. Qtparted used to not show hdb3 at all, not it shows it as ext2, and the whole thing is pink...whatever that means.

I dont have windows, so partition magic isnt an option.

Like I said before, I used dd_rescue to copy the partition over, but it ran out of space as I was copying it to the FC2 drive, which is the same size. I am curious as to why it tried to copy over the whole partiion, and not just the files? I tried to shrink it with qtparted, but I get:

An error happened during ped_file_system_open call.

At this point, It doesnt seem like I can recover the data. Everything you have suggested and everything I have found on the web, results in an error.

I appreciate your help!
__________________
Yossi 4Ever

AMD XP 3000+|1024 DDR|2 X 160 GB Seagate|XFX FX 5500 256 MB|DVD|Toshiba 3500A 16X Dual Layer DVDRW|Audigy LS|
Reply With Quote
Reply

Tags
data, recover

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to recover data after 'update' Harold Smith Installation, Upgrades and Live Media 23 31st July 2009 08:17 PM
Recover data from LVA partition latinos2005 Using Fedora 8 14th August 2007 10:23 PM
recover data from a usb disk knutjorgen Hardware & Laptops 2 13th July 2007 06:52 AM


Current GMT-time: 02:40 (Saturday, 01-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Noisy-le-Sec Travel Photos on Instagram - Lubartow Photos - Winnipeg Photos on Instagram