LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2013, 10:14 AM   #1
Puneet Jindal
Member
 
Registered: Aug 2010
Location: India(Punjab)
Posts: 38

Rep: Reputation: 0
Exclamation 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.
 
Old 03-29-2013, 02:41 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 619

Rep: Reputation: 136Reputation: 136
Did you get this error before?
Code:
Error:15 File not found
and after two three restart, it is stopped to give this error.

Is there small white horizontal line on top left side of the screen?

Go on command line and try
Code:
$ apt-get update
$ apt-get upgrade
If the process is not completed, you will get the error, now you can search remedy for that.

OR

Go to recovery mode and try to fix broken packages.
 
Old 03-30-2013, 04:59 AM   #3
Puneet Jindal
Member
 
Registered: Aug 2010
Location: India(Punjab)
Posts: 38

Original Poster
Rep: Reputation: 0
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.
 
Old 04-01-2013, 01:33 AM   #4
eklavya
Member
 
Registered: Mar 2013
Posts: 619

Rep: Reputation: 136Reputation: 136
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 {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 1ccba539-eed4-43f4-967f-263ffa57db10
	linux	/boot/vmlinuz-3.2.0-32-generic root=UUID=1ccba539-eed4-43f4-967f-263ffa57db10 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-32-generic
The new kernel entry will always be on top of menuentry attribute.

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.
 
Old 04-01-2013, 09:18 PM   #5
Puneet Jindal
Member
 
Registered: Aug 2010
Location: India(Punjab)
Posts: 38

Original Poster
Rep: Reputation: 0
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

}
 
Old 04-02-2013, 12:54 AM   #6
lucky9
Member
 
Registered: May 2004
Location: Owasso, USA
Posts: 41

Rep: Reputation: 15
Quote:
Originally Posted by Puneet Jindal View Post
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

}

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.
 
Old 04-02-2013, 01:16 AM   #7
eklavya
Member
 
Registered: Mar 2013
Posts: 619

Rep: Reputation: 136Reputation: 136
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
Add nomodeset to GRUB_CMDLINE_LINUX_DEFAULT:
Code:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
GRUB_CMDLINE_LINUX=""
Now run:
Code:
sudo update-grub
Now I hope, it should be fixed.
 
Old 04-03-2013, 09:05 PM   #8
Puneet Jindal
Member
 
Registered: Aug 2010
Location: India(Punjab)
Posts: 38

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu 11.10 update problem Kiwi89 Linux - Newbie 7 01-01-2012 02:06 AM
Hello, i have problem with postfix after update to ubuntu 11.04 uteliux Linux - Server 1 10-21-2011 03:15 AM
update problem in ubuntu 10.04 vikas_choudharyy Linux - Software 1 07-24-2011 09:32 PM
Problem with dualscreen after update to ubuntu 10.04 ulrik85 Linux - Desktop 2 08-03-2010 04:56 PM
Ubuntu update problem cdb931 Ubuntu 11 02-18-2009 05:03 PM


All times are GMT -5. The time now is 07:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration