Problems mounting disk in Ubuntu 11.10 (NTFS signature missing)
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
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.
Here is my output and where I am stuck (NTFS signature missing):
root@ubuntu:~# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x83c583c5
Device Boot Start End Blocks Id System
/dev/sda1 * 63 156296384 78148161 7 HPFS/NTFS/exFAT
root@ubuntu:~# mount -t ntfs-3g /dev/sda /media/disk -o force
NTFS signature is missing.
Failed to mount '/dev/sda': Invalid argument
The device '/dev/sda' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
(so I tried sda1)...
root@ubuntu:~# mount -t ntfs-3g /dev/sda1 /media/disk -o force
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
root@ubuntu:~#
I'm not very familiar with Linux yet so any help would be greatly appreciated. (I did search through the existing threads and did not see anything exactly like my issue, hence the new post. Apologies if I overlooked a thread that had this solution)
root@ubuntu:~# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x83c583c5
Device Boot Start End Blocks Id System
/dev/sda1 * 63 156296384 78148161 7 HPFS/NTFS/exFAT
okay, so the HDD contains only one partition spanning the entire disk.
Quote:
Originally Posted by rickpenn
Code:
root@ubuntu:~# mount -t ntfs-3g /dev/sda /media/disk -o force
Wrong. You can't mount an entire drive; you have to mount the partition, /dev/sda1 in this case.
Quote:
Originally Posted by rickpenn
Code:
root@ubuntu:~# mount -t ntfs-3g /dev/sda1 /media/disk -o force
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
What you did here looks correct, however, there seem to be issues with NTFS-3g and partitions used with Windows 7.
Have a look at this thread at tuxera.com, the company that has been developing NTFS-3g. I didn't read it thoroughly, so I can't promise there is a solution for you. It may give a few hints, though.
Does this laptop use an encryption scheme? I suspect this laptop may have more than meets the eye.
A normal windows 7 install has more than one partition.
Any live linux cd ought to easily mount the ntfs drive either with read only or with read write. Most distro's offer ntfs-3g default. The issue usually is how they assign use or mount for the live cd.
Device Boot Start End Blocks Id System
/dev/sda1 * 63 156296384 78148161 7 HPFS/NTFS/exFAT
Are you sure this is NTFS ? rickpenn did not state what OS this is. On an 'old laptop' with a 80 gig drive, good bet it was XP not W7. A lot of XP systems on older hardware are fat32 file systems.
Give the mount command a try with -t vfat and see what happens.
Are you sure this is NTFS ? rickpenn did not state what OS this is. On an 'old laptop' with a 80 gig drive, good bet it was XP not W7. A lot of XP systems on older hardware are fat32 file systems.
Give the mount command a try with -t vfat and see what happens.
my 2 cents - majority of laptops do have recovery partition. Thats again a probability. Unless it was changed to suit business purpose etc.
some laptops have functionality to run diagnostics - rickpenn might want to run that as well while is at it to make sure its not hard disk related issue.
who is it you're asking? Me?
If so, yes, I'm pretty sure it is NTFS. Alright, fdisk says "HPFS/NTFS/exFAT", but AFAIK, exFAT was only introduced with Vista. And it has never been explicitly promoted, nor did MS make any effort to make it known. Still today, very few Windows users know that there is such a thing as exFAT. Therefore it's a very unlikely assumption. And so is HPFS, which is linked to OS/2.
That leaves NTFS.
Quote:
Originally Posted by camorri
rickpenn did not state what OS this is. On an 'old laptop' with a 80 gig drive, good bet it was XP not W7.
Could be. I was sure, however, that I'd read something about Win7 in the initial post. Must've been my imagination.
Quote:
Originally Posted by camorri
A lot of XP systems on older hardware are fat32 file systems.
Yes, but far too few. Most XP installations are running on NTFS.
/dev/sda1 * 63 156296384 78148161 7 HPFS/NTFS/exFAT
Type seven is HPFS/NTFS
Did you create the directory /media/disk?
You don't need to mount to /media, you can just mount to /mnt.
Quote:
mount -t ntfs-3g /dev/sda1 /mnt
Quote:
mount -t ntfs /dev/sda1
Quote:
mount /dev/sda1 /mnt
Since you only need to get to your files, no need for write access is there?
Since I don't need to specify NTFS in mount command over here, nor should you over there.
Are you sure this is NTFS ? rickpenn did not state what OS this is. On an 'old laptop' with a 80 gig drive, good bet it was XP not W7. A lot of XP systems on older hardware are fat32 file systems.
Give the mount command a try with -t vfat and see what happens.
The OS is Windows XP Professional.
---------- Post added 12-12-11 at 12:57 PM ----------
Quote:
Originally Posted by syg00
Run this (as root) - it has the added benefit (over fdisk) of trying to guess the filesystem type as well as just display the partition type.
Code:
parted -l
here is the parted -l output:
root@ubuntu:~# parted -l
Model: ATA TOSHIBA MK8046GS (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 80.0GB 80.0GB primary boot
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: Can't have a partition outside the disk!
/dev/sda1 * 63 156296384 78148161 7 HPFS/NTFS/exFAT
Type seven is HPFS/NTFS
Did you create the directory /media/disk?
You don't need to mount to /media, you can just mount to /mnt.
Since you only need to get to your files, no need for write access is there?
Since I don't need to specify NTFS in mount command over here, nor should you over there.
root@ubuntu:~# mount /dev/sda1 /mnt
mount: you must specify the filesystem type
root@ubuntu:~#
There is something in the journal of the NTFS file system that prevents Linux from mounting it. Either it was not cleanly powered down or something else. Most often, if one was able to run check disk utility in Windows would remedy the situation. It is also possible this can be provoked during the boot process or by using a Windows XP installation disk to repair the file system.
Ubuntu may have testdisk installed, if not it can be installed while running it live. I have never used testdisk for repairing disks but many have been given smiles using it in such predicaments, not sure how successful it is with NTFS. Try doing repairs with an XP installation disk first if possible.
Actually: Since it is saying the NTFS signature is missing, this might be a breeze for a partition recovery utility like testdisk or bootitng. To use testdisk, read man pages, open a terminal full screen and run command: testdisk. Or try fix /mbr with Windows XP recovery console with install disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.