I broke my kernel

.Froot.

Executive Member
Joined
Aug 6, 2007
Messages
9,261
Reaction score
0
I installed the server kernel on my ubuntu hardy distro. I restarted my machine and when it came to the login screen it said that my screencard and monitor cannot be recognised. I selected my screencard and screen from the available list and clicked "test" but nothing happened. From this screen onwards I was stuck at either 800x600 or 640x480. I logged into ubuntu and tried setting the resolution from there but only had the two sizes as options. I then completely removed the server kernel package and clicked on reinstall (the generic kernel I originally had installed) but after restarting, etc, etc, I was still stuck with the same problem. I checked the enable proprietary nvidia drivers (this all worked fine before the server kernel installation) but with no effects.

How do I fix this, or did I do something wrong initially?
 
Kill the X server (CTRL+ALT+BACKSPACE), and then once you are back at the command line, su/sudo to root and type the following:

dpkg-reconfigure xserver-xorg

Go through the prompts and set it up according to your configuration. Once done, restart the X server by typing:

startx

You should be booted into GNOME and (hopefully) be back up and running as you should.
 
thanks for the quick reply. I've done that a couple of times now. No changes.... :(
 
Unfortunately I have never really dealt with the Ubuntu kernel, so I'm not sure what else you could try :(

Reinstall? :D
 
Um reinstall? Not a chance. I've got a pretty hectic installation going here. Going to take me ages to reinstall all my packages and settings. That's like buying a new car each time you get a flat tire. You just need to know how to fix the tire...
 
Solved. I ran the apt-get upgrade command and seems a new kernel version was available. Works more or less fine now again....
 
I installed the server kernel on my ubuntu hardy distro. I restarted my machine and when it came to the login screen it said that my screencard and monitor cannot be recognised. I selected my screencard and screen from the available list and clicked "test" but nothing happened. From this screen onwards I was stuck at either 800x600 or 640x480. I logged into ubuntu and tried setting the resolution from there but only had the two sizes as options. I then completely removed the server kernel package and clicked on reinstall (the generic kernel I originally had installed) but after restarting, etc, etc, I was still stuck with the same problem. I checked the enable proprietary nvidia drivers (this all worked fine before the server kernel installation) but with no effects.

How do I fix this, or did I do something wrong initially?

Glad you sorted it but I had the same problem a few days ago. I had to manully edit the xconfig file to correct the problem. Btw running the server kernel is fantastic much more responsive than the generic one!

Btw the server kernel package needs its own nvidia drivers
 
Last edited:
Glad you sorted it but I had the same problem a few days ago. I had to manully edit the xconfig file to correct the problem. Btw running the server kernel is fantastic much more responsive than the generic one!

Btw the server kernel package needs its own nvidia drivers

Maybe you can point out to me what I need to do to get the server kernel package working? nvidia, xserver and otherwise.
 
I managed to get everything pretty much back to where it was, but I now have another problem. I can log into KDE/KDE4 with my nvidia drivers enabled without any issues, but as soon as I log into gnome the whole system runs at 0.5x clock, ie my system does 1 clock cycle when it should have done 2. If I disable my nvidia drivers, it works fine, but then I do not have 3d acceleration. My 3d and open-GL worked fine before hand.
 
The biggest problem with linux is it has more commands to fk it up than any other OS. With great power comes great responsibility *yoda moment*
 
Maybe you can point out to me what I need to do to get the server kernel package working? nvidia, xserver and otherwise.

Well first thing you would need to do is this. (Note that it is tricky took me an hour to figure out and it may or not work. However getting it to work is fantastic)


1) You obviously need to download the kernel (server) for Ubuntu.

2) NO DO NOT RESTART (as I learned the hardway) before do thing this step.

3) Download and install "linux-restricted-modules-2.6.24-16-server" that should be your nvidia driver for the server.

4) Do not remove the generic kernel yet, keep it incase you can not get the server kernel running.

5) Restart the system *praying as well*

6) When you boot with the server kernel, your resolution will probablly be messed up. Seems Ubuntu is having gfx problems with Nvidia this time round. Anyway start the terminal and type

Sudo nvidia-settings

Then select your correct resolution, save to xconfig file and it should be fine.

BUT! If that doesn't work (aka nvidia won't show the correct resolution) then you have to do this.

In terminal type: (Please make a backup of the file before editing)

sudo gedit /etc/X11/xorg.conf

Then in the file you need to change the following:

Under the section that says screen: (first one)

Virtual: Change those to your resolution you would like (mine was
1280 1024)

Modes "1280x1024@60"

Then further down go to the section that says screen (second one)

Change: Option "metamodes" "1280x1024 +0+0"


To that, then save the file. Restart, then login in again. Start

Sudo nvidia-settings again, and in the nvidia control panel all your screen resolutions shoule be there.

Hope that works, thats what I did through trial and error and it worked fine for me. Good luck
 
"jaarik
Senior Member Join Date: Feb 2007
Posts: 111

--------------------------------------------------------------------------

wireless freezing kernel on laptop at irregular intervals "

can you advise how you would fix this problem? i dont have any details unfortunately
 
every time i read the title for this thread i think ouch!

Breaking even one of my kernels would be painfull :p :D
 
"jaarik
Senior Member Join Date: Feb 2007
Posts: 111

--------------------------------------------------------------------------

wireless freezing kernel on laptop at irregular intervals "

can you advise how you would fix this problem? i dont have any details unfortunately

why hijack my thread?
you might have a messed up kernel (unlikely if you don't mess with it) or you have a driver issue.
 
Top
Sign up to the MyBroadband newsletter
X