# Creating an Initial System to Deploy a Preload Image

**URL:** <https://forums.suse.com/t/creating-an-initial-system-to-deploy-a-preload-image/28733>\
**Category:** SLED Install-Boot\
**Created:** [October 4, 2016, 11:31pm UTC](https://forums.suse.com/t/creating-an-initial-system-to-deploy-a-preload-image/28733 "2016-10-04T23:31:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sibaro22](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@sibaro22](https://forums.suse.com/u/sibaro22)\
**Post date:** [October 4, 2016, 11:31pm UTC](https://forums.suse.com/t/creating-an-initial-system-to-deploy-a-preload-image/28733/1 "2016-10-04T23:31:15Z")

</div>

I’m creating my PXE boot server for a mass deploy of SLED 12. I have already set up my server with dhcp server, tftp server and installation server to do this Job. I create a SLED .raw image on suse studio and i’m setting up some parameters for first boot installation.

In web page documentation there is a reference to a script that I have to edit run\_all.sh after copy my initrd, to call the preload image that I want to use. But I can’t find this script !

Anyone know why?

URL: [https://www.suse.com/documentation/sled-12/book\_sle\_deployment/data/sec\_autokiwi\_pxe.html](https://www.suse.com/documentation/sled-12/book_sle_deployment/data/sec_autokiwi_pxe.html)

[I]Unpack the previously copied initial RAM file system with the command:

zcat ../initrd | cpio -i  
Edit the file run\_all.sh.

Search for the following line, delete it and the rest of the file:

[“$debug”] && echo preping 21-nfs.sh  
Add the following lines to the end of the files run\_all.sh:

[“$debug”] && echo preping 92-install.sh  
[“$debug”] && echo running 92-install.sh  
source boot/92-install.sh  
[“$modules”] && load\_modules

Create a new script boot/92-install.sh with the following content:

#!/bin/bash  
if [“$(get\_param rawimage)”]; then  
rawimage=$(get\_param rawimage)  
if [“$(get\_param rawdevice)”]; then  
rawdevice=$(get\_param rawdevice)  
echo “wget -O ${rawdevice} ${rawimage}”  
wget -O ${rawdevice} ${rawimage}  
sync  
sleep 5  
echo “DONE”  
fi  
fi

# /bin/bash

/bin/poweroff -f[/I]

---

<div class="post-metadata">

**Author:** ![Automatic\_Reply](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@Automatic\_Reply](https://forums.suse.com/u/Automatic_Reply)\
**Post date:** [October 10, 2016, 7:30am UTC](https://forums.suse.com/t/creating-an-initial-system-to-deploy-a-preload-image/28733/2 "2016-10-10T07:30:53Z")

</div>

sibaro22,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

These forums are peer-to-peer, best effort, volunteer run and that if your issue  
is urgent or not getting a response, you might try one of the following options:

- Visit [http://www.suse.com/support](http://www.suse.com/support) and search the knowledgebase and/or check all  
the other support options available.
- Open a service request: [https://www.suse.com/support](https://www.suse.com/support)
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.suse.com](http://forums.suse.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.suse.com/faq.php](http://forums.suse.com/faq.php)

If this is a reply to a duplicate posting or otherwise posted in error, please  
ignore and accept our apologies and rest assured we will issue a stern reprimand  
to our posting bot…

Good luck!

Your SUSE Forums Team  
[http://forums.suse.com](http://forums.suse.com)
