BUILD-ISO » История » Версия 14
Версия 13 (Dmitry Chernyak, 19.06.2016 20:45) → Версия 14/16 (Dmitry Chernyak, 19.06.2016 20:48)
h1. BUILD-ISO
{{toc}}
[[OVERVIEW]]| [[INSTALL]] | [[SETUP]] | [[OPERATIONS]] | [[LICENSE]] | [[STATUS]]
[[ОБЗОР]] | [[УСТАНОВКА]] | [[НАСТРОЙКА]] | [[ОПЕРАЦИИ]]| [[ЛИЦЕНЗИЯ]] | [[СОСТОЯНИЕ]] | *[[СБОРКА-ISO]]*
This is the ISO image building instructions for experienced users.
For regular install download prebuilt Basic users can take built ISO via the "Documents section":https://sci.skycover.ru/projects/sci-cd/documents (to access it you should register on this site).
h2. You'll need the Internet connection to build CD-ROM
The build engine is based on the simple-cdd Debian package.
h2. Install build components
<pre>
# apt-get install simple-cdd sharutils git debhelper dpkg-dev cdbs mtools dosfstools xorriso
</pre>
h2. Get project sources
<pre>
$ git clone http://github.com/skycover/sci-cd.git
$ cd sci-cd
$ git checkout develop
</pre>
h2. Use Git magic
We recommend you to create your own branch to place modifications and to save the
ability to receive updates.
<pre>
$ git checkout -b local
</pre>
For additional useful commands read [[GITMAGIC]]
h2. Adjust the environment
h3. _profiles/SCI-amd64.conf_
You can change debian_mirror and security_mirror settings if
you are using another mirrors or apt-proxies.
h3. _profiles/SCI-amd64.downloads_
You can add more packages here to make more functional distro on the
CD. It is recomended that you should first try the default list and
then rebuild with your extention.
h3. _profiles/SCI-amd64.files/postinst.conf_
Optional. The file should be created.
Tunable parameters:
*vlan_no* - if set, the control network will be placed in this vlan
using 802.1q tagging.
h2. Build ISO image
<pre>
./build.sh -b develop
</pre>
Image will be built in @images/@ folder, burn it with your favorite tool
(for ex. - k3b).
h2. Build bootable USB-flash
Any usb-flash will be sufficient with the partition, already formatted as vfat and that is capable to port the ISO image.
Run as root:
<pre>
./makeusb.sh /dev/sdX
</pre>
Where /dev/sdX - the path to the block device of your USB-flash (thr whole flash /dev/sdX, not the vfat parition - /dev/sdX1)
After the script finishes, the filysystem from the flash will be mounted to /mnt (you can change the mountpont in the body of the script).
Next you should copy the built ISO-image into the top folder of the flash ad then unmount it.
The bootable USB-flash is complete!
Next read [[INSTALL]]
{{toc}}
[[OVERVIEW]]| [[INSTALL]] | [[SETUP]] | [[OPERATIONS]] | [[LICENSE]] | [[STATUS]]
[[ОБЗОР]] | [[УСТАНОВКА]] | [[НАСТРОЙКА]] | [[ОПЕРАЦИИ]]| [[ЛИЦЕНЗИЯ]] | [[СОСТОЯНИЕ]] | *[[СБОРКА-ISO]]*
This is the ISO image building instructions for experienced users.
For regular install download prebuilt Basic users can take built ISO via the "Documents section":https://sci.skycover.ru/projects/sci-cd/documents (to access it you should register on this site).
h2. You'll need the Internet connection to build CD-ROM
The build engine is based on the simple-cdd Debian package.
h2. Install build components
<pre>
# apt-get install simple-cdd sharutils git debhelper dpkg-dev cdbs mtools dosfstools xorriso
</pre>
h2. Get project sources
<pre>
$ git clone http://github.com/skycover/sci-cd.git
$ cd sci-cd
$ git checkout develop
</pre>
h2. Use Git magic
We recommend you to create your own branch to place modifications and to save the
ability to receive updates.
<pre>
$ git checkout -b local
</pre>
For additional useful commands read [[GITMAGIC]]
h2. Adjust the environment
h3. _profiles/SCI-amd64.conf_
You can change debian_mirror and security_mirror settings if
you are using another mirrors or apt-proxies.
h3. _profiles/SCI-amd64.downloads_
You can add more packages here to make more functional distro on the
CD. It is recomended that you should first try the default list and
then rebuild with your extention.
h3. _profiles/SCI-amd64.files/postinst.conf_
Optional. The file should be created.
Tunable parameters:
*vlan_no* - if set, the control network will be placed in this vlan
using 802.1q tagging.
h2. Build ISO image
<pre>
./build.sh -b develop
</pre>
Image will be built in @images/@ folder, burn it with your favorite tool
(for ex. - k3b).
h2. Build bootable USB-flash
Any usb-flash will be sufficient with the partition, already formatted as vfat and that is capable to port the ISO image.
Run as root:
<pre>
./makeusb.sh /dev/sdX
</pre>
Where /dev/sdX - the path to the block device of your USB-flash (thr whole flash /dev/sdX, not the vfat parition - /dev/sdX1)
After the script finishes, the filysystem from the flash will be mounted to /mnt (you can change the mountpont in the body of the script).
Next you should copy the built ISO-image into the top folder of the flash ad then unmount it.
The bootable USB-flash is complete!
Next read [[INSTALL]]