Ubuntu 12.10 problem after update
Hi,
I am using Ubuntu 12.10 on Dell XPS i7 Laptop.Ubuntu was working fine some days ago. But as I installed new "Generic linux kernel headers -> linux-headers-generic 3.5.0.27.43" etc, I can no longer boot to Ubuntu. It just gives me black screen and nothing happens after that. I have recently installed 27th version. When I choose older version from advance boot options ubuntu boots perfectly fine. My system also gives me error that "Ubuntu has experienced some prooblem". What can be the problem? What should I do? Thanks in advance. |
Did you get this error before?
Code:
Error:15 File not found Is there small white horizontal line on top left side of the screen? Go on command line and try Code:
$ apt-get update OR Go to recovery mode and try to fix broken packages. |
I tried to fix some broken packages by booting from previous image (26th version). The process was completed but problem still persists. Any other idea? Yes, I could see the small horizontal line on the upper left corner of the screen during shutdown. But that was several weeks ago. And my system started giving me above mentioned problem only 3-4 days ago.
|
It looks like your new kernel header is not booted properly.
Have you checked your new kernel entry in /boot directory as vmlinuz-kernelversion-generic If you are using grub (not grub2), then you can see a file /boot/grub/menu.lst your new kernel entry should be here in this file other wise it does not boot new kernel. but if you are using grub2 then menu.lst will not be there Check /boot/grub/grub.cfg, your new kernel entry should be here in this file. it looks like this Code:
menuentry 'Ubuntu, with Linux 3.2.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os { This is the proper way to install new kernel header. Try this using command line. When you try to fix broken packages, it fixes every thing for your including kernel header. There are large number of chances if you try to install only kernel header and if you do not install properly, it does not boot properly. Generally newbie upgrades ubuntu and it upgrades new kernel header for you. |
Thanks for replying. I tried the command line method you mentioned above. But it seems to check only the version(26th) I am currently booting. I also check the grub.cfg file. I found the menu entry there. I even tried to re-install the headers and the package but it doesn't work even after that.
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6c22200c-357c-4419-801b-6cbe1c27962c' { recordfail gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos7' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 6c22200c-357c-4419-801b-6cbe1c27962c else search --no-floppy --fs-uuid --set=root 6c22200c-357c-4419-801b-6cbe1c27962c fi linux /boot/vmlinuz-3.5.0-27-generic root=UUID=6c22200c-357c-4419-801b-6cbe1c27962c ro quiet splash $vt_handoff initrd /boot/initrd.img-3.5.0-27-generic } |
Quote:
Try update-grub from outside of X. IE: get to the boot screen. highlight the partition's entry that you wish to boot from. type 3 and hit the Enter key. at the prompt enter root, hit the Enter key. type in the root password, hit Enter. Type in update-grub and hit the Enter key. There should be no output. Type in reboot, hit Enter. It probably needs to have an update-initrd run first. |
Ok try this
In recovery mode, it shows your new kernel on top of the screen. Highlight it and press e to edit it. Now change following text. linux /boot/vmlinuz-3.5.0-27-generic root=UUID=6c22200c-357c-4419-801b-6cbe1c27962c ro quiet splash $vt_handoff change it to linux /boot/vmlinuz-3.5.0-27-generic root=UUID=6c22200c-357c-4419-801b-6cbe1c27962c ro nomodeset $vt_handoff I have changed quiet splash to nomodeset Now ctrl+x to boot But these changes will not be permanent, you have to change this every time when you will restart. To make this permanent, Add this option to /etc/default/grub Code:
sudo nano /etc/default/grub Code:
GRUB_DEFAULT=0 Code:
sudo update-grub |
No it was not a good idea. Screen just freezed after showing Ubuntu logo. I could no longer boot properly. I tried previous version (26th). Resolution was really bad. Only keypad was working. Neither unity bar nor touch pad was working. I used terminal to undo the changes made as you suggested. After that I was able to boot properly from previous image. Perhaps the problem is something else.
|
All times are GMT -5. The time now is 12:25 AM. |