Hardware :: Help With Testdisk And A Corrupted File System
Aug 1, 2010
I think that my external hard drive was either "unsafely removed" or powered off at a critical moment because when I tried to connect it to any OS Mac, Windows Ubuntu etc. It could not be read. I forget the Windows error message but the Ubuntu one was "mount error 2".In any case I downloaded testdisk asked it to analyze my hd and about half way through it said that the number of heads per cylinder were 128 and it more than likely should be 255 (or the other way around I forget which but I know the numbers are right). So I went and changed the geometry of the external HD such that the number is what testdisk told me was and the result is that my computers can read it but it seems that all the files are missing.
I used photorec and I have recovered all the files (unnamed and disorganized of course)So this leads me to the following question: is there any way I can repair my file system or access the files so that I don't have to go through the 16,000+ files rename and reorganize them again?
I am using Ubuntu since release 8.10, but it is first time when i can`t solve problem
when i tried to create new NTFS partition on unallocated disk space with Paragon Partition Manager (damn, that was stupid). Process was aborted with error (later i finally made it with Gparted without problems)
After reboot mine Ubuntu say:
Code: Errors were found while checking the disk drive for /
Press F to attempt to fix errors, I to ignore, S to skip mounting or M for manual recovery. I pressed "F" but that had help only for a boot and doesn`t really fix error :`(
Later i booted from liveCD and had checked partition (/dev/sdb1; file system - ext3) with gparted (result - aborted fixing process with error) Now i can`t even boot from that partition and even mount it from other linux system.
Recently I installed openSuSE 11.3 x64 on PC with Intel motherboard, 4GB RAM & two of 1TB WD RE3.Of course I set RAID1 during installation After some struggle with GRUB which pointed to wrong devices after installation I started to work. But suddenly I found that file system is corrupted after every reboot (It does not depend on what I use and what the way I use - reboot, shutdown -r now or even just poweroff - everything follow to:
Starting MD Raid mdadm: /dev/md2 has been started with two drives mdadm /dev/md3 has been started with 2 drives mdadm /dev/md4 has been started with 2 drives mdadm /dev/md5 has been started with 2 drives
I'm going to reformat my external drives to get rid of the crud that I've built up. (Crud being incremental backups, windows software, and similar things.)(I also want to get rid of the FAT32 file system that they use.) These are USB 1TB drives. The theory is that data is written to it once, but read back a number of times. (I also burn that data to DVD. If there was software that could organize 5TB of data on DVDs, I'd be using them.)
I"m trying to decide whether to use ReiserFS, Ext4, or another file system. Basically, I want something that:
* Won't get corrupted when the power fails; * Can handle files that are 4+GB in size; * Uses extends --- preferably without user intervention;
The Ext 4 file system of the partition (dev/sdb1) is corrupted. When I seek to repair this using the boot repair tool it is unable to resolve this. I admit that I don't fully understand the problem - except that I'm unable to open and use programs.
before i proceed,I'll like to say that I'm a complete newbie, but enjoying my time with Ubuntu.
Recently, due to hard disk failure, some of the System files got corrupted, I have no idea to which files, but booting Ubuntu from the latest kernel is not working, instead I have to select the previous version from the grub screen.
How to recover these files? Is there a way by which Ubuntu automatically scans and repairs the system files.
System gets corrupted when I abort a kickstart installationI have a simple kickstart installation of CentOS 5.5 (same issue on 5.3)The only user interaction is the partitioning screen.if, in my cfg file, I state :-
# Partition clearing information clearpart --all --initlabel or
I have a virtual ubuntu machine (wubi) under windows 7. Recently, I have been unable to boot ubuntu because the file /ubuntu/winboot/wubildr.mbr appears to be corrupted. Windows 7 boots fine. How can I repair my ubuntu without loosing my files or how can I retrieve my user files before I install ubuntu again?
My friend has a HP Pavilion dv2699ea (dv2500 series - somehow *shrugs*) that has stopped working. It's a Core2Duo laptop with a Nvidia GPU. The unit is no longer under warranty. Problems first started a few days ago with the laptop showing corrupted graphics in Windows and BSOD'ing after a few minutes of use. I tried booting to an Ubuntu LiveCD which worked for a while before succuming and crashing as well. The freezing/graphics corruption/BSODing does seem somewhat heat related (CPU runs at ~95'c under load) however I believe that if it is heat related, then it's already damaged components inside.
Now the system has corrupted graphics on bootup, including booting Ubuntu, and neither operating systems will boot at all (Windows can sometimes get logged in before showing a black screen and becoming unresponsive. Ubuntu just looks like  after X starts). (See comment below for links.)
The fact the problem occurs both under Linux and Windows says to me this is not a driver issue. I have run Memtest which passed fine and none of this seems HDD related as I managed to get ~30GB of data off the system before it finally gave up the ghost.
She has been using it repeatedly without giving it adequate ventilation for years (i.e. on the bed, or on a pillow), so it's my opinion that the system board has probably warped over years of cooling/heating and that's causing this current problem. If that is the case, then I can buy a replacement system board and fit it myself, saving about £200 over the cost of an out-of-warranty HP repair. Of course, I don't want to make her spend £100 on a replacement part for it to be the wrong thing, hence asking for a second opinion here!
Hopefully I've covered all the bases here. I'm a former IT support guy myself, so I've tried all the dumb stuff (driver updates, examining memory dumps from BSODs [one 'unrecoverable hardware error', three relating to the graphics card], etc).
My HP Netbook crashed. The Windows XP system files corrupted and Windows absolutely will not run. I planned on using Ubuntu to recover it, and then install Ubuntu permanently to save it in the future. Before you ask, every other utility has failed on me. UBCD included, which did nothing but provide me with errors upon errors just trying to run it.
The netbook has no CD drive.The only internet around is a wireless signal... my netbook has a broadcom wireless card that is never recognized. I'm using someone elses working laptop to connect online and get things I need, make boot devices, research for help, etc.This laptop has barely any hard drive space. Currently it has 1 gb remaining for doing anything.I have three flash memory devices:2 gb SD card. My netbook refuses to recognize it as a boot device.2 gb flash stick (that's actually an mp3 player). My netbook refuses to recognize it as a boot device.512 mb flash stick. This DOES work as a boot device.
So far my 512 mb flash stick has run Damn Small Linux and Ubuntu Minimal on my netbook. Of course, both are useless because the netbook cannot access internet, nor does either OS recognize my wireless card. This flash stick is, obviously, too small for a regular Ubuntu installation or any other Linux distribution that can help (as far as I know).
So, in order for this to work, I have to be able to do one of the following:
Install Ubuntu from a different OS, like Damn Small Linux or something small enough to boot on my 512 mb stick. Ubuntu can be put on one of the other, larger devices, maybe to be accessed for installation. No idea how to do this, let alone safely.
Install Ubuntu Minimal OFFLINE. This question was asked multiple times on these forums and none were answered. Is there a way to run minimal, and use offline sources for the install?
Get the normal Ubuntu installer under 500 mb. Its overwhelmingly frustrating that I'm just barely unable to do this. I've read of Ubuntu Customization Kit, which ended up being lots of useless files and reams of gobbldegook. I've heard Ubuntu is packed with additional, nonrequisite software which makes it so large. Why can't there be a halfway version between normal and minimal?? Not everyone has internet and not everyone has a CD drive or large USB stick! Is there a way this can be accomplished? Does this version exist?
I have limited time and resources. Before you ask, no, I cannot afford a larger USB stick. I'm pinching pennies right now and there's nowhere near here that sells them anyway.
I got an iPhone 3GS and it seems to give me a weird error when trying to mount it. Here is a screenshot. Here are a few details on the system: * Fresh install (Debian 6.0) netinstall. * Added the ipw2200-bss.fw during install * Installed using eth0 (network cable) using the mirror.isoc.org.il mirror. (possible corrupted file?) * Machine is an IBM ThinkPad T43. The image is to big to fit here, so here is the link: [URL]
I downloaded a game and used wine to install/run it. It plays perfectly fine the first time, until I exit the game and want to run it again. When I try to run the game again, it says that the files are corrupted. how can i fix this?
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report.
Running the requested command in terminal, I get
ubuntu@ubuntu:/var/lib/dpkg/updates$ sudo dpkg --configure -a dpkg: error: failed to open package info file `/var/lib/dpkg/updates/0001' for reading: No such file or directory ubuntu@ubuntu:/var/lib/dpkg/updates$ ls -l
Also tried to move, copy and rename the file and also to delete the updates folder with rmdir. Also tried rm -i * but it seems there is only the one file in the folder. The only strange result is the "total 4" when I run the ls -l command:
I recently installed Suse 11.1 from the Live CD on an older PC. Suddenly, when booting up yesterday, the system announced corrupted IPtables and didn't load KDE. After login, I tried commands like KDE, run KDE but the bash didn't understand the commands.
So I booted from the live CD, but I can't find an option in the install menu to repair the existing installation. The help in the boot-up screen claims there should be an install option, but it doesn't show it at that point, only after KDE has started from the Live CD.
Since I've already made some changes (newer firefox, downloaded thunderbird etc.), I would like to keep and repair the current installation, instead of a new installation.
I don't however understand enough about the automatic partitions I'm being offered in the installation menu to know what to choose to keep the existing files. I did choose the offered automatic partitions the first time, and have now several partitions, home swap and so on.
Second question: While 11.1 was still running nicely, I could not find the option to upgrade to 11.2 in the Yast menu (I don't know any batch commands, so I only use Yast for installation). Looking at the download sites on opensuse on the internet, I saw an update option, but when I tried to add that URL to the Yast repository, it somehow didn't work. I also didn't see a nicely packed .rpm or similar update package.
Third problem: I downloaded a newer version of Firefox and Thunderbird and after some tries got Yast software repositories to install them. But the Avira antivir tar.gz package I downloaded, did not appear on the Yast repository manager. Doubleclicking to Ark didn't work, and when I went to console and tried to run the install file in the zipped package, it wanted parameters, and I didn't know what to answer.
I'm COMPLETELY new to linux. I"m running Ubuntu 9.10 and TRYING to install Devede. I have tried the Terminal, Synaptic Manger, and the Add/Remove and still keep getting this same error. I'm running a regular 32 bit Pentium 3 process to test if I like Linux or not. this is what it says: E: /var/cache/apt/archives/libavcodec-extra-52_4%3a0.5+svn20090706-2ubuntu3_i386.deb: corrupted filesystem tarfile - corrupted package archive this is not a DUAL boot computer either.
Nautilus File Manager search in a directory seems to be corrupted. It's glued to a previous search and you cannot start a new one. Anybody know how to repair?Clicking the magnifying glass goes to this directory (it reads Search for ""under the Title Bar).
The app in linux server(CentOS 5.3) uses files from a mount directory(Shared windows directory in read only mode). At the same time, the same file might be edited by user in windows env. We were assuming that as the windows folders are mounted in read-only mode in linux so any change done by user in windows environment would be fail safe i.e. can be safely committed to the file. But when the file concurrently used both by Linux and as well by windows, at some point linux does not release the file handles and the files get corrupted(deleted too). Earlier we were using win2k server and this step was hardly reproducible and win2k was releasing file handles quickly. But with centos, we really had touch time managing files.
I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.
"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"
Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).
My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-
The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7
Have just assembled a new computer and thought I would install the 64 bit version of openSUSE 11.2 in a "Windows free zone". After a hiccup or two I have managed to get a system of sorts running but on trying to copy files from my old computer(via a memory stick) it tells me that Vfat is an unknown file system.On my old computer I am running 32 bit openSUSE 11.2 as a dual boot system with Windows XP and have no problems moving files between the two different file systems.Is it possible to get a 64 bit file system to read 32 bit file system drives and if so how do I do it?
I'm new to Ubuntu and linux.I've altered the partition on my hard drive. Won't boot into windows. Do not have internet. Heard that testdisk should help. I have downloaded some testdisk files to a usb flash drive via another computer.Have ubuntu 9.10 DVD, so can use this.Step by step, how do I get testdisk to work?
Recently upon running the palimpsest (in my 9.10 KK) test, i was shocked to be informed of some bad sectors on my toshiba laptop's HDD.i recall someone on this forum once suggested that the most reliable test for checking HDD consistency is the Testdisk application hosted on wikipedia etc.my problem is this- although i have downloaded Testdisk (through wikipedia) i dont really know what to do with it. i.e. how do i go about generating a report which will tell me the number of bad sectors etc and if they can be isolated.
when i ran the application all i could see were various leads about recovering an already corrupted hard drive or an accidently lost partition.so all i want to do is for Testdisk to analyse my HDD and tell me how healthy it is. but i can't seem to find the right steps to do this !
I recently installed windows 7 next to my ubuntu installation, I had to mess with partitions a bit to get it all to work, now I finally made it work, I can boot nicely from booth of them, but gparted doesn't show my partitions anymore (just says unallocated space), and when I try TestDisk to rewrite my partition table it says structure bad when I configure it as I like it.
Why is this not possible? Why is this structure bad, everything works ok atm, except that I can't change partitions or create new partitions because they're not recognized.
Is it possible or wise to use a program like 'testdisk' running on an Ubuntu 32-bit system to rewrite the MBR of a Windows 64-bit system hard drive? I am only asking because I am cleaning someone's HDD after they got infected with a Trojan called "Dos/Alureon.A. They were worried that they might have to do a re-partition and clean install.
I am brand new at Linux and there are still lots of things I have to learn.And, therefore, I prefer to ask.(A friend of mine once said there were more dumb people than persons who ask.)Well, following suggestion from devils casper in a previous thread I installed TestDisk in my Fedora 12 system through the add/remove software tool.Now, I do not see how to launch the program.There is no call in any of the applications menus.