Debian :: Automatically Continue Booting After Fsck Fails?

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


ADVERTISEMENT

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 View Related

Ubuntu :: Cannot Continue To Boot 64 Bit Due To FSCK Error In Superblock

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

Ubuntu :: Automatically Run Fsck Every Few Months?

Sep 5, 2010

I just recently switched from Windows to Ubuntu 10.04, and I remember that Windows had a disk check. I have no problems with my computer, but is it a good idea to run fsck every few months? Does Ubuntu automatically do this for me? Or this unnecessary unless I have a serious problem?

View 2 Replies View Related

Slackware :: No FSCK When Booting 13.0 As Live DVD?

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

Ubuntu :: Fsck Usr Fails And Unable To Repair?

Dec 2, 2010

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?

View 7 Replies View Related

Server :: On Boot The Fsck Of 2TB File-system Fails?

Apr 5, 2010

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.

View 5 Replies View Related

CentOS 5 Hardware :: Fsck Fails On Ext3 Filesystems?

Sep 15, 2010

I am attempting to run a fsck on a number of large ext3 filesystems. I am doing this proactively because I want to minimize reboot time and the filesystems are past the interval time of 6 months. When I run the command " fsck -f -y device" I get the following error on all of the filesystems-

fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
fsck.ext3: Device or resource busy while trying to open /dev/mapper/mpath0p1

[code]....

View 2 Replies View Related

OpenSUSE Install :: Got Three Times Fsck Failure During System Booting?

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

Debian Configuration :: Fstab Configuration And Timeout - Automatically Continues Booting Even If The Hard Drives Are Not Attached?

Aug 3, 2011

I have a PC104 running debian. I have 3 hard drives (in addition to the one booting) mounted in fstab by UUID. I use the options defaults,error=remount-ro. However, this means that when I boot with the hard drives not attached, I have to press Ctrl-D to bypass when the boot discovers the drives are missing. Is there a timeout commandoption I can add to fstab so that it automatically continues booting even if the hard drives are not attached? I could not find anything on a timeout command. (I tried adding timeout=1000 but no-random guess)

View 5 Replies View Related

CentOS 5 :: FSCK: Generate Log File For A Forced Fsck?

Sep 25, 2009

When I do a forced fsck, I would like to have a log file to look at after boot.

When I check /var/log/ there are no files there with fsck output

I've run force fsck in these ways:

shutdown -rF now

-and-

touch /forcefsck

View 1 Replies View Related

Debian :: Error: Installation Cannot Continue Without This Dependency

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

Debian Multimedia :: Continue Apt-get Install Ignoring Errors

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

CentOS 5 :: Booting Into GUI Automatically?

Sep 21, 2010

Since I installed Centos in Text mode it automatically boots into terminal instead of X. I merely have to type "startx' and the gui loads without a problem. Is there a simple way to automate this so that I boot directly into the gui?

(BTW, I checked many of the posts about the GUI but most dealt with startx not working or with modifying VNC Server - that wiki seems like overkill in my case.)

View 2 Replies View Related

Ubuntu Installation :: Not Booting Automatically?

Nov 10, 2010

I'm trying to install ubuntu 10.10 on my mini-pc homeserver. Installation goes fine, but when I reboot it says "no boot device found". I checked the bios, it's set to boot from hdd, so that should be fine. When I press F10 during post, I can enter the boot menu, where only my hdd is listed. When I press enter it boots just fine. I tried using 1 partition only, tried multiple partitions, but it makes no difference. I didn't change anything to the bootloader configurations during install, just used standard settings, which is install bootloader to sda/hda

View 4 Replies View Related

CentOS 5 :: Xen Kernel Not Booting Automatically

Feb 11, 2010

1st referring to: [URL]. I have no paid support channel at Redhat as I am using an evaluation copy. I use a pretty fresh installed RHEL 5.4, which should be very similar to CentOS. After the basic installation I installed xen and xen-kernel via yum with no errors. I can manually select the xen-kernel at boot time. But after booting the normal kernel shows up.

[root@noname boot]# uname -r
2.6.18-164.11.1.el5
My /boot/grub/menu.lst looks like:
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-164.11.1.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-164.11.1.el5
module /vmlinuz-2.6.18-164.11.1.el5xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet
module /initrd-2.6.18-164.11.1.el5xen.img
title Red Hat Enterprise Linux Server (2.6.18-164.11.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.11.1.el5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
initrd /initrd-2.6.18-164.11.1.el5.img
title Red Hat Enterprise Linux Server (2.6.18-164.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
initrd /initrd-2.6.18-164.el5.img

I can't see anything wrong and I did not change/try anything. My machine has a intel core 2 quad q6600 cpu, wihich should be capable of virtualization. It's not a problem of default=1 or default=0, because I selected the xen-kernel manually in the grub menu. Btw: I changed the menu.lst with default=0. Then the system is repeatedly booting; last visible message 'starting udev'.

View 4 Replies View Related

Debian Installation :: Squeeze Dist-upgrade Exited With Error Continue From?

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

CentOS 5 :: Restarting A Service Automatically When It Fails?

Jun 25, 2010

So far I have came across three options.

1. Watchdog script
2. Daemontools - using "supervise"
3. Monit - open source monitoring tool

From what I can gather, daemontools is probably the best option. Unfortunately, the documentation on the developers site is very vague and I'm having a hard time getting this to work. I think I have it installed correctly, just don't know how to apply it to the service I want monitored.

how to get daemontools to work. All I want to do it monitor a server on my linux box. When it fails, I want it to be restarted automatically.

View 3 Replies View Related

Ubuntu :: Automatically Login To Console After Booting

Aug 21, 2010

Is there anyway I can automatically login to console without having to provide username and password as soon as I boot into the machine?

View 2 Replies View Related

Debian :: Run Fsck During A Shutdown Sequence?

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

Software :: USB Key Fails Booting / Resolve This?

Apr 19, 2010

I followed the following two articles to create a bootable USB key that will run the Kaspersky Rescue Disk, but both methods fail, using two different USB keys:
UNetbootin - Create Bootable Live USB Disks For A Variety Of Linux Distributions From Windows Or Linux : "Determining root device: Could not find the root block device in ."
Creating Bootable Kaspersky Rescue USB Disk : "Could not find kernel image linux"
Kaspersky only provides support for when trying to boot from a CD. Does someone know what I could try to get this to work as shown in the articles?

View 4 Replies View Related

Debian Configuration :: Fsck On Boot Jessie 8.1

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

Debian Configuration :: How To Run Fsck On Mounted Drive

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

General :: Types Of Fsck Errors - Fsck Errors Are Found On A System?

Jul 22, 2010

Can anybody tell me what kind of fsck errors are found on a system?

View 5 Replies View Related

Ubuntu :: Erratic Booting And Often Screen Fails

Mar 23, 2011

Sometimes the screen displays four miniature versions of itself. Sometimes there is no display of the pre-boot message. When normal boots occur, often the screen display disappears entirely and irrevocably after about ten or twenty minutes.Sometimes everything behaves well with no troubles.

View 11 Replies View Related

Debian :: SMART Reports Bad Sectors But Fsck Finds None

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

Ubuntu Installation :: Nvidia Booting - Automatically Boot To The Gdm/desktop After Updated Gpu Driver?

Oct 11, 2010

Hey everyone I'm pretty new to ubuntu/linux so please bear with me . I recently installed 10.10 on my new htpc. The initial install went great, until I went to install the updated driver for my graphics card. What I did was I downloaded the driver off of nvidia. Then I did these steps:

1. ctrl-alt-f1

2. logged in

3. sudo services gdm stop

4. I then located the driver package that I downloaded and ran it, it seemed to install fine (except for an error about some install script? but it let me proceed)

5. sudo services gdm start

It went to the gdm/ubuntu desktop. However I then connected it via HDMI, and the resolution was way off (top bar was not even displayed on TV) and I tried many different settings but no luck in fixing it. Next after restarting it did not automatically boot to the gdm/desktop. Instead it stayed at the command line login (the ctrl-alt-f1 screen).

tl;dr : 1. How to make it automatically boot to the gdm/desktop after I updated my gpu driver

2. How to fix the resolution for HDMI from my gpu to my TV. (DVI works fine

View 1 Replies View Related

Software :: Make Asus Eeepc Automatically Auto Play Radio On Booting?

Feb 18, 2010

I'm trying to set up Asus Eeepc for a my friend so she can listen to midwest irish radio,without me being there to switch it on . she can only switch the notebook on and off,that all she can manage.So i thought there must be a way to switch the notebook it does the rest for you.I know there is people out there who can work this out in no time at all.I do not know much about linux,just the basic,there must be (as in windows)a macro program that records and replays back actions

View 2 Replies View Related

Ubuntu :: Booting From USB Memory Stick Fails On Thinkpad T42

Feb 28, 2010

I have a problem booting anything from USB stick on my IBM Thinkpad T42. It used to run normally, I could even install Windows or Linux from it, but now it stopped working. This particular concern is about booting freshly installed Xubuntu version 9.04 off a Kingston 4GB flash stick. I've installed Xubuntu using usb-create program directly from a booted live cd. Installation went fine and all the options in BIOS are setup correctly (I think). In boot menu in BIOS the stick is recognized correctly and + appears in front of it. Stick is selected as primary boot device. BIOS usb support is also enabled.

Now when I power on the computer, it reads something from the stick and stops right after displaying:
SYSLINUX 3.63 Debian-2008=07=15 EBIOS ... etc...
Then nothing happens and the text stays on like this.

View 1 Replies View Related

Ubuntu Installation :: Booting Fails After Update To Kernel 2.6.34?

Sep 21, 2010

I recently got the Message, that i should do a partial System Upgrade. It included an update to Kernel 2.6.34. Since this update, i cannot boot with this kernel:

Code:
Mounting none on /dev/ failed...

i can still boot with older kernels, but many drivers including wifi and graphics drivers dont work there anymore.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved