Ubuntu :: Grub2 Makes Many Entries For The Same OS?
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
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
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 ]..........
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.
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
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
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 .
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.
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.
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.
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.
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
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
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?
I am working on Red Hat Linux since last six months and learning it steps by steps. like configurating ftp server,NSF ,DNS and then email server. I want to learn squid server but technically before going into it what you suggest me that may I first learn to configure Linux as a router,Firewall machine or do IP masquerading on a server. Because all these things are directly or indirectly involve in squid.So guide me because going to start squid i may understand Linux IP table ,how to add entries in it,how to delete entries ,I think you understand my point which i want to ask for guidence.
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again. i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x3c3a81f5
I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?
I installed Fedora 15, which was my first real departure from Debian based Linux OSs. I absolutely love the new Gnome 3, and was able to configure F15 to work as I wanted it to. On rebooting I realized that there was no boot loader screen, that F15 just booted and didn't give me a choice as to which OS I wanted to use. Eventually I was able to configure grub to let me see the boot loader and added my old boot loader as a choice. This worked well, maybe not a perfect solution, but it worked. This weekend I installed LMDE (Linux Mint Debian Edition) to another HDD. LMDE uses grub2 and after the install F15 was not recognized.
Two questions: Is there a way for grub2 to see F15? or Can F15 be installed using grub2? I really don't mind re-installing from scratch.
I want to load grub2 from grub4dos.I want to load directly the grub2 core. I know how to load first 512 bytes from some patition by chainloader and load grub2, but what I need is to load directly grub2 core without passing by bootstriping code (first 512 bytes).So, my first boot manager is grub4dos, then I can load grub2 and later I load Ubuntu. But I think I have to edit --set-root What I dont know is how.
In hdd 0,7 (sda8) I have Ubuntu 10.10 and /boot/grub/core.img is in sda8 (hd0.7)
I tried this way:
Code: title grub2 find --set-root /boot/grub/core.img kernel /boot/grub/core.img
Long-time Unix/Linux user, just got a new Xubuntu box set up to be a fileserver using SAMBA. I've noticed that every 8 minutes or so, the fileserver will disconnect any user currently accessing any files. My first instinct is to unload the GUI and tackle it from the terminal command line. However, every time I try to close out Xubuntu using "sudo init 1" I get taken to the Xubuntu splash screen and the box will no longer respond to any commands. I can post any relevant information requested about the system, build, and version.
I'm using ubuntu 9.10 x86 server edition and I switched to Ubuntu from Debian. The only problem I have now relates my Samba server. I installed Samba v 3.4.0 and suddently my network connection (eth0) goes down. I have never seen that before. This issue only happens when samba is running.
I am running Ubuntu 9.10 and trying to use OpenOffice 3.1. If I run OpenOffice, after 10 minutes or so, the whole computer freezes. Even if I have shut down OpenOffice it still happens. Only answer is to turn computer off and on again. I read some other people's posts listing the same problem and as a result uninstalled Open Office and then installed it again. I also uninstalled Compiz. Neither of these seem to be the solution. I have just installed Lotus Symphony and there are no problems with freezing and so the issue is definately with OO and Ubuntu.
I then on further advice uninstalled the bundled Ubuntu version of OpenOffice and installed directly from the OpenOffice website. The problem still remains. Next thing I tried was to uncheck autosave feature. The above problems only happen on my desktop. I also have an ASUS EEE Netbook running Ubuntu 9.10 Netbook remix. This is fine - the problem does not seem to affect the netbook. I would really like to continue to use OO - I like it a lot. Unfortunately this freezing issue is making it unusable.
I have a 4 gig Kingston USB stick. I have an Eee PC with 4 gig internal flash drive (no hard drive). I can't find the specs but I believe it is roughly equivalent to an Eee PC 900 or something.
About a year ago I downloaded the then latest version of ubuntu for netbooks, created a bootable USB drive from my Mac, as per the instructions at:url
or whatever the equivalent site was then. It booted fine, it installed fine and everything was great.
Eventually the tiny flash drive in my EeePC got full. I couldn't upgrade to the new 9.10 distro through auto updates because there wasn't enough room to download them.
I tried to delete some old kernels and then delete some other stuff. I broke my linux installation and now it won't boot to a desktop. I can get a login prompt and I can boot to the fail safe terminal but not much else.
So, I tried repeating the steps above.
I downloaded the NEW version of ubuntu netbook remix from:url
I followed the instructions for making a bootable USB stick from the first link above. I used the EXACT SAME USB stick as last time (in fact, it still had the older version of the ubuntu install files on it).
There were no errors "creating" the USB drive and it can be mounted on my Mac and I can see the files are on it.
I stuck it into my EeePC and rebooted and hit the ESC key and selected the Kingston USB drive to boot from. The light on the USB drive flashed some, then the internal flash drive light flashed some and the EeePC booted from the internal drive.
I rebooted and went into the bios settings and made triple sure that it was set to boot from USB drive first and rebooted. The same thing happened (it "looked at" the USB drive, then booted from the internal drive).
I repeated the above a dozen times. I REinstalled the ubuntu files on the USB drive from my Mac. I repeated. Still the same.
I redownloaded the ubuntu files and did everything from scratch. Again no errors "creating" the USB drive and it can be mounted on my Mac and I can see the files are on it, but again, it is absolutely useless because it is unbootable.
I tried booting my Mac from the USB drive and my Mac didn't recognize it as a bootable drive either.
I found another 4 gig USB drive and repeated the steps above with it. It was exactly the same: no errors creating it, the drive is mountable on my Mac, but it is completely unbootable.
I am at a loss to find any info on this nor do I have any idea what to try next. I KNOW this worked with the first USB drive last year (with an earlier version of ubuntu). What could possibly have changed?
Why gnome would make my resolution so much bigger than it actually is (2x my native). I can actually use the other half of my screen. I have to scroll over to the left half, and then I can work like normal. If I wanted to have a black screen, I can drag the courser over to the far right and have my screen be entirely black. I cannot open anything in the black part of the screen.
I'd like to know what makes logic gates tick, but every time I look them up all I get are the icons they represent in a circuit...I can guess some ways they would work myself but they all seem clumsy implementations, is there a wikipedia page describing this or something?
When I press the calculator key on my keyboard and the calculator comes up, I can't use my mouse anymore. I can move it but I can't click on anything. Is there a fix for this?