Software :: Changing An NTFS UUID - Restore An NTFS Partition From A Backup?
Dec 25, 2010
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 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 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.
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'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.
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.
After installing another OS on second drive, UUID for swap on my main system was missing. In other words there is no appropriate symlink in /dev/disk/. I've tried to create it manually, but it dissappears again after rebooting. Temporarily i solved this problem by adding in /etc/fstab direct address to swap device. The question is how to restore UUID for swap partition correctly? Code: sudo blkid /dev/sda6 /dev/sda6: TYPE="swap" /dev/sda6 is swap partition. Also i've tried to use tune2fs:
anytime my external drive gets unplugged improperly, or the laptop shutsdown abruptly (overheating/battery), it's NTFS partition is unmountable. gparted informs me to:
run chkdsk /f on Windows then reboot into Windows twice
but i no longer have windows, and would prefer to find a way to restore the drive's functionality without having to visit someone who uses windows every time this happens.is there a way to restore NTFS consistency without windows?
Reproducible with Firefox 3.6.6 (installed from Ubuntu 10.04 repository), on Dell D620, Ubuntu 10.04 Steps to reproduce:
1) start Firefox from command line "firefox -P"
2) create new Firefox profile on NTFS volume (mounted with NTFS-3g)
3) add NoScript extension (through extension manager Get Add-ons), restart Firefox as suggested
4) extension is not added to Firefox In case at step 2) profile is created on Linux volume, at 4) extension is added to firefox.I'm not 100% sure, but I think this bug is related to Firefox 3.6 update (no problems with Firefox 3.5). I did not make proper investigation, but I have feeling same problem applies to Thunderbird 3.1.This issue does not allow to share Firefox/Thunderbird profile on dual boot machine (Ubuntu/WindowsXP).
I'm new to debian ,I was trying to mount my NTFS partition but I did that only with read permissions I couldn't install ntfs-config(allthough I have ntfs-3g installed).So I want to figure out how to mount my partitions with read/write permissions automatically as the systeme starts ?
I am wondering if anyone knows how to enable NTFS compression using Paragon NTFS 8.1 Enterprise?
The Professional version comes with a utility mkntfs which allows you to set compression as default for all files, but the Enterprise version is apparently meant to be 'fully featured' and support compression, so how do I enable compression on a drive/folder/file?
I tried ntfs and ntfs-3g but the result is the same I can mount root but I would like to be able to mount as a user. When I try to mount as a user I get
Unprivileged user can not mount NTFS block devices using the external FUSE library. Either mount the volume as root, or rebuild NTFS-3G with integrated FUSE support and make it setuid root. Please see more information at [URL] Before installing ntfs-3g I was able to mount as a user but there was no rw permission. Any way to mount an ntfs partition as a user without suid as the message said?
(Ubuntu 10.04) I would like to change to change the ownership of one of my storage partitions from root to dad - I am currently reading through as much Ubuntu documentation as I can but the process is slow. If I gksudo nautilus and select the drive, right click/properties/Permissions the owner is set to root. If I try to change the group ownership from root to dad it looks like it momentarily does it but it stays at root.
using Pysdm as a gui for fstab - but so far I have only found out how to allow other users to mount the volume not own it. My fstab entry for this volume reads as /dev/sdb6 /media/backuphd2 ntfs-3g group=dad,users,user,owner 0 0 - it looks to me that in terms of ownership, root = 0 0 Can I find out what the ownership of dad is in terms of numbers (e.g. owner 0 1 or owner 1 1) and then change the fstab entry?
well, i know ther are issues when using rsync to copy files to ntfs partition like file permission blah blah. the thing is, i need to backup my music files periodically onto a ntfs partition from ext4. i really dont care about file permissions or any other stuff. when i use rsync, it should update the mp3 files on my ntfs (external) disc with the new ones.can i give a go with this operation? i have lot more important files on the external disc and i dont want this rsync corrupt or delete those files coz they are highly important files.
There were some files residing on my ext3 file system, using Ubuntu as my linux distribution. Yesterday I formatted the hard drive using a windows install CD, rewriting it with a new NTFS partition. I'm willing to restore my personal files deleted due to this format.
I have reformatted my hard drive with allocation size 64K for a better performance on my WDTV HD media player(dealing with large files). When I mount this drive on Linux, the mount tells me that "blksize=4096".If I keep writing files usinghis default etting(blksize=4096) to my NTFS formatted hard drive, will my WDTV be able to benefit from the performance improvement of 64k allocation size ? Should I try and mount my hard drive with a larger blksize ?I did some research on google but couldn't find an option to increase the blksize when mounting an NTFS pre-formatted drive.
I clone my entire notebook hdd once a month to a USB drive with an identical disk once a month using dd. I would like to find a way to automatically or manually do incremental backups at shorter intervals.
The first problem is that my incremental backup drive is not the same as my full backup drive (which is my clone). Is there some way to backup or copy all files on a document partition modified after a certain date?
The second problem is that my document partition is NTFS-3G. I guess this could be done pretty easily using "dump" if I stored my docs on ext. [I don't because I want to make sure that my docs are accessible from any machine (say in an Internet cafe) should my MacBook die and I need to rip out the hard drive and run to do my homework on another system; that is why I keep my docs on my Vista partition].
After a near miss with my 1.5TB, RAID5 file server, I have decided that I need to backup my data to an external hardrive periodically.I have been looking at rsync but the question I have is: Do I format the external hard drive in EXT3 (the sameas my fileserver) or NTFS?All my main machines are Windoze, but the file server is Ubuntu with a samba share.If my server ever went belly up, I would like to be able to access my data from the external hard drive. I guess if it's in EXT3 then windows would be clueless... I would either need to fix the server pronto or access it with a live CD or something.What would I lose if I used NTFS instead of EXT3? I think I would lose permissions and possibly ownerhsip information - are there any other issues?
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.