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
ADVERTISEMENT
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
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
Jun 23, 2011
So I have some entries like the ones below. I have a system setup to do all the routing/dhcp/dns. This is a private network for education purposes only, and I have no idea how half of these addresses got in the arp table.
shell>arp -n
192.58.128.30 (incomplete) eth0
192.228.79.201 (incomplete) eth0
192.36.148.17 (incomplete) eth0
[Code].....
how to just clear the table. That's all I want. Is that too much to ask? I also noticed in Wireshark that packets are constantly being sent to find the MAC address that these IPs belong too. I really want that to stop happening.
EDIT: I have also tried using ip neighbor. I ran "ip neighbor del 192.58.128.30 dev eth0", and it gave no errors but didn't remove the entry. All the ones without a MAC are also listed as FAILED in ip neighbor.
View 1 Replies
View Related
Jun 30, 2011
Is there a way to get the bash history to delete older entries that are identical to the new one?Say the bash history would look like this normally:
Code:
cd ~
ls -l
[code]...
View 4 Replies
View Related
Jun 26, 2010
I have 2 external hdd in wich I have all my files.... yesterday, I have copied all the files from hdd1 to hdd2 and I want to eliminate duplicates so I used FSLint to find them, now, I have a txt file that looks like this code...
now I want to make a shell script to delete all the files/entries (read from the log file) that begin with code...
View 2 Replies
View Related
Apr 15, 2010
OS: fed 12
WM: gnome
I would like to remove OR move down the "create folder, launcher etc" so the first button can be Open Terminal. I have used both NACT and nautilus-actions to get the Open Terminal on the menu - but I would like it to be on the top (old habit).
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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