Ubuntu :: Edit The Bootloader Entries (remove Some Existing Ones - Not Adding Any)
Mar 31, 2010
I installed Ubuntu in a dual-boot with Windows 7, and installed the bootloader (GRUB? However, I have some weird Windows XP Embedded entry! I also have a lot of different boot options for Ubuntu. All I want is my Windows 7 entry (picked up as Windows Vista) and my main Ubuntu entry. How can I edit the bootloader entries (remove some existing ones, not adding any) so I have only two on there?
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?
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.
What I would like to do is, with a right click, have the menu give me the option to run srm, which is a "secure remove" program. I picked this one as it requires not only a file name, but some other options. I've run into no support adding things to menus. When I updated one of the Debian versions, I lost the shutdown option from the name menu that used to be there. It was suggested that I right click and pick that option to restore it, but I get the same as the left button on that menu.
I'm dual-booting Ubuntu and Windows, but the OS selection screen is starting to get on my nerves. It's been a while since I edited a bootloader though, so could somebody link me a resource or two?
As every time when a new OpenSuse Version arrives, I tried to install 11.4 (I have 11.2 ans 11.3 on separate partitions, + a Windows 7 that already was there when I bought my computer). Previous versions always recognized existing installations and added them to the Grub list, 11.4 doesen't... it merely recognizes the Windows. This is blocking me from testing it before adopting, as I always do, as I don't know how to add these entries manually; I'm too afraid not to be able to add the entries once installed, and not being able to use my older versions in case I have troubles. What went wrong in this release that developers forgot this important part? How I could manually add my entries for 11.2 and 11.3?
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?
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 ]..........
Any one know how add entrie at Application menu? Is only "sound & video, office, internet, games and system" but i installed other software from ubuntu repositories for education, but in Applications is possible see all programs, i need a entrie called "Education" or "Science" for more easily find them. How can add? In Menu editor is not possible.
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.
I just installed Ubuntu 9.04 on this computer and I told it not to install a bootloader since I already have Fedora and it is my main OS. I then realized I didn't know how to add it to menu.lst here so I can't boot Ubuntu. How do I do this?
I have installed two OS on my PC. Windows 7 and fedora 12,but when I boot it shows 3 entries for fedora and one for windows to select. How can I remove redundant menu entries without affecting boot loader.
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.
It is needed because of my portable audio player does not order entries and just leaves it as in FAT directory.
Current way of handling this is only moving files around and re-creating directories and placing files there in correct order (keeping in mind where are "holes" in directory list that will be filled by new file in placed to that directory).
What is the more proper way of doing it? (Apart from re-creating all directories each time or using hex editor on disk).
I currently have an LDAP database on my Suse 10.2 server for managing authentication and controlling emails for my Cyrus email server. I use this setup to provide email functionality to my web and email hosting clients, as well as DNS functionality, and it uses the default LDAP database that was setup when OpenLDAP was initially configured. Email support is working wonderfully, I might add. I also tested and verified the use of an email lookup directory in two different email clients (Outlook and Evolution) so that I can tell one of my clients how to lookup the email address of users who are setup in the LDAP server, and it works beautifully.
However, I'd also like to be able to allow my clients to build a shared contact database that can also be used in their email clients so that they can share them among all of their users. Ideally, I would need to be able to allow each client to have their own database of shared contacts, and I assume this would be done by creating a new LDAP database for each client company (i.e. group of users) that can contain the list of shared contacts for any of that client's users. When they configure their email client directory settings, they would enter the base path to their database in order to retrieve their shared contact database entries.
In my web searches, I've found plenty of CRM solutions on the web that claim to provide this type of functionality, but I believe that OpenLDAP contains everything I need to make this work without adding another layer of software to the server solution. (I subscribe to the "Keep it Simple, Stupid!" approach whenever possible.) Essentially, I need to have People entries in a client's LDAP database that are NOT email users on the system. The fields in the standard people schema are all the fields they would need - as long as I can figure out how best to add these non-user entries in the LDAP database. Are there any potential difficulties in creating additional LDAP databases expressly for this purpose?
Are there any tricks to adding contact entries into a client's LDAP database without them also being current email users on the server, so that those entries can be retrieved through an Email Client directory lookup? I will also want to provide an easy method for my client users to add new entries to their LDAP contact database, most likely through a web interface for them that could then issue LDAP commands on the server based on the input fields for the new contact. (I don't believe this is possible from within the email client itself.) Is there any reason this could not be done with the proper configuration? What should I be aware of as I setup this contact management web interface? Is there a better way for non-technical client users to manage this list of shared contacts?
I have extracted the files from a bootable CD to /dev/sdc2/bootable/winpwrec with the hope of booting from the hard drive. I have read the grub.cfg file and a couple of guides here and I'm still not sure what I'm doing. Is there any chance someone can tell me what I need to add to the grub.cfg file to add this to the boot menu? I am pretty well-versed in computers but I'm new to Linux and I'm still trying to get acquainted with the OS, terminology, and the boot loader. I'm using Ubuntu 9.10, if that matters.
files in the folder: BOOT.CAT;1 ISOLINUX.BIN;1 SCSI.CGZ;1 BOOT.MSG;1 ISOLINUX.CFG;1 SYSLINUX.CFG;1 VMLINUZ.;1 INITRD.CGZ;1 README.TXT;1 SYSLINUX.EXE;1 isolinux.cfg Code: #serial 0 19200
I want to move my windows XP image from my old PC's C: and put it onto my new PC, with Ubuntu 9.10 already on it. Will this procedure work?First I'll burn an iso image of the windows C: to a CD or DVD, using the Win XP computer. Then, I'll load a (live Ubuntu), from my thumb drive and boot into my new PC, and move the Ubuntu partition to another location, in order to create the partition needed to install a Windows OS. I know that Windows, God bless them, needs to be first on the HDD. This procedure will destroy the grub loader.Then rebooting should load correctly to the grub bootloader, right?
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).
I am working on building a customized ISO image of a server based on linux. The thing is after the server is installed and run for the first time, three users have to be created for the various services to run properly. I want this to be automated. To achieve this what is was thinking is automatically enter the user entries in the /etc/passwd and /etc/shadow files through init scripts when the server starts for the first time after the installation. I tried creating user and assigning password in one of my machine, and the /etc/passwd and the /etc/shadow entries of this user I copied it into the other machine and tried login in on the other machine and everything worked fine. How I am trying to achieve this.
I have a working Ubuntu install with the Grub2 bootloader. I need to manually add an entry to boot Fedora 13 off of sda. Sda1 is the boot partition, sda2 is LVM. None of the examples I've tried work. I do also have F13 grub installed on sda, but chainloading to it didn't do anything other than a blinking cursor.
After spending almost 100 hours trying to get my MP3 player working I have decided to add an XP partition and use it there.I am an Ubuntu newbie and am finding the whole "new-dos" experience too frustrating for words.Can someone please explain in ENGLISH for an IDIOT how I can do this.
I installed nautilus-actions in order to edit the right-click menu when I click on pictures. All tutorials I read deal with adding custom entries to the right-click menu. But what I want to do, is to edit the present nautilus right click menu. In particular, I have installed nautilus-batch-rename, which comes in english. I want to translate the right-click entry "Rename files..." to German, since my system language is German, too. I already managed to translate the batch-rename pop-up program entries after clicking "rename files..." by editing nautilus-batch-rename.glade but I would love to translate "rename files..." as well.
I've been asked by my professor to add the list of users to a linux server (not sure of the OS type I think he said debian) but anyway. He gave me this script to add users.
Code: #!/bin/bash # Script to add a user to Linux system if [ $(id -u) -eq 0 ]; then read -p "Enter username : " username read -s -p "Enter password : " password egrep "^$username" /etc/passwd >/dev/null if [ $? -eq 0 ]; then echo "$username exists!" exit 1 else pass=$(perl -e 'print crypt($ARGV[0], "password")' $password) useradd -m -p $pass $username [ $? -eq 0 ] && echo "User has been added to system!" || echo "Failed to add a user!" fi else echo "Only root may add a user to the system" exit 2 fi
I need to see if I can get this script to read a file that list the usernames and their passwords using the pipe command (or some similar command) so I can just do it in one batch. I've done some searching but there are so many vairiations of the code that I've confused myself. Also, I'm not too familiar with linux, it's been a few years since I've used it but in the prior script, I need to add the users to an existing group named "forensics". Which line would I change/add in order to do this?
In "type" i have only the name of the products ex.: product1 & product2. Now, i have to ADD product3 which includes sub categories: productA, productB, productC, productD, productE, productF. so my New type script (menu) looks as below:
1) product1 2) product2 3) product3
and my current selectype looks how can I add the new product3 argument with all other multiple selections (productA, productB, productC, productD, productE, productF) into my current selectype (as below which is set only for product1 & product2), so when a user select: 3) product3 from "type" would get a new menu of all the sub categories, and the script would process the new additional arguments.
Here is the copy of my selectype script:
#!/bin/sh echo SELECTTYPE export -n selecttypechoice if [ "${upgrade}" == "yes" ] ; then
I have installed Ubuntu 9.10 with Wubi and uninstalled it. But now i have two bootloaders: GRUB and the XP bootloader with an Ubuntu option that doesn't work.