Hello,
I am trying to autoinstall SLES 10 in HD mode (disk to disk). It worked for SLES 9 but does not any longer with SLES 10.
The problem is that YaST tries to mount my source partition when formating the other partitions and this fails because the source partition is alerady mounted.
This is my partition schema:
sda1: ext3 16GB sda2: swap sda3: fat32 16BG
The third partition does contain the installation source. This is the autoyast partition plan:
<partitioning config:type="list"> <drive> <device>/dev/sda</device> <initialize config:type="boolean">false</initialize> <is_evms_vg config:type="boolean">false</is_evms_vg> <is_lvm_vg config:type="boolean">false</is_lvm_vg> <use>1,2</use> <partitions config:type="list"> <partition> <create config:type="boolean">false</create> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem> <fsopt>defaults,acl</fsopt> <loop_fs config:type="boolean">false</loop_fs> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <size>16gb</size> </partition> <partition> <create config:type="boolean">false</create> <format config:type="boolean">true</format> <filesystem config:type="symbol">swap</filesystem> <loop_fs config:type="boolean">false</loop_fs> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">2</partition_nr> <size>512mb</size> </partition> </partitions> </drive> </partitioning>
And the kernel command line for autoyast: install=hd://sda3/suse AutoYaST=file:///autoyast.xml The autoyast file (autoyast.xml) is contained in the initrd. Kernel and initrd are booted from sda3. This worked for SLES 9 with a little trick (unmounting /mounts/extra in a pre-install script). Any ideas how to get the disk to disk autoyast installation working for SLES 10?
Regards, i. A. Moritz Wenk
Specialist Product Engineering & Development Corporate Technology Software
MAXDATA Systeme GmbH Elbestraße 12-16 D-45768 Marl
Telefon: +49 (0) 2365 952-2715 Telefax: +49 (0) 2365 952-2279
E-Mail : moritz.wenk@maxdata.de
On Friday 22 September 2006 15:15, Wenk, Moritz wrote:
The problem is that YaST tries to mount my source partition when formating the other partitions and this fails because the source partition is alerady mounted.
I can not reproduce that. I tried exactly your setup (except that I have to use hda instead of sda) and I was not able to trigger that error.
I can reproduce the problem of Niall Calvert who has trouble with EVMS and the installation source on the harddisk but your setup is working fine here.
On Friday 22 September 2006 15:15, Wenk, Moritz wrote:
The problem is that YaST tries to mount my source partition when formating the other partitions and this fails because the source partition is alerady mounted.
for the archive. The problem was the partition_id on the vfat partition. Changing that to 131 solved the problem. Otherwise autoyast tries to mount it to /windows/d
autoinstall@lists.opensuse.org