LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-21-2008, 10:18 AM   #1
nnjond
Member
 
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281

Rep: Reputation: 31
free data recovery software


I would like to retrieve some recent data (a folder) from an ancillary, physical drive I cannot mount. Can anyone recommend a strategy please?

thanks
 
Old 05-21-2008, 10:21 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
What filesystem are we talking about here? And what happened that caused the corruption (I.E. hardware or software issue)?
 
Old 05-21-2008, 10:45 AM   #3
nnjond
Member
 
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281

Original Poster
Rep: Reputation: 31
Thanks for your interest.

The file sys was Fat 32 but I fooled around with my hardy disc and now it's

Disk /dev/hdd: 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/hdd1 2 19457 156280320 f W95 Ext'd (LBA)
root@Knoppix:/ramdisk/home/knoppix#
 
Old 05-21-2008, 12:14 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
So why can't you mount the drive ? do you get some specific error ?

LiveCD's of forensics tools..
http://www.livecdlist.com/?pick=All&...cue&sort=&sm=1
 
Old 05-21-2008, 12:22 PM   #5
nnjond
Member
 
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281

Original Poster
Rep: Reputation: 31
The short answer is I'm sorry I don't know why I can't mount this drive. I was led to this conclusion at the end of this thread:

http://www.linuxquestions.org/questi...noppix-643536/
 
Old 05-21-2008, 09:23 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
could always try to repair the partition table, since that seems to be what it's complaining about,,
http://www.newfreedownloads.com/find...le-repair.html
http://www.trinityfiles.com/tw/rebuild-partition-table/

can you access the drive through windows ? maybe using something like BartsPE Bootable CD if you don't have windows currently installed.


You can try using the Linux gpart tool
Quote:
default@debianetch:~$ aptitude search gpart
gpart - Guess PC disk partition table, find lost partitions
gpart man page

seems the issue is to get the partition table fixed then you should be able to mount and access the drive..
 
Old 05-22-2008, 03:12 AM   #7
nnjond
Member
 
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281

Original Poster
Rep: Reputation: 31
Thanks for your help; I will research your advice.
 
Old 05-22-2008, 05:26 PM   #8
nnjond
Member
 
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281

Original Poster
Rep: Reputation: 31
Thanks for your support; I've made the best of it.
 
Old 05-22-2008, 08:11 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by nnjond View Post
Thanks for your support; I've made the best of it.
Does that mean you were able to get the partition table repaired ? if so which tool worked for you ? Please share your experience so others may benefit.

Thanks !!
 
Old 05-23-2008, 09:34 AM   #10
nnjond
Member
 
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281

Original Poster
Rep: Reputation: 31
Sorry about my netiquette. I was looking around for a button that said "Solved" to end the thread; I thought that was adequate.

I salvaged much of my data in Win 2k using Data Recovery Wizard. Then ran Partition table Doctor. Now I'm presented me with an empty Drive.

However, I have now replaced that 160Gb with a 250 Gb, which as I understand it, I formated to fat32, then transfered data to it successfully. I am hopping there is a simple command to have it permanently mounted in Ubuntu; although the icon hasn't shown up. Have you any comments please?

nnjond@nnjond-desktop:~$ sudo fdisk -l

[sudo] password for nnjond:



Disk /dev/sda: 82.3 GB, 82348277760 bytes

255 heads, 63 sectors/track, 10011 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0xaa459283



Device Boot Start End Blocks Id System

/dev/sda1 * 1 3580 28756318+ 7 HPFS/NTFS

/dev/sda2 3666 6944 26338536+ f W95 Ext'd (LBA)

/dev/sda3 8247 10011 14177362+ 83 Linux

/dev/sda4 6945 8246 10458315 b W95 FAT32

/dev/sda5 3666 3927 2104483+ 82 Linux swap / Solaris

/dev/sda6 3928 4189 2104483+ 82 Linux swap / Solaris

/dev/sda7 4190 6536 18852246 83 Linux



Partition table entries are not in disk order

Warning: ignoring extra data in partition table 5

Warning: ignoring extra data in partition table 5

Warning: ignoring extra data in partition table 5

Warning: invalid flag 0x11a4 of partition table 5 will be corrected by w(rite)



Disk /dev/sdb: 250.0 GB, 250059350016 bytes

255 heads, 63 sectors/track, 30401 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0x6248591f



Device Boot Start End Blocks Id System

/dev/sdb1 2 30401 244188000 f W95 Ext'd (LBA)

/dev/sdb5 ? 168058 260678 743976222+ ef EFI (FAT-12/16/32)

nnjond@nnjond-desktop:~$
 
Old 05-23-2008, 12:26 PM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
to get the drive to mount automatically every time you boot you need to add an entry for the drive and it's mount point to your /etc/fstab file.

something like
Code:
username@it-etch:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda6       /home           ext3    defaults        0       2
/dev/sda5       none            swap    sw              0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sdb1       /home/username/p0rn vfat auto,umask=0000   0       0
and then all your porn.. err I mean data files will be mounted at boot time in the specified location

How-to Mount Windows Partitions
 
Old 05-23-2008, 04:59 PM   #12
nnjond
Member
 
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281

Original Poster
Rep: Reputation: 31
I'm sorry I don't understand?

If I..

nnjond@nnjond-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sda3 :
UUID=95f8506b-2449-4699-910a-b95e06bed52c / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/sda9 :
UUID=b44fda0a-75a3-4ec9-a521-0f3b276be31c none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
nnjond@nnjond-desktop:~$


There is no opportunity to add another line?
 
Old 05-23-2008, 05:13 PM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,049

Rep: Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624
You need to open the /etc/fstab file in a text editor to make additions, using the 'cat' command won't work. Make an entry similar to the one in farslayer's post changing to suit your system:

/dev/sda3 / ext3 defaults 0 0

should work if you have Ubuntu on partition sda3?
 
Old 05-23-2008, 05:44 PM   #14
nnjond
Member
 
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281

Original Poster
Rep: Reputation: 31
Thanks for your help, but I think there is still some misunderstanding:

Places> computer> Filesystem> etc>

takes me to the fstab file which when i add to it looks like:

# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sda3 :
UUID=95f8506b-2449-4699-910a-b95e06bed52c / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/sda9 :
UUID=b44fda0a-75a3-4ec9-a521-0f3b276be31c none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/sdb1 /home/nnjond/Desktop vfat auto,umask=0000 0

Then, when I try to save I get a popup:

Could not save the file /etc/fstab.
You do not have the necessary permissions to save the file. Please, check that you typed the location correctly and try again.
 
Old 05-23-2008, 06:38 PM   #15
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,192

Rep: Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327
You need to be root user to alter a file outside your home directory. Open a terminal window and enter

su
gedit /etc/fstab

and then you can edit it.
 
  


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
Data Recovery Software linuxtreo LinuxQuestions.org Member Intro 1 05-29-2007 05:43 AM
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 01:21 PM
Best Data Recovery Software. rvijay Linux - Software 6 03-08-2005 09:48 PM
data recovery software box_l Linux - Software 2 08-09-2004 11:41 AM
recovery data software starofflame Linux - Software 1 06-23-2004 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:50 AM.

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