LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 12-16-2005, 04:34 PM   #1
goldfish
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58

Rep: Reputation: 15
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!
 
Old 12-16-2005, 08:11 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
Old 12-17-2005, 09:37 AM   #3
goldfish
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58

Original Poster
Rep: Reputation: 15
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....
 
Old 12-17-2005, 09:41 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

Rep: Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934
Since GDM is the graphical login daemon, can you start in a runlevel that omits it? Can you start up interactively?
 
Old 12-17-2005, 09:46 AM   #5
goldfish
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58

Original Poster
Rep: Reputation: 15
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 09:49 AM.
 
Old 12-17-2005, 12:00 PM   #6
goldfish
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58

Original Poster
Rep: Reputation: 15
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 12:11 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 01:47 AM
Boot problem w/FC2 - DISK BOOT FAILURE maugou Fedora 2 06-30-2004 06:37 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
Problem with Mandrake 9 boot /Debian boot on 1 PC cmisip Linux - Distributions 4 11-04-2002 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration