On Thu, 23 Dec 1999, bob jones wrote:

>Thanks in advance:
>
>Does the /etc/rc.d/rc.sysinit script always get run on bootup? I'm
>running (sorry, I like it, it's running on an old machine, and I'm
>afraid to upgrade ..) RHL4.2, so maybe the filename might be a little
>different in later versions of RHL.
>
>It seems to me that this script is not being run on boot on my system.
>This
>conclusion is based on the failure of diagnostic "echo" commands I have
>put
>into the script to write either to the console or, with redirection, to
>a file that I could use as a check ... Maybe I don't understand whether
>such commands
>*should* be able to write to the console or to a file during boot, in
>which case I need a better way to check. Any ideas that would help?
>
>This question is important to me because the system in question is not
>any longer running fsck during boot as it should under some
>circumstances (this I have posted earlier and have not as yet been able
>to resolve). I'm keying on
>the logical commands WRT "/fastboot" in the rc.sysinit file to help me
>understand my problem, because those commands control whether fsck gets
>run. If I remove the command in the rc.sysinit that deletes the
>/fastboot file, I still don't find it in the / directory. Hence I'm
>messing around to try to understand what is going on with
>/etc/rc.d/rc.sysinit.
>
>Thanks again,
>
>bob jones  ([EMAIL PROTECTED])
>
>
>

I have RHL 6.0 so there may be some diferences but in 6.0:

1. The /etc/rc.d/rc.sysinit has to run every time on bootup.

2. If I "touch /forcefsck", I get an fsck on next bootup when I should not.

3. If I "touch /fastboot", then fsck doesn't run when it should.

What I would do is:

a. Double check that fsck is in the path. The path gets set at the top of
rc.sysinit

b. Use "tune2fs -l /dev/??? to check Maximun-mount-count and Check-interval.

c. Set in /etc/sysconfig/init LOGLEVEL=7 and BOOTUP=verbose.

d. In /etc/inittab change the line that has:

   1:2345:respawn:/sbin/mimgetty tty1

by the following:

   1:2345:respawn:/sbin/mimgetty --noclear tty1

This way you will keep all the bootup messages and you can scroll back with
shift+page_up and shift+page_down. 


HTH

Agustin

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Agustin Navarro P.
[EMAIL PROTECTED]
58.2.9630746


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to