Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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 ?
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.
@ 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).
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...).
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.