[opensuse-autoinstall] chroot scripts in unattended upgrade (sles 10 sp4 to 11 sp1)
Hi, I'm unable to get chroot scripts to work in unattended upgrade (SLES 10 SP4 to SLES 11 SP1 Everything else works fine) Before initiating entire unattended upgrade process, I modified /boot/grub/menu.lst "Default" line to "Default 3" which corresponds to "title Upgrade" and I added chroot script to autoupg.xml to change "Default" back to 0 before first boot, but this is not working (upon reboot Default is still 3) Here is the section of autoupg.xml with chroot script: <scripts> <chroot-scripts config:type="list"> <script> <filename>clean_bootloader.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/bash sed -i 's/default [0-9]/default 0/' /boot/grub/menu.lst ]]> </source> </script> </chroot-scripts> </scripts> Are chroot scripts supposed to work here? Thanks in advance, Nefi M.
Am 24.02.2012 um 17:23 schrieb Nefi Munoz:
I'm unable to get chroot scripts to work in unattended upgrade (SLES 10 SP4 to SLES 11 SP1 Everything else works fine) Before initiating entire unattended upgrade process, I modified /boot/grub/menu.lst "Default" line to "Default 3" which corresponds to "title Upgrade" and I added chroot script to autoupg.xml to change "Default" back to 0 before first boot, but this is not working (upon reboot Default is still 3)
the released driver update has a bug. I put a fixed dud into the download area a few weeks ago. we need to release a new dud via maintenance update soon but until then, please use the DUD from here: http://www.suse.de/~ug/download/ ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
I downloaded file: driverupdate_autoupgrade_sles11sp1 13-Jan-2012 14:51 5.4M and added it to my initrd (cat driverupdate_autoupgrade_sles11sp1 >> /boot/upgrade/initrd) rebooted my SLES 10 SP4 server and selected "title Upgrade" but it's stuck in ... initrd /upgrade/initrd [] Probing EDD (edd=off to disable)... ok Am I missing something? Thank you !! Nefi M.
Uwe Gansert <ug@suse.de> 2/24/2012 3:41 PM >>> Am 24.02.2012 um 17:23 schrieb Nefi Munoz:
I'm unable to get chroot scripts to work in unattended upgrade (SLES 10 SP4 to SLES 11 SP1 Everything else works fine) Before initiating entire unattended upgrade process, I modified /boot/grub/menu.lst "Default" line to "Default 3" which corresponds to "title Upgrade" and I added chroot script to autoupg.xml to change "Default" back to 0 before first boot, but this is not working (upon reboot Default is still 3)
the released driver update has a bug. I put a fixed dud into the download area a few weeks ago. we need to release a new dud via maintenance update soon but until then, please use the DUD from here: http://www.suse.de/~ug/download/ ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
On 27.02.2012 16:11, Nefi Munoz wrote:
driverupdate_autoupgrade_sles11sp1 13-Jan-2012 14:51 5.4M
and added it to my initrd (cat driverupdate_autoupgrade_sles11sp1 >> /boot/upgrade/initrd)
try to gzip the DUD file before you do that -- ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Worked like a charm !!! I heard this updated dud is the update channel already... I'll have to try that one. Thank you !! Nefi M.
Uwe Gansert <ug@suse.de> 2/27/2012 10:22 AM >>> On 27.02.2012 16:11, Nefi Munoz wrote:
driverupdate_autoupgrade_sles11sp1 13-Jan-2012 14:51 5.4M
and added it to my initrd (cat driverupdate_autoupgrade_sles11sp1 >> /boot/upgrade/initrd)
try to gzip the DUD file before you do that -- ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
FYI - The latest dud in update channel does NOT seem to have the fix for this issue. I'll open L3 for this. Here are the details of latest dud I found in update channel: Name: slessp1-unattended_upgrade_dud Version: 5681 Arch: noarch Vendor: maint-coord@suse.de Status: Installed Category: recommended Created On: Thu Jan 19 06:31:45 2012 Reboot Required: No Package Manager Restart Required: No Interactive: No Summary: Recommended update for unattended_upgrade_dud Description: This update provides a Driver Update Disk (DUD) that, when installed, provides an image that can be used to perform an unattended mass upgrade from SUSE Linux Enterprise 10 to SUSE Linux Enterprise 11 Service Pack 1. For more information, please refer to the SUSE Linux Enterprise Deployment Guide Chapter 22. This update for unattended_upgrade_dud fixes the following issues: * 725439: ycp modules are not getting executed in autoupgrade mode on SLE11SP1 * 691133: Add support for aborting Add-on Software installation Provides: patch:slessp1-unattended_upgrade_dud == 5681 Conflicts: unattended_upgrade_dud.x86_64 < 0.0.1-2.1
"Nefi Munoz" <nmunoz@novell.com> 2/27/2012 11:34 AM >>>
Worked like a charm !!! I heard this updated dud is the update channel already... I'll have to try that one. Thank you !! Nefi M.
Uwe Gansert <ug@suse.de> 2/27/2012 10:22 AM >>> On 27.02.2012 16:11, Nefi Munoz wrote:
driverupdate_autoupgrade_sles11sp1 13-Jan-2012 14:51 5.4M
and added it to my initrd (cat driverupdate_autoupgrade_sles11sp1 >> /boot/upgrade/initrd)
try to gzip the DUD file before you do that -- ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (2)
-
Nefi Munoz
-
Uwe Gansert