Ubuntu Installation :: Update-grub Not Using Recent Kernels?
May 3, 2011
I have this strange problem on ubuntu 10.04 64 bit, that when running update-grub, it will only put the oldest kernel into the grub menu, despite the fact that I have recent kernels around as well.
in particular:
Code:
# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
[code]...
I'd like to see the most recent kernels in the grub menu, with the most recent being on top.
I've done my due diligence, but I'm tired and frustrated so my googlefu probably isn't up to par at the moment! Been running Ubuntu as my main OS for about a year now, and have been really happy with it. So far I've been able to find solutions to every problem I've had, but I think this one's got me a bit out of my depth. I REALLY don't want to have to reinstall, I'm currently running Lucid as the only OS on this machine, and about an hour ago I installed the most recent updates as provided by the update manager. On reboot, it stopped at a GRUB command line.
I've managed to boot back into Ubuntu by manually loading the linux module etc. and booting. From there I've tried updating grub, and reinstalling grub (No errors on reinstall) but nothing persists. I've taken a quick look at the grub.cfg, but TBH I'm not sure what I'm looking for! [edit] FWIW, I have GRUB 1.981ubuntu7 installed
install Ubuntu inside Windows in the first place, thinking that would be the easiest way to get him into Ubuntu. Now, I can't figure out how to repair his grub loader without killing his Windows XP installation.
I'm a Windows guy (have to be, I'm a gamer), so my knowledge of Ubuntu is limited to whatever I can do in the GUI. The command line is beyond me at the moment ('cause it ain't DOS). More so because I have an identical installation to his system (I built both), and I'm wondering if this is about to happen to me too.
After I messed up badly with my netbook I have to reinstalll the OS, it is a government property netbook that came up with Edubuntu 7.04 insalled on it. I shouldn't mess with the filesystem but I did and now I have to install Edubuntu from the beginning, but I must be sure that everything will just like I have done no change, so I am afraid that I can make some mistakes at this pointThe first thing that I want to know is: Why there are multiple kernels listed at the GRUB (v 1.5)...this is the full list:
I have Ubuntu 8.04 (32-bits) installed on /dev/sda and Ubuntu 10.04 (64-bits) installed on /dev/sdc (this is an update from 8.04 64-bits originally installed on /dev/sdc). There is a grub on each of these two disks. Both are the old grub (prior to version 2). Here is the top kernel listing from /dev/sda:
I have a grub menu with a ton of old kernel entries that I want to delete. I've scoured this forum, and haven't found anything that works. I've tried:
Code:"the easiest way to get rid of old kernels from grub is to uninstall the package, the post-install scripts will update grub
for example my current kernel is:
uname -a Linux hemma 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux
then remove older kernels found in /boot like this:
sudo aptitude remove linux-image-2.6.31-15-generic" When I tried that, the output showed the package being removed, but nothing was removed from the grub menu. I tried running the kernel I supposedly removed, and it wouldn't start, which is promising, but how do I get it out of the grub menu? I've also tried using Synaptic, but that didn't work either.
RE: Ubuntu Desktop 10.10 64bit Updates from 2-3 days ago.
Since then, Firefox starts and runs fine the first time. Close it down and later try to restart, error says that Firefox is already using that profile and will need to quit it before proceeding.
System Monitor then shows that firefox and firefox-bin are still loaded (although nothing in the gnome app tray at bottom of screen). Jill those 2 processes and Firefox loads normally.
Should I wait this out and see if later updates cure this? Reinstall Firefox? Submit a report to launchpad?
My mythbuntu 10.10 system including its lirc managed remote control has been working fine.I've recently done some updates (see below) and now the remote doesn't work correctly (only some of its keys seem to work). I suspect that lirc is no longer managing the remote and now instead the remote is now being treated like a keyboard.How do I get lirc managing my remote control correctly again,Before the updates the kernel was:
Code: $ uname -a Linux pvr 2.6.35-28-generic-pae #50-Ubuntu SMP Fri Mar 18 20:43:15 UTC 2011 i686 GNU/Linux
Firefox 3.6 "Namoroka" stopped working after a recent update. Clicking on my panel launcher or the launcher in the applications menu does nothing. I even tried starting Firefox from the terminal and got an error message: "(firefox-bin:3592): GLib-WARNING **: g_set_prgname() called multiple times", whatever that means.I would be willing to rip out Firefox and start all over again but I don't know how to remove the 3.6 version. I couldn't find a method in the Software Center for doing that graphically.
I've been using Linux for over a decade, so no need to worry about the obvious. I'm positive that I have my partitions/install correct. What has me baffled is that Fedora 14, which uses GRUB 0.97 (GRUB legacy) - boots Windows flawlessly every single time on the same hardware, but Ubuntu's (or the upstream Debian's) GRUB legacy do not - even though they are based on the same upstream code from the GNU Savannah servers.
No matter what I've tried I cannot get the Debian or Ubuntu version of GRUB/GRUB-legacy to boot any recent Windows 64 beyond XP (Vista or 7). All that it does is resets the computer when Windows attempts to boot, without an error. GRUB is notoriously difficult to compile, so before I try to compile code from RedHat's archives - any thoughts,experiences, similar issues - whatever?
In sda, I have 4 partitions, and I have windows 7 in one of the extended partitions [not in the primary partition].
In sdb, I have 3 partitions. 2 for storage, and 1 10GB drive for Ubuntu. Again, Ubuntu is not of a primary partition.
I had ubuntu 10.04 running on that for a long time. However, I wanted to reinstall ubuntu and use 10.10.This is what I did EXACTLY:Booted from Ubuntu install CD
Chose advanced istall
Selected sdb3 for Ubuntu
I installed GRUB2 on the SAME partition as Ubuntu aka sdb3 Installed then rebooted
I can boot into Ubuntu fine, but whenever I select Windows 7 bootloader from the GRUB menu, the screen goes black, and my PC reboots.
Boot Info:
Code: Boot Info Script 0.55 dated February 15th, 2010 [code]....
ls: reading directory sda6/: Input/output error
I have tried the testdisk/update-grub method, but it didn't work.
I've been using Ubuntu for more than a year (just basic simple stuff like surfing the net or the occasional document) and in the last months I've been running into the following problem.I've been updating regularly to the latest Kernels the last one should be 2.6.32-25. However at start up Grub loads only 2.6.31-19 and below and there's no mentioning of 2.6.32 in grub.cfg while it is present in menu.lst. I tried to update grub with no success.
I have GRUB to allow me to boot windows and Ubuntu, i recently noticed that my list of kernels is getting clogged up with all the updates. So i went online to try and find out how to get rid of the unwanted partitions and also how to add new ones - i am going to attempt to hackintosh, and will need to know how to add kernels. What i found out was; the boot menu in GRUB had a file that is supposed to be called 'menu.lst' (Lst not ist), and that all i needed to do was edit this, that it wouldn't delete the kernels, but that i don't need to, i only need to add and remove links to kernels on the GRUB menu. The problem is that after looking, i don't have that menu.lst file, i have a file containing the image files for 'memtest', but not for my GRUB. I am using 10.04, i don't know what version of GRUB im using but i'm using whichever one comes with 10.04. Could someone please point me in the direction of the files i need to edit or what i need to do to add and remove kernels?
I recently installed ubuntu 9.10 and a day later updated with all the suggested security and recommended updates. Now I notice that in my Grub there are two different kernel versions listed. Are they both necessary? Can I / should I get rid of the older one, and if so, how?
I ask because after all these updates I notice my computer runs much slower, so I don't want it overloaded with unnecessary software.
So today 2.6.31.17 came. to the b1tch of a cat sleeping on the keyboard, I was forced to a restart before I wanted.
Anyway why does each have have entries for : linux-headers-2.6.31.17 linux-headers-2.6.31.17-generic
[code]...
How do I know which one I should use from the choice of 3 for the current kernelAnd if I understand which one to use, can I delete the others from the same imageAlso, in start-up manager I have choice of 4 from the drop down list?
I ran grub-customiser to set default kernel, and saw the GFX mode setting, thinking "Hey, my monitor is native at 1440x900! I'll use that!" ...Didn't think about how the GFX card isn't initialized at that point, so my res is limited to 640x480... So the first problem was a system hang at the grub menu, with "Input Not Supported" displayed on the monitor.I changed the GFX mode back, and ran update-grub, and with a grin on my face, I rebooted. The grin went away fast, when I saw that none of the kernels showed in the grub menu, and I have only the two memtest entries. It appears that, while all the files are still intact, grub is not seeing the kernels. I had an idle partition of about 13 GB on hand, so after trying all sorts of things, I did a clean install on the little 13 GB partition. Still no dice, after doing an apt-get purge grub etc etc etc on my main Ubuntu partition, to make sure that the new grub was running. I still have only memtest, even though I can open the /boot directory and see the kernel files. I tried going into the grub command line and starting manually, but tab-complete does not suggest any of the kernel files, and tells me that the files do not exist, if I type in their full names.
I installed all recommended updates as suggested by the update manager, after installing was asked to restart. During this restart I get the error message "udevadmin trigger is not permitted while udev is unconfigured. After this I am left with a BusyBox v1.13.3 [...] (initramfs)_
When I start the X server, my touchpad works for about 5-6 seconds (I'm moving it around to test). After the X server fully loads (and all the software loads in, I presume), the touchpad mouse promptly stops working. I can no longer use the GUI because the mouse is dead.
This seems to be a software bug after the latest update. Is there any way I can regress to a previous version? Perhaps uninstall the recently updated software?
When I installed lucid, I opted not to install GRUB as I leave that job to a small 'rescue' Arch Linux install somewhere else on the drive. However, some recent upgrade (I'm having difficulty figuring out which one exactly) claims to require the packages 'grub-pc' and 'grub-common'.
I'm not sure but surely this is a mistake. Right? And if so, what are my options? Does installing the packages automatically install grub (ubuntu-grub, that is) to the (insert word for that first part of the HD where the bootloader resides....?) Or will I have to manually tweak the package installation to avoid installing?
operating system : fedora 15 kernel 2.6.38.8-32.fc15.x86_64 bugs : when updated with the latest update it always log into the fallback, i read somewhere that the nvidia driver version 275.09.07 does not work correctly with gnome shell so i did reinstall it and it fix the log in issue but now it gives me a screen with lots of bad mixed color after returning back from suspend. kernel 2.6.38.8-35.fc15.x86_64
bugs : it gives me this error at boot time "alg: skcipher: Failed to load transform for ecb-aes-aesni: -2" and this message does not save at boot.log anyone have any idea how to fix those issue
I am not able to log to my system as i am getting a strange message at GRUB screen even different kernels are not getting loaded. The entire thing i get is as follows: GNU GRUB version 1.97~beta4 [Minimal BASH-like line editing is supported.For the first word,TAB lists possible command completions.Anywhere else TAB lists possible device/file completions.
I'm sure there is a thread on this somewhere, but after looking though the first 100+ search results, I can't seem to find it.
After a kernel update today, I noticed that new kernels are not being added to my grub menu.lst (so consequently, I was running an older kernel).
Any obvious reason why this would happen (kernels being installed normally, with yum update)? I thought the whole process was supposed to be automagic.
Would it have anything to do with the fact that I just kept my F11 menu.lst, and added a F12 kernel to it when I installed F12 (to a separate partition), then eventually (today, finally) removed the f11 kernels from it?
I think a recent update has broken 2 of the 3 systems that I've been putting together. To test out the theory I want to roll libpam-modules back to version 1.1.1-2ubuntu2 from 1.1.1-2ubuntu5 that was recently released on 1 of the 2 that got updated and see if it resolves the issue that I'm seeing with not being able to log into the OMSA webserver. How do I go about reverting to the earlier version?
I recently added a repository to my package manager to allow me an installation of firefox 4.0. This worked, and when I ran a recent update, my package manager also updated my firefox 3.6 to a nightly build, as well as my thunderbird email application. What's worse is, it changed around all my icons and names, so now it uses the code name of the version (Namaroka, instead of firefox...) I'm sure this is great for developers, but I just want it to be normal. how I can step back with the update I did?
I've been running ubuntu on multiple computers for about 8 months now, installed on one computer as it's only OS (XP ran too slowly), and as a side OS for two others, one running XP and one running 7.The problem is, Ubuntu recently stopped booting on my Windows 7 computer. The option shows at start-up, but when I select it, the computer restarts back to the boot menu. I had recently installed an update from Update Manager that required a Restart, so when I restarted it to finish installing I left it to have dinner and it restarted into windows.About a day later, I wanted to boot ubuntu again, but my computer simply restarted, and has been doing this since (it's been about 3 days). I'm not sure if this has anything to do with it, but the last thing I installed before the update was a 1st person shooter game, I can't remember the name, but the icon was a "ka" symbol in katakana.
Updated two SSH packages today and now SSHd wont start. Worked fine an hour ago, and I'm still logged onto the server via pre-existing SSH sessions, but now I obviously cannot start new ones.
Code: paine@pandora:~$ sudo /etc/init.d/ssh start * /dev/null is not a character device! paine@pandora:~$