LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 07-20-2011, 05:36 AM   #1
pmorin
Member
 
Registered: Jun 2011
Posts: 40

Rep: Reputation: Disabled
Unhappy Problem booting on new kernel after update


Hello, I've got a problem with my Ubuntu Server 11.04 amd64, I think the problem comes from GRUB 2.

Here is my problem : I updated my server and I now have Linux 2.6.38-10-server (in addition to 2.6.38-8) and, when I try to boot on version "10", I think I have a Kernel Panic because the screen keeps black and there is no use of the HDD (I can ear it working with version "8").

I also looked at /boot/grub/grub.cfg and I didn't saw any diference between the lines for v10 and those for v8 (except for "8">"10" of course).

I tried with Recovery Mode too, with this result :
Loading Linux 2.6.38-10-server...
Loading initial ramdisk...
> No use of the HDD (I don't ear it), and it's "frozen", can't do anyting but reboot it by ACPI (nothing happend when hitting "Num Lock")

Another question : can we have no submenus in Grub2 ?

Thank you for your help !

Regards,
Pierre
 
Old 07-20-2011, 11:51 AM   #2
ITPhoenix
Member
 
Registered: Mar 2011
Location: Northeast USA
Distribution: Debian Squeeze
Posts: 47

Rep: Reputation: 1
Smile

I am not an expert but practical experience has led me to perform a full system image backup on a regular basis. That said, I see too many problems with kernel updates in the forums. Instead of spending endless hours trying to get the updated system to work, consider a clean install with the new kernel. If you do not have an image backup, you could copy all your files to disk then do the clean install. I have found that clean installs are not guaranteed to work either, but when I wipe the disk, e.g.., "clean all" in diskpart, the clean install works everytime. Also, checking the image with the MD5 before you burn, and verifying the disk during the burning process, is highly recommended.
 
Old 07-20-2011, 11:55 AM   #3
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Try to regenerate the initramfs image:

Code:
sudo update-initramfs -u -k all
 
Old 07-20-2011, 12:46 PM   #4
pmorin
Member
 
Registered: Jun 2011
Posts: 40

Original Poster
Rep: Reputation: Disabled
@ ITPheonix : Thank you for your help. A clean install for each kernel update is not possible for me : too much work for that at each update.

@ andrewthomas : I tried but it doesn't have changed anything.

Note that the kernel seems to be OK becaus I managed to boot on it by booting on Recovery Mode and playing with the power button of the computer. Yes, I said that I had to push the Power button (computer turned on) many times to make it work (I've done that only once). That's REALLY weird.

Moreover, I saw a strange message at Recovery boot : it said me that /dev/disk/by-uuid/d84ca57a-7661-4ff1-b8a6-7f983c37da20 (the boot HDD) isn't found, but all is in, and the v8 kernel is working (and I verified : it really exists).

Do you see anything else ?

Last edited by pmorin; 07-21-2011 at 11:23 AM.
 
Old 07-20-2011, 03:52 PM   #5
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,104

Rep: Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815
The uuid refers to partitions. Run either or both of these commands to check the output against your error message:

sudo blkid

ls /dev/disk/by-uuid

What does "all is in" mean in your last sentence?
Do you have a separate /boot partition?
 
Old 07-21-2011, 04:02 AM   #6
pmorin
Member
 
Registered: Jun 2011
Posts: 40

Original Poster
Rep: Reputation: Disabled
Here is the result of "ls -lA /dev/disk/by-uuid/"
Quote:
lrwxrwxrwx 1 root root 10 2011-07-20 18:35 1E3A68653A683BC1 -> ../../sda2
lrwxrwxrwx 1 root root 10 2011-07-20 18:35 2C32E5F932E5C7C2 -> ../../sda4
lrwxrwxrwx 1 root root 10 2011-07-20 18:35 4638671F38670D6D -> ../../sda1
lrwxrwxrwx 1 root root 10 2011-07-20 18:35 d0be62be-9235-448e-aa86-2a2aed10f535 -> ../../sda6
lrwxrwxrwx 1 root root 10 2011-07-20 18:35 d84ca57a-7661-4ff1-b8a6-7f983c37da20 -> ../../sda5
Here is the result of "sudo blkid"
Quote:
/dev/sda1: LABEL="SYSTEM" UUID="4638671F38670D6D" TYPE="ntfs"
/dev/sda2: LABEL="COMPAQ" UUID="1E3A68653A683BC1" TYPE="ntfs"
/dev/sda4: LABEL="FACTORY_IMAGE" UUID="2C32E5F932E5C7C2" TYPE="ntfs"
/dev/sda5: UUID="d84ca57a-7661-4ff1-b8a6-7f983c37da20" TYPE="ext4"
/dev/sda6: UUID="d0be62be-9235-448e-aa86-2a2aed10f535" TYPE="swap"
Here is the result of "sudo fdisk -l"
Quote:
Disque /dev/sda: 750.2 Go, 750156374016 octets
255 têtes, 63 secteurs/piste, 91201 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Taille de secteur (logique / physique)*: 512*octets / 512*octets
taille d'E/S (minimale / optimale)*: 512*octets / 512*octets
Identifiant de disque : 0xb42aa3a6

Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
La partition 1 ne se termine pas sur une frontière de cylindre.
/dev/sda2 13 28973 232617187+ 7 HPFS/NTFS
/dev/sda3 28973 89759 488266753 5 Etendue
/dev/sda4 89759 91202 11584512 7 HPFS/NTFS
/dev/sda5 28973 89270 484335616 83 Linux
/dev/sda6 89270 89759 3930112 82 Linux swap / Solaris
All of "Linux" is in the "/dev/sda5" partition (the data, the system, the boot...).

I ran those commands on the v8 kernel.

Last edited by pmorin; 07-21-2011 at 04:04 AM.
 
Old 07-21-2011, 08:40 AM   #7
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Quote:
Originally Posted by pmorin View Post
Moreover, I saw a strange message at Recovery boot : it said me that /dev/disk/by-uuid/d84ca57a-7661-4ff1-b8a6-7f983c37da28
Quote:
Originally Posted by pmorin View Post
/dev/sda5: UUID="d84ca57a-7661-4ff1-b8a6-7f983c37da20" TYPE="ext4"
Is the boot message a typo?
 
Old 07-21-2011, 11:22 AM   #8
pmorin
Member
 
Registered: Jun 2011
Posts: 40

Original Poster
Rep: Reputation: Disabled
Sorry, I made a mistake in my first post.
I edit.

d84ca57a-7661-4ff1-b8a6-7f983c37da20 is the correct value.

Last edited by pmorin; 07-21-2011 at 11:23 AM.
 
Old 07-21-2011, 01:54 PM   #9
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,104

Rep: Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815
Could you post the relevant parts of the grub.cfg file? Someone might see something you overlooked. Can't see anything else with the information you have posted?
 
Old 07-22-2011, 03:58 AM   #10
pmorin
Member
 
Registered: Jun 2011
Posts: 40

Original Poster
Rep: Reputation: Disabled
Here is my grub.cnf file (I don't know what part is absolutely revelent).

grub.cnf
Attached Files
File Type: txt grub.txt (5.5 KB, 5 views)
 
  


Reply

Tags
grub2, linux, ubuntu 11.04, ubuntu64bit, update


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
[SOLVED] Problem booting generic kernel and another problem with fluxbox - libpng warning Switch7 Slackware 17 11-14-2009 04:36 AM
Problem in booting a new kernel shariefbe Linux - Newbie 3 04-16-2009 05:42 PM
booting problem after kernel update me_too Linux - Newbie 7 04-29-2008 12:33 AM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 12:52 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 05:59 AM


All times are GMT -5. The time now is 11:51 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration