Ubuntu :: 10.04 How To Protect Grub Entries

May 19, 2010

In ubuntu 10.04 how to protect Grub Entries...?

View 3 Replies


ADVERTISEMENT

Ubuntu :: Remove Old PAE Entries From GRUB?

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

Ubuntu :: Grub 2 - How To Edit Entries

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

Ubuntu :: Multiple Entries On GNU GRUB?

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

Ubuntu :: Removing GRUB 2 Entries

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

Ubuntu :: How To Delete Entries From Grub?

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

Ubuntu :: Remove Autogenerated Grub 2 Entries?

Jan 8, 2010

How can I remove entries manually that were automatically generated by grub 2? I have the scripts I need to add my entries, but I don't want the osprober to keep adding new entries. Even if I make the 30_osprober script non-executable, the entries are still there. Can I do this without "breaking the rules" and editing the grub.cfg file?

View 2 Replies View Related

Ubuntu :: Why Do New Kernels Have 3 Different Header Entries In GRUB

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

Ubuntu :: Delete Entries From GRUB Loader?

Apr 23, 2010

My laptop is set to dual boot, either Ubuntu 9.10 or Windows Vista. The GRUB loader has multiple entries, starting with Ubuntu, then several instances of Ubuntu recovery mode, before memory test and two entries for Vista, the first of which does not work. How do I delete the unwanted entries? I can press "e" to edit them, but if I do so how do I actually delete them, assuming it is safe to do so.

View 7 Replies View Related

Ubuntu Installation :: Double Grub Entries 10.04?

May 1, 2010

Updated to 10.04 OK except for a couple of things. No sound icon on the task bar and it's not in the 'add to taskbar list'. Not a major problem, just put it in the 'start programs section'.Annoying thing is after selecting from the grub boot menu, the machine seems to be suffering some indesision as the cursor sits on the top lhs of the screen flashing and the screen modulates between various degrees of darkness. Then the machine boots OK. Certainly slower than karmic - not quicker as reported. Seems to be some conflict happening. There is a duplication of the kernal entries for default and safe. Mabe this is the problem. I have run update-grub2, but it keeps giving me double entries.

View 5 Replies View Related

Ubuntu :: Removing Entries From Grub 2 Bootloader?

Jul 8, 2010

Since I've been using Ubuntu, I've noticed that new entries for Ubuntu (the same but with the final number changed) occasionally appear in the Grub 2 boot loader. I'm talking about the first two entries in this picture, compared with the third and fourth entries here:Two questions:1. What are these entries? They appear to simply be the same OS but different versions. Are they generated when Ubuntu updates?

View 3 Replies View Related

Ubuntu :: Duplicate Grub Entries For Windows 7?

Oct 12, 2010

To start by saying that I am brand new to anything linux. I just installed Ubuntu 10.10 32-bit to dual boot on my Windows 7 32-bit PC. This last time that I booted my pc the grub looked like this:

Ubuntu, Linux 2.6.32-25-generic
Ubuntu, Linux 2.6.32-25-generic (recovery mode)
Ubuntu, Linux 2.6.32-24-generic
Ubuntu, Linux 2.6.32-24-generic (recovery mode)
Windows 7 (loader) (on/dev/sda1)
Windows 7 (loader) (on/dev/sda2)

From what I understand the duplicate for Ubuntu is just an updated Kernal, hence the -24 to -25. What I didn't understand is why there is a duplicate for Windows 7 and what the sda1 and sda2 is? Someone please explain. When I first installed Ubuntu, there was only one listing for Ubuntu and one for Windows 7.

Also, I was wondering what you do to keep up with new kernals and remove old one's. How do you keep the Kernals from piling up? I assume that when another Kernal becomes available, there will then be 3 Ubuntu listings in the grub. One last thing is I would like some suggestions for the best way of going about learning linux. (i.e. terminal commands)

View 7 Replies View Related

Ubuntu :: Grub 2 Menu - Duplicate Entries

Dec 5, 2010

For the past few weeks I have been using the lastest Ubuntu OS. The following menu pops-up during the boot process.

GNU GRUB version 1.98+20100804-5ubuntu3
Ubuntu, with Linux 2.6.35-22-generic-pae
Ubuntu, with Linux 2.6.35-22-generic-pae (recovery mode)
Memory test (mentest86+)
Memory test (mentest86+, serial console 115200)
Windows 7 (loader) (on /dev/sdb1)

Just recently the menu displays duplicate entries. The first two entries are repeated (see below). What might have caused these duplicate entries to appear and how to correct them? Before this problem occurred I did not issue any sudo commands.

GNU GRUB version 1.98+20100804-5ubuntu3
Ubuntu, with Linux 2.6.35-22-generic-pae
Ubuntu, with Linux 2.6.35-22-generic-pae (recovery mode)
Ubuntu, with Linux 2.6.35-22-generic-pae
Ubuntu, with Linux 2.6.35-22-generic-pae (recovery mode)
Memory test (mentest86+)
Memory test (mentest86+, serial console 115200)
Windows 7 (loader) (on /dev/sdb1)

View 5 Replies View Related

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 View Related

Ubuntu :: 10.04 - Removing Unwanted Entries In Grub Menu

Jun 6, 2010

I am using ubuntu 10.04 and I would like to keep only the main menu,and i have to disable all the other options including recovery and memtest in the GRUB menu..How to do this..?

View 9 Replies View Related

Ubuntu :: Can't Remove Extra Entries From GRUB 2 Menu?

Jun 6, 2010

I'm running Ubuntu 9.10 dual booted with Windows XP. Ever since I installed 9.10, I get a long list of OS's (actually, multiple repeats of what appears to be the same Ubuntu install), and I can't get rid of them.I've looked through various tutorials and the GRUB 2 Community documentation (https://help.ubuntu.com/community/Grub2) but I still can't get rid of the menu items.I edited the 40_custom file and was able to add the entries I wanted to see, and then chmoded 644 all the other files in the /etc/grub.d directory and run update-grub.The custom entries do appear at the end of the menu now, but the old entries are still there as well. This is what I get when I run the update-grub:

Code:
yoodle@HANSOLO:/etc/grub.d$ sudo update-grub
Searching for GRUB installation directory ... found: /boot/grub

[code]....

View 2 Replies View Related

Ubuntu :: Cleaning Up Dead Entries In Grub 2 Menu?

Jul 18, 2010

I have two leftover entries in the Grub2 menu after running update-grub. One is leftover from an Ubuntu installation under Windows 7 referring to a Vista boot. Never had Vista on my system, and if I were to select this option it will lock my computer. Same deal with an older Jaunty boot option - as I have identical worded options one good and one dead option.

If I have to live with these two dead selections on my Grub2 menu I will. But I'd rather get rid of them. I don't want to use an old tool for Grub editing that is no longer workable for Grub 2.

View 4 Replies View Related

Ubuntu :: Remove Unnecessary Entries In Grub Boo Menu?

Oct 30, 2010

I've got a dual boot PC with windows 7 & Ubuntu. I had installed Ubuntu 10.04 & recently upgraded it to 10.10. Now I have these entries in the boot menu.

Ubuntu with linux 2.6.35-22-generic
Ubuntu with linux 2.6.35-22-generic (recovery mode)
Ubuntu with linux 2.6.32-21-generic
Ubuntu with linux 2.6.32-21-generic (recovery mode)
Memory test (memtest 86+)
Memory test (memtest 86+, serial console 115200)
Windows 7 (loader) (on/dev/sda1)

First & second entries listed above don't work. How can I remove them safely?

View 9 Replies View Related

Ubuntu Installation :: Remove Unwanted Entries In GRUB?

Apr 8, 2011

I have so many entries in GRUB and have to actually scroll down so much to see windows entry. How do I remove unwanted entries in GRUB? Also How can I make a background picture appear when grub manager comes up?

View 9 Replies View Related

Ubuntu Installation :: Unable To Remove Old Kernels And Their Grub Entries

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

Ubuntu Installation :: Redirecting Grub 2 (Bootloader) Menu Entries

Feb 23, 2011

I'm familiar with Ubuntu and the like, and have GRUB 2 installed as my boot-loader. I was wondering if there was any way to get one menu entry to be re-directed to another. Specifically, whenever I select my third menu entry, I want it to execute the code on menu entry 10. My reason for doing this would be that after customizing my GRUB 2 menu, I came into the problem of updated kernels. Basically I would like a single "Ubuntu, Latest Kernel" entry that always redirected to menuentry 10, where my latest "Ubuntu, linux 2.6.xx-x-generic" entry is. In order to temporarily solve my issue, I've set my "/etc/default/grub" file's "GRUB_DEFAULT" to "9", although I'd rather not do this.

View 6 Replies View Related

Ubuntu :: Lost Windows Entry On Grub-2 After Trying To Reorder Entries?

May 31, 2011

I followed the instructions from this post to reorder my boot options. But somehow I was stupid enough not to copy the windows entry, as indicated (I was mainly following only terminal instructions and such).Now I have a grub menu without my Windows 7 entry, please tell me there is a way to restore it.

View 9 Replies View Related

Fedora :: Automatically Remove The GRUB Entries?

Feb 2, 2011

I'm trying to automatically remove some of the old GRUB entries that pile up after a few updates and just want to leave live 2 or 3 there along with my Win7 entry. I was looking and saw that there is a utility for Ubuntu but I couldn't find anything for Fedora.

View 7 Replies View Related

Fedora :: Is It Safe To Comment Out Old Entries In GRUB?

Aug 8, 2011

I recently installed F15 on my laptop. Earlier today I updated a little bit more than 500 different things, and then rebooted. Upon seeing the GRUB menu, I saw that one of the updates added a newer menu entry for Fedora- the newer one's version was a fraction higher than the older menu entry.Anyways, is it safe for me to comment out the old entry in /boot/grub/menu.lst?

View 6 Replies View Related

Ubuntu Installation :: Reducing Number Of Entries In Grub Screen Menu?

Feb 9, 2010

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
# .....

Every time update-grub run all these are put back. Editing grub.cfg does not help.

View 9 Replies View Related

Fedora :: Separate Window Boot Entries From Grub Loader?

Mar 16, 2011

I have PC with following specs:
Intel E7500 CPU / Intel G31 Motherboard
Kingston 800MHz 2GB RAM
Hitachi 500 GB SATA HDD + Seagate 160 GB SATA HDD

I initially had only 500 GB HDD. I installed two installations of Windows 7 Ultimate - one 32-bit and one 64-bit installations. Both working fine.

Later on I installed the 160 GB HDD and installed Fedora 13 in it in a partition. The rest space of the 160GB I am using with Windows for storing data.

Now, the boot entries of both Windows installations are in the Grub Loader of F13. Means, if I remove the 160GB HDD, I cannot boot into my Windows installations.

Now I want to remove the 160 GB HDD and install a new 2TB hard-drive. That way, I cannot log into my Windows. And I do not want to lose the Linux installation also.

How can I remove the 160 GB HDD and install a new one without sacrificing my Windows installations?

OR...Is it possible that I can copy complete image of F13 on to the new HDD, so that things are same for the Windows installations?

View 4 Replies View Related

Fedora :: Dual Booting - Grub Keeps Adding New Entries On Updates

Aug 21, 2011

I'm kinda new to Linux. My problem is that a new Fedora O/S entry is added onto grub everytime I receive an update on Fedora (I think). Eg:

Fedora 15 15.40.0-4 ...
Fedora 15 15.40.0-3 ...
Fedora 15 15.38.0-0 ...
Windows 7

How do I stop this? Ideally I'll only have two entries, Fedora 15 and Windows 7 where Windows is set as the default primary o/s to boot up. The current method I use is to fiddle around with that grub file and set default to entry 3, which used to be Windows 7 but is now a Fedora (which means Fedora is now set to default boot up).

View 4 Replies View Related

General :: Boot Loader Problems - GRUB Has No Valid Entries?

Sep 28, 2010

I have an existing WinXP install on the main drive (/dev/sda) of a Dell laptop. I installed OpenSUSE 11.3 on the second (caddy tray) drive and didn't touch the existing windows partition during install.After install completed, I found there was no boot loader entry for WinXP during startup. Only SUSE-related stuff. I opened YaST boot loader and tried creating an entry of type "other" and device of "/dev/sda1" and set this as the default entry.The /boot/grub/menu.lst file now has an entry:Quote:

title Windows XP-32
rootnoverify(hd0,0)
chainloader (hd0,0)+1

[code]....

View 11 Replies View Related

Ubuntu :: Grub Shows More Two Different Ubuntu OS Entries?

Sep 29, 2010

This is my first post on the forums. Recently I decided to partition my computer to have dual boot into windows and ubuntu. Everything has been working fine but I have a very confusing doubt. When the Grub menu shows up during boot I can see the expected partitions for windows (the OS and a memory test utility installed by DELL) but also not one but two entries for Ubuntu that only differ in name (plus the corresponding recovery mode entry). One says Linux 2.6.32-24 and the other 2.6.32-25. Both of them seem to boot into the same place as far as I can tell when I try either of the entries. I went into the edit mode to see if I spotted any differences and got this:

recordfail
insmod ext2
set root= '(hd0,5)'
search --no-floppy--fs -vvid --set 166a9c40-077a-4dda-83f9-83755a73ca3f

[Code]...

There's no problem as is, just that boot menu looks kind of crowded and I'm wondering if I can delete any of the ubuntu entries without killing the computer's boot sequence. Also, if anyone can tell me how the duplication came about I'll also be very grateful so I don't do it again. The only thing I've actually done by myself through the command line so far was an attempt to update the ALSA mixer that I cancelled once the download had started.

View 4 Replies View Related

General :: How To Add Entries / How To Delete Entries

Oct 13, 2010

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.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved