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 ]..........
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.
How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
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
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
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 .
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.
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.
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
I am not referring to the bash history file. I am referring to the system log file. All of my console activity (letter for letter) is being stored in the system log. It's my understanding that version 4.1 of bash is where this behavior first started but was originally optional. I don't like it and I want to stop it. I am using a current version of jessie with bash 4.3 and I can find no way of turning it off
Monitoring the activities of users may be necessary .for admins in a business environment but this is a home computer and I consider this kind of tracking intrusive and unwanted.
I first noticed this with the journal system log and mistakenly though it had to do with journal so I removed the journal system and installed dsyslog which has the same behavior.
Perhaps debian should offer two versions of bash. It's my understanding that this is configured in a header before compiling.
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?
What I want to do is from a file having block like
<event> 8 3 0.2685416E-02 2 -1 0 21 -1 0
[code]...
The first line after the "<event>" is its process-id, so I would like to have at the end a summary of how many "event" block I have for each type, ie how many
6 1 0.2685416E-02
or how many
7 2 0.2685416E-02
etc etc
I do not know in advance how many different-kind of block I will have, so it has to be a bit smart to scan the file, and make an new "summary" info for each unique type I was using something like
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?
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 have to hide Unix partitions to succeed in installing Linux and the winner is Ubuntu 10.10! I had to remove whole partitions entries. DOS based primary/logical partitions are now called (hd0,msdos1), (hd0,msdos2), etc. And BSD slices would have been (hd0, bsd1) (hd0,bsd2). I guess I saw those names during installation. update-grub failed in three attempts in a row on 2 machines (32 and 64 bit). Everything went fine after I removed the Unix partitions (which are going to be restored by openSUSE legacy Grub)
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'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.
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'm running Kubuntu 10.4. I cloned an old xp installation into the first primary partition on my disk and I was trying to add it to grub2. I can access the files when I mount it which means that the xp filesystem is working fine. When I do an update-grub though it doesn't detect it. I think that the problem is related to the fact that I cannot find a boot.ini file into the xp installation.