Debian :: How To Continue Booting Debian After Fsck Is Failed?
Dec 31, 2010
I have bunch of partitions on my Debian server installation, so I was experimenting with partitions and saw that is one partition fails fsck on booting time, system waits for root password or CTRL+D key combination. The problem is that my Debian machine is headless and I use only SSH to it. So if fsck fails, I can't to login to SSH (off course, because it is not loaded at this time). So I need to go with monitor and keyboard to machine and press CTRL+D.One option is to disable disk checking at startup by changing fstab file. I don't like this option. Is there any possibility to auto continue booting Debian machine ?
View 2 Replies
ADVERTISEMENT
Dec 30, 2010
I've just migrated to Debian from Ubuntu on my server. So my first post here. I've had some problems and questions when installing and configuring Debian, now everything seems very smooth, but still I can't find answer to one question. My machine is headless and I allways use SSH to it. I have several partitions on machine so if one of them fails on booting time with fsck, I need to press CTRL+D combination to continue. In that case I need to go to the machine with monitor and keyboard and press that combination. Is there any way to automatically continue for example after 30 seconds ? Then I could log in to the system and check log files what is wrong. How can I do that ?
View 2 Replies
View Related
Jul 22, 2010
Booting up fails with code 126. I am greeted with the following error everyime I start up.
Checking root file system.../etc/rcS.d/S10checkroot.sh: line 174: /sbin/logsave: Permission denied
failed (code 126).
It then says an automatic fsck failed and a manual fsck must be performed, then the system restarted. I have done a manual fsck and it did nothing. I booted up the system with knoppix and did it, nothing.
View 1 Replies
View Related
Jul 18, 2015
I have Debian Wheezy on my Dell Vostro 1710.
There is a fsck scan happening every 35 mounts on my laptop (i.e. when I boot)
It was fine until a few weeks ago when it started to fail.
Here is the error message :
What should I do to fix that ? I use my laptop to go on the Internet and I don't remember modifying/installing anything that could make this happen.
I found the answer : [URL] ....
I just had to type the root password and run fsck manually as follows : fsck /dev/sda7.
View 0 Replies
View Related
Feb 19, 2013
My system has stopped to boot at all...
Code: Select alldone.
Setting parameters of disc: (none).
Setting preliminary keymap...done.
Activating swap...done.
Checking root file system...fsck from util-linux-ng 2.17.2
[Code] ....
An automatic file system check (fsck) of the root filesystem failed. A manual fsck must be performed, then the system restarted. The fsck should be performed in maintenance mode with the root filesystem mounted in read-only mode. ... failed!
The root filesystem is currently mounted in read-only mode. A maintenance shell will now be started. After performing system maintenance, press CONTROL-D to terminate the maintenance shell and restart the system. ... (warning).
Give root password for maintenance
(or type Control-D to continue): _
For now, I just don't know what I should to do next to my system has started to work again...
View 14 Replies
View Related
Feb 1, 2010
I have debian testing installed on my system. I have a separate home partition which i shared with Pardus2009 which i installed later on a different partition.
Now pardus boots fine without errors, but debian says "filesystem check failed" because last mount time of / is in future. it gives a maintenance shell and after a manual fsck corrects this problem, debian reboots fine, but then says theres a problem with the /home partition (but this can be ignored)
View 2 Replies
View Related
Jan 7, 2011
Today for strange reason, one of my Ubuntu 64 bit server Linux VM failed to start ? it stopped in the FSCK scan status with the error as attached. few days back I've added new hard disk successfully and format it as sdb5 without problem.
View 3 Replies
View Related
Jun 2, 2010
I am running Debian squeeze and I am trying to install hplip-3.10.5 so I can use my new HP Photosmart C4750 printer.I downloaded the automatic installer and ran it and it gave me the following error message:
RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'cups-image (CUPS image - CUPS image development files)' is still missing.
error: Installation cannot continue without this dependency.
error: Please manually install this dependency and re-run this installer.
So I ran apt-get install cups-image and got the following:
raygo75@RayGo1:~/Desktop$ sudo apt-get install cups-image
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package cups-image
does the package "cups-image" exist? and if it does were can I find it. I have looked to no avail. I have posted a question on hplip seeing as that is were I got the script from.
View 12 Replies
View Related
Nov 28, 2015
I am trying to instsal Gnome. While installing, 'gnome-getting-started-docs' fails. This is not a critical package, and I would like to see gnome installation / setup continue.
Is it possible with some command line options? I've tried 'apt-get -f install' 'apt-get -m install gnome' and various combinations thereof.
(Error I see is 'dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt).
View 4 Replies
View Related
Apr 21, 2011
I was upgrading from lenny to squeeze. At the apt-get dist-upgrade step, at some point (after upgrading and configuring) it tried to create a new certificate for my mail server but creation of the certificate failed, dpkg reported an error and the whole process exited with error. So I rebooted the machine and issued again apt-get dist-upgrade but now the certificate was created successfully . After that it upgraded mysql-client and the process finished.
But I don't know if configuring of the upgraded packages has stopped at the point where dpkg stopped. I suppose so, because very few packages were configured at that point. Is the solution to run dpkg-reconfingure -a (or -u ?) or dpkg --confingure -a or something else ? (dpkg has the PACKAGE STATES)
dpkg --configure --pending gives me no package for configuration.PS: At least I hope that all packages were upgraded and a few were not configured. Is there a way to confirm that all packages were upgraded ?
View 2 Replies
View Related
Nov 27, 2010
I want to be able to run fsck at, or near, shutdown at the end of the day, and not have to wait for it when booting (important now that I have 1TB drives!). As far as I can tell, the only way to arrange to run fsck on the root partition is if it is unmounted and I believe that only occurs at reboot time.
So, I thought of using the /forcefsck file that, when exists, will force file system check upon the next boot. So I envision having a script that touches that file, or issues the right shutdown command, then lets the system reboot and thus forcing a fsck of the root partition. However, I then want the system to turn right around and then shutdown, so that when I cold boot the system in the morning, I won't see the fsck run at that time, ever.
So I think this boils down to being able to run a one-time init script or something like that. Is there an established way or idiom for running an init script only one time? I know I can create a non-standard init-script that looks for a special file like is done for /forcefsck, and only shutdown if that file is seen, but surely someone else has already come up with a canned solution/init-script to what I want to do.
View 5 Replies
View Related
Jun 25, 2015
I use debian jessie 8.1 and when i boot it, pc start fsck block clean etc.. but the fsck control is activated every on boot?
View 14 Replies
View Related
Apr 22, 2016
How to run a fsck on a mounted drive? I attempted unmount and it said no. I suddenly got an error 4 and trying to run a check, and it aborts with can't cause mounted.
View 10 Replies
View Related
Nov 14, 2015
I am running Wheezy 7.9 (32 bit) and using Gnome Classic desktop. I have recently had several issues with system "crashes" and such, see some of my recent posts, and for now things seem to be working okay. As part of my attempts to "fix" the problems I looked at the hard drive using the SMART disk utility, and also ran "smartctl". The SMART utility reports that there are 3 bad sectors on the drive. When I run fsck, from a live CD, it does not report finding bad sectors. So why would fsck not find something that is reported by smartctl? Which one should I believe?
As a precaution I am now making daily backups of my /home directory and purchased a new HD just in case. Have not yet installed the new HD but at least I am prepared.
View 10 Replies
View Related
Mar 6, 2010
I had (and still do) a working dual-boot XP/Karmic (GRUB version 1.97 beta4). I shrank the Ubuntu partition and set up partitions and installed Debian 5.04. When I got to the point of installing GRUB, I told Debian to install grub to MBR. On rebooting, Ubuntu was not an option on the NEW (looked different) grub menu.Maybe it was GRUB2? Could boot to either XP or Debian though.
Thought easiest thing was to reinstall Ubuntu since it seems to "see" other OS's more reliably. So I did, and installed GRUB again during its install to MBR. Then, all three were in the GRUB menu (version 1.97 beta4 again), but when tried booting to Debian, got an error (forget the wording), but think it was because the partitions got renumbered when installing Ubuntu.
SO, reinstalled Debian, reformatting the partitions but not deleting them first so the numbering stayed the same. When got to the part for installing GRUB, I told it to skip (I got some kind of error that said "Install failed. This is a fatal error. You will have to boot with an external device..."), hoping now the current GRUB would work.
Now, all three were on the GRUB menu, but when I tried to boot Debian, I got "no such device" and a list of numbers/letters after it. And "press any key to continue", which takes you back to the GRUB menu (version 1.97 beta4, by the way).
O.K., did sudo update-grub in ubuntu and rebooted. Now, Debian 5.04 shows as last entry in GRUB, and choosing it starts a boot, which hangs at "Begin: Waiting for root file system....".
Waiting long enough at the "Waiting for root file system..." hang results in a series of notifications:
WARNING bootdevice may be renamed. Try root=dev/hda3
Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline)
-Check rootdelay= (did the system wait long enough?)
-Check root= (did the sytem wait for the right device?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/sda3 does not exist. Dropping to a shell!
In Gparted, the partition with Debian root is hdc3, although on the GRUB menu it's listed as /dev/sda3. However, in Gparted the Windows partition is hdc1 and on GRUB it's /dev/sda1, and it boots fine.....
Is my Debian install just borked? Did telling it to skip installing a bootloader (I got some kind of error that said "Install failed. This is a fatal error. You will have to boot with an external device..." ruin it?
If skipping the bootloader install did ruin it, how do you install Debian without borking your current GRUB? That's what happened the first time.
View 5 Replies
View Related
Jun 24, 2011
Upon booting my LVM wheezy setup, I get
fsck.ext3: Unable to resolve 'UUID=theUUID'
where "theUUID" (without the quotes) is the UUID
I believe this is caused by me trying to get lvm to use the external /boot because when I had unmounted the external /boot, it was creating a /boot in root. So, I booted a live cd and mounted the external /boot where /boot in the root volume is supposed to be. Basically, I think the problem is that I need to make my /boot (which is the only ext3 partition in the entire system and I want it that way) "relate itself" to the lvm root so that it boots into the system. As mentioned earlier, in the live CD, I made the external /boot mount itself in the root's /boot but I don't know how to tell the system to do this on its own while booting without my assistance. I chrooted from the live cd which involved a lot of tedious stuff but basically the important stuff I did were:
grub-install /dev/sdb
update-grub
update-initramfs -u
P.S.I get the issue in the Subject of this topic by telling tune2fs to mark the external /boot, lvm / and /home partitions as "dirty."
View 2 Replies
View Related
Jan 11, 2010
I would like to do :
Code:
Code:
Warning: Partition 5 does not end on cylinder boundary.
How can this be possible at reboot (badblocks) ?
(I cannot gparted nor usb because nothing is working) it should fix itself linux (without usb live bootable)
View 2 Replies
View Related
Mar 7, 2010
Well, I noticed this by accident while trying to use dash for the rc.d scripts. I messed up and forgot to link it to /bin, and as such, the system failed to boot properly and would not respond. I rebooted (forcefully), but this messed up the filesystem. I booted the sw64 install DVD and tried to mount it, and it would not mount.
I tried to run fsck on it, but it said that fsck.jfs in NOT available. Eventually I booted my old slamd64 12.1 DVD and it had fsck.jfs. Any reason why this rather useful program was removed ? Or is it a bug, or is my DVD messed up? I guess I should just keep around another live CD, I do keep knoppix, but it boots so slow and I don't understand it at all, it's so hard to do anything with it.
View 5 Replies
View Related
Jul 13, 2009
I have already started a thred here about RAID failure: RAID5 failed, system drops into limited single mode - openSUSE Forums
I was not able to boot the system until I commented /dev/md0 in fstab
Why is it so?
This is just a files sharing partition, it is not a system partition.
Is there any option to always ignore any errors and continue boot?
View 5 Replies
View Related
Aug 27, 2010
How can I change the automatic fsck execution at boot time to be above 30 boots? I reboot the system sometimes 3 to 4 times a day. Intel 3 GHz, tower, i386 lenny vmlinuz-2.6.31-686
View 2 Replies
View Related
May 15, 2011
I have $ uname -a
Linux kub 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux
Most of the time when I boot my PC I get an error about fsck.ext4: Unable to resolve... I don't know why it's happening.
The problem is happening with my external drive that has 3 partitions:
/dev/sdc1
/dev/sdc3
/dev/sdc2
About 90% of the time I boot I do get the error. Sometimes after getting the error I can login and the external drive (/dev/sdc) is already mounted:
$ df -H
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 15G 8.0G 5.8G 58% /
tmpfs 1.9G 0 1.9G 0% /lib/init/rw
udev 1.9G 246k 1.9G 1% /dev
tmpfs 1.9G 738k 1.9G 1% /dev/shm
code....
The UUID's in the error file match the output of the command blkid. And the UID's of blkid match the fstab UUID's. I don't know what to do at this point.
View 2 Replies
View Related
Feb 17, 2011
Does anyone here have experience with using the Debian Live Builder from HERE? Every time I attempt a build, it fails. I thought it strange that it didn't let me select 'amd64' under 'LB_ARCHITECTURE', 'testing' under 'LB_DISTRIBUTION', or multiple options under 'LB_LINUX_FLAVOURS'. Does anyone see what I might have done wrong?
# Standard options
LB_BINARY_IMAGES="iso-hybrid"
LB_DISTRIBUTION="sid"
LB_PACKAGES_LISTS="minimal"
LB_TASKS=""
LB_PACKAGES="dpkg aptitude wget wvdial ppp sudo"
[Code]...
View 3 Replies
View Related
Sep 23, 2010
loading /usr/bin/teclafsck failed. please repair manually and reboot. the root file system is currently mounted read-only. to remount it read-write do:bash# mount -n -0 remount,rw /attention: only control-d will reboot the system in this maintence mode shutdown or reboot will not work.
View 3 Replies
View Related
Aug 7, 2010
I got three times fsck failure during system booting, fixed issue by reinstall whole suse last two times, this time I really do not want reinstall.
View 4 Replies
View Related
Sep 9, 2011
I installed Debian 5.0.8 alongside Windows XP 64bit, and the installation went fine. However, when I choose to boot into Windows, the menu still shows the option to continue with the Debian installation. Debian was installed by burning the iso in Windows and then launching the CD rather than booting into the CD. My searches turned up with results to actually continue with the installation process, which like I said, went just fine. I want to boot right into Windows from Grub (if Windows is selected) instead of having the installation menu pop up again.
View 1 Replies
View Related
Feb 24, 2010
my cmos battery is dead , not worrying that much about it but the problem is ubuntu , it has trouble booting thanks to fsck , there is a bug herebut i cant boot , i get the following error # Superblock last mount time is in the futureand i cant boot , i can get it working sometimes , with allot of work , but normaly it just fails !i came to the conclusion that the CMOS time and date keeps reseting and so ubuntu thinks that the last time i booted was in the future (if this makes any sense) and fsck freaks
View 3 Replies
View Related
Jun 9, 2009
We have a server for which the root password had been lost, and there were no other user accounts set up. Yesterday evening I attempted to reset the root password by booting from the install CD and using VI to clear the root password in the passwd and shadow files. I then rebooted, and the system has halted with an 'FSCK failed. Please repair manually and reboot' error, with a prompt to 'Enter root password' below. But of course the root password isn't known (I had expected it to blank after editing the passwd and shadow files, but it doesn't work), so I have no way of logging on.
View 6 Replies
View Related
Feb 25, 2010
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.
View 3 Replies
View Related
Jan 19, 2011
I've installed Debian Lenny from USB with the small 8MB netboot image. I only chose "Standard system" in Tasksel during install, to get a clean, minimal install. I also chose for LVM and a separate partition for /home. I have one 1.5TB SATA drive in this machine.
Now everything seems to install just fine, but when I reboot I get the following error:
fsck.ext2: No such file or directory while trying to open /dev/sdb1
I get offered to enter a maintenance shell, or press CTRL-D to resume booting. When I do, the system boots fine and nothing seems wrong. But it is inconvenient, because I can't reboot the machine without physically going to it to press CTRL-D on the keyboard
I have googled for this error and it is mentioned on several forums, but they were all related to other things specific to their installs/machines.
(ps. the only slightly strange thing during install is that the Debian installer included my 1GB USB thumbdrive when it shows all the drives and the partitions before formatting. I removed the USB thumbdrive directly after install, but if I plug it in, I still get the error)
These are the errors during boot:
code....
I've only installed Debian on my laptops, which never had any problems.
View 2 Replies
View Related
Jun 19, 2010
The electricity got cut suddenly. So result on Debian: "fsck died with exit status 6"
The / is there
so I rebooted several time using
Code:
touch /forcefsck
The harddisk all are clean but linux prompt admin and says:
"fsck died with exit status 6"
View 3 Replies
View Related