Ubuntu :: Way To Hide Grub Entries In Grub2?
Jan 8, 2011
I have been fooling around with some of the new kernels and have ended up with a lot of options in my grub at boot. I have been checking this page:[URL].. ... and it appears hiding the entries in grub2 is not as easy as hashing them out (#) which was the convention in grub.
My problem: I have installed kernel 2.6.36 and 2.6.37 just to fool around. Neither works in anything but low-graphics as it seems the ATI graphics driver is not working in either yet. They both also kill my wireless (don't recognise the card). BUT I don't want to completely uninstall them as I'd like to keep playing around as time goes on and they develop. I'd like to just hide them from the menu.
Is there some easy way of doing this? The link I provide only gives options to make the kernel non-executable (overly complicated process) or remove the kernel completely, neither of which I want to do. This used to be simple in grub, open a file and add or remove a #, and - although overall I prefer grub2 - IMHO this 'improvement' seems a little like a backward step. Sure a million people will disagree, but .
View 9 Replies
ADVERTISEMENT
Jul 11, 2010
Intalled GRUB using Live CD. My problem is very similar to these..
Code:
1. sudo grub-install --root-directory=/mnt /dev/sda
2. sudo mount -o bind /dev /mnt/dev
3. sudo mount -t proc none /mnt/proc
[Code]....
View 1 Replies
View Related
Aug 10, 2010
There are 2 osx entries in the grub menu one is 32-bit and the other is 64-bit, how i can get rid of the 32-bit one? i am using ubuntu 10.4 and snow leopard 10.6.3
View 9 Replies
View Related
Mar 3, 2010
i'm using ubuntu 9.10... i'm working on some projects on L4 microkernel... i want to add it to the grub...i was familiar with the earlier grub, i.e editing the menu.lst...
title = L4Ka:istachio/i586 pingpong
kernel=/boot/kickstart
module=/boot/i586-kernel
module=/boot/sigma0
module=/boot/pingpong
how can i do this in new grub version...? i tried adding the following to /etc/grub.d/40_custom but failed...
menuentry "L4Ka:istachio" {
set root=(hd0,9)
kernel=/boot/kickstart[code ]..........
View 3 Replies
View Related
Jun 10, 2010
grub is giving me six (6!) repetitions of my Ubuntu Lucid install on sda5, five repetitions of my old karmic install on sda1, and I think four of the recovery option.Where have I told it to do that? How do I fix it??The grub choices look like this:
Code:
most recent lucid kernel on sda5
most recent lucid kernel recovery option
[code]....
View 5 Replies
View Related
Jul 14, 2010
I have a dual-boot grub2. On the list, there are Ubuntu 10.04, Memtest x86, and Windows7. I was wondering if it is possible to make Windows 7 first in the grub boot list. At the moment Ubuntu is first, so if it's possible to make windows 7 first.
View 2 Replies
View Related
Aug 30, 2010
I would like to hide two entries in my GRUB2...(to clean up a BURG theme)
Dell Utility Partition -on- /dev/sda1
Microsoft XP Embedded (Which I believe is Dell Media Direct) -on- /dev/sda5
I understand that you must edit it in either 'menu.lst' or '30-os-prober' files.
The entry is a little like this... (?)
Code:
if [ -z "${LONGNAME}" ] ; then
LONGNAME="${LABEL}"
fi
if [ "${DEVICE}" = "/dev/sdXY" ]; then
[Code]....
View 5 Replies
View Related
Mar 6, 2010
I have made a custom grub2 menu however, both the default and the custom show together. So my grub looks like the list below, the bolded entries are my custom ones. How do I get rid of the duplicates? I have tried apt-get remove and deleting old kernels.
ubuntu,linux ...
ubuntu,linux recovery
memtest
memtest
windows7
windows7
ubuntu linux
ubuntu linux recover
View 7 Replies
View Related
Jun 22, 2010
i have an entry in grub that i don't use at all "Windows recovey " and i want to know if there is a way to remove it or just hide it i have an other problem is grub confuses some partitions names so is there a way to rename them
View 3 Replies
View Related
Jan 24, 2010
When I originally installed Ubuntu 9.10 64 bit, I had the following operating systems already installed:
Kubuntu 9.04
Windows 7
Windows XP
Ubuntu automagically created a GRUB2 menu that offered all of these, plus of course itself, which was fine for a while.
Later on, I deleted and reformatted the partitions that had been dedicated to Kubuntu 9.04. GRUB2 has failed to keep up. Despite running "sudo update-grub" multiple times, the GRUB2 menu continues to show entries for Kubuntu 9.04.
How do I get rid of these obsolete entries? The partitions it was on simply do not exist any longer, so I don't know how GRUB2 is picking it up.
I had already edited my fstab file to reflect the new partitioning scheme, so I don't know where GRUB2 is getting the idea that I still have Kubuntu 9.04 installed.
View 9 Replies
View Related
Apr 28, 2010
Now it's:
Ubuntu
Memtest
Windows 7
I want:
Windows 7
Ubuntu
Memtest
How do I go about doing it? Do I rename "30_os-prober" in /etc/grub.d/ to "10_os-prober" and "10_linux" to "30_linux"?
View 9 Replies
View Related
Jun 25, 2010
As it stands right now, Grub2 seems to generate menu entries in this order (for my pc)
Ubuntu 2.6.32-22
Ubuntu 2.6.32-22 (recovery)
Ubuntu 2.6.32-21
Ubuntu 2.6.32-21 (recovery)
Windows XP
How can I make it so that Grub generates entries in this order
Ubuntu 2.6.32-22
Windows XP
Ubuntu 2.6.32-22 (recovery
Ubuntu 2.6.32-21
Ubuntu 2.6.32-21 (recovery)
If you're wondering why I care about the order, its because I just installed Grub with an icon based theme. In that situation, it looks silly to have 4 Ubuntu Icons next to each other, and then the windows one at the end.
View 7 Replies
View Related
Oct 22, 2010
i have been running Kubuntu 10.04 on my primary hard drive, and i have a second 1.5TB HD that i use for storage. so shrunk the secondary HD partition and created a second 50GB partition and i installed Ubuntu 10.10 on it and told it to rewrite the mbr on my primary HD. Where i am at: i took the menu entry from my Kubuntu "grub.cfg" and the entry from my Ubuntu "grub.cfg" and put them in the 40_custom file. so now when i boot-up my computer, it shows both installations at the bottom of Grub2s menu list. with all the menu entries that Grub automatically adds.
What i would like to know is how do i make it so that the Grub2 menu only shows the entries that i add to the 40_Custom file and not the randomly generated list aswell.
View 3 Replies
View Related
Mar 5, 2011
Is it possible to add menu entries for older kernels to boot instead of the latest?
I have tried this in Ubuntu 10.04 and it hasn't worked.
This used to be possible with ease in grub legacy.
I copied the current menu entry from /boot/grub/grub.cfg and pasted it in the /etc/grub.d/ 20_custom file.
Then I changed the kernel number to the older kernel number and the initrd number too. #update-grub puts this entry into 'grub.cfg', but it doesn't work.
I get:
The old kernel is in /boot as well as the respective initrd and config files.
View 1 Replies
View Related
Jan 10, 2010
I have been reading this but could not resolve my issue: [URL]. The problem is as follows. I got a samsung laptop and there is some kind of recovery utility installed. After installing Ubuntu I get too windows grub entries, one is called Windows Vista (loader) on /dev/sda1 and the other one is Windows 7 (loader) on /dev/sda2. The latter is correct and the first one is something that I'd rather not have active at all in the grub menu. Both of them are of course created by 30_os-prober in /etc/grub.d. I figured that I would most likely prefer a custom entry for Windows 7 and remove the x flag from 30_os-prober. I tried to create a file 50_windows7 in a described manner:
#! /bin/sh -e
echo "Adding Windows 43_custom" >&2
menuentry "Windows Vista 43_custom" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set 7cecddfbecddb01e
chainloader +1 }
Unfortunately during update-grub I get following:
Found linux image: /boot/vmlinuz-2.6.31-17-generic
Found initrd image: /boot/initrd.img-2.6.31-17-generic
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found Windows Vista (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
Adding Windows 43_custom
/etc/grub.d/50_windows7: 4: menuentry: not found
View 13 Replies
View Related
Feb 6, 2010
My grub2 boot entries never change. I have run sudo update-grub and it finds all the proper kernels and such and says that it has updated. I check with the menu.lst and grub.cfg and they both look to be correct
View 13 Replies
View Related
Dec 26, 2010
On my Samsung netbook, I have successfully got a pretty speedy dual-boot of Windows 7 Starter and Ubuntu 10.10
I set up Burg, to well, replace Grub2 in favour of a more attractive interface and so far so good. I know that I can hide the older Ubuntu kernels/recovery slots by pressing the 'F'key. However, the Windows recovery partition still shows up. So it looks like this:
Ubuntu - Windows 7 - Windows Recovery (vista)
Basically, how can I hide the Windows Recovery partition? If I ever do need to use it, I can access it alternatively by pressing F4 at boot.
View 3 Replies
View Related
Apr 8, 2011
I have serious problems hiding the Grub menu at startup.
What I want to do is simple boot into the first (and only) item without showing the menu to the user.
I have removed everything on the system so the only option is "GNU/Linux, with Linux 2.6.32-30-generic" in the menu.
My /etc/default/grub is like this:
Code:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
[Code].....
No matter what I do I always get the same result:
The menu is shown and no countdown!
It's like grub isn't reading the changes of /etc/default/grub
why I'm unable to hide the menu?
View 9 Replies
View Related
Jan 16, 2010
is it possible to edit Grub2 to hide the rectangular frame around the selectable OSes? Also, is it possible to hide the Grub 'title' ("Grub GNU 2 (1.97~beta4)" et cetera)?
View 1 Replies
View Related
Jan 19, 2010
I have installed UNR 9.10 Karmic on new Asus EEE pc 1008HA to dual boot with XP. Like many new pc's it has a hidden partition to recover the factory hard disk settings and Microsoft Windows XP. Unfortunately, GRUB2 has picked this up and is showing the recovery system in the boot menu. Clearly this is dangerous because the user could reset the pc. How do I remove or hide this boot start up option? Other thoughts: I do not believe Easybcd works with xp/linux. is there another easy bootloader?
View 7 Replies
View Related
Jun 19, 2011
It's quite easy to change the default boot entry through etc/default/grub. However, this only allows for the first entry to be changed. I want to be able to move all the entries in any order I like. What is the best/easiest way to do this?
View 1 Replies
View Related
Nov 18, 2010
So my grub menu is showing several selections for each of my OS's. In Ubuntu, my OS of choice for now, how can I access the grub and edit it.
I would like to know the steps for console, but also I hope somebody can show me how to use Super Grub to do it.
View 2 Replies
View Related
Aug 20, 2010
I like to load other distro's via their own grub.
So at the min I add an entry to code...
however when update-grub2 is run it also adds its own entries (for arch linux).
Is there a way to stop the update-grub2 script automatically adding a entry on a specific partition ?
View 3 Replies
View Related
Jan 23, 2010
In GRUB 1 there were commands to hide/unhide a partition (e.g. hide (hd0,1)). Is there an equivalent in GRUB 2?
Do not confuse with hiding something from the menu - i want to hide a partition.
View 1 Replies
View Related
Feb 13, 2010
I have Googled this one and I have tried several fixes so far nothing has worked. All I want to keep is these entries in my grub menu:
"Ubuntu, Linux 2.6.31-19-generic-pae"
"Ubuntu, Linux 2.6.31-17-generic-pae"
"Microsoft Windows XP Professional"
1st - Through Synaptic I removed:
linux-headers-2.6.31-14
linux-headers-2.6.31-14-generic-pae
linux-headers-2.6.31-15
linux-headers-2.6.31-15-generic-pae
[Code]...
View 9 Replies
View Related
May 19, 2010
In ubuntu 10.04 how to protect Grub Entries...?
View 3 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 2, 2010
I'll get directly to the point, I've installed Ubuntu, Linux on the same partition as Windows 7. Everything works just as it should be, no problems and I'm actually enjoying Ubuntu. It's a nice and clean OS.
Now, I'm having trouble with the GRUB, since I have updated Ubuntu a few times. It's not a large problem, but I don't like it around.
I attached a picture of my GRUB, it may take too many words to describe what's going on, so see for yourself.
View 7 Replies
View Related
Mar 27, 2010
I am thinking the GRUB 2 more functionality was achieved at the price of presenting a user with what I experience as Byzantian mangle of default loaded templates, almost designed to make me give up and leave the defaults.menu.lst is no more - its now /boot/grub/grub.cfg DON'T edit it! /etc/grub.d has the new stuff. These are not just a list of boot-up choices anymore. It requires one to be a programmer.One called 20_memtest86+ is not really to be meddled with. I tried simply making it non-executable.The last choice, 40_custom, allows to add entries only - not quite what we wanted to do.
View 9 Replies
View Related
Feb 16, 2011
Before Ubuntu I used m8, and the boot options for m8 still shows up in the grub startup screen. I want to get rid of those m8 entries. I have edited grub in the past, and it was just a regular text file, where you could just remove lines or even change listing order.Edit the menu using the command "sudo gedit /boot/grub/menu.lst.No good, there is no such file on my system. After password, That command displays a blank Gedit screen.
View 5 Replies
View Related