Announcement

Collapse
No announcement yet.

So annoying! Boot Issue!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    So annoying! Boot Issue!

    Yes, I have been away from the forums a while, in fact, I haven't been on Linux for a while.
    I installed my Kubuntu drive perfectly, no issues, VGA drivers installed fine, Alsa didn't support my Audigy SE, other than that, I got everything working fine.

    THEN!
    For some reason, I turned off my computer, to do a necessary reboot, and when it turned back on, it automatically sent me to command-line-mode...
    Now, whenever I start Ku, I have to his ESC when Grub is loading, and select Kubuntu-1386(generic) to go to my graphical environment!
    Did I change a setting?
    Have I, by astronomical chances, gotten a Linux VIRUS?
    Or was it when I compiled ALSA it did something to my HDD, and corrupted boot settings?

    Halp?

    #2
    Re: So annoying! Boot Issue!

    Check what is wrong:

    Xorg.0.log is log file for X Windowing Server. It is in /var/log/.

    Login in the command-line-mode and

    Just looking errors:
    Code:
    :~$ grep "(EE)" /var/log/Xorg.0.log
    Just looking warnings:
    Code:
    :~$ grep "(WW)" /var/log/Xorg.0.log

    Links

    HOWTO : Repairing xorg.conf
    http://kubuntuforums.net/forums/inde...opic=3082808.0

    How to get started with no GUI
    http://kubuntuforums.net/forums/inde...opic=3085112.0

    LinuxLogFiles
    https://help.ubuntu.com/community/LinuxLogFiles

    Linux log files location and how do I view logs files?
    http://www.cyberciti.biz/faq/linux-l...ew-logs-files/
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: So annoying! Boot Issue!

      From my understanding of your post:

      1) Without any action from you the boot process sends you to a command prompt. I am guessing as 'root'?

      2) Your graphical login still works, but you aren't being sent there automatically.

      If this is the case, your '/boot/grub/menu.lst' file has been changed such that Recovery Mode is the default boot selection. Additionally, grub is bypassing the menu during boot (this is easily overridden by pressing esc.).

      To fix this:

      backup menu.lst

      Code:
      cp /boot/grub/menu.lst /boot/grub/menu.lst.bak
      open menu.lst in nano

      Code:
      nano /boot/grub/menu.lst
      Check the default kernel to boot:

      ## default num
      # Set the default entry to the entry number NUM. Numbering starts from 0, and
      # the entry number 0 is the default if the command is not used.
      #
      # You can specify 'saved' instead of a number. In this case, the default entry
      # is the entry saved with the command 'savedefault'.
      # WARNING: If you are using dmraid do not use 'savedefault' or your
      # array will desync and will not let you boot your system.
      default 0


      Adjust as necessary...

      To show grub list during boot, comment out 'hiddenmenu' as below, by placing # to the left

      ## hiddenmenu
      # Hides the menu by default (press ESC to see the menu)
      #hiddenmenu

      Finally, save and exit nano (CTRL-o, CTRL-x) and reboot.

      Mike

      Edited to remove graphical program references.
      http://monte48lowes.blogspot.com

      Comment


        #4
        Re: So annoying! Boot Issue!

        i tired the

        sudo kate /boot/grub/menu.lst

        part and it told me "Could not connect to X server"

        I can't figure out how to open a document under kate as root...

        Comment


          #5
          Re: So annoying! Boot Issue!

          Kate is a GUI application. It can't be opened from a console shell using sudo. Open a console shell and type:
          Code:
          kdesu kate /boot/grub/menu.lst
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Re: So annoying! Boot Issue!

            In 7.04 and in 7.10, at times, I’ve had it hang up with both sudo kate and kdesu kate, and at times, it has worked with either of those. (Psychocats explains why it is safer using the graphical kdesu, but I see people using both.) Sometimes, restarting X helps (is that superstition? Ctr-Alt-Backspace). Or, re-start the PC. Or, another option, which almost always works, is to open your file manager, navigate to /boot/grub, locate menu.lst sitting there, right-click on menu.lst, Actions > Edit as root, then it’ll eventually pop up for you to edit, and don’t forget to File > Save, File > Quit when done.


            (In Ubuntu, the graphical kdesu is gksudo, here’s the warning: http://www.psychocats.net/ubuntu/graphicalsudo )

            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

            Comment


              #7
              Re: So annoying! Boot Issue!

              That was just silly on my part. Use this instead.

              Code:
              nano /boot/grub/menu.lst
              neither sudo nor kdesu are required since you will be running as root. And kate will not work since x is not running.

              Mike
              http://monte48lowes.blogspot.com

              Comment

              Working...
              X