General :: How To Auto Answer Fsck During Boot Up

Dec 27, 2010

I wanted to know how can I make fsck automatically fix HDD errors when it needs to check HDD during boot up and do not ask user for it . I found some of fsck related scripts in /etc/init/ and /etc/init.d/ but I don't know what to do with them.

View 7 Replies


ADVERTISEMENT

Programming :: C/C++: Broadcast Receives No Answer - Can't Find Right Answer

May 18, 2010

How can I set the outgoing port for the socket? In wireshark, my outgoing port is 1024, and i want to set it to 6800 (or a similar port) I see the outgoing broadcast-message in wireshark, but no answer. There are three ECU's in the LAN, which should answer. The following code is a mixture of C/C++ and jointed from different articles:

[code]...

In wireshark I can only see the outgoing message. But the "recvBuffer" (in the lower part of the code) contains the same content as the sendBuffer. Is it right, that I need a sender and further more a receiver? Or should I receive the broadcast-answer on the same socket on which I send the bc?

View 5 Replies View Related

General :: Boot Up Misbehavior After An Update During Fsck

Jun 25, 2011

Today I did an update on my Debian 6.0.0 installation, which included a kernel update. I also did an Nvidia driver update, afterward. All well, until upon a third boot up an fsck check was forced (34 mounts). Some odd behavior ensued. At about 19% it exited the check, printed what appeared to be a load of inode numbers with error messages, and "froze" with the caps lock and num lock lights on the keyboard flashing.I did a couple of grub recovery modes, each which advanced a little further, and all is well again. However, it concerned me. Where in var/log do I find the file of that particular fsck activity?

View 1 Replies View Related

General :: Can't Boot To Redhat Kernel - The System Repair / Fsck?

Apr 26, 2010

I use Redhat 2 server, the server suddenly can't boot now , it goes to the grub> mode, it can't boot to Redhat kernel

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

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

General :: VPS Does Not Answer Any DNS Request?

Feb 7, 2011

I have a VPS CentOS 5.5 32 bits. It does not answer any DNS request made to the server.

I need to configure Bind to answer these requests.

I have been reading about that for several days and here: [URL]

But it is uncompleted.

I need to configure these too:

chroot DNS with BIND avoid cache poisoning avoid being an open resolver port randomization

I have found several tutorials but all of them have different points of view.

I am looking for a good tutorial that has everything:

Setting up bind on CentOS 5.5 chroot DNS with BIND avoid cache poisoning avoid being an open resolver port randomization configure iptables for bind

View 3 Replies View Related

General :: Automatically Answer 'Yes' When Using Apt-get Install?

Jul 16, 2010

Is there a way to make apt-get install answer "yes" to the "Do you want to continue [y/N]?"?

View 5 Replies View Related

General :: Can't Get An Authoritative Answer From A DNS Server

Apr 23, 2011

When I type 'nslookup some site',the result I always get is a non-authoritative answer. How can I get an authoritative answer?

View 3 Replies View Related

Fedora :: Run FSCK -y On Boot Up?

Sep 7, 2010

I have my drives set to run fsck on boot up. This is the default setting for Fedora but if there is a problem it prompts me to run fsck manually. Is there a way to have Fedora just run fsck and fix any errors it finds on boot up?w in Debian distros you can put FSCKFIX=yes in the /etc/default/rcS file to do this. But I can't find the equivalent on Fedora.

View 2 Replies View Related

General :: Auto Run Commands At Boot?

Jan 14, 2010

I am a newbie using Redhat Linux Enterprise 5.0. I am trying to figure out how to autorun these commands at boot. cd ixpio./ixpio.inst

View 6 Replies View Related

General :: Check When A User Was Created,but Got No Answer?

Jul 14, 2010

tried a lot to get an answer for howo check when a user was created,but got no answer. know the command or how to check when a user was created?

View 14 Replies View Related

Ubuntu :: Run Fsck On Keypress During Boot?

Jan 4, 2011

I am wondering if there is a way to manually trigger a file system check during boot by pressing/holding a key. Maybe there is already a keyboard shortcut built in to do this?I know that using tune2fs you can modify the number of boots (mounts) between file system checks, or even use "shutdown -rF" to reboot the system and force a file system checkAlso, I do not want to force the user to choose to run/skip the file system check during boot. For example, prompting the user with, "Do you want to run a file system check [y/n]?" each boot (or even each time the system thinks it should run a file system check),s not desirable

View 1 Replies View Related

Ubuntu :: Any Way To Repair WXP Boot Using FSCK?

Feb 25, 2011

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?

View 1 Replies View Related

Ubuntu :: Fsck Runs With Every Boot

Apr 20, 2011

i have the same issue but with a real install, not a vmware.every reboot fsck says that my main partition was not cleanly unmounted and check is forced.during shutdown the ubuntu does not show messages in a clear way but in random places. however, i am able to see the "/ is busy" message 1 second before reboot/off.my distribution is 10.10 upgraded from 9.10, 10.04

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

Ubuntu Servers :: How To Cancel Fsck At Boot

Mar 22, 2010

Right now I am trying to fix the problems on my server with daemons not starting.

So I have to try different solutions and reboot.

The problem is that after 28 reboots, fsck kicks in and decides to check 2 TB of data.

Is there a way to cancel this???

It takes forever, and by the time it will be done, I will have forgotten what I was testing.

The issue of daemons not starting becomes even more frustrating when fsck decides that I must take a half an hour break.

So again, how do I cancel the fsck on Ubuntu Server?

View 5 Replies View Related

Ubuntu :: Server 10.10 Boot After Fsck Work

Nov 14, 2010

I was editing my fsck at etc/fstab/ after removing a hard drive and i think i commented out the wrong drive . now i just get a blank screen on boot. I have the ability to use my ubuntu cd for a recovery console, live desktop, etc.

View 9 Replies View Related

Fedora :: Can't Give Root Password For Boot Fsck

Nov 6, 2010

UPDATE: This is a bug: [URL] Evidently the problem is with plymouth because a workaround is to add "rd_NO_PLYMOUTH" to the kernel boot options. I don't get a prompt for my disk encyrption pass phrase---just a flashing cursor---but that's a small price to pay for being able to run fsck when the root filesystem wasn't umounted properly.

I have fully updated f13 (as of today) on a laptop with all ext2 file systems (It has nothing but flash memory.) If it's shut down without unmounting all file systems, it drops to a shell and asks for the root password to run fsck when it's rebooted. Every key press is treated as though it were <enter>, with a response to the effect that the password is incorrect.

View 11 Replies View Related

Ubuntu Installation :: Boot Hangs After Fsck Finishes?

May 10, 2010

I just installed 10.04 from the minimal install cd (twice), and when I boot it up, it runs fsck on the 3 partitions, shows they are clean, and then nothing. I can't even get to recovery mode. I had previously installed 9.10 fine on this computer. I can't even find out what the real problem is, even with the quiet splash disabled. It just stops after successfully running fsck.

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

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

Slackware :: Large Partition Fsck On Shutdown Instead Of Boot?

Sep 15, 2010

Got tired of long waits for fsck on very large partitions.Here's a script to fsck selected partitions every 'N' shutdowns. No more boot delays for fsck (unless something is really wrong

Update1: On my system '/usr/libexec/gam_server' (gamin component used by xfce) prevented /home from being unmounted. I changed
Code:

[code]...

View 4 Replies View Related

Debian :: Dell Vostro 1710 - Fsck Failed During Boot

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

Fedora Installation :: Use LiveCD To Boot Into Rescue Mode And Run Fsck?

Nov 22, 2010

Is it still possible to use LiveCD to boot into rescue mode and run fsck?

I just want to run fsck on my hard disk and make sure all is well.

Does fsck provide and logs or records of what it found?

Is it possible to run fsck without LiveCD?

View 5 Replies View Related

OpenSUSE Install :: Boot Error 15, Can`t Mount Harddrive, And Can`t Run Fsck?

Apr 28, 2010

I was running 11.0 and it stalled in the middle of a number of updates. On reboot I now get (if I remember correctly) Error 15: File not found.I managed to get my hands on a 11.0 live cd and started trying to fix grub. However, when I try mounting the harddrive using "mount /dev/sda1" I got

Code:
can`t find sda1 in /etc/fstab or /etc/mtab
"mount /dev/sda1 /mnt" gives

[code]...

View 5 Replies View Related

Ubuntu :: Boot / Login Into Terminal - Run Fsck With Drives Unmounted

May 9, 2010

I need to be able to login to terminal and I can't seem to find an easy way to do it from the login screen, or elsewhere that I would normally find in an older version of ubuntu. I need to run fsck with drives unmounted

View 4 Replies View Related

General :: Script (Case & IF Statement Syntax) - Easy To Answer If Know Shell Scripting

May 6, 2011

Im a bit stuck with a simple script that im practicing with... im trying to get my head around some simple scripting. Basically i want to write a script that will work as below: It will ask the user to enter their userid. If its correct it will say 'Correct' If its the wrong id (But the ID exists in /etc/passwd) then it will say 'incorrect' If its not a valid userid it will say 'doesnt exist'. What i have so far is:

[Code]...

# If the user enters their own userid they will get a comment saying 'correct' $LOGNAME) echo "Correct";;

# If they enter another users ID (That exists in the /etc/passwd), then they get a message to say 'incorrect userid used'. Im not sure what i need to do here to get it to check the /etc/passwd to see if the input exists in there.... im guessing some kind of simple 'if' statement to say ---- "if 'input' exists in /etc/passwd then echo "incorrect userid used"

# If its entered incorrectly and not a valid ID then they will get this comment. Again, im guessing this part would be similar to te above option..... *) echo "not a valid ID";;

Ive managed to work out how the basic Case staements work, but to add a conditional statement based on the input, i just cant figure out. I have tried looking on google, and found some help but it doesnt really explain how i check the input against the /etc/passwd.

View 17 Replies View Related

Ubuntu Servers :: SERVER Stuck During Boot (fsck Waiting For Input)

Aug 11, 2010

all is well on my headless Lucid server until a recent apt-get upgrade && shutdown -R now ... it did not come back up? after i moved a screen to the other side of the house, i found fcsk waiting for input during the boot process errors on / ... (I)gnore / (F)ix " ...so i had to attach a keyboard just to push <F> i could change /etc/fstab so it never runs fsck, but this doesn't seem wise. how can i make it <F>ix automatically ? ( or maybe after Xsec )

View 1 Replies View Related

Ubuntu :: Fsck Trying To Scan Recently Removed Hard Disk On Boot?

Nov 8, 2010

I have ran into a bit of a problem. my server(10.10) is hosting a website with no problems whatsoever. I decided to install an extra hard drive, and format. i did both, and turned off my server after some more configuration. After a while, I decided that the new hard drive was a little loud for my liking, so I removed it. I had not put any files on it. I rebooted and saw a message that said this:Quote:fsck from util-linux-ng 2.17.2/dev/sda1: clean, 101202/2351104 files, 1516082/9393920 blocksI think that when I turned it off, it was formatting. How do I stop this from halting the boot? I can get by it by pressing the b or a key.

View 2 Replies View Related







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