Hardware :: Ran Mkfs.vfat Over Top Ntfs Partition - Any Way To Restore Ntfs Partition Info?
Oct 12, 2010
I was attempting to format a flash drive, and well, used the wrong sdX device. I've run DiskInternals Partition Recovery tool, and all my files are still there (you have to pay $139 to have it restore the files). Is there any way using tools in linux to restore the ntfs partition/files? It was a single disk with the partition taking the entire drive. I've tried mounting it with the -t option, but it says invalid ntfs signature. Man, two lessons the hard way, make sure you backup (duh) and be careful what you type as root.
I am trying to restore an NTFS partition from a backup and I need the new drive to have the old (dead) drive's UUID (which I recorded).I really really really cannot use the option of changing fstab to mount using a new UUID, for this case I need the old UUID that existed on the other drive.Is there some ntfs equivalent of tune2fs that'll let me change the UUID on an ntfs partition?
I just ruined my /ntfs partition. I used the mkfs command and stopped it by ^C immidiately, but it was too late. mkfs.ext4 /dev/sdb1
Is there a way to recover NTFS partition now ? The partition </dev/sdb1> was 'ntfs' and mkfs.ext4 did not check if it was a ext4 or give any pre-check warning, just went ahead with making the ext4 fs on a ntfs partition.
I'm dual booting windows vista and ubuntu hardy on a multi-partitioned Dell D630. I created a partition using mkfs -t ntfs. Linux has no trouble reading/writing to it, but every time I boot into windows, chkdsk tries to "fix" the partition, fails, and tells me that the partition is corrupted. Can anybody suggest a way to convince vista that the partition is indeed ok, or else another way to create the partition so that vista can recognize it?
On my computer on the first disk /dev/sda was installed win2k system bootable with native win2k bootloader. I created imges of that partition using Ghost4linux na Clonezilla. Images were placed on the second computer using sshfs. For all this tasks i used PartedImage LiveCD.
I removed old partition and created a new ntfs partition on the same disk. When I used GParted or native Win2k partitioner the partition I get was smaller: the difference is a few bytes. Finally I used the Linux fdisk. Now the size was OK, but after restoration win2k was unbootable: I tried to recover the win2k but it was even impossible to locate a system on the partition. So I tried to move all the partition at the very beginning of the disk. Now at least I was able to mount (under Linux) the partition. But again win2k was unbootable and unrecoverable.
It seems for me that the partition is missplaced. According to Ghost4Linux the partition begins with an offset 0x56. I suspect that it should be rather 0x80.
I recently tried to make a backup of an ntfs partition using dd.For example.. "sudo dd if=/dev/sda2 of=/dev/sda1" which made a copy of one partition to another, not realizing that it would wipe the ntfs filesystem and image across the linux partition. Is there anyway i can undo this to get back all the data which was on the ntfs drive? Cfdisk still sees the partition as NTFS. Have also tried photorec to try to retrieve the data but to no avail.
I used Ping Linux 8 months ago to create a ghost-like image of my primary partition. (Windows 7 on NTFS) The image is on the second partition of my hard drive (Western Digital 250 gig). I need to restore now, but Ping is unable to mount the volume. In fact, it will not mount any volume or perform any new backup. I made sure nothing has changed in Bios options since I created the backup. Does this imply that is not the appropriate tool to work on NTFS system?
I've been using Knoppix "Live CD" 6.2 and partimage 0.6.7 to back up and restore my Microsoft Windows XP system volumes on various computers. However, partimage seems to be unwilling to back up one of these NTFS volumes which has bad sectors, some unreadable data. It hits that and stops. But this appears to happen at the same place when I have already used Windows to find and mark and, I assume, remove from use, the bad sectors. Hmm. I thought they'd be ignored. It appears I thought wrong.
If so, which of several other Linux-based or other partition backup tools may be suitable for the task - to ignore or tolerate bad sectors? The main goal is to be able to update the volume subsequently in a way that may be a terrible mistake, and in that case to restore the previous version. Sometime not too far in the future, I suppose I have to think about replacing the disk.
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.
Storage information: 1st primary:SG 160G ATA 100 1st secondary:WD 160 ATA 133 SATA:WD 1000 2nd primary:DVD 2nd secondary:DVD±RW
Winxp in 1st primary.I did a fresh install of lenny on 1st secondary.
info about lenny setup: 1.Partition list:/boot,/,/home,swap 2.Every partition is XFS except swap.
At the end of installion,lenny installed grub on (hd0) that is 1st primary.
Everything seems OK.Lenny runs OK.
But when I switch back to windows xp,the diskmgmt can not detect hdd's info and the system meets a problem of shutting down.
After many times of trying. I solved the problem by the following way. 1.Boot with windows xp's install CD and use fixmbr on (hd0). 2.Boot with lenny's install DVD , do a grub>root (1,0)>setup (hd1) After that,edit /boot/grub/menu.lst and change (hd0,0) to (hd1,0) and also (hd1,0) to (hd0,0). 3.Reboot and Press F8 for a boot menu then I can select which disk to boot. windows boot from 1st primary's mbr,lenny boot from lenny's grub.
The problem is caused by a bug between GRUB and windows' mbr and maybe more about GRUB and XFS.
I just installed ubuntu via the windows executable and I couldn't mount my NTFS partition. I found this a little odd and I checked fdisk and it seems to think I don't have an ext4 partition as my entire internal HD is displayed as NTFS.
Here's the fdisk output:
When i try to mount the NTFS partition /dev/sda2 i get the following output:
I can't make heads or tails out of this. Anyone know what's going on here?
Windows recognizes that 30GB were taken from the NTFS partition for my linux install. It reads the max partition size as 465GB. fstab reports the NTFS partition size as 488GB.
I want to change my sda2 partition to ntfs type. i have installed GParted but it is returning a strange type of error. Here is the error dump file...
WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot. WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
First off let me say that I love working with Ubuntu. It's a great OS to learn Linux on. Now on to my problem. I have a laptop that dual boots. Ubuntu 9.10 x64 and Windows 7 Ultimate x64. Been working just fine. I was using NTFS-Config to auto mount the Win7 partition during startup of Ubuntu. It has been running fine. I am able to move files between the linux partition and the NTFS partition with no problem. Now I've come across a problem. I big problem. Just this week I installed VirtualBox onto Ubuntu. I started creating virtual machines. 6 in all (3 Win 2k3, 1 2k8 and 1 Win7). I was saving the virtual machines to the NTFS drive as this was by far my largest drive. I used a directory titled "virtualbox" under the c:/users/public directory. This setup was working great. Was able to get my vm's patched and up to date. Created several snapshots. Basically I was a happy camper.
Last night I booted into Windows 7. OS started fine. I was just surfing the web. After that I rebooted the system and entered Ubuntu and started Virtualbox. I tried to start a vm and it complained that the virtual harddrive was missing. I checked to make sure that the path was correct for the virtual drive and discovered that the entire virtualbox directory that I created on the NTFS partion was gone!!! Everything else was in place and intact including music and large video files that I had downloaded to the Ubuntu partion and moved the the NTFS partion.
I save these virtual machines???? Should I abandon using NTFS-Config. This is somewhat critical since I had took sometime to create this test lab and to have it disappear from simply booting into Windows 7 is crazy.
Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have
Windows XP Mint Ubuntu-Studio Edubuntu One of the E17 OSs Puppy Linux (to create a remix)
I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.
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
When I installed Fedora I wasn't paying attention and used my whole hard drive for Linux. Now my Vista is gone, and I don't have an NTFS Partition to reinstall it. Obviously this one is not formatted right... But I want to know how I can add a new NTFS partition to be able to reinstall Vista. I don't care if I have to delete Fedora... I'll just reinstall later using more attention.
I recently installed Fedora 13 (the KDE spin). It detects correctly my other NTFS partitions and will mount them perfectly if I click on it using Dolphin.
I would like to mount one of them automatically after booting (or logging in, doesn't matter). My first idea - and supported by a coulple of Google searches and previous threads - was to put them on on /etc/fstab.
But to my complete surprise they aren't there. Where does Dolphin (or KDE) keeps information about partitions? How to set them to automount? Also, fstab refers to my linux partitions as UUIDs not the device names - how does this work?
What should I do to set a NTFS partition to automount on Fedora 13?
I am not sure if this is the right place to ask, but I am trying to find out how I can modify forms on my Windows partion. I am running a dual boot with Win 7 and Open Suse 11.2. I can access and read the NTFS files but can not change them or add to the Win 7 Partion. How do I change ownership and permissions so that I can work on them from Open Suse 11.2