Ubuntu :: Disable Filesystem Check After System Crash
Aug 22, 2011
how can I disable the automatic file system check after power outages or system crashes? The check sometimes prompts for a key (ignore, repair etc.) but the panels do not have a keyboard.
View 9 Replies
ADVERTISEMENT
Jul 5, 2015
A few days ago I upgraded my debian sid system, and since then systemd does a filesystem check on every boot which takes over two minutes, disobeying the existing settings I had. How can I set systemd to do a filesystem check only once every a set number of mounts, like I had set up before the upgrade?
View 5 Replies
View Related
May 18, 2011
I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:
*/dev/sda1 contains file system w/errors, check forced it then goes on to say..
*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message
*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage
*Would you like to continue (y/n)
Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.
Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?
View 2 Replies
View Related
Nov 19, 2010
For example we have a PC with Linux and, let's say, ext4. It is connected to another PC with Linux and Samba-shared dir.First PC mounted shared dir of the second one. So it's in the filesystem, for example in "/mnt/000/". What will happen if I unplug the net cable from first PC? Will ext4 on the first PC crash so I'll have to perform fsck? I know that hot unpluging of mounted HDD probably will make filesystem read-only available and generally damaged.
View 1 Replies
View Related
Feb 1, 2011
Running Maverick on my desktop. Had a strange happening sometime last night. I generally leave the computer on all the time. When I got up this morning, I saw that my computer had rebooted and it said that it wanted to check for disc errors and that there was a problem with /home It checked until about 70%, at which point it stopped advancing for a half hour, so I did a hard reboot and choose "I"gnore when I got the message again.
The computer booted fine. The disc manager gui seemed to think my hard drive is fine, but I didn't do the full, slow check. My hard drive is about a month old. When I opened "open office" there as a document to recover, indicating that the thing did in fact crash sometime last night. The next odd thing- my "Opera" web browser doesn't open the browser. The command it is calling up is "/usr/bin/opera %U" Doesn't do anything, nothing shows up as running in the status monitor. Rebooting doesn't change anything with opera, and I still get the request to do a disc scan and to try to fix errors.
I uninstalled and reinstalled the latest version of opera. I uninstalled that and installed an earlier version of opera. Then, I reinstalled the latest version of opera. In terminal, typing "opera" gives me the message: Could not initialize Opera. Typing "sudo opera" opens Opera. Using the icon to open opera still points to the same place, and still doesn't work. So, here are my questions:
1- How do I get a logfile of the crash that happened last night?
2- How do I figure out if there is a problem with the /home folder or a problem otherwise with my hard disc? How do I fix that?
3- Where would I point the "opera" icon so it opens normally?
4- Is there any way to recover the information that I previously had in Opera, such as passwords? I used "my opera" to recover my latest bookmarks, but that doesn't save passwords. I'm thinking maybe those files are still around, even though I uninstalled and reinstalled opera.
View 3 Replies
View Related
Jan 23, 2010
I have got arch Linux dual booting with Win XP on my laptop. I have been getting a filesystem check error since yesterday and am unable to start Arch. Upon googling and searching the arch fora, I came upon some advice which I tried which has not worked yet. Hence the new post.Basically, I was attempting to print something off and accidentally chose a printer that was not connected to my laptop. After half a minute or so, it repeatedly started giving me notifications that the printer was not connected...in excess of 200 messages that the printer was not working which continued to pop up despite me canceling the print job. The whole system got really sluggish (for the first time in the last year) and I had to restart the laptop upon which the boot messages appear. It gets to the point where its loading the various filesystems. It mounts root and says it fine.
I tried fsck which tells me that home and boot are still mounted.So I booted up using an Ubuntu Live CD and checked and repaired each file system which it successfully did. Upon rebooting into Arch, I am getting the same message.I have not installed anything new and had upgraded the whole system a few days before the problem started.
View 13 Replies
View Related
Mar 28, 2011
Code:
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
/dev/sda1 is mounted.
WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.
Do you really want to continue (y/n)?
I don't want to cause damage, but I'd rather not go into BIOS.
View 6 Replies
View Related
Mar 24, 2010
my Fedora 12 does fsck on boot time to time and sometimes it's really annoying having to wait for the check to complete. In Linux Mint pressing <Esc> cancelled the check; however in Fedora this does not work (nor does Ctrl+C nor anything other I've tried). What is the key to cancel the check in Fedora?
View 11 Replies
View Related
Jul 6, 2010
write a script that will check all filesystems to see if they are read-only.
I have come up with ...
df -h > /tmp/mount.lst
awk '{print $6}' /tmp/mount.lst > /tmp/mounted_systems.lst
This gives me ..
Mounted
/
/boot
/dev/shm
/proc
So now I have ..
How do I automatically get rid of the 'Mounted' header in my /tmp/mounted_systems.lst file ?
Also, I don't want to check the /proc filesystem, so how do I remove that within the script too.
Then I will run ...
while read dir
do
touch $dir/read_only_test
done < /tmp/mounted_systems.lst
If the filesystem is read only, I want that filesystem name to be listed into another file.
View 3 Replies
View Related
Apr 8, 2011
This is a Natty system. I ran update manager to update to the latest releases for Natty, and it crashed. I ran it again and it told me it could only do a partial upgrade, and that I should do apt-get install -f. I did that, but apt-get told me the system was locked by another program. Not to worry I thought, I'll just reboot. So I did that, and I think Update-Manager got a lot further through the process than I thought, because my system is borked. It'll boot into Gnome, but when booting up the Boot Screen no longer shows the pretty Ubuntu Logo, but rather a line of text that says "Ubuntu 11.04".
When it gets into Gnome the keyboard and mouse more or less don't work (although the keyboard based Fn+9 and Fn+10 brightness control still works) and there is no desktop background. After about 30 seconds something crashes but I can't click on it to find out what. Going into the recovery console doesn't help either. The latest Kernel (2.6.38-7) stops moving forwards after "Begin:Running /scripts/init-bottom...done". has occurred for the second time. Luckily I still have the previous kernel, which gets to the same spot and then tells me:
"init: udevtrigger main process (390) terminated with status 1" and then "init: udevtrigger post-stop process (394) terminated with status 1".
I then get the message
"The disc drive for / is not ready yet or not present. Continue to wait; or Press S to skip mounting or M for manual recovery". S goes back to "Begin:Running /scripts/init-bottom...done" a second time, M brings up the message:
"Root filesystem check failed. A maintenance shell will now be started"
and then it asks for the root password and gives me a terminal. Everything seems to be there, but apt-get and dpkg both can't do anything as the filesystem is read only.
View 9 Replies
View Related
Feb 5, 2010
you can refer to this ubuntu thread for context, but i'll sum up what i'm trying to do here to spare the reading. basically i want to be able to schedule a filesystem check with automatic repairs at the next boot time. but i'm not sure if this will try to automatically fix errors which is what i want to do. the reason i want to do this is because i experienced a power outage (the machine was not plugged into an UPS) and i want to make sure everything is ok.
View 2 Replies
View Related
Mar 12, 2010
How to diasable filesystem checks on boot?
View 9 Replies
View Related
Apr 4, 2011
Looking at the processes running I have:
21575 ? S 0:00 /usr/lib/gvfs/gvfsd
21576 ? S 0:00 /usr/lib/gvfs/gvfs-gdu-volume-monitor
21580 ? S 0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
[code]....
View 4 Replies
View Related
Apr 3, 2011
having a slow internet connection, I bought the all maverick repository on DVDs, copied the files on a usb drive and modified the apt sources file to consider the local repository only:
Code:
# deb file:/var/www/ubuntu_local/ ./
deb file:/var/www/maverick/dvd1/ maverick main universe restricted multiverse
deb file:/var/www/maverick/dvd2/ maverick main universe restricted multiverse
deb file:/var/www/maverick/dvd3/ maverick main universe restricted multiverse
[code]....
Even though I am reasonably sure it is safe, this local repository is not authenticated and I can only install package through the command line or synaptic, the Ubuntu Software Centre giving an error message "Requires installation of untrusted packages"...I thus would like to disable the apt authentication check for this local repository.
View 2 Replies
View Related
Apr 28, 2011
I'm a bit of a Linux newbie, but I did manage to set up the following RAID-5 system:1x 500GB system drive on ATA IDE4x 1TB SATA drives in software RAIDLinux = Fedora 13So here's what happened. I set up the system to send me an email every time the mdadm stat file changed, so it would send me emails when in periodically ran a self-test. I was away and noticed that the self-test was going incredibly slow (usually took 8 hours...was on course for taking 250 days!) A colleague decided to just reboot the system.Afterwards, the system would not boot and, while all 5 drives were connected, would stop at an endlessly scrolling error message of: Code: ata4.01: exception Emask 0x0 SErr 0x0 action 0x0
ata4.01: BMDMA stay 0x64
ata4.01: failed command: READ DMA
ata4.01: (a bunch of hex numbers)
[code]....
View 3 Replies
View Related
Jan 19, 2010
I have a custom modified Ubuntu LiveCD. Sometimes when I boot from the CD, after it detects the HDDs it starts automatically scanning and repairing them even if the partitions are windows partitions. What do I need to modify to make it not scan/repair any partitions/drives at boot?
View 2 Replies
View Related
Jul 19, 2010
I'm trying to partition/format a new external hard disk for backup and have run into a snag that now prevents my computer from booting. In the description below of what happened please bear with me as I do my best to remember the commands and screen output (which for obvious reasons I don't have in front of me).As root.The disk was subsequently writable. However, I then realized that the default start and end cylinders had resulted in a very small partition apparently occupying some free cyclinders in the beginning of the disk.
So next I ran fdisk again, deleting the sdc4 I had just created and creating a new one instead, this time using the cylinders at the end of the disk. When I exited fdisk I got a message something like that the new tables can only be read upon a subsequent reboot. I ran mkfs again, but not e2label. Indeed using /sbin/fdisk -l, sdc4 still had the small size as defined initially. So I rebooted.
Now when it comes up I get something like "checking filesystems. fchk.ext3: can't resolve 'LABEL=/media/LaCie2TB1'" and am prompted to login as root to correct. I tried to simply delete sdc4 again but that didn't help. I also tried to edit /etc/fstab (using vi, which I don't know at all) but it kept telling me that this is a read only file, even though permissions are rw for root.Can anyone out there help me so that (1) I can boot into my computer, and (2) I can correctly partition and format the hard drive??
View 2 Replies
View Related
Jan 21, 2010
I did the "yum update" today, the process was doing well but, the follow error appears:
Transaction Check Error:
installing package kernel-PAEdebug-2.6.31.12-174.2.3.fc12.i686 needs 9MB on the /boot filesystem
Look:
Code:
Transaction Summary
==================================
Install 10 Package(s)
Upgrade 33 Package(s)
Remove 1 Package(s)
[code]....
View 6 Replies
View Related
Aug 30, 2010
I use release 11.2 and this one works very well. I try new release 11.3 and my system crash when I wont to start system on runlevel 5. There is Sempron 2 GHz CPU and nvidia fx550 graphics card. Keyboard PS2 does not responds but mouse on USB work well. When I start "safe" boot option system work well. What I can to do ? What I must change
View 4 Replies
View Related
Aug 6, 2010
Is there a way to disable disk checks in a mounted usb drive? I have a 500GB usb mounted drive in my CentOS machine and everytime I reboot my system, it does disk checks which is a long painstaking process.
/mnt/sdb1
View 4 Replies
View Related
May 1, 2011
I just updated my ubuntu to 11.4 and restart but it stop on "Checking battery state. [OK]" line while start up. However it starts in recovery mode -> low graphical configuration mode. Is there any solution for this?
View 4 Replies
View Related
Jan 28, 2010
i was recently trying to boot my fedora 12 installation of a usb device today when i went to boot it i enter my LUKS pasfrase and it stops with an error mesege:
Code:
***an error occured during the filesystem check
***droping you to a shell; the system will rebot
[code]...
View 1 Replies
View Related
Mar 12, 2010
After a system crash while watching a video with vlc and downloading somthing, i can't reboot my system.In the secure mode i get this informations[4.774621] device-mapper: dm-rai45: installized v0.2594b[ 1166.832045] ACPI: EC: non-query interrupt recived, switching to interrupt modeNow the scree is black (20 minnutes later
View 1 Replies
View Related
Mar 24, 2011
if my PC lags a bit it crashes!But I wouldn't think it would be an ordinary crash.Earlier today I installed Xubuntu 10.04onto my PC. Well, The installation was smooth and I was able to get it installed. Then all of a sudden when I was looking aroundmy PC got caught in a little lag.. And when it lagged this black screen came up and it said
"Starting Common Unix System; cupsd [ OK ] "
"Checking Battery State [ OK ] "
Then That screen disappears and these Straight gray bars come up and they cover the top of my screenAnd they just blink! I figured it might be a glitch so I went to go eat dinner.About 20-30 minutes later I come back and there still blinking.I tryed rebooting the system and trying again and it got cought in a little lag and the
"Starting Common Unix System; cupsd [ OK ] "
"Checking Battery State [ OK ] "
Came back up and it disappeared again and the bars came back!I tried reinstalling Xubuntu 10.04 but it came out the same result.I tried updating the system cause when I installed it it said I had 164 updates waiting.
_PC INFO_
Dell Dimension 2300 with Xubuntu 10.04 as the operating system
256mbs of RAM
[code]....
View 2 Replies
View Related
Mar 19, 2010
Just wanted to share this with anyone wanting to know.If your headless server crashes, GRUB2 (at least on Ubuntu Server) is designed to force the GRUB menu to load up next time it starts up, which means you are locked out of SSH until someone physically makes a kernel selection on the PC.To prevent this do the following change to your grub.cfg file.#nano /boot/grub/grub.cfg
I was looking for a solution for this for a long time and found no hel with google. Let me know if there is a better way.I aware this file will get overwritten and need reediting if the Kernel gets updated.
View 1 Replies
View Related
Feb 3, 2010
System specs:
Compaq presario 430-EB
4 GIG RAM
320 GIG storage
AMD athlon dual core x64 2.1 mghz processor
Nvidia 8200 M
I recently decided to partition my laptop wholly to ubuntu, so i installed ubuntu without any problem, then i logged on for the first time and i installed the driver to my monitor (nvidia) and i did sudo apt-get update which made me get all sorts of updates, untill the updating stopped at about halfway asking me to reboot the system.
I rebooted the system, but no matter what i do, if i run it in recovery mode or not, i always get stuck on this piece of code on a black screen:
Code:
fsck from util-linux-ng 2.16
/dev/sda1: clean, 148123/18841600 files, 1880615/75358899 blocks
init: udevtrigger main process (540) terminated with status 1
init: udevtrigger post-stop process (541) terminated with status 1
init: udevmonitor main process (539) killed by TERM signal
init: networking main process (544) terminated with status 1
Also, please no answers like "hav u tried liek reinstalling ubuntu lolz?" because i wouldn't bother posting this thread if i considered doing that -_-'
View 3 Replies
View Related
May 4, 2010
It seems that watching an embedded video crashes my system every once in a while. Is there any way to figure out what is causing the crashes or fix it?
Some extra info - The cpu usage jumps to 45-50 percent when a embedded video is playing.
View 1 Replies
View Related
Nov 29, 2010
I seem to be having a problem on the new Kernel (2.6.35-23) with the system randomly freezing.
I have installed a number of things in recent days leading up to this problem, but when i boot with the old kernel i don't seem to have any issues. From this i am guessing its the new kernel.
The freezing seems (although i am not sure) to be worse when Rhythmbox is running. When it happens everything freezes, the playing song skips, replaying the same one second of music over and over. All the hotkeys stop and the mouse cursor stops responding.
I have seen people talking about system logs to look at system crashes but i don't know how to show those. I also doubt my ability to interpret them.
View 9 Replies
View Related
Apr 17, 2011
I am running Ubuntu 10.10 (amd64) on an Intel Atom 525 motherboard. I have a 5-bay SATA enclosure connected to my system through a Syba SD-SATA2-2E2I PCI card (uses the SIL3124 chipset). Under small to moderate load (transfer speed: ~25 Mb/sec), this setup works perfectly. Under heavy load (transfer speed: ~40 - 70 Mb/sec), the system crashes. By crash I mean I loose SSH connectivity, I can't ping the system, etc. The only solution is a hard reset. Initially, I thought this was a SAMBA problem so I logged into the system and tried doing a copy directly from the SATA enclosure to the system disk (connected directly to the motherboard). After 100 GB copied (at ~75 Mb/sec), the system crashed. My question: I am fairly new to Linux and Ubuntu. How would I go about diagnosing this problem?
View 5 Replies
View Related
May 2, 2011
After my computer crashed due to an electrical failure in the house, every time I try to boot up (I'm using Ubuntu 10.04) I get the following error:
mount: mounting /proc on /root/proc/ failed: No such file or directory Target filesystem doesn't have requested /sbin/init. No init found. Try passing init= bootarg.
I'm then put into initramfs
I assume that this is because the system wasn't unmounted properly but I haven't been able to find the best way to solve this problem.
View 2 Replies
View Related