Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I followed the instructions in this thread to create a new swap partition post-installation. My /var/tmp/fstab file currently has the following in it:

/host/ubuntu/disks/swap.disk    none    swap    sw      0       0    
UUID=4ef64da8-c637-43de-a389-8a059eb6c069 none   swap    sw      0       0

GParted gives this error message:

NTFS signature is missing.
Failed to mount 'dev/sda1': Invalid argument
The device '/dev/sda1' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a partition? Or the
other way around? 

statvfs (): No such file or directory
Unable to read the contents of this file system!
Because of this some partitions may be unavailable.

Please help!

Other GParted stats:
File system: ntfs
Size: 199.00 MiB
Flags: boot

Path: /dev/sda1
Status: Mounted on
UUID: 4ef64da8-c637-43de-a389-8a059eb6c069

UPDATE: I posted a follow-up question that includes the Boot-Repair pastebin readout.

share|improve this question

closed as too localized by James Dec 26 '12 at 1:56

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Unfortunately, computer has restarted and I am now getting a "Missing Operating System" message. All I am able to access are HP recovery tools for Windows (it's a dual-boot). Help would be appreciated! – QuietThud Nov 14 '12 at 7:07
Are you sure /dev/sda1 is the swap partition? Usually, that would be a Windows 7 boot partition, and I'd not recommend messing with it. Can you add the output of sudo fdisk -l to the question, as well as sudo blkid. – mikewhatever Nov 14 '12 at 7:07
@mikewhatever It does indeed seem to have been the Windows boot partition--what can I do now? – QuietThud Nov 14 '12 at 7:08
In case you have accidentally formatted your Windows partition see and more for recovery (I recommend Testdisk). – Takkat Nov 14 '12 at 7:19
Found this. Post #15 details the steps and the tools needed. – mikewhatever Nov 14 '12 at 10:33