Ubuntu Installation :: Only Partial List Of Kernels In Grub?
Aug 26, 2010
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:
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 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 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.
I'm simply trying to remove old kernels and second rename things that are on the list. It used to take me 10 seconds with grub1, but having some difficultly with grub2. So far I went into /boot/ and removed the old kernels and then did a sudo update-grub2 and it seemed to remove all the old kernels from the list. Is this the best way or doing it or any issues on doing it this way? Second I just want to rename what boots up like Ubuntu 2.6.32-22-generic to something else. I keep read not to modify the grub.cfg, but not sure what to do? I poked around the files in /etc/grub.d/, but not sure what to do?
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?
When I run yum list installed command the output shows two kernels:
[Code].....
Would it therefore be safe to remove the first kernel in the installed list to save having two kernels being updated everytime I run yum update? Or is the PAE kernel dependant upon the original?
I used grub customizer to delete the extra ubuntu entries on the grub after an update but when i restarted what was left was just windows and mac. Is there any way to put it back?
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.
How do you change the order of the list? I have Xubuntu 9.10 installed on a 5 gig partition. I only use it for Skype as the mic does not work in 10.04 at the moment for me.Anyway, I would like 10.04 to default to the top of the list. How do I change the order when grub loads.
Firstly, I installed my Windows 7 on sda2; then, I installed Ubuntu 10.04 on sda1. But the computer directly get into Ubuntu without listing the grub list. How to get the Grub list back and make sure the Widows 7 is on the list?
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?
Code: sudo apt-get upgrade Lots of text (Reading database. dpkg: unrecoverable fatal error, aborting: unable to open files list file for package `grub-common': Input/output error E: Sub-process /usr/bin/dpkg returned an error code (2)
I have installed Debian a few times now (and other distro's), so I'm fairly used to installing linux. I'm not used to installing it on Apple hardware (back in 2009 on my laptop I had some issues that were solved rather quickly, but that's about it). Now I'm installing Debian Squeeze on a new (well, bought today, but it is the previous model: iMac 11,2) desktop iMac.
Installing goes well (resizing partition, rEFIt, booting Debian 6.0.1a netinstall CD, installing packages etc.) I followed a tutorial [URL] to install grub explicitly with force after installing and running gptsync. Everything went according to the tutorial and I rebooted to be welcomed by rEFIt and then grub: perfect!
BUT when I chose Debian in the grub-selection list, I only see a few lines of starting the kernel, and then my screen goes all black. A few seconds later I hear a sound, and iirc it's the sound of gdm prompting to select a user. I cannot switch to a TTY and I have to use the power-button to shut the system down.
I have an older Dell Inspiron e1505. The hard-drive went bad years ago and I look to revive it. I purchased a new hard-drive and proceeded to install Windows XP Pro that I have a partial install of XP professional but do not have the key. Microsoft explained because I cannot find I would have to buy a new one instead of keeping my key within their Microsoft store. So instead of purchasing a new key I would like to install the latest version of Ubuntu and go the Linux route.
I downloaded the latest version(non pc I believe) and have it booting of the Cdrom. I am now stuck because it bypasses the cdrom /disk and starts to load XP home again. Will continue to research as I move forward but would definitely like some pointers on what I can do as far as removing the partial install of Windows XP home.
Code: Not all updates can be installed Run a partial upgrade, to install as many updates as possible. This can be caused by: * A previous upgrade which didn't complete * Problems with some of the installed software * Unofficial software packages not provided by Ubuntu
Today I tried to upgrade from 10.04 to 10.10. It got through probably 50% of the install and then everything froze. I had to hard restart the computer, but when I try to boot to ubuntu, it just gives me a prompt and acts as if everything is wrong. I have tried a few things (sudo dpkg -configure -a; sudo dpkg -reconfigure; etc..) but it all seems to lead back to the prompt with no success. Is there anyway to recover my upgrade? Do I have to resort to a reinstall of ubuntu and lose all my data?
I recently tried to upgrade Ubuntu with some new updates but I get this Also if I can't fix this then is there a system restore type function for Ubuntu?
on 9.10 system reported partial upgrade and after I let it do that (which was a BIIIIIG mistake) I can;t install nvidia drivers anymore.tried via Hardware Drivers and via Terminal
I have a compaq nx7010. It started out with 8.04 or perhaps 8.10. I upgraded it through to 9.04 when that became available. I have not upgraded to 9.10 year, because I recall it took me a fair amount of time to get my system working correctly after the 9.04 upgrade. At a guess, audio went down, wifi broke, and that sort of thing. I am now finding that apps I use are not releasing new versions compatible with 9.04. And I see 10.04 is on its way, and I understand it is best to go from one upgrade to the next rather than jump a release.
Here's my question: I get the impression it is cleaner and more stable to do a clean install as opposed to an upgrade. I've also seen many people expressing that view. I've always just gone with upgrading because I didn't like the thought of having to set my whole computer up the way I like it, again. Is there a way to do a clean install that will keep my system the way I like it? For instance, to not have to reconfigure every application?
I have my partitions set up like this: ext3 /home ext3 / linuxswap
Just how much config related stuff is stored in the /home folder? Or is this purely user files? What is the consensus? Is it better to upgrade or to do a clean install? My intention is to have a stable system that does not require hours of my time to get sound and wifi working, with the latest release on it (so that I can run the latest apps).
Just wondering if anyone else has this partial upgrade being offered to them: ffmpeg, libavdevice52, libpostproc51, libswscale0 are held back (grayed out) in Update Manager.
I only use Update Manager manager to see if there are any updates and then use sudo apt-get update, sudo apt-get-upgrade and sudo apt-get dist-upgrade to actually examine the updates as it shows if anything will be removed without anything to replace it.
And I know to never do a partial upgrade.
Update Manager displays "Partial Upgrade" with the files listed above grayed out.
I did use sudo apt-get-upgrade to install a few packages earlier that were safe to install and now -
sudo apt-get-upgrade currently gives this output:
Code: The following packages have been kept back: ffmpeg libavdevice52 libpostproc51 libswscale0 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded