Ubuntu :: Unable To See NTFS Partitions Even Using Testdisk
Nov 1, 2010
I was running Windows XP SP3 when one of my drives (or partitions) suddenly wasn't accessible. I booted into an old ubuntu Live CD I had (version 8.X) and tried mounting it. I could see the other partitions at this time. I rebooted the machine a couple of times (for normal reasons) and after a particular reboot none of my partitions were present! All seemed to have gone! I didn't do anything except mount the partition from Ubuntu Live CD. Made no write operations .
fdisk -l gives me this:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
to list the files and I get:
Can't open filesystem. Filesystem seems damaged.
I originally had 6 partitions (including my primary). What do I make of the above screen and how do I proceed? Mot of testdisk documentation says "Choose the paritions to recover..." but I do not have a partition. What do I do to recover my data? I don't mind reformatting my entire HDD, but I need to get some jpegs and movie files off it first.
I'v recently migrated from Ubuntu to Debian. however when attempting to browse one of my ntfs partitions I get the following error "Invalid mount option when attempting to mount the volume 'a' a is the name of the ntfs partition i'm trying to browse.I'm using Debian lenny
I first noted a few weeks ago I couldn't mount my NTFS partitions using dolphin. At the time I was having problems with windows, so I thought - naturally, they are marked as dirty, no biggie-
However, I still can't mount them and I know they are clean. I get the error: "filesystem is neither well know nor in /proc/filesystem nor in /etc/filesystems" which is strange since I can mount just fine in the console using mount -t ntfs-3g.
I had 10.04 installed in parallel with a bad windows OS. Used the 10.04 to pull the documents, pics, etc off of windows. Worked great. Then when I tried to delete the windows partition it screwed grub up an instead of just re-installing grub. I re-installed ubuntu, what the heck it was gonna get wiped anyway. I didn't back up the pics and documents. I did however have them in all the ubuntu folders for my pics etc.
I feel like total crap, anyway, how good of a chance do I have at getting something back with testdisk? After doing a "deeper search" I come up with multiple partitions but it won't let me restore all of them. I really dont care if I can't boot to a single one, just as long as I can get the data back. (always can use a live CD).
My main partition having all my data like movies, music, files,etc has become inaccessible. Its file system was NTFS. Due to some recent resizing using GParted, the partition as well as my WIndows 7 OS has become unbootable due to some errors. The data partition's file system has become unknown. I don't care much about the OS but I would like to recover my drive. I am trying to achieve this using Testdisk and Photorec but haven't met with much success so far. The main problem is I can see my partition and all my files through Testdisk but I am not able to copy them to another drive. When I try to copy the option I get is of copying them to the DVD and not to any other partition.
I am doing major deployment of opensuse 313 pcs from windows to opensuse. I am having a problem that I have to keep 2 ntfs partitions intact will deleting the partition that has windows. Now everything goes well, opensuse installs but the problem is that I cannot give user full rights to ntfs folders. I have used graphical file permission methods n terminal chown n chmod methos but still permissions revert back to root.
Reproducible with Firefox 3.6.6 (installed from Ubuntu 10.04 repository), on Dell D620, Ubuntu 10.04 Steps to reproduce:
1) start Firefox from command line "firefox -P"
2) create new Firefox profile on NTFS volume (mounted with NTFS-3g)
3) add NoScript extension (through extension manager Get Add-ons), restart Firefox as suggested
4) extension is not added to Firefox In case at step 2) profile is created on Linux volume, at 4) extension is added to firefox.I'm not 100% sure, but I think this bug is related to Firefox 3.6 update (no problems with Firefox 3.5). I did not make proper investigation, but I have feeling same problem applies to Thunderbird 3.1.This issue does not allow to share Firefox/Thunderbird profile on dual boot machine (Ubuntu/WindowsXP).
I am using jaunty. I have it installed in a 80 GB ext3 HDD. (This is sdb) I have another 500 GB. Its NTFS. (This is sda) It has 3 partitions. Download, Movies, Dump. They are probably sda1, sda2 and sda3 respectively. Few days ago when I was using intrepid, all three partitions were showing in the Places menu. But I was being able to mount Movies and Dump. Not the Download one. It was continuously saying 'unable to mount'. Now, after fresh installation of jaunty (not upgraded from intrepid) only Download partition is showing in the Places menu. There is no option for the other two partitions.
On my laptop I have Windows and Ubuntu, and I use Ubuntu very often. How can I auto-mount the NTFS partitions once I run my Ubuntu without the need to manually ask to mount it and confirm with the root password each time and for each partition?
I have U1004 dual boot with MSW7 and sometimes want to mount those NTFS partitions for mostly reading operations. Ubuntu makes it easy by a single click in Nautilus. How to change this behavior and allow mount NTFS partitions with user's password only, like sudo behavior, for example? In addition, how to mount them read-only?
Note: I mount those NTFS partitions occasionally and there is nothing in fstab about it.
I am having a dual boot setup with Lucid Lynx and Windows 7. I want to automatically mount the NTFS partitions whenever I login to Lucid. I am looking for a graphical tool to set this up. Kindly suggest one.
I still have to dual boot with Windows (for now!) but having the various NTFS partitions show up in Nautilaus, etc. is a problem.Also I would like to share some data between Win7 and Ubuntu 9.10 but I cannot create any more partitions due to well know limitations. In my case I already have 3 primary Windows partitions that I want to keep and 1 primary Linux with ext4 and swap as logicals for Ubuntu. BTW my laptop had all 4 primaries used up an I got rid 1 for Ubuntu. I could get rid of more but really do not want to now.
I found many great ideas and suggestions here in the forums but could not find exactly what I was looking for so I cobbled together a couple of I ideas and I think I have a working solution.First to hide a Windows partition and protect it this works great when you add this line to fstab:
Of course change your partition to the correct one and make sure the /Windows directories are created.I have used this many times and it works great except I want to have access to 1 or 2 directories without exposing the whole drive.I turned to symbolic links to help solve but when sda2 is "hidden" with the above there is a rights problem for my normal user. I could probably solve it with umask somehow but I just did this instead:
I found this allows me to access the directory but it is still hidden from Nautilaus. I am guessing it is because it is mounted in a location it does not normally look in.After this I created a symbolic link to the directories I want access like this:
ln -s /Windows/sda2/Temp /home/myuser/windir
Note I did not use sudo here because that was causing me rights problems at one time. This is permanent until you rm the windir file since symbolic links are just special files.
So now I can access windir in my home directory on the NTFS partition without me accidentally messing up my other Windows system files. If I try hard I can mess it up but this provides just enough protection for me. I can also drag the link to my desktop or the Naultilaus left nav pane and it acts like a regular directory.I sure there are a 100 ways to achieve what I wanted to do but thought I would share this method since it took me a while to figure it out.
I'm using two NTFS formatted partitions. One is internal and holds all my data. The other is on an external hard disk and is where I back up all my data to. What I'd like to do is copy all my files from the data partition to the backup partition and preserve all the windows' timestamps (including the file creation dates).How hard can this be? Well it appears that in the case of Ubuntu the answer is very hard indeed.I'm aware that Linux does not support the concept of a file creation date natively. However, according to the ntfs-3g website, all of the windows' timestamps (including the creation date) are mapped on to the system.ntfs_times extended attribute (link). So if you preserve the extended attributes when making a copy then, in theory at least, the timestamps should also be preserved.
I read on another forum that a file's timestamps will be listed (albeit in an unreadable hex format) if you run the following command:getfattr -h -e hex -n system.ntfs_times <filename>Unfortunately however, I just cannot get it to work. With every file I've tried I simply get a message saying "no such attribute".
On my system I have two internal SATA Disk drives, the first one is 120GB and the second one 360GB.
120GB Disk: 1st partition: NTFS (22GB), Windows XP is installed, for playing my games. 2nd partition: NTFS (62GB), The "GAMES" partition, where all the games are installed 3rd partition: EXT4 (25GB), Ubuntu Karmic 4th partition: SWAP space
The 320GB disk is a single NTFS partition, where all my data/files are stored. A couple of days ago I used GPARTED to shrink the 320GB partition and create a new 2GB FAT32 one at the end of it. (Never had any problem before using GPARTED for any filesystem). I put in there some old dos games and rebooted to windows. Then I formatted a diskette as MS-DOS startup disk. I rebooted the computer again and and booted from the FreeDOS LiveCD. After playing for a while I tried the MS-DOS disk, to see if it performed better.
Now Windows XP does not recognize the DATA and GAMES partitions, buts recognizes the fat32 one. In ubuntu they work, but when I try to fix them, it says "run chkdsk". Windows does not recognize them so I cannot do this. I tried to restore Windows XP from a Norton Ghost Backup image file, but its LiveCD does not recognize these partitions either (norton ghost 12 uses vista to boot the live cd).
I formatted with mkfs.nts a USB 500 GB external drive. Under Linux when I connect it to the USB port it's recognized and works. Under windowz 7 home is's seen in the device list but not in the computer window. I can't do anything with it apart eject it. This is what I get from fdisk:sudo fdisk /dev/sdcThe number of cylinders for this disk is set to 60801.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs(e.g., DOS FDISK, OS/2 FDISK)Command (m for help):
and this from fdisk -ls /dev/sdc: gt[~]$ sudo fdisk -ls /dev/sdc Disk /dev/sdc: 500.1 GB, 500107862016 bytes
i installed win7 ultimate on a 2TB HD and was hoping to dual-boot it with meerkat, i did a standard install and shrunk the partition using win7 disk management to leave 500GB for ubuntu.problem is ubuntu can't detect the existing win7 install, when selecting advanced setup it just shows one big unallocated partition.
i went back into win7 and extended the partition again, then booted into ubuntu live cd to see if maybe gparted would do the trick. gparted also cannot detect the existing win7 install and just displays unallocated 1.82TB.in terminal if i do 'sudo parted /dev/sda print' i get this message:
Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table.However, it does not have a valid fake msdos partition table, as it should.Perhaps it was corrupted -- possibly by a program that doesn't understand GPT partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table? Yes/No? ^C
I am wanting to install the 10.04 lamp server on a winxp pro machine with several hard drives all with ntfs. Will the lamp server be able to use the ntfs partitions ? Or do i need to change them over.There is several hundred gigs of data on the hard drives and i do not relish the job of converting them.Also can you just mount the ntfs shares that are on the windows machine with the ubuntu machine using a intranet type setup
I recently got a new laptop and I'm trying to figure out how to divide up its partitions. I was thinking that I would install Ubuntu on a relatively small partition and store all of my files on the NTFS parition, linking them back to Ubuntu.
What's a comfortable size for an Ubuntu parition?
Also, I've tested 64-bit Ubuntu and it doesn't seem to have any major problems. Though I might upgrade, I only have 4 GB of ram right now. Should I install 64- or 32- bit?
On my system have to partitions instead of ext4 and swap, that is ntfs partitions and have two account one is sysadmin and my name csmct. Sysadmin have admin power and csmct is a user account. If I login ed as user csmct. I cant able access those ntfs files. Ubuntu asking me for the sysadmin password authentication. How can I access those ntfs partitions with rakesh password. For frequent access I changed both passwords to same <snip>
I've got a Desktop System that Automounted Two NTFS partitions in F10 so I could declare them SAMBA Shares and have my other XP and Vista Machine Access them whether my dual boot machine ran XP or F10. Now I've switched to F11 and cannot get the NTFS Partitions to Automount at boot. If I browse with COMPUTER and let the system mount the NTFS partitions once it is running the mount command returns the following output:
I believe I need to modify /etc/fstab but cannot get the syntax correct to save my life.
I have just managed to install OpenSuSE 11.3.When I try to access a NTFS partition (holding my .MP3s) I get the error message.There is no application installed that can open files of the type block device (inode/blockdevice).Do you want to install one? Attempting to install one doesn't seem to lead anywhere othe than the same sequence. I used to be able to read NTFS partitions with 11.2 - what has changed?
until recently, they did fstab mount quite happily, but now, they don't
the error I get is:
Code: Mountall mount /media/win7  terminated with status 21 My fstab has not changed but here it is: Code: /dev/fd0 /media/floppy0 vfat noauto 0 0 UUID=da252821-a30d-415b-84cb-adca92be5b72 / ext4 defaults 0 1
Oh if I make the windows drive the first avail, then it boots just fine.
I am trying to install Photorec / testdisk I am entering this in terminal sudo apt-get install testdisk sudo apt-get install photorec For all these i am getting a message, "E: Unable to locate package testdisk" and similar message for Photorec. I tried this even for Foremost but i am getting same message. how do i get to open and work on these packages?
Using: Debian Lenny. I want to mount 2 NTFS partitions in my /etc/fstab file, so that I needn't manually mount them when I want to use them. One of the partitions is the primary partition on the same hard disk as my Debian /, /home, and /swap partitions. The other is a 2nd internal hard disk.
a) Should I use ntfs-3g instead of ntfs as the /etc/fstab filesystem? I want to be able to read and write to the partitions as a user and not just as root.
b) I have read on the forum that "mounting NTFS partitions through fstab is not a great idea" - I thought that any dangers of doing so were ancient history. Why would it not be a good idea?
c) Which options should I use?
d) If I use 'user' instead of 'users' so that one specific user (me) can use the partitions, how do I specify which user name? (The man page is annoyingly unclear about this).