Hi,
> I am new to using Kiwi to build appliances. I am trying to create an
> appliance with a second disk. Using the partitions tag, I can create
> another partition on a disk (/dev/sda3), but I would instead like to
> instead create another disk completely (/dev/sdb).
If I understood you correctly you would like to create two disk images,
one for your first disk (e.g /dev/sda) and one for your second
disk (e.g /dev/sdb).
In kiwi this would mean two build processes for each of them which
you can combine in one image description using profiles. The basic
layout in XML speak would be like this:
<image ...>
<profiles>
<profile name="MyDiskA" description="Your /dev/sda disk image"/>
<profile name="MyDiskB" description="Your /dev/sdb disk image"/>
</profiles>
<preferences>
<!-- common preferences used for all profiles -->
</preferences
<preferences profiles="MyDiskA">
<!-- preferences settings only for MyDiskA -->
</preferences
<preferences profiles="MyDiskB">
<!-- preferences settings only for MyDiskB -->
</preferences
...more
</image>
You would then have two build processes in kiwi to build your
disk images, e.g:
kiwi-ng --profile MyDiskA system build ... --target-dir /tmp/MyDiskA
kiwi-ng --profile MyDiskB system build ... --target-dir /tmp/MyDiskB
As you now have two disk images you can deploy them on your target
devices (/dev/sda, /dev/sdb).
At this point I was wondering if these two images on the two disks
are somehow connected to each other and if that maybe impacts the way
you need to build them. From what you explained so far I can't tell
Hope this information helps a bit
Regards,
Marcus
--
Public Key available via:
https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer
-------------------------------------------------------
Marcus Schäfer Brunnenweg 18
Tel:
+49 7562 905437 D-88260 Argenbühl
Germany
-------------------------------------------------------