Can I code autoyast to ignore a disk?

Hi,
I’m having a problem configuring autoyast to do something. Please bare with me as I describe what’s happening.

I’m installing SLES from a 16GB USB stick.
So far, I’ve figured out how to boot from the Stick, and install SLES to the HDD.
OK, the USB Stick is /dev/sda and the hdd is /dev/hda, as an example.
So now I have the installation process booting off /dev/sda1 and installing to /dev/hda.
I had a hell of a time installing the boot files to /dev/hda, but I’ve worked that problem out now, after a week.
I did a manual install and saved the autoinst.xml file and this is failing now on this problem:
Here’s the problem now: When the install system starts, it mounts /dev/sda1 to /mounts/extra
During the install, yast tries to re-mount /dev/sda1 to /windows/C !! WHILE it has already mounted it to /mounts/extra!
I am unable to get around this problem, I’ve tried many things, including adding this to the autoinst.xml file that I try to feed to the install:
<drive>
<device>/dev/sda</device>
<partitions config:type=“list”>
<partition>
<create config:type=“boolean”>false</create>
<mount></mount>
</partition>
</partitions>
</drive>
<drive>
I don’t know what to do in this section to make just ignore and not mount /dev/sda1

I’m puzzled because when I did the manual setup, I edited the partitioning and removed the mount point /windows/C and then the install proceeded successfully. And then I saved the autoinsta.xml file. But for some reason, the install wants to probe and mount this file system all the time.

Can someone please point me in the right direction.

best Regards.

I had the same problem! This is probably late but

you can mention the sda1 disk to not be mounted.

For eg., i wanted hdb2 to be left alone. So, I added:

<device>/dev/hdb</device>
<partitions config:type=“list”>
<partition>
<create config:type=“boolean”>false</create>
<filesystem config:type=“symbol”>FAT32</filesystem>
<format config:type=“boolean”>false</format>
<mount></mount>
<partition_id config:type=“integer”>12</partition_id>
<partition_nr config:type=“integer”>2</partition_nr>
<partition_type>primary</partition_type>
</partition>

This will resolve it.

Thanks for the reply.
Ya I’m at a new job now :slight_smile: but I’ll pass this on to my old cohorts maybe they can use it.

Cheers