Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-16-2005, 05:34 PM
|
#1
|
Member
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58
Rep:
|
Boot problem
Irritating problem.
This is on a Gentoo box (all up to date). I emerge'd Gnome so I could give it a go instead of fluxbox (call me mad...), and I also emerged famd and added it to default runlevel using rc-update. When I emerged Gnome it also grabbed a whole load of other things, 87 to be precise. Now for some reason it will go through the normal boot procedure, Set up GDM and then it hangs. I don't know what it's hanging on, all I know is that it is after GDM. I've got parallel service startup on for speed(could that be a problem?). Having an extra 87 packages potentially causing problems doesn't help the situation much either.
I've also got a "mountsamba" script there which isn't working too, which I am intending to remove (since it's useless as my net mounter does the same thing).
Currently I've loaded the LiveCD and chroot'ed into the install to check it out and change things to make it boot. But I'm not sure where to start. I've looked at /var/log/messages, which doesn't seem to help much, and also dmesg.
I'm not really sure where to start with this, could anyone share some logic with me? I can get network access with the LiveCD, but I imagine posting things is going to be real hassle (unless someone can come up with an easy way to post logs and stuff with links2 only....)
Cheers!
|
|
|
12-16-2005, 09:11 PM
|
#2
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
In /var/log, you have several log files to look into: such as boot.msg (on suse, anyhow), localmessages, and others. Since it's hanging on boot, I'd look at the boot.msg file first.
|
|
|
12-17-2005, 10:37 AM
|
#3
|
Member
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58
Original Poster
Rep:
|
I appear not to have a boot.msg file. What I do have is:
Code:
Xorg.0.log cups emerge.log lastlog news sandbox wtmp
Xorg.0.log.old dmesg gdm messages samba scrollkeeper.log
messages doesn't seem to help, lastlog isn't ASCII data, news is blank, gdm has a bunch of files in it...
Code:
:0.log :0.log.1 :0.log.2 :0.log.3 :0.log.4
None of which tells me anything other than GDM is using defaults because there isn't a config file, when I first installed GDM. Emerge.log is saying things about idesk-extras, which is what I emerge'd before starting gnome.
Hmmm....
|
|
|
12-17-2005, 10:41 AM
|
#4
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,099
|
Since GDM is the graphical login daemon, can you start in a runlevel that omits it? Can you start up interactively?
|
|
|
12-17-2005, 10:46 AM
|
#5
|
Member
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58
Original Poster
Rep:
|
How would I do that? Sorry, I'm a bit of a newbie, I know how to change runlevels after boot but I don't know how to boot into a specific runlevel.
BTW, this is what a rc-update show gives me:
Code:
alsasound | boot
apmd |
autofs |
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
crypto-loop |
cupsd |
dbus |
domainname | boot default
esound |
famd | default
foldingathome | default
gift |
gkrellmd |
gpm |
hald |
hdparm | default
hlds |
hostname | boot
hotplug |
ivman |
keymaps | boot
local | default nonetwork
localmount | boot
modules | boot
mountsamba | boot
net.eth0 | default
net.lo | boot
netmount | default
nscd |
ntpd | default
numlock |
nvclock |
portmap |
rmnologin | boot
rsyncd |
samba | boot default
spamd |
splash |
sshd |
svnserve |
syslog-ng | default
urandom | boot
vixie-cron | default
xdm | default
Oh and BTW, I'm running the LiveCD chrooted into my installation to do all this with sshd running so I can copy paste things here. Just to save any confusion.
Last edited by goldfish; 12-17-2005 at 10:49 AM.
|
|
|
12-17-2005, 01:00 PM
|
#6
|
Member
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58
Original Poster
Rep:
|
OK, I figured out what was going on. It was my netmounter. The problem was, since I had paralell startup, the prompt for the password was getting discarded while a load of other services started. Even though there is no password, this made it stall (presumabley netmounter needed to finish before it progressed to the next runlevel).
Now I need to find out how to have the password ( "" in this case) saved somewhere so I don't get prompted for it. Otherwise I won't be able to use paralell startup, which speeds things up considerabley.
For future reference, where would I have found the Password: prompt?
Cheers!
PS: Now that's sorted my /home isn't getting mounted (it should be mount /dev/hda2 /home). I can't figure out why that is happening either....
Last edited by goldfish; 12-17-2005 at 01:11 PM.
|
|
|
All times are GMT -5. The time now is 07:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|