Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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:

Warning:
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
Label:
UUID: 4ef64da8-c637-43de-a389-8a059eb6c069

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

share|improve this 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
1  
In case you have accidentally formatted your Windows partition see askubuntu.com/questions/49497/ntfs-recovery-software-for-ubuntu and more for recovery (I recommend Testdisk). –  Takkat Nov 14 '12 at 7:19
1  
Found this. Post #15 details the steps and the tools needed. –  mikewhatever Nov 14 '12 at 10:33
show 12 more comments

closed as too localized by jrg 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.