Comment 42 for bug 103148

Revision history for this message
Richard James (rjames13) wrote :

With Ubunutu 7.10 after I changed both my motherboard and video card. I got the following
Loading, please wait...
kinit: name_to_dev_t(/dev/disk/by-uuid/489a5508-8b66-471c-a111-4db9076dd216) = hdc5(22,5)
kinit: trying to resume from /dev/disk/by-uuid/489a5508-8b66-471c-a111-4db9076dd216
kinit: No resume image, doing normal boot...

X would not start automatically

I first fixed up the kinit error message by
$ sudo swapoff /dev/hdc5
where /dev/hdc5 is my swap partition
$ sudo mkswap /dev/hdc5
$ sudo update-initramfs -u

That fixed the kinit error but did not make X start automatically.

I tried the upslash resolution == xorg.conf resolution: does not work
I tried apt-get remove ubuntu-desktop apt-get install ubuntu-desktop: does not work
Then I tried to from the console run gdm, which works until you restart
Then I tried looking for the script to start gdm
I was in the /etc/init.d directory and I noticed I had gdm and gdm~ which means that something had altered gdm and had left a backup.
The difference between these was the added line
insmod /lib/modules/$(uname -r)/misc/fglrx.ko

I said before that I had changed graphics cards. I had changed from ATI to NVIDIA and had removed all traces of the ATI drivers so this was crashing gdm on startup

commenting out that line made my system start X on boot again
Maybe I could have apt-get remove gdm and apt-get install gdm to achieve the same results.

Note that the Kinit no resume error is unrelated to the X windows not starting automatically.