[opensuse-factory] Change behavior of writting new kernel in boot menu
Hi, due to some complains about using values for new kernel entries from sysconfig I change behavior in perl-Bootloader to use value from menu.lst and only when old entry is not found use as backup sysconfig value. I also merge some fixes from SLES. Are there volunteers to test new package? ( mainly test updating kernel packages, try if manual changes to menu.lst preserve kernel update ). I don't want break factory in such sensitive part. New package can be found at ( my home repo - package perl-Bootloader)) http://download.opensuse.org/repositories/home:/jreidinger/openSUSE_Factory/ (factory) http://download.opensuse.org/repositories/home:/jreidinger/openSUSE_11.4/ (11.4) Thanks Josef -- Josef Reidinger Appliance Toolkit team maintaining parts of webyast and SLMS author of rubygems - studio_api and net_observer (coauthor) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Tue, 2 Aug 2011 16:44:48 +0200
Josef Reidinger
Hi, due to some complains about using values for new kernel entries from sysconfig I change behavior in perl-Bootloader to use value from menu.lst and only when old entry is not found use as backup sysconfig value. I also merge some fixes from SLES. Are there volunteers to test new package? ( mainly test updating kernel packages, try if manual changes to menu.lst preserve kernel update ). I don't want break factory in such sensitive part.
New package can be found at ( my home repo - package perl-Bootloader)) http://download.opensuse.org/repositories/home:/jreidinger/openSUSE_Factory/ (factory) http://download.opensuse.org/repositories/home:/jreidinger/openSUSE_11.4/ (11.4)
Thanks Josef
Hi Posted your request in the Forums prerelease-beta area.... FYI, the forums have nntp access. -- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.5-desktop up 2 days 2:26, 3 users, load average: 0.13, 0.18, 0.15 GPU GeForce 8600 GTS Silent - Driver Version: 270.41.19 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 2011/08/02 16:44 (GMT+0200) Josef Reidinger composed:
due to some complains about using values for new kernel entries from sysconfig I change behavior in perl-Bootloader to use value from menu.lst and only when old entry is not found use as backup sysconfig value. I also merge some fixes from SLES. Are there volunteers to test new package? ( mainly test updating kernel packages, try if manual changes to menu.lst preserve kernel update ). I don't want break factory in such sensitive part.
New package can be found at ( my home repo - package perl-Bootloader)) http://download.opensuse.org/repositories/home:/jreidinger/openSUSE_Factory/ (factory)
http://fm.no-ip.com/Tmp/SUSE/Factory/ contains 4 files from my Factory test. I did zypper ref; zypper al kernel-desktop; zypper dup; zypper in perl-Bootloader-0.5.18-4.1; zypper rl kernel-desktop; downloaded kernel-desktop-3.0.0-39.1 from Tumbleweed (offers new kernels far more often than Factory); zypper in kernel-desktop-3.0.0-39.1. menu.lst.20 is what pB found as menu.lst when it started menu.lst.21-old is the first file created by pB menu.lst.22 is the last created by pB menu.lst.23 is the one I fixed and use Selected content of /boot: lrwxrwxrwx 24 Aug 2 11:20 vmlinuz -> vmlinuz-3.0.0-39-desktop -rw-r--r-- 4538992 Mar 18 19:21 vmlinuz-2.6.38-4-desktop -rw-r--r-- 4796464 Jun 6 09:17 vmlinuz-2.6.39-2-desktop -rw-r--r-- 4866464 Jul 22 11:41 vmlinuz-3.0.0-2-desktop -rw-r--r-- 4856112 Aug 1 00:26 vmlinuz-3.0.0-39-desktop lrwxrwxrwx 24 Aug 2 11:07 vmlinuz-curr -> vmlinuz-3.0.0-39-desktop lrwxrwxrwx 23 Aug 1 15:31 vmlinuz-prev -> vmlinuz-3.0.0-2-desktop lrwxrwxrwx 24 Jun 27 00:07 vmlinuz-prev2 -> vmlinuz-2.6.39-2-desktop lrwxrwxrwx 24 Apr 1 01:13 vmlinuz-prev3 -> vmlinuz-2.6.38-4-desktop lrwxrwxrwx 23 Aug 2 11:21 initrd -> initrd-3.0.0-39-desktop -rw-r--r-- 8878537 Apr 1 01:13 initrd-2.6.38-4-desktop -rw-r--r-- 8632390 Jun 27 00:08 initrd-2.6.39-2-desktop -rw-r--r-- 8734405 Aug 1 15:32 initrd-3.0.0-2-desktop -rw-r--r-- 8727218 Aug 2 11:08 initrd-3.0.0-39-desktop lrwxrwxrwx 23 Aug 2 11:08 initrd-curr -> initrd-3.0.0-39-desktop lrwxrwxrwx 22 Aug 1 15:32 initrd-prev -> initrd-3.0.0-2-desktop lrwxrwxrwx 23 Jun 27 00:08 initrd-prev2 -> initrd-2.6.39-2-desktop lrwxrwxrwx 23 Apr 1 01:13 initrd-prev3 -> initrd-2.6.38-4-desktop -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 2011/08/02 11:28 (GMT-0400) Felix Miata composed:
On 2011/08/02 16:44 (GMT+0200) Josef Reidinger composed:
due to some complains about using values for new kernel entries from sysconfig I change behavior in perl-Bootloader to use value from menu.lst and only when old entry is not found use as backup sysconfig value. I also merge some fixes from SLES. Are there volunteers to test new package? ( mainly test updating kernel packages, try if manual changes to menu.lst preserve kernel update ). I don't want break factory in such sensitive part.
New package can be found at ( my home repo - package perl-Bootloader)) http://download.opensuse.org/repositories/home:/jreidinger/openSUSE_Factory/ (factory)
http://fm.no-ip.com/Tmp/SUSE/Factory/ contains 4 files from my Factory test. I did zypper ref; zypper al kernel-desktop; zypper dup; zypper in perl-Bootloader-0.5.18-4.1; zypper rl kernel-desktop; downloaded kernel-desktop-3.0.0-39.1 from Tumbleweed (offers new kernels far more often than Factory); zypper in kernel-desktop-3.0.0-39.1.
I just did this on a 11.4 system, and don't recognize any material difference in results. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Felix Miata write:
On 2011/08/02 16:44 (GMT+0200) Josef Reidinger composed:
due to some complains about using values for new kernel entries from sysconfig I change behavior in perl-Bootloader to use value from menu.lst and only when old entry is not found use as backup sysconfig value. I also merge some fixes from SLES. Are there volunteers to test new package? ( mainly test updating kernel packages, try if manual changes to menu.lst preserve kernel update ). I don't want break factory in such sensitive part.
New package can be found at ( my home repo - package perl-Bootloader)) http://download.opensuse.org/repositories/home:/jreidinger/openSUSE_Factory/ (factory)
http://fm.no-ip.com/Tmp/SUSE/Factory/ contains 4 files from my Factory test. I did zypper ref; zypper al kernel-desktop; zypper dup; zypper in perl-Bootloader-0.5.18-4.1; zypper rl kernel-desktop; downloaded kernel-desktop-3.0.0-39.1 from Tumbleweed (offers new kernels far more often than Factory); zypper in kernel-desktop-3.0.0-39.1.
menu.lst.20 is what pB found as menu.lst when it started menu.lst.21-old is the first file created by pB menu.lst.22 is the last created by pB menu.lst.23 is the one I fixed and use
Selected content of /boot: lrwxrwxrwx 24 Aug 2 11:20 vmlinuz -> vmlinuz-3.0.0-39-desktop -rw-r--r-- 4538992 Mar 18 19:21 vmlinuz-2.6.38-4-desktop -rw-r--r-- 4796464 Jun 6 09:17 vmlinuz-2.6.39-2-desktop -rw-r--r-- 4866464 Jul 22 11:41 vmlinuz-3.0.0-2-desktop -rw-r--r-- 4856112 Aug 1 00:26 vmlinuz-3.0.0-39-desktop lrwxrwxrwx 24 Aug 2 11:07 vmlinuz-curr -> vmlinuz-3.0.0-39-desktop lrwxrwxrwx 23 Aug 1 15:31 vmlinuz-prev -> vmlinuz-3.0.0-2-desktop lrwxrwxrwx 24 Jun 27 00:07 vmlinuz-prev2 -> vmlinuz-2.6.39-2-desktop lrwxrwxrwx 24 Apr 1 01:13 vmlinuz-prev3 -> vmlinuz-2.6.38-4-desktop lrwxrwxrwx 23 Aug 2 11:21 initrd -> initrd-3.0.0-39-desktop -rw-r--r-- 8878537 Apr 1 01:13 initrd-2.6.38-4-desktop -rw-r--r-- 8632390 Jun 27 00:08 initrd-2.6.39-2-desktop -rw-r--r-- 8734405 Aug 1 15:32 initrd-3.0.0-2-desktop -rw-r--r-- 8727218 Aug 2 11:08 initrd-3.0.0-39-desktop lrwxrwxrwx 23 Aug 2 11:08 initrd-curr -> initrd-3.0.0-39-desktop lrwxrwxrwx 22 Aug 1 15:32 initrd-prev -> initrd-3.0.0-2-desktop lrwxrwxrwx 23 Jun 27 00:08 initrd-prev2 -> initrd-2.6.39-2-desktop lrwxrwxrwx 23 Apr 1 01:13 initrd-prev3 -> initrd-2.6.38-4-desktop
Thanks for test. So if I understand your changes you want to have root before showopts ( root is still hardcoded before parameters including showopts, there is no change yet) and order of new entries ( also not changed in this patch ). -- Josef Reidinger Appliance Toolkit team maintaining parts of webyast and SLMS author of rubygems - studio_api and net_observer (coauthor) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Tue, Aug 02, 2011 at 04:44:48PM +0200, Josef Reidinger wrote:
Hi, due to some complains about using values for new kernel entries from sysconfig I change behavior in perl-Bootloader to use value from menu.lst and only when old entry is not found use as backup sysconfig value. I also merge some fixes from SLES. Are there volunteers to test new package? ( mainly test updating kernel packages, try if manual changes to menu.lst preserve kernel update ). I don't want break factory in such sensitive part.
New package can be found at ( my home repo - package perl-Bootloader)) http://download.opensuse.org/repositories/home:/jreidinger/openSUSE_Factory/ (factory) http://download.opensuse.org/repositories/home:/jreidinger/openSUSE_11.4/ (11.4)
I've done a quick test on openSUSE11.4. The procedure is 1. Install new perl-Bootloader (openSUSE_11.4) 2. Manually modify kernel command-line options in menu.lst 3. Update kernel 4. Watch difference between menu.lst and menu.lst.old It seems all work like you said. The manual changes are honered and kept in new config. The only exception is that "root=..." was not kept for me (I changed it from root=/dev/disk/by-id/...part2 to /dev/sda2). But since sysconfig is not used to configure the "root= " statically. This is not considered an issue in my opinion. Thanks, Michael
Thanks Josef
-- Josef Reidinger Appliance Toolkit team maintaining parts of webyast and SLMS author of rubygems - studio_api and net_observer (coauthor) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Tue, Aug 02, 2011 at 04:44:48PM +0200, Josef Reidinger wrote:
Hi, due to some complains about using values for new kernel entries from sysconfig I change behavior in perl-Bootloader to use value from menu.lst and only when old entry is not found use as backup sysconfig value. I also merge some fixes from SLES. Are there volunteers to test new package? ( mainly test updating kernel packages, try if manual changes to menu.lst preserve kernel update ). I don't want break factory in such sensitive part.
New package can be found at ( my home repo - package perl-Bootloader)) http://download.opensuse.org/repositories/home:/jreidinger/openSUSE_Factory/ (factory) http://download.opensuse.org/repositories/home:/jreidinger/openSUSE_11.4/ (11.4)
I've done a quick test on openSUSE11.4. The procedure is
1. Install new perl-Bootloader (openSUSE_11.4) 2. Manually modify kernel command-line options in menu.lst 3. Update kernel 4. Watch difference between menu.lst and menu.lst.old
It seems all work like you said. The manual changes are honered and kept in new config. The only exception is that "root=..." was not kept for me (I changed it from root=/dev/disk/by-id/...part2 to /dev/sda2).
But since sysconfig is not used to configure the "root= " statically. This is not considered an issue in my opinion.
Yes, root is taken explicitelly from /etc/fstab to ensure that it points to correct '/' and this behavior is not changed by this patch. So testing looks fine and I add package to factory. Thanks for testing Josef
Thanks, Michael
Thanks Josef
-- Josef Reidinger Appliance Toolkit team maintaining parts of webyast and SLMS author of rubygems - studio_api and net_observer (coauthor) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (4)
-
Felix Miata
-
Josef Reidinger
-
Malcolm
-
Michael Chang