PDA

View Full Version : [ubuntu_studio] Upgrade, can only boot to recovery terminal



kvk
June 9th, 2009, 12:13 AM
I've gone through a number of the other threads here before posting, to avoid redundancy, but I can't find a solution.

Ugraded from Ibex to Heron on Ubuntu Studio last night.

Booting produces the message that Xserver is broken- I am assuming this is due to the Nvidia card/driver conflict.

Unable to boot into the gdm/Gnome at all.

Using recovery kernel (either normal or rt), I can drop into a root terminal, but cannot install, upgrade, or otherwise try to fix the Xserver. Upgrade commands (apt-get upgrade, using -f as well) cannot access the repositories, which I think were disabled during upgrade.

I did manage to apply:



sudo apt-get remove xserver-xorg-video-nv
sudo /etc/init.d/gdm stop


which allowed me to boot into the Gnome login screen, but which then freezes uon entry of password. I have tried this using both rt and normal kernels with the same result.

Navigating to /etc shows NO X11 file or directory, but I can't use the terminal to download the needed files.

Using 'dpkg' from the recovery console produces a large number of needed files, but errors when attempting to retrieve them; likewise with xfix.

Every fix I've read so far seems to be dependent upon the ability to open Gnome or some other gui, which I am still unable to do, and it seems I need to create and then modify xorg.conf

Thank you!

presence1960
June 9th, 2009, 12:19 AM
do you mean you upgraded from Hardy Heron to Intrepid Ibex? I stay away from upgrades and do a clean install. I have read far too many horror stories on here about upgrade process not working properly. Sorry I can't offer any advice other than to boot off the Live CD and back up your data, then do a clean install.

kvk
June 9th, 2009, 12:53 AM
My error- ugraded from Ibex to Jaunty.

Opening /etc/X11/xorg.conf using nano (I had forgotten that!) shows absolutely no specific devices or monitors listed- the file reads

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

merlinus
June 9th, 2009, 01:10 AM
You might try this:



gksu nvidia-settings


if indeed it is your nvidia card causing difficulties.

kvk
June 9th, 2009, 01:11 AM
More update~

Modifying the X11/xorg.conf file as per aaronlow in "Ubuntu Studio9.04 + Nvidia is a challenge" thread:

entered the line

Driver "vesa"

under the Devices heading.

Entered

sudo telinit 3

into the terminal. System opened the gui log-in manager, but accepted no text in the input fields.

*sigh*

:-p

presence1960
June 9th, 2009, 02:11 AM
My error- ugraded from Ibex to Jaunty.

Opening /etc/X11/xorg.conf using nano (I had forgotten that!) shows absolutely no specific devices or monitors listed- the file reads

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

I looked at mine and it is exactly the same.

I know you probably tried this already, but...when you boot into recovery mode did you scroll down the options and try xfix? I believe that is what it is called.

kvk
June 9th, 2009, 02:55 AM
Yes, Presence; I tried that too. The response from running xfix is a post-installation warning that a customized configuration may have been overwritten, and the backup file is given. The file, however, is identical to the one I have above.

Merlinus- I can't run gksu, because no graphic display is functioning.

I would not mind if I did find a blue whale in my soup
Nor would I mind a porcupine, inside a chicken coop
Yes life is fine, when things combine
Like bagels, cheese and lox
But Lord this time, I think I mind
Bad hardware's in my box.
(with apologies to Berkeley Breathed)

merlinus
June 9th, 2009, 02:58 AM
FWIW, here is my xorg.conf. The nvidia gui settings were integrated into the original one.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder62) Tue Mar 24 06:15:32 PST 2009

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@crested) Sun Feb 1 20:25:37 UTC 2009
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Module"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Hitachi CM751"
HorizSync 30.0 - 94.0
VertRefresh 50.0 - 160.0
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9400 GT"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1280x1024_85 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

kvk
June 9th, 2009, 03:31 AM
Most excellent, Merlinus! That was helpful!

I configured the xorg.conf file by adding the two blocks dealing with the specifics of my nVidia card, ran

sudo telinit 3

and it opened to a correctly graphically-configured log-in screen. Thanks!

Now...it is still freezing on entry of the password, but I think that's a different issue, although I might be wrong. I think it's a conflict between UbuntuStudio and the rt kernel, although I'm running the rt kernel so there shouldn't be any conflict. But maybe it has to do with which version is running; I'll have to check into that more.

merlinus
June 9th, 2009, 03:37 AM
Great! Keep us posted...