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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-21-2008, 10:18 AM
|
#1
|
Member
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281
Rep:
|
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
|
|
|
05-21-2008, 10:21 AM
|
#2
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
What filesystem are we talking about here? And what happened that caused the corruption (I.E. hardware or software issue)?
|
|
|
05-21-2008, 10:45 AM
|
#3
|
Member
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281
Original Poster
Rep:
|
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#
|
|
|
05-21-2008, 12:14 PM
|
#4
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
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
|
|
|
05-21-2008, 12:22 PM
|
#5
|
Member
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281
Original Poster
Rep:
|
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/
|
|
|
05-21-2008, 09:23 PM
|
#6
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
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..
|
|
|
05-22-2008, 03:12 AM
|
#7
|
Member
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281
Original Poster
Rep:
|
Thanks for your help; I will research your advice.
|
|
|
05-22-2008, 05:26 PM
|
#8
|
Member
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281
Original Poster
Rep:
|
Thanks for your support; I've made the best of it.
|
|
|
05-22-2008, 08:11 PM
|
#9
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
Quote:
Originally Posted by nnjond
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 !!
|
|
|
05-23-2008, 09:34 AM
|
#10
|
Member
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281
Original Poster
Rep:
|
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:~$
|
|
|
05-23-2008, 12:26 PM
|
#11
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
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
|
|
|
05-23-2008, 04:59 PM
|
#12
|
Member
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281
Original Poster
Rep:
|
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?
|
|
|
05-23-2008, 05:13 PM
|
#13
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,049
|
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?
|
|
|
05-23-2008, 05:44 PM
|
#14
|
Member
Registered: Feb 2007
Distribution: Ubuntu 10.04
Posts: 281
Original Poster
Rep:
|
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.
|
|
|
05-23-2008, 06:38 PM
|
#15
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,192
|
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.
|
|
|
All times are GMT -5. The time now is 09:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|