Hangup at boot..
Hi,
I'm running Ubuntu Server 7.04 and been having this annoying problem ever since the inital installation. The system boots up fine until the last phase when it reaches Running local boot scripts ( /etc/rc.local) whereupon it just stops. I press enter and the boot process carries on to the login prompt. Now I've checked the rc.local file and it is basically empty with everything commented out except the following on the last line : Code:
exit 0 Any ideas / solutions ?? Thanks again ! Uncle-C |
You might see if there are any other Startup scripts that are run at boot. Look at say /etc/rc3.d and rc.5.d and see if there are any files after S99local. Maybe they are the issue. During boot it goes through each runlevel that is needed but not sure on Ubuntu setup. Normally on Redhat type runlevel 3 is multiuser/networking enabled. Where runlevel 5 is multiuser/networking/Xserver. Each one starts in sequence 01 to 99 and aphabetically after the number.
Brian |
Thanks Brain. I do not have X installed so am starting at runlevel 3.
I checked the /etc/rc3.d directory and the only file after S99local is S99rmnologin. I renamed S99rmnlogin to D99rmnologin but to now avail. I think there may be some problems with my startup scripts. I get a Ubuntu login prompt before any of my services start as you can see from the output below : Code:
Thanks again, Uncle. |
Got no more ideas.
Brian |
Quote:
|
I am having the exact same problem :(
Any help would be greatly appreciated. |
I too get a login before many of my services start. It doesn't hang up, per se, but there's no obvious indication that I can enter my user name after the other services run. However, if I just type in my name it will then prompt me for my password and login works like normal. It's just a little annoying. Does anyone know of a fix for this?
|
there is no freeze!
I see the same on my Ubuntu Server 7.10.
In my opinion there is no freeze at all, but the login prompt shows up before all init-scripts are done. It's cosmetic, but I want to see the login prompt *after* all scripts have finished. Any ideas? -- Thomas |
and now I found the solution
I found the solution at http://forum.wchost.com.hk/viewtopic.php?f=9&t=30
The trick is to start tty1 through an event (Ubuntu uses Upstart) and not by runlevel. I tried the following and it works! 1. edit /etc/event.d/tty1: nano /etc/event.d/tty1 Code:
start on runlevel 2 Code:
# to start at 'the end' of runlevel 2 nano /etc/rc2.d/S99zzzlvl2complete Code:
#!/bin/bash fortunately there is no risk because we can use tty2 if tty1 does not start but it does :) |
Oops, I realized I forgot to post the solution I found to this! awalli, thanks for your find as well. When I was looking around for a fix I ran into this thread on the Ubuntu development site, which had a very nice fix. It's worked great for me. All you have to do is change one line in tty1:
Quote:
|
ubuntu loadup error
I get the same error. Have tried both the fixes above to no avail.
I installed it on a new hard drive on an intel processor and motherboard. Then I transferred it into an AMD machine, then I get this error. It works fine on the intel machine. Could it be a processor/driver error? |
All times are GMT -5. The time now is 06:28 PM. |