(SOLVED) Re: How do I prevent Grub from getting automagically updated?
On Fri, 2008-10-10 at 07:54 +0300, Andrei Popescu wrote: On Fri,10.Oct.08, 04:46:23, Tzafrir Cohen wrote: Try man kernel-img.conf $ man kernel-img.conf No manual entry for kernel-img.conf I can't find a package kernel-img.conf either?! And how is that related? The relevant program is update-grub . Or add manual entries after the automatic part. $ grep update-grub /etc/kernel-img.conf postinst_hook = update-grub postrm_hook = update-grub Regards, Andrei Thanks! I changed my /etc/kernel-img.conf to: #postinst_hook = update-grub #postrm_hook = update-grub And now it works :) -- Regards, Aniruddha -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On Wed, Oct 08, 2008 at 11:21:26AM +0200, Aniruddha wrote: On Wed, 2008-10-08 at 08:57 +0200, dulev wrote: Thanks for the help. I already use that. That's why I don't want any additional entries added to my grub.conf. Try man kernel-img.conf regards $ man kernel-img.conf No manual entry for kernel-img.conf I can't find a package kernel-img.conf either?! And how is that related? The relevant program is update-grub . Or add manual entries after the automatic part. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On Fri,10.Oct.08, 04:46:23, Tzafrir Cohen wrote: Try man kernel-img.conf $ man kernel-img.conf No manual entry for kernel-img.conf I can't find a package kernel-img.conf either?! And how is that related? The relevant program is update-grub . Or add manual entries after the automatic part. $ grep update-grub /etc/kernel-img.conf postinst_hook = update-grub postrm_hook = update-grub Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: How do I prevent Grub from getting automagically updated?
On 10/08/08 00:28, Aniruddha wrote: On Tue, 2008-10-07 at 17:15 -0400, David Sanders wrote: On Tuesday 07 October 2008 05:09:28 pm Aniruddha wrote: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? -- Regards, Aniruddha Better to edit menu.lst and put the correct hard drive in the # groot= line. I tried that once, it didn't seem to work. Anyhow I prefer to be in control of my grub.conf. Manually adding boot entries works best for me. Is it all possible to turn this feature off? Do you use raw device names or labels/UUIDs? -- Ron Johnson, Jr. Jefferson LA USA Do not bite at the bait of pleasure till you know there is no hook beneath it. -- Thomas Jefferson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On Tue, 2008-10-07 at 19:44 -0500, Mumia W.. wrote: On 10/07/2008 04:09 PM, Aniruddha wrote: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? You can add a boot stanza after the end of the automagic kernels list; that stanza won't be changed by the update-grub script. Read man update-grub and info grub Thanks for the help. I already use that. That's why I don't want any additional entries added to my grub.conf. Try man kernel-img.conf regards -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On Wed, 2008-10-08 at 08:57 +0200, dulev wrote: On Tue, 2008-10-07 at 19:44 -0500, Mumia W.. wrote: On 10/07/2008 04:09 PM, Aniruddha wrote: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? You can add a boot stanza after the end of the automagic kernels list; that stanza won't be changed by the update-grub script. Read man update-grub and info grub Thanks for the help. I already use that. That's why I don't want any additional entries added to my grub.conf. Try man kernel-img.conf regards $ man kernel-img.conf No manual entry for kernel-img.conf I can't find a package kernel-img.conf either?! It is a part of kernel-package. apt-get install kernel-package regards -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On Wed, 2008-10-08 at 08:57 +0200, dulev wrote: On Tue, 2008-10-07 at 19:44 -0500, Mumia W.. wrote: On 10/07/2008 04:09 PM, Aniruddha wrote: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? You can add a boot stanza after the end of the automagic kernels list; that stanza won't be changed by the update-grub script. Read man update-grub and info grub Thanks for the help. I already use that. That's why I don't want any additional entries added to my grub.conf. Try man kernel-img.conf regards $ man kernel-img.conf No manual entry for kernel-img.conf I can't find a package kernel-img.conf either?! -- Regards, Aniruddha -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On Wed, 2008-10-08 at 01:19 -0500, Ron Johnson wrote: On 10/08/08 00:28, Aniruddha wrote: On Tue, 2008-10-07 at 17:15 -0400, David Sanders wrote: On Tuesday 07 October 2008 05:09:28 pm Aniruddha wrote: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? -- Regards, Aniruddha Better to edit menu.lst and put the correct hard drive in the # groot= line. I tried that once, it didn't seem to work. Anyhow I prefer to be in control of my grub.conf. Manually adding boot entries works best for me. Is it all possible to turn this feature off? Do you use raw device names or labels/UUIDs? -- I use disklabels because udev keep changing the harddrive name :0 -- Regards, Aniruddha -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On Tue, Oct 07, 2008 at 11:09:28PM +0200, Aniruddha [EMAIL PROTECTED] was heard to say: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? You want to look at /etc/kernel-img.conf. Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
Ron Johnson wrote: On 10/08/08 00:28, Aniruddha wrote: On Tue, 2008-10-07 at 17:15 -0400, David Sanders wrote: On Tuesday 07 October 2008 05:09:28 pm Aniruddha wrote: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? -- Regards, Aniruddha Better to edit menu.lst and put the correct hard drive in the # groot= line. I tried that once, it didn't seem to work. Anyhow I prefer to be in control of my grub.conf. Manually adding boot entries works best for me. Is it all possible to turn this feature off? Do you use raw device names or labels/UUIDs? That's something I changed legacy grub for. There is no way to substitute root (hd0,0) for example, with a label/UUID. I changed that so that you can say: find/wd80_0jd-60.05 rootFILE=/wd80_0jd-60.05 So now you are totally label oriented: grub uses as root the partition where file wd80_0jd-60.05 is located. The down side is you can only boot when the labels + label files are in place. E.g. doing mondo restores. Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On Tue,07.Oct.08, 23:09:28, Aniruddha wrote: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? Do you have problems with the grub root or the kernel root? For the kernel root you need to edit the '# kopt' line. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
How do I prevent Grub from getting automagically updated?
Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? -- Regards, Aniruddha -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On Tuesday 07 October 2008 05:09:28 pm Aniruddha wrote: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? -- Regards, Aniruddha Better to edit menu.lst and put the correct hard drive in the # groot= line. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On 10/07/2008 04:09 PM, Aniruddha wrote: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? You can add a boot stanza after the end of the automagic kernels list; that stanza won't be changed by the update-grub script. Read man update-grub and info grub -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On Tue, 2008-10-07 at 19:44 -0500, Mumia W.. wrote: On 10/07/2008 04:09 PM, Aniruddha wrote: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? You can add a boot stanza after the end of the automagic kernels list; that stanza won't be changed by the update-grub script. Read man update-grub and info grub Thanks for the help. I already use that. That's why I don't want any additional entries added to my grub.conf. -- Regards, Aniruddha -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I prevent Grub from getting automagically updated?
On Tue, 2008-10-07 at 17:15 -0400, David Sanders wrote: On Tuesday 07 October 2008 05:09:28 pm Aniruddha wrote: Every time a new kernel gets installed, my menu.lst gets updated. Problem is, that it always points to the wrong hard drive. Therefor I would like to stop Grub from updating automagically. How can I achieve this? -- Regards, Aniruddha Better to edit menu.lst and put the correct hard drive in the # groot= line. I tried that once, it didn't seem to work. Anyhow I prefer to be in control of my grub.conf. Manually adding boot entries works best for me. Is it all possible to turn this feature off? -- Regards, Aniruddha -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]