Hardware :: Restore NTFS Consistency Without Windows?
Nov 23, 2010
anytime my external drive gets unplugged improperly, or the laptop shutsdown abruptly (overheating/battery), it's NTFS partition is unmountable. gparted informs me to:
Quote:
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?
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 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 occasionally changed HDD filesystem type in Disk Utility from NTFS to Linux Extended . It created an extended partition containing some other partitions instead of NTFS.
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.
How can I achieve file consistency while using mmap? I have a block of code that needs synchronized access across processes (not threads). Using threads, one can regulate access to the mmaped portion of the file by locking it using a mutex. How can I achieve the same using different processes, some of which run in different programs?
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 a mdadm RAID5 configuration on my Ubuntu Server (64-bit). In the first week after I configured the RAID, mdadm itself initiated a consistency check automatically. But after that, it won't check the RAID anymore. (the server isn't on 24/7, normally a few hours a day)I've read a post for manually initiating consistency check with these commands
Code: sudo su - echo check >> /sys/block/md0/sync_action
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 have a sony vaio netbook and installed ubuntu on it some months ago After some weeks windows 7 crashed and stopped booting I tried to recover it but still no success. When i bought it it had one partition only (plus the first one for windows recovery) When I installed ubuntu I partitioned my hard drive at my pleasure as you can see in attached image When I try to recover windows 7 it says it "can't find the windows partition or it's too small" Since 80 gb is not too small, i bet it can't recognized the partition anymore. Can anybody suggest a way to let it recognize my sda2 ? Does it have to have the "C:" label or "Windows something"? (I can only name it C without colons) Does it have to formatted FAT in a particular way ?
My setup is like this: * Installed Windows 7 on primary (SATA) hard drive * Installed Ubuntu 11.04 on secondary (IDE) hard drive
I've worked with Wubi before, and I liked it so much, I decided to go full scale with Ubuntu. However, I think I've missed an option in the setup, because Grub has now taken over my bootloader. I tried reverting to the Windows loader with EasyBCD, but booting Ubuntu from there is impossible, since it doesn't show itself. By the way, I don't really understand EasyBCD, so that makes it even harder. Anyway, what I'm trying to accomplish here, is to get a bootloader which uses Windows as default and Ubuntu as secondary OS. How do I do this?
It generally works fine - a couple of issues which I'm trying to get resolved elsewhere.My question is this: My laptop currently dual-boots Windows 7 and openSUSE, with openSUSE being the default. I have XP as a guest under VB. Is it possible for me to create a system image of the Windows 7 operating system, install W7 as a guest under Linux and then restore the backed-up OS so that I would have W7 as a guest (no more XP) but with the same configuration / apps as the original OS?In summary, this is wat I want to achieve:urrent:Dual-boot openSUSE 11.1 & Windows 7VBOx Guest = Windows XP Desired:Dual-boot openSUSE 11.1 & Windows 7VBox Guest = Windows 7 (identical config as the dual-boot version)
Does Ubuntu have an equivalent to system restore like windows?
I just want to know what the best way is to save everything , as in settings and programs etc. , just in case there's some sort of major failure.
Any ghosting programs that will allow me to save the last known good configuration? or clone the entire drive?
Since I've been using Ubuntu I haven't run into any major screwups like with windows , but there are some times I've installed it and it took a while to get different things working. I don't want to have to go through the whole process again if there's ever a major malfunction.
I'd like open windows to reappear from the taskbar faster. There's always a delay of at least 1 or 2 seconds between clicking on a minimized window and it being restored.
At first I assumed this was a limitation of ubuntu, but I've realised since the delay is the same across the board, regardless of the application, which makes me think it's a deliberate setting.
So I have been trying for the past 24 hours to get Ubuntu installed on my primarily Windows 7 PC, along with the BackTrack Linux OS, so I can explore things dealing with security a bit more, I decided to Dual Boot into Ubuntu and VMware BackTrack for the obvious reason of I am dealing with Viruses/Hacking and such and would rather do that in a safe environment. So after getting Ubuntu installed and working I now have the Grub boot menu along with 5 options 2 for Ubuntu, 2 that slipped my mind, & 1 for Windows (Loader).
My question is, is there any simple way to get the boot menu for Windows back with it just listing "Ubuntu & Windows 7" as two separate options. Sorry for the small level of incompetence its been about 3 years since I was in school getting constantly refreshed with all the info. EDIT: I should probably mention that if I had just done the install on a new HDD instead of an partitioned external I wouldn't of had a problem.
I had windows 7 preinstalled.Then I created 10GB space for ubuntu-9.04.Somebody tried to restore windows 7 completely on my laptop.As a result Now following error occurs
Quote: cannot load grub stage 1.5 When I try to boot with ubuntu 10.04 live cd . Screen goes blank after I select 'try without installing' So I tried 'mandriva 2009 live cd' Then it said 'vesa could not find suitable driver' & then 'xserver is disabled' I press ctrl+alt+f1 to get virtual terminal & login as root fdisk -l shows three partitions of 15GB (recovery),100MB (boot manager) ,284GB (windows 7 partition) respectively. The same configuration I had before installing ubuntu.
have an Intel Core2 Duo system that would dual boot via GRUB between Windows Vista and Fedora 10. I recently attempted to upgrade from Vista to Windows 7, however because the version of Vista I had would not upgrade to Windows7. This has removed the ability to boot into my Fedora 10 installation. After some brief research on the Internet, I created a Live CD of Fedora 12, and booted into that. Accessing the terminal I tried typing:
[liveuser@localhost ~]$ su root [root@localhost liveuser]# grub
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB
[code]....
Error 15: File not found
What is needed so I can restore GRUB on my system and boot into Fedora again?`
I had an older PC on which I had two SATA drives and an IDE one and on the latter I had Windows 7 installed (I kept it on that drive since I'm not using Windows 7 that often, I'm primarily using Debian as my daily go-to OS), but since then I got a new PC which has no connectivity for IDE, so I had to decommision the drive, and before I did that, I backed up the Windows 7 partition (and the second partition which I used mostly for storing sofware and stuff that I wouldn't want to get wiped after a fresh Windows install) using dd.
Not reading up on this on the internet, doing so with the intention to restore the partition image on the same spot on the disk, but since the SSD is larger than the IDE drive, I made the partitions on it bigger, so there's no chance the Windows 7 partition to be on the same spot on the disk. I tried booting into Windows 7 from GRUB after it successfully detected the Win7 install on the second partition on the SSD, but it just leaves me with a blank screen with a blinking white cursor, so I'm guessing it's not going to fly again. So my question to you: is it possible to ressurect the Windows 7 installation, avoiding having to reinstall Windows? (which would severly complicate things, having to backup and wipe the Debian install I have on the first partition...)
So far I've tried this to fix the Windows 7 install by pointing at the right disk "coordinates": [URL] ...., but I can't seem to get it to work, all I get is some error in regards to not being able to detect the disk's geometry (I think it was the number heads I couldn't figure out to input in the command line), so I couldn't fix it.
My problem is that I have installed openSUSE 11.2 on a laptop with Windows 7 already installed. Yast resized my Windows partitions, which seemed to upset Windows as I had to go to my Windows Recovery Disc to restore it. When Windows was restored it did something so that GRUB no longer appeared. So I did a system recovery for openSUSE 11.2 which then removed Windows 7 from GRUB! Now I'm trying to restore Windows 7 and configure GRUB so that Windows and openSUSE will stop fight for boot supremacy and play nice with each other. Here are my Yast2 Boot Loader settings:
Section Management Settings SUSE LINUX (type)image (/dev/sda6, root=dev/disk/by-id/ata-ST9320320AS_5SX4PRAS-part6) Failsafe SUSE LINUX (type)image (/dev/sda6, root=dev/disk/by-id/ata-ST9320320AS_5SX4PRAS-part6) Boot Loader Installation Settings Boot Loader: GRUB Boot Loader Location: Boot from Extended Partition Disk Order: /dev/disk/by-id/ata-ST9320320AS_5SX4PRAS
I'm working directly in an Ubuntu Virtual Machine (VM). Some updates (like kernel) were available at the update manager.If I weren't using a VM, I wouldn't update it since it's a risk to break something. Since it's a VM, you can create a Snapshot or export an appliance and restore if something goes wrong.Suppose I'm not using a VM with a Debian/Ubuntu installation. Is there a install-restore approach that doesn't depend in a VM configuration to restore your system exactly before an upgrade (Like a "Restore Point" in Windows), being easy to restore like a VM appliance?
My friend recently re-installed WinXP on his laptop, but I'm having trouble getting Grub2 working. I followed a guide online, but when I booted it back up again, I got a Grub prompt instead of a boot menu.
I need to use the fixmbr command to fix my windows installation. I'd like to restore grub to its former state after doing so. I have searched how to do this and since my configuration differs slightly, I'd rather get more specific instructions. Right now this is what menu.lst looks like: