LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i log back in. (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-log-back-in-123814/)

Sundance 12-08-2003 06:58 AM

How do i log back in.
 
Whenever i turn on my laptop to go to my redhat 9 installation i have to press I to go to interactive startup. I then have to work my way down choosing yes or no until i get to the login prompt. Then i get to my desktop. If i choose not to go to interactive startup then the screen will go into scroll and doesn't stop. I am now on my desktop, is there anything i can do to make sure i don't have to go through all this every time i startup?

Thankyou in advance for all help given.

pablob 12-08-2003 07:20 AM

"If i choose not to go to interactive startup then the screen will go into scroll and doesn't stop. "

It is the normal behaviour when loading the O.S. to "go into scroll", and then "starting the window system". But, what do you mean with "doesn't stop"?
I mean, it goes scrolling forever with any error message or what ?

Can you post the 20 ending lines (more or less) of issuing a 'dmesg' command and the same for /var/log/boot.log file ?

Sundance 12-08-2003 07:43 AM

If i leave it the computer will restart eventually and then keep scrolling again. Nothing will make it stop. It doesn't show any error messages though it is moving too fast for me to see. I am on my desktop at the moment and issued command 'dmesg' in the terminal. This came on screen:
ieee1394: SelfID completion called outside of bus reset!
ieee1394: Host added: Node[00:1023] GUID[00004ce0365dc1a6] [Linux OHCI-1394]
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adaptor emulation for IDE ATAPI devices
lp driver loaded but no devices found
sis900.c
divert: allocating divert_blk for eth0
eth0 realtek rtl8201 phy transceiver found at address 1
eth0: using transceiver found at address 1 as default
eth0: sis 900 pci fast ethernet at 0x1800, irq 4, 00:30:13:5d:c1:a6.

When i issued the /var/log/boot .log command i was shown "access denied"

pablob 12-13-2003 05:01 AM

well, out of dmesg output I can see nothing really strange.
And sorry about the other file: What I did mean was for you to "cat" (type) the boot.log file which "lives" under /var/log (like almost any log file).
You should do this as "root" user so you don't get the access denied message:

# su - root
password:
# cd /var/log
# cat boot.log

What I find strange is the difference in behaviour between I nteractive mode and "automatic" mode: If you answer Y to all the startup scripts, you should get the same behaviour (scroll) when you arrived to the "offending" script .

Sundance 12-13-2003 06:45 AM

When i answer yes to all the start up scripts in interactive mode i do get the same behaviour as the automatic one. I have to answer no in interactive but this doesn't always work. I think the 'offending' script is either "pcmcia" or "netfs" or "apmd". My laptop does not have floppy drive so i can't make a boot disk. Would it help getting a floppy drive and doing this?

pablob 12-13-2003 07:04 AM

no. floppy boot just loads the kernel from floppy and then uses your HD scripts.

BUT, we are coming to a point:
You mention pcmcia, netfs and/or apmd

Please post the result of:

cat /var/log/boot.log


Of course, try answering NO to the three scripts ONE BY ONE on three different boots, so we get to know which one holds the problem.

Anyway, I'd try to delete the netfs script, as I guess your laptop is not always connected to an enterprise network.
For this:

# cd /etc/rc3.d

and

# ls S*netfs*
and finally rename the file named more or less like SXXnetfs to sXXnetfs (boot process only "processes" scripts beginning with capital S.

Same under /etc/rc5.d

NOTE: Maybe yours are under /etc/init.d/rc3.d /etc/init.d/rc5.d

mdg 12-13-2003 09:54 AM

Check your /etc/inittab file for a line like this:
Code:

id:3:initdefault:
It should id:3 or id:5. Make sure it's not 6, which would make your machine reboot constantly


All times are GMT -5. The time now is 09:04 PM.