Installation :: During A Reboot File System Crashed And Fsck Couldn't Repair
Nov 12, 2010
16GB RAI've been running the Debian-based Proxmox VE on it for six months or so with no problems.Today I loaded Centos 5.5 x64. During a reboot, the file system crashed and fsck couldn't repair.I loaded it again, did all the updates, and loaded my applications. On about the third reboot, it crashed again and fsck couldn't fix it.I don't really know where to begin. I doubt seriously that any hardware has went bad since yesterday.
I have recently come across a Debian installation page for powerpc: viewtopic.php?t=20481. It got me motivated to fix the Debian I have on my iBook G4. I have a Debian Lenny installed on my iBook G4 -- but I have been having some sort of problem (mostly likely due to hardware) which causes the system to crash. After the latest crash, the clock on iBook has been readjusted. For this reason, I cannot reboot Debian completely.
Every time I turn on the computer it begins the booting process but before I get to my desktop I encounter numerous error messages concerning my clock. After either OK'ing or canceling these error messages, I get to my desktop but the system by then is either frozen or else not working at all. Worse, I can't even turn off the computer since the upper right corner of the desktop is completely blank and I have no menu to turn off or reboot the system.
It took this computer to a local Apple store and they ran many different hardware diagnostic tests on it. They concluded there's "technically" nothing wrong with the computer. But they said although the system has successfully passed all hardware tests, there may still remain some complicated but slight hardware glitch/es which the hardware diagnostics could not pick up.
I need to boot in WXP just because the guys at the company don't want to update for Linux drivers in the TS so I can't connect from home unless I do it in Windows XP. But today WXP refuses to boot, when the progress bar appears, the system boots automatically. The WXP CD doesn't help, the repair console doesn't let me run chkdsk or anything (dir C: gives an error about listing addresses or something like that). Is there any way to use fsck or anything in Linux to repair the WXP NTFS partition?
I am travelling so would really appreciate a few tips that should hopefully get my pc running again. (I have internet access via a kiosk, and can burn a disk if necessary, but the smaller the download the better)I have a few ideas that with some help I should be able to fix the partition.1. Is there a simple way to use use grub, to mount all partitions read only and not to fsck them so I can logon in normal user and sudo and hopefully fix the parition?or 2. Download a small version of ubuntu or something that I can burn to CD (my machine cannot boot from usb) so that I can repair the machine.3. Download the ubuntu installer (alternative) and try and reinstall the necesary usr partition?
I tried to update my main computer from Ubuntu 10.0 to 11.04. I wish I could remember what it said, but it crashed during the update. The lights on the keyboard were flashing on and off as well. When I try to boot, all I get is a black screen and flashing lights. The Ubuntu recover also has the same thing. I am going to try a fresh install. For some reason I am leaning to the power manager, but I am no where near sure.
I was working on my RHEL 5.2 workstation yesterday when the OS became flakey. first I noticed that some software that I had running was outputting and error that it was unable to write to log file because permission was denied - I've never seen this output before- it would have been writing to my home dir running under my user name. From an open terminal, i did "ls -al" and saw that many of the permissions the files in my home dir were listed as "????????" some were still "rwxrwxrwx", as well, many files were highlighted in the colors set for links and root privileges.
I tried to start a new terminal, and it failed. then Gnome crashed. When I reset the Machine, I got through grub, and into the startup, and after finding the Volumes, the startup failed with a Kernel panic:
giving several errors- like:
I dont have much experiencie with this stuff, but it looks obvious that somethig like the MBR or wherever the partion information is stored might have been corrupted.
What I dont understand is why I can get into GRUB (its a dual boot Windows Vista, RHEL machine). I'm guessing that this means its not a mechanical problem, because I can get RHEL to begin to boot which i think is failing somewhere around the /etc/rc.d/re.sysinit script, and also can get Vista to bring up the inital windows screen and a mouse pointer on spanning both of my screens which i think means that it must have at least loaded my ati drivers for my dual head radeon 4850. windows hangs there however.
I've tried the RHEL 5.2 rescue disc, and it doesn't recognize any Linux partitions.
I ran the system diagnostics out of the dell bios and it came back with a failed HDD : Error code 0142, but from digging around a bit I've found that this is a very broad diagnosis.
My concern over it being a mechanical problem is that I'm not sure that I want to try to run any further diagnostics, or any of the disk utility programs that i've seen listed here on linuxquestions, as it might damage it further, and there is some data that i would really like to get off this disk.
I got 2 HDDs, I had created LVM by two of them. When I was trying to install quota it was saying it is better if you run fsck first message. When I tried to run fsck. It warned me that I could lose some of my data. So it happened. Actually it is worse: I can't boot my Fedora 11. When I try to run installer in rescue mode, it says no linux partition find. When I try to install (just to see partitions) it shows LVM volumes of hdds are ok but the partition which is / (root)partition seems in unknown format. How can I save my datas? Or can i restore my partitions, LVM?
Is it possible to run fsck on the root file system? My Ubuntu 10.04 seems to be checking it's fs at boot... It shows that the file system is in use and can get severely damaged! Or the only possibility is to run it from a live CD?
I've got a system that has given me problems since day one. It's my oldest kids computer and she seems to open about twenty tabs in Firefox. The computer will freeze and she'll manually hold down the switch to reset. I've instructed her to please stop shutting it down manually but kids never listen.So anyway the thing reboots into initramfs. Seems unable to do anything with the hard disk. Now heres where I run into problems. In the past I've removed the drive and put it into one of my other Ubuntu boxes then ran fsck. fsck always recovers the journel quickly and I pop it back in and all is well.First question or situation if you will. I have tried left and right to get fsck to work from the livecd. If I let the livecd boot up and open a terminal fsck /dev/sda1 comes back with device or resource busy. Apparently the livecd get stuck automounting and causes problems.
I'm really tired of putting this thing in another box. I tried downloading knoppix but it wouldn't burn off for some reason. I've tried booting into rescue mode, but that seems to be missing from the livecd these days?Can I boot into single user mode somehow? Kill off some process that is causing the resource to be busy? I'm thinking once I maybe flagged the drive as dirty and had it clean itself on reboot.. will the livecd pick up on that?ok.. so thats the first situation.. second is upon recently fsck doesn't fix the problem. The drive recovers just fine, but after using the computer for a short while the drive will somehow magically mount as read only.. and then programs will freeze and shutting down is hard to do.
I would like to know if there is a way to do an unattended check on the root file system on my servers, *and* send emails in case of errors.
I know you can schedule a root file system fsck during boot time - but the root file system will be mounted read-only - so if fsck finds any problems - it can't email away a warning, or write the result to a file - or can it?
Essentially I would like my servers to do a self-check of the root file system periodically - and to email me if it fails. I just can't think of a way to get it done.
I fouled up the file system when removing a drive. How do I fix it, or do I need to re-install?
The system boots to the point in the GUI where it checks the file system. It then suggests that I run fsck without the - a and -p options, and the drops to a sheel. I enter the root pwd and then it says: "(Repair fileystem ) 1#" What do I do from there?
I have a 2TB file-system and when the machine reboots it fails the fsck, halts and goes into maintenance mode.Stats: I have have RHEL 5, 2.6.18 kernel, the file-system is an ext3. The file-system is on an EMC AX4 connected with fiber channel HBA.So far my reading tells me this should work because under 2.6 4TB is OK. Any ideas why this fails?If I take it out of the fstab file and mount it manually the boot is OK and the file-system behaves well. I can change the fsck check option in the fstab to 0 but I don't think I should have too. Everything I read says that 2TB ext3 file-systems are OK.
I'm using Ubuntu Lucid and any sudden power loss will usually cause problems with the file system. When I bring the computer back up, Ubuntu will then scan for errors at boot-time and if any errors are found it prompts me to select whether to repair or ignore them. I would much rather have it select the repair option automatically so that I don't have to be physically present.The reason for this is that i have a web server that should come back online automatically after a power loss.
I booted up Ubuntu after a couple weeks of downtime. I think it had just installed updates before I shut it down. It seemed fine. I started updating it, then it started giving me a bunch of errors about the root file system being mounted read only, so I had to reboot. I've heard that it does that if the file system is corrupted or there is a hard disk failure. When I rebooted, it kernel panicked on all but the oldest kernel which did a fsck and rebooted. Then I was able to get back in, but most of my panel applets are gone and cannot be restored, it fails to start x at boot with no errors and I have to start it myself from the command line, it is unable to do updates, samba is gone, whenever I update-grub to add Gentoo to the list, it doesn't stay there and the computer is really slow. I have backed up my home folder to another partition. Do you think I will be able to repair it at all or should I just reinstall?
I'm running an Acer Aspire 1830T-3721 dual-booting Windows 7 with Ubuntu 10.10 (Desktop).
Background: So first I dropped my laptop a couple feet while Windows was running. The laptop immediately shut off and then tried to boot. Booting Windows results in an unfortunate "Windows has encountered a problem communicating with a device connected to your computer. The error can be caused by ... faulty hardware ... Status: Oxc00000e9 Info: An unexpected I/O error has occurred." But Ubuntu booted fine, and could access my NTFS files fine, so I was trying to work on the problem from there. I try a few utilities, looking at the partition table, etc without actually applying any changes.
Then I run a fsck on the drive. It loudly warns me that if I continue on a mounted drive, then I'm going to mess things up. In a moment of stupidity I push on, thinking that surely it would ask me for more configuration, or confirmation, before actually starting. The fsck runs for about 1 second before I Ctrl-C it, running some preliminary stuff and then just starting pass 1.
After this, Ubuntu won't boot anymore. Instead, it hangs just after the init-bottom script runs. If I boot with init=/bin/bash, I can get to a shell, and see that my file system is still there, but not sure what else to do.
I've been running off of a SysRescCD LiveCD, from which I've looked at the drive with testdisk. Testdisk reports that "the hard disk seems too small" while showing me the partition table.
I ran a fsck on the Linux partition; it fixed a bunch of things. There has been no apparent effect on the boot behavior.
I can access all my files, back them up, and reinstall Ubuntu, but I'm hoping there's a better solution, perhaps one that will also help me repair my Windows installation (but I'm looking at one problem at a time here).
I have Ubuntu 9.10 installed on my HP desktop, but I'm running an older version (8.10) on a live CD so I can at least get online to ask for some When I tried to log on earlier it went to a command prompt and said the 'file system check failed' and to run fsck manually. I entered 'sudo fsck' at the prompt and I selected "y" to fix all the bad inodes, when it was complete it told me to restart, I then entered 'sudo restart' at the prompt and it said 'sudo uuid unknown'. I have not installed anything recently and I'm not sure what to do.
I always had the x86 installed on my laptop, but I figured for fedora 12 I would install the i386 version so I would only have to burn 1 disc (desktop needs i386). But the first few days, I couldn't open the firewall from the menu because it always crashed. From terminal no problem. This was with a couple of these standard gnome apps. With the 'autmatic bug reporting tool' I can now see how many times each program crashes. Samba still crashes every time I try to open it, python crashed, firefox loves to crash these days (with a flash open), amsn crashed a couple of times (empathy and telepathy-butterfly packages).Ofcourse I update my system every few days, so I have the latest updates of each package.
OK, so about a week ago or so my Ubuntu 10.04 install no longer recognizes my iPod Touch or Iphone. I have had no luck getting them to work. i REALLY do not want to fresh install Ubuntu. Is there a way I can like repair or restore (a la "Window$") that will fix the OS itself without removing any programs or settings?
I have a server that said a volume was dirty and to check it at reboot, so someone did a shutdown -rF now. Only problem is the other volumes are HUGE and it will take forever, which I cant have happen. The volume with the trouble is non-critical so I could take it offline and check it that way if i can get this to boot quickly. How can I do that if its going to auto check every volume on reboot now?
I have a laptop with 250 GB SATA HD that has the following:
Win7 Pro installed first with sda1=system reserved partition, sda2=C: drive, sda5=separate software application programs to differentiate from Windows' Program Files. Ubuntu 9.10 was installed next (sda6=common swap partition for all Linux distros, sda7=Ubuntu root, sda8=Ubuntu home). Then Opensuse 11.2 was installed with sda12=root and sda13=home. Finally FedoraCore11 was installed with sda9=boot, sda10=root and sda11=home. Ubuntu and Suse have grub loader in their own root partitions.
Suse's grub menu controls all OS's. From this grub menu I can select Windows or any other Linuxes. Suse uses legacy grub because it was installed right after Ubuntu 9.10 which uses (legacy) grub.
Here is opensuse's grub menu:
# Modified by YaST2. Last modification on Wed Mar 31 11:49:28 EST 2010 # THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader # Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader default 1
Somehow I also messed up Windows' boot file and boot partition table. Now I am still trying to use Windows installation CD to repair Windows but it has taken several hours and am still waiting for screen response. I cannot boot into any Linux distro either.
I was trying to upgrade to 10.04 (from 9.10 x86_64)when the update manager crashed without any warning or errors. it happened while the packages were being installed, as a result of which i could no longer login into gnome. so i logged in using the terminal and since i had cleaned the cache before upgrading i ran sudo -i dpkg *.deb (there were a large number of deb files in it, so i thought those were the upgrade packages) but the process couldn't be completed. it said that there were too many errors. after rebooting, gnome doesn't start and i can see lucid development version in the terminal. it also didn't detect my usb keyboard.do i have to reinstall ubuntu.
I was updating my netbook to the 11.04 when it crashed (I thought is was on the grid, what do you think? it wasn't!) Now if I try to do it again I get a notification and then it stops. These are the last few lines of/var/log/dist-upgrade/main.log:
2011-05-07 11:15:47,352 DEBUG entry 'deb [URL] natty main #Third party developers repository' is already set to new dist 2011-05-07 11:15:47,353 DEBUG examining: 'deb [URL] natty partner' 2011-05-07 11:15:47,353 DEBUG entry 'deb [URL] natty partner' is already set to new dist 2011-05-07 11:15:47,354 DEBUG examining: 'deb [URL] maverick main' 2011-05-07 11:15:47,355 DEBUG entry 'deb [URL] natty main' updated to new dist 2011-05-07 11:15:47,405 DEBUG running doUpdate() (showErrors=True) 2011-05-07 11:15:48,260 DEBUG openCache() 2011-05-07 11:15:48,261 DEBUG failed to SystemUnLock() (E:Niet vergrendeld) 2011-05-07 11:15:48,620 DEBUG /openCache(), new cache size 1668 2011-05-07 11:15:48,622 DEBUG needServerMode(): run in 'desktop' mode, (because of key deps for 'ubuntu-desktop') 2011-05-07 11:15:48,623 ERROR No 'ubuntu-minimal' available/downloadable after sources.list rewrite+update 2011-05-07 11:16:13,016 DEBUG abort called 2011-05-07 11:16:13,027 DEBUG openCache() 2011-05-07 11:16:13,028 DEBUG failed to SystemUnLock() (E:Niet vergrendeld) 2011-05-07 11:16:13,440 DEBUG /openCache(), new cache size 1668 2011-05-07 11:16:13,442 DEBUG enabling apt cron job