I have a disk image named: disk.img. I cannot mount this because I think it's messed up from Windows.  Here are some commands I've run:  sudo mount -o loop,offset=135266304 ./disk.img /mnt/temp  The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/loop8': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.     sudo ntfs-3g -o remove_hibernation ./disk.img /mnt/temp  NTFS signature is missing. Failed to mount './disk.img': Invalid argument The device '*' 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?     sudo ntfsfix ./disk.img   Mounting volume... NTFS signature is missing. FAILED Attempting to correct errors... NTFS signature is missing. FAILED Failed to startup volume: Invalid argument NTFS signature is missing. Trying the alternate boot sector Unrecoverable error Volume is corrupt. You should run chkdsk.     file ./disk.img  ./disk.img: DOS/MBR boot sector MS-MBR Windows 7 english at offset 0x163 "Invalid partition table" at offset 0x17b "Error loading operating system" at offset 0x19a "Missing operating system"; partition 1 : ID=0xee, start-CHS (0x0,0,2), end-CHS (0x3ff,255,63), startsector 1, 4294967295 sectors     fdisk -l ./disk.img  Disk ./disk.img: 279.5 GiB, 300069052416 bytes, 586072368 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 Disklabel type: gpt Disk identifier: *  Device       Start       End   Sectors   Size Type ./disk.img1 264192 586072063 585807872 279.3G Microsoft basic data     I really don't know what to do. I don't have access to Windows.  Anyone have any ideas?
843
Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount.  When I try to enter my Windows partition through Nautilus I get a message saying that this partition is hibernated and that I need to enter the file system and properly close it, something I have done with no problem so I don't know why this happens.    Here's my partition table, if any more data is needed please let me know.     Device Boot      Start         End      Blocks   Id  System /dev/sda1            2048    20000767     9999360   83  Linux /dev/sda2        20002814   478001151   228999169    5  Extended /dev/sda3   *   478001152   622532607    72265728    7  HPFS/NTFS/exFAT /dev/sda4       622532608   625141759     1304576   82  Linux swap / Solaris /dev/sda5        20002816   478001151   228999168   83  Linux
86734
Hello I want to know if is it possible to mark bad blocks on HDD for OS to not use them. I don't want to save data written on this blocks, just want to get rid of them.  I found some article where author describe how to partition disk to avoid using bad blocks of HDD.  I count how many MB from the start are OK. And also how many MB from end are OK. It looks like I will lost about 50GB of storage space but it is quite fine for me when the disk will run one year more.  First I split disk to 2 partitions:   From beginning to around 190 GB From 190GB to the end   Then I made surface scan of 2nd partition and everything was OK. I was really happy cause i though that finally I will succeed.  Than I wanted to copy all data from 1st partition to 2nd BUT in some data a problem occurs. I/O error. I'd say it is Read problem but when I open file on which copying failed it runs OK, for example some pdf files didn't copied but I opened them.  What can be problem can it be a Write problem? But why there is a problem when surface scan on whole 2nd partition was fine?  What can I do(except buying new HDD)? Can I somehow do this partitioning and use just partition with good sectors? Will it work? How are data stored on the disk? Can I determine where the data will be written?
122773
Files disappeared from my computer. On running a system search, they were found in C:\found.001\disk0001.chk  I want to go in there and have a look, if there are other files there too, but it gives me an access denied message. I ran chkdsk but it said no problems.   Ideally I would want to run a recovery utility (not the ones for deleted files) that would restore them all to the respective locations. Though I am lucky, I still have them at this weird place.   I am on windows 7.
97886
I'm not even sure if i worded my question right but, I'm familiarizing myself with Ubuntu and want to install it on a new desktop I just finished putting together so I'm trying it on my laptop via live usb first.    I had trouble mounting my NTFS windows partitioned disks, solved that problem but I also see a disk that has the exact amount of memory I alloted for persistence. I try to access it but it shows the same ACL error I got when my NTFS disks weren't mounting.    I've already downloaded some stuff and made some things with LibreOffice and want to know if those things have been save automatically or if I have to mount the usb disk for it to be persistent.
8651
I have a desktop computer with Ubuntu Desktop 14.04.4 LTS 64-bit with an attached HDD USB 3.0 4TB Intenso 1 partition ext4 data drive only (no OS or Apps). After a sudden power failure, I am unable to mount the drive (checked different host Linux machines with no result).  error message:  sudo mount /dev/sdd1 /mnt mount: wrong fs type, bad option, bad superblock on /dev/sdd1,        missing codepage or helper program, or other error        In some cases useful info is found in syslog - try        dmesg | tail  or so   Tried with fsck, e2fsck with no result. The error message says "Get a newer version of e2fsck".  Tried with all available superblocks backups with no result.  Tried offline file/drive Linux checkers on the offline and UNmounted volume with no result.  Finally, I received the following error message for which I couldn't find any help online:   "has unsupported feature(s): metadata_csum". e2fsck 1.42.9 (4-Feb-2014) /dev/sdd1 has unsupported feature(s): metadata_csum e2fsck: Get a newer version of e2fsck!   Can anyone help me take my data back?
49698
I'd like to create a filesystem image as a non-root user, the problem I'm facing is that the way I'm currently doing it, it needs a mount and as a non-root can't do a mount.  This is what I'm now doing:  #!/bin/sh  IMG="app.ext4" LBL="PIHU_APP" MNT="/mnt/PIHU_APP" APP="/home/buildroot/board/arctura/PIHU_APP/application"  #64MB: dd if=/dev/zero of=$IMG bs=4096 count=16384  mkfs.ext4 $IMG e2label $IMG $LBL  mkdir -p $MNT mount -o loop $IMG $MNT cp -r $APP $MNT sync umount $MNT   I have full root access, so I can setup/prepare anything, but the script will be executed from a non-root account.  However, I have a feeling there may be a better way that might not even need mounting, but I'm not sure..
92635
I get a error saying:    Installation failed ! Exit code: 256 Log: Formating device... Mounting... mount: block device /home/jeffrey/Desktop/Win7_sp1_32-64_EN-faXcooL.iso is     write-protected, mounting read-only Copying... Installing grub... /usr/bin/winusb: line 421: unexpected EOF while looking for matching `"' Error occured ! Syncing... /usr/bin/winusb: line 78: 12459 Terminated              while true; do sleep 0.05; echo 'pulse'; done Cleaning... /usr/bin/winusb: line 78: 12461 Terminated              while true; do sleep 0.05; echo 'pulse'; done Umounting and removing '/media/winusb_iso_1437334971_3530'... Umounting and removing '/media/winusb_target_1437334971_3530'...   I already formated my USB to ntfs.
69541
I have a 1TB drive and installed Windows 7 on a 128GB partition.  When I now try to install Ubuntu 11.04 it does not recognize the Windows partition but offers the complete 1TB drive to install Ubuntu on instead. It displays:    However, in the Ubuntu Disk Utility the Windows partitions are recognized.    What do I need to do in order for Ubuntu to recognize the Windows 7 partition and install Ubuntu as a dual boot?   Response to comments  The following commands were executed and the results are shown below:  fdisk -l  WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk  doesn't support GPT. Use GNU Parted.  Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x34a38165     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *           1          13      102400    7  HPFS/NTFS Partition 1 does not end on cylinder boundary. /dev/sda2              13       16318   130969600    7  HPFS/NTFS  Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x14a714a6     Device Boot      Start         End      Blocks   Id  System /dev/sdb1               1       60801   488384001   83  Linux   parted -l  Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only. Error: /dev/sr0: unrecognised disk label
11427
It seems that "Shut down" in Windows 10 actually means "Shut down and hibernate". This has caused my NTFS partitions cannot be automatically loaded on Linux (Ubuntu 16.04) on my dual-booting laptop. There will be an error message basically saying   Unable to access “My Drive”  Error mounting /dev/sdb4 at /media/D Center: Command-line `mount -t "ntfs" -o  "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdb4" "/media/D Center"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sdb4': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option   After a "hard" shutdown by pressing Shift while clicking on "Shut down", Windows actually shuts down, and the NTFS partitions can then be automatically mounted by Linux in another bootup. This issue only occurs recently after my upgrade of the Windows OS and BIOS.  My question is the following: is there any way to make the "Shut down" on the menu as the truly/hard shutdown by default? Thanks!
95645
I have a blank hard drive. I also have a Windows 7 system image backed up on an external hard drive. I don't have a system repair disk (SRD) and also don't have Windows 7 disk. I only have the recovery disks that came with my laptop. There is no option in the recovery disk to restore from a system image. So, I am forced to use the old stuff in the recovery disk.   I have few questions:    Can I restore my system from an image on a USB based HDD, without any SRD? Can I create an SRD in a windows 8 system for a windows 7 system? I know this might sound strange, but what if an SRD is just a collection of backup utilities? If no microsoft based answer is there, then is there any commercial software which can do this instead?   I don't even have access to an original Windows 7 disk right now. So, that option is ruled out too.
116786
[Note: After I entered the problem statement, I found , which is apparently the same problem.  Maybe one of us will get a good answer...]  I have used the "Windows 7 File Recovery" tool under Windows 8 to create system image backups to an external USB hard drive.  I built a new Windows 8.1 machine, and I want to create my first system image backup of that machine to the same USB hard drive.  The "Windows 7 File Recovery" tool is gone in Windows 8.1, but wbAdmin is alive and well:  wbAdmin start backup -backupTarget:\\?\Volume{2a2b...994f} -allCritical -quiet  fails with this text displayed:     wbadmin 1.0 - Backup command-line tool   (C) Copyright 2013 Microsoft Corporation. All rights reserved.      Retrieving volume information...   This will back up (EFI System   Partition),(C:),Recovery (300.00 MB) to \?\Volume   {2a2b1255-3a86-11e3-be86-b8ca3a83994f}.   The backup operation to F: is starting.   Creating a shadow copy of the volumes specified for backup...   Summary of the backup operation:      The backup operation stopped before completing.   The backup operation stopped before completing.   Detailed error: ERROR - A Volume Shadow Copy Service operation error has occurred:   (0x8004231f) Insufficient storage available to create either the shadow copy storage file or   other shadow copy data.   The EFI System Partition is 100 MB The Recovery Partition is 300 MB The C partition is 1.72 TB, NTFS, 218 GB used, 1.51 TB free The destination drive is 1.81 TB, NTFS, 678 GB used, 1.15 TB free  I've fiddled with vssadmin resize shadowstorage, with no change in the error.  vssadmin list shadowstorage displays:     Shadow Copy Storage association     For volume: (C:)\?\Volume{37a0...263}\     Shadow Copy Storage volume: (C:)\?\Volume{37a0...263}\     Used Shadow Copy Storage space: 2.39 GB (0%)     Allocated Shadow Copy Storage space: 2.81 GB (0%)     Maximum Shadow Copy Storage space: 531 GB (30%)      Shadow Copy Storage association     For volume: (F:)\?\Volume{2a2...94f}\     Shadow Copy Storage volume: (F:)\?\Volume{2a2...94f}\     Used Shadow Copy Storage space: 334 GB (17%)     Allocated Shadow Copy Storage space: 337 GB (18%)     Maximum Shadow Copy Storage space: UNBOUNDED (922154758%)   (Yeah, the "percent calculation" for UNBOUNDED is seriously bogus.)  I've run SFC /verifyonly and it seems happy.  I've verified that the new `Volume Shadow Copy" service starts when I start the backup operation.  Any suggestions?
24679
Until recently both my Windows Partition (C:) and my Data Partition (E:) would mount as read/write. Now both seem to only mount as read-only.    GParted Resize (Error)  ntfsresize v2.0.0 (libntfs 10:0:0) Device name : /dev/sda4 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 86207623680 bytes (86208 MB) Current device size: 86207627264 bytes (86208 MB) New volume size : 78662066688 bytes (78663 MB) Checking filesystem consistency ... Accounting clusters ... Space in use : 62126 MB (72.1%) Collecting resizing constraints ... Needed relocations : 1606868 (6582 MB) Schedule chkdsk for NTFS consistency check at Windows boot time ... Resetting $LogFile ... (this might take a while) Relocating needed data ... ERROR: Extended record needed (1032 &gt; 1024), not yet supported! Please try to free less space.   chkdsk Output:     Checking file system on E: The type of the file system is NTFS. Volume label is Data.  A disk check has been scheduled. Windows will now check the disk.                            99482 file records processed.   495 large file records processed.                        0 bad file records processed.                            0 EA records processed.                                  0 reparse records processed.                             104412 index entries processed.                          0 unindexed files processed.                             99482 security descriptors processed.                    2466 data files processed.                              CHKDSK is verifying Usn Journal...   4479208 USN bytes processed.                                      Usn Journal verification completed. Windows has checked the file system and found no problems.  84187132 KB total disk space.   60479688 KB in 69969 files.      15520 KB in 2467 indexes.          0 KB in bad sectors.     174336 KB in use by the system.      65536 KB occupied by the log file.   23517588 KB available on disk.       4096 bytes in each allocation unit.   21046783 total allocation units on disk.    5879397 allocation units available on disk.  Internal Info: 9a 84 01 00 00 1b 01 00 fc 1a 01 00 00 00 00 00  ................ 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................ 42 00 00 00 52 73 5c 77 b0 e7 1d 00 b0 df 1d 00  B...Rs\w........   fstab  # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt; proc            /proc           proc    nodev,noexec,nosuid 0       0 # / was on /dev/sda5 during installation UUID=8213cc89-2438-41b9-899f-13b4c5b299af /               ext4    errors=remount-ro 0       1 # swap was on /dev/sda6 during installation UUID=45873767-d9ae-4f0c-baab-ffc2726ac24e none            swap    sw              0       0   Checked the drive in GParted, GSmartControl and with ntfsfix, all completed successfully, no change.  Partitions  dev/sda1 NTFS WinRE dev/sda2 NTFS Windows C: dev/sda3 Extended dev/sda4 NTFS Data E: dev/sda5 EXT4 Ubuntu dev/sda6 linux-swap    I am looking for an explanation of:    Internal Info: 9a 84 01 00 00 1b 01 00 fc 1a 01 00 00 00 00 00  ................ 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................ 42 00 00 00 52 73 5c 77 b0 e7 1d 00 b0 df 1d 00  B...Rs\w........   and    Resetting $LogFile ... (this might take a while) Relocating needed data ... ERROR: Extended record needed (1032 &gt; 1024), not yet supported! Please try to free less space.
109167
I'm interested in rebuilding a basic degraded dynamic volume without resorting to trivially breaking/deleting and re-creating the volume.  There is no concern about data loss.  I hope to use this as a learning opportunity to better understand Windows dynamic disks/volumes.  The situation:  A dynamic volume under Windows 8 consisting of two physical drives in a mirror configuration has been running in degraded mode.  The first plex of the mirror volume is labeled by Windows as "Failed Redundancy".  The former entry for the second plex of the same volume remains and is labeled as "Missing".  I suspect that the fault was interruption of power to second device (the drive cage has some chintzy power switches for each drive).  Attempting to reactivate the volume yields the error message The plex is missing.  This is a little surprising as the second disk is recognized by the system.  It has a recognized dynamic volume, but is labeled "Foreign" and displays no detail about the volume (which is more or less consistent with the error message).  The Disk Management console has an option to "Import Foreign Disks," but it is not clear what effect it will have.  Early in my search for information I read an account that this will import contents as new distinct volumes rather than reconciling with existing volumes.  What will this action do?  Is there a Windows equivalent to Linux's mdadm to manually manipulate dynamic volumes or at least get a better sense of how Windows conceptualizes these devices?
53150
I'm using Fedora 20 along with Windows 8. However, I'm unable to access the contents of the drive in which Windows 8 is installed. It shows:  Error mounting /dev/sda2/ The NTFS partition is in unsafe state Windows is hibernated, refused to mount   even though I had shutdown the Windows properly.
21132
I could use a pointer on fixing the fstab problem to restore earlier working order. I dont have owner in mnt directory and its all snafu. Thank you very much. I tried changing the mount point of a external HDD. Failed. This is the end. mount /dev/sdc  mount: /dev/sdc: can't find in /etc/fstab.  When mounting it with Disks this appears: Error mounting filesystem Error mounting system-managed device /dev/sdc1: unknown filesystem type 'nosuid,nodev,nofail,noauto,x-gvfs-show' (udisks-error-quark, 0) Editing mount options in Disks this appears: Error removing old /etc/fstab entry Didn't find entry to remove (udisks-error-quark, 0) Thank you again.
75323
I have a 1TB external hard drive that I recently formatted to NTFS. It was mounting on my Ubuntu 11.10 fine until just now. I didn't make any changes to affect my OS or my exhdd.  The error that I get is:  Error mounting: mount exited with exit code 13: $MFTMirr does not match $MFT (record 0). Failed to mount '/dev/sdb2': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details.   I did read  and . But neither helped.  I tried installing ntfsfix but no such package exists anymore. I have never used this HDD on a windows machine. If I need to use an other machine to do stuff to fix this, I have access to a mac.  Any advice?   This is my sudo fdisk -l output: What in the world is GPT? I didn't do that. It used to be NTFS.  Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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: 0x000586fb     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2148   961320312   480659082+  83  Linux /dev/sda2       961320313   976773167     7726427+   5  Extended /dev/sda5       961320314   976773167     7726427   83  Linux  WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.   Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0xcfd88605     Device Boot      Start         End      Blocks   Id  System /dev/sdb1               1  1953525167   976762583+  ee  GPT
22933
I have an image of the entire disk created using dd. The disk structure follows:  kent@cow:~$ sudo fdisk -l  Disk /dev/sda: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000b8508     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *           5       90872   729929303+  83  Linux /dev/sda2           90873       91201     2642692+   5  Extended /dev/sda5           90873       91201     2642661   82  Linux swap / Solaris   The image was created using:  dd if=/dev/sda of=image750.img   How would I, if it is possible, mount /dev/sda1 from the image so that I'm able to read the contents?  It's not an option to clone the HDD again, I know how to do it if I had only cloned the single partition by itself. I hope it's still possible with the current image.