[opensuse-autoinstall] Issues during the auto-installation of SLES 10 with autoyast scripts!!! Pls help!!
Hi, all, When we develop the software, one tough issue happens during the auto-installation of SLES 10 with autoyast scripts (see below). Pls give us some suggestions or solutions to this issue. Look forward to your reply. Thanks!! [Issue summary]:Autoinstall SLES10 with autoyast scripts. If there are four primary partitions on the disk, three of them are used to install OS, then the fourth partition can not be remained. Why? And how to keep the fourth primary partition? [Issue details] Partition List: Device Boot Start End Blocks Id System /dev/hdc1 * 1 582 293296+ 83 Linux /dev/hdc2 583 1746 586656 82 Linux swap /dev/hdc3 1747 17248 7813008 83 Linux /dev/hdc4 17249 39770 11351088 83 Linux SLES10 is planned to install on the previous three partitions: /dev/hdc1---------/boot, formatted as ext2 in advanced, put autoinstall scripts on this partition(path: /prep/autoinst.xml) /dev/hdc2---------swap, formatted in the process of auto-install /dev/hdc3---------/, formatted as reiser in the process of auto-install /dev/hdc4-------suppose that this partition is a data section need to be remained. Step 1: make auto-install scripts - "autoinst.xml" as follows: Reference to http://forgeftp.novell.com/yast/doc/SLES10/autoinstall/CreateProfile.Partiti... ... <partitioning config:type="list"> <drive> <device>/dev/hdc</device> <partitions config:type="list"> <partition> <create config:type="boolean">false</create> <format config:type="boolean">false</format> <mount>/boot</mount> <partition_nr config:type="integer">1</partition_nr> </partition> <partition> <create config:type="boolean">false</create> <format config:type="boolean">true</format> <filesystem config:type="symbol">swap</filesystem> <partition_nr config:type="integer">2</partition_nr> <mount>swap</mount> </partition> <partition> <create config:type="boolean">false</create> <format config:type="boolean">true</format> <filesystem config:type="symbol">reiser</filesystem> <mount>/</mount> <partition_nr config:type="integer">3</partition_nr> </partition> </partitions> <use>1,2,3</use> </drive> </partitioning> ... Step 2: Boot by SLES10 DVD, set startup parameter: autoyast=device://hdc1/prep/autoinst.xml Step 3: The error would be prompted when the process comes to "Create Partition Plan". Then the installation would abort. At this time, check /var/log/YaST2/y2log, we have found that error exists in /usr/share/YaST2/include/autoinstall/autopart.ycp. Try other way: 1>Change scripts like <use>linux</use> or <use>all</use> No error would be promped. But the fourth primary partition - hdc4 is deleted. 2>Make use of OpenSUSE 10.2 DVD to boot system and don't change scripts (keep the same script above). The whole process of auto-install is normal. 3>When the error happens, /usr/share/YaST2/include/autoinstall/autopart.ycp is replaced by autopart.ycp of OpenSUSE10.2. Then rebuild /usr/share/YaST2/modules/AutoinstStorage.ycp to generate AutoinstStorage.ybc. After updating this new AutoinstStorage.ybc in SLES10, the whole process of auto-install is normal. Whether is this one bug of SLES 10? Furthermore, if the fourth partition is extended section (see below), the auto-install of SLES 10 is also ok. /dev/hdc1 * 1 582 293296+ 83 Linux /dev/hdc2 583 1746 586656 82 Linux swap /dev/hdc3 1747 17248 7813008 83 Linux /dev/hdc4 17249 39770 11351088 5 Extended /dev/hdc5 17249 39770 11351056+ 83 Linux By the way, refer to http://www.suse.de/~ug/autoyast_changes_SLES10SP1.html, SLES10SP1 has resolved this issue on the condition of four primary partitions. Is that right? Pls confirm it. If it's true, when will SLES10SP1 be released? Best Regards! ***************************************** Cheng Ningting(Carol Cheng) Server Business Department Lenovo Group Limited 6#,ShangDi ChuangYe Road,HaiDian,BEIJING TEL:(010)58864185 E_Mail:chengnt@lenovo.com **************************************** We are the new, we are the future, we are LENOVO!
On Thursday 22 March 2007 10:50, chengnt@lenovo.com wrote:
By the way, refer to http://www.suse.de/~ug/autoyast_changes_SLES10SP1.html, SLES10SP1 has resolved this issue on the condition of four primary partitions. Is that right?
yes, your problem should be fixed with SP1
Pls confirm it. If it's true, when will SLES10SP1 be released?
in the next few month -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug now playing mind.in.a.box - Reflections -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hi , even its not directly related to autoyast can i use the 3 SLES9-SP-3-i386-GM iso images for installation or do i have to use the base CDs and then update the server. Also does somewhere has a link/script how to update a sles9 repository with the SP3 iso images ? tia Hajo -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thursday 22 March 2007 15:09, Hans-Joachim Ehlers wrote:
can i use the 3 SLES9-SP-3-i386-GM iso images for installation or do i have to use the base CDs and then update the server. Also does somewhere has a link/script how to update a sles9 repository with the SP3 iso images ?
this? http://www.suse.com/~ug/AutoYaST_FAQ.html#b6 -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug now playing Diorama - Belle -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Thanks to your prompt response!! But without SP, how can we auto-install SLES 10 using autoyast scripts on the condition of four primary partitions? Best Regards! ***************************************** Cheng Ningting(Carol Cheng) Server Business Department Lenovo Group Limited 6#,ShangDi ChuangYe Road,HaiDian,BEIJING TEL:(010)58864185 E_Mail:chengnt@lenovo.com **************************************** We are the new, we are the future, we are LENOVO! Uwe Gansert <ug@suse.de> 2007-03-22 21:13 收件人: opensuse-autoinstall@opensuse.org 抄送: 主题: Re: [opensuse-autoinstall] Issues during the auto-installation of SLES 10 with autoyast scripts!!! Pls help!! On Thursday 22 March 2007 10:50, chengnt@lenovo.com wrote:
By the way, refer to http://www.suse.de/~ug/autoyast_changes_SLES10SP1.html, SLES10SP1 has resolved this issue on the condition of four primary partitions. Is that right?
yes, your problem should be fixed with SP1
Pls confirm it. If it's true, when will SLES10SP1 be released?
in the next few month -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug now playing mind.in.a.box - Reflections -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Friday 23 March 2007 02:28, chengnt@lenovo.com wrote:
But without SP, how can we auto-install SLES 10 using autoyast scripts on the condition of four primary partitions?
without SP I don't see a solution at the moment. If I read it right, you already have a workaround by using 10.2 code of autoyast. So I would suggest to use that until SP1 is available. Is that an option for you? -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
chengnt@lenovo.com
-
Hans-Joachim Ehlers
-
Uwe Gansert