Ubuntu :: How To Edit Kernels On GRUB
Apr 16, 2011
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?
View 3 Replies
ADVERTISEMENT
Nov 20, 2010
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
View 4 Replies
View Related
Oct 12, 2010
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.
View 9 Replies
View Related
Jan 2, 2010
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.
View 3 Replies
View Related
Jan 14, 2010
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?
View 3 Replies
View Related
Mar 17, 2010
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:
Ubuntu, kernel 2.6.28.9 Default
Ubuntu, kernel 2.6.28.9 Default (recovery mode)
Ubuntu, kernel 2.6.28.9
[code]....
View 3 Replies
View Related
Jan 30, 2011
Ubuntu disappeared from grub menu after I deleted the old kernels.
View 9 Replies
View Related
Jul 31, 2011
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.
View 6 Replies
View Related
Mar 18, 2010
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.
View 1 Replies
View Related
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:
titleUbuntu 10.04 LTS, kernel 2.6.32-24-generic (grub sur unite1)
root(hd2,0)
kernel/boot/vmlinuz-2.6.32-24-generic root=UUID=761c3d13-cc55-4117-934f-693766e122b6 ro quiet splash locale=fr_FR
initrd/boot/initrd.img-2.6.32-24-generic
quiet
[Code]...
View 9 Replies
View Related
Nov 25, 2010
I followed the Grub 2 Basics steps to remove Grub 2 kernel listings.
However I'm stuck with 3 older versions that was completely_removed from Synaptic (kernel/headers/generic), but remain in grub.cfg.
Quote:
Here is my current grub.cfg:
(How do I remove *.14 *.21 *.22 from my menu entries Ubuntu-tweak is not an option for me. I like it old-school or with the tools at hand.)
Code:
I considered changing permissions for grub.cfg, but update-grub and new kernels will revert my changes.
View 3 Replies
View Related
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.
View 3 Replies
View Related
Feb 17, 2010
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?
Here's my menu.lst, in case it's useful:
Code:
View 14 Replies
View Related
Aug 1, 2010
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.
View 8 Replies
View Related
Mar 17, 2011
Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen....nothing works except Ctrl+Alt+Delete....system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
View 6 Replies
View Related
Mar 13, 2010
I need to fix a part of the file and I don't know how to edit it. I'm using the Live CD - I have the install but I need to fix grub.cfg to use it.
View 9 Replies
View Related
May 28, 2010
I had windows 7 installed on my system prior to the installation of Lucid Lynx. The boot loader for windows is installed in /dev/sda1. The main windows installation is in /dev/sda3 Ubuntu is installed in /dev/sda5.
The grub update has added a loader for windows 7 for /dev/sda3 instead of /dev/sda1. How do i change that to /dev/sda1 in grub 2.0 as it says that it is not recommended to edit grub.cfg in grub 2.0. I know i can add something in custom section but I am not a pro in linux hence i'm not sure how to add that
View 6 Replies
View Related
Jul 6, 2010
I had to followed this tutorial on how to Install ubuntu on my Toshiba Satellite M35X-S114. I am stuck on step 2 now. I used one of the options and was able to get Ubuntu Desktop 10.04 onto my laptop. But now on my first restart I have to edit the GRUB menu and change the boot option so I will no longer then the black screen when booting. Only problem is I can't get to the edit GRUB menu. I turn the computer on select Ubuntu to boot. A black screen shows up I hit e to edit then the Ubuntu loading screen comes up (The one that says Ubuntu and has the dots below it) That screen stays up for about a half a second and it goes back to black and hangs there.
View 1 Replies
View Related
Jul 13, 2010
I used Ubuntu a few years back. I simply was not able to make it my main OS since I couldn't get video calling to work reliably enough. Anyways I just installed and noticed my grub menu had many more entries then I have operating systems on my computer. Some reason they came up as duplicates. I have so far gathered they took away my menu.lst, they replaced it with something like etc/general/grub. It appears editing this file doesn't give me the ability to change entries. There are a few I would like to rename, and a few I want to get rid of. There is also some other file that is not supposed to be edited, will I need to edit this or is there another way around it? I found info like this, but it is only adding not removing.
Assuming that you already looked at the grub2 documentation and had trouble figuring out what to do, try this. Use sudo to edit /etc/grub.d/40_custom. It will look like this:
Code:
#!/bin/sh
exec tail -n +3 $0 .....
After making the change, run 'sudo update-grub' to apply the change to your grub config.
TLDR: Grub 2 added extra entries, how do I remove and rename some?
View 5 Replies
View Related
Aug 22, 2010
i have to edit grub etc/default file but when i open it, it is a read only file (i have to put "i915.modeset=1" in it ) i think i need to do it through the terminal
View 4 Replies
View Related
Oct 4, 2010
Since I updated my 10.04 LTS program from 2.6.32-24 to 2.6.32-25, both of these show up at the dual boot start up menu. Back when I had 8.04 LTS, I was able to edit my menu.lst file to delete past versions. How do I remove past versions from the grub.cfg file at present?
View 9 Replies
View Related
Apr 26, 2011
I installed linux yesterday dual boot win7 but the Fn keys and adjusting the brightness wouldnt work so i tried a few workarounds searches in google. however, when i edited one of the grub lines and when i reboot the system, i see the screen messing up and then goes to black (no display at all). how can i fix this one?
View 9 Replies
View Related
Mar 5, 2010
I'm using HP Pavilion dv2108tx I have ubuntu and Win7 dual boot. The problem is every time I change setting to the BIOS there will be a new list of ubuntu boot came up and now I scroll trough the whole list. Is there anyway to edit GURB boot list.
View 3 Replies
View Related
Mar 22, 2010
I have Windows XP as well as Ubuntu in my desktop. I would like to temporarily disable XP for a month or so, so that One cannot see Windows XP appearing in the grub menu list or during the boot. Is there is any option to edit the grub menu?
View 1 Replies
View Related
Apr 19, 2010
Previously I could don "sudo nano /boot/grub/menu.lst" to edit in grub the countdown timer from 9 to eg: 2 seconds. I don't know how to do that with 10.4, as there is no file /boot/grub/menu.lst anymore.
View 4 Replies
View Related
May 12, 2010
How do I edit the Versions listed in GRUB?
I have at least 25 different Versions listed in my GRUB Screen but they are not in the menu.lst !?
I only use 2 of them.
View 3 Replies
View Related
Jun 29, 2010
I just did a fresh install of Lucid Lynx 10.4, but now whenever I boot up, at the boot loader, Windows 7 is no longer on the list. I want to now how to properly edit grub.cfg in /boot/grub so that I can boot into Windows 7 from the boot loader. The Windows partition is found in /dev/sda2. The folder name is 2EB2621EB261EB33. If anyone could tell me how write the entry in grub.cfg for Windows 7 to boot that would be awesome!
View 9 Replies
View Related
Oct 22, 2010
I've been using 10.04 for a few months without any problems, but today, I tried to boot into Ubuntu and just got a black screen. I tried the tutorial on this site, and it worked.
I have to do this after every reboot unless I edit the /etc/default/grub file (the second part of the tutorial). I'm not sure how to go about doing this since the article is very vague.
View 3 Replies
View Related
Nov 15, 2010
I upgraded from Jaunty - Karmic - Lucid in very quick succession (and surprisingly succesfully too) but have encountered a slight issue with Grub on booting up since the upgrade.I had a removable HDD plugged in when the upgrade was going on. Now when I boot up Grub stalls and comes up with a message that its looking for SDD5 or something. I can tell it to skip this, but I'd rather it wasn't appearing at all.How can I edit Grub to tell it what disks it should and shouldnt be looking for?
View 1 Replies
View Related
Nov 30, 2010
I've tried to find it on google, but I want to have my OS Screen Selection to have a cleaner look than what it currently looks like. I understand we can edit Grub 2 but nothing I've found shows me what to edit into the file. I have all of the files I just need to know which one to edit and what to put into the file so my OS selection looks better
View 2 Replies
View Related