Update documentation
This commit is contained in:
parent
bc433889b4
commit
0701bf4323
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
@ -1,5 +1,5 @@
|
||||||
Debian Auto Installer
|
Debian Auto Installer
|
||||||
====================
|
=====================
|
||||||
|
|
||||||
A script to create automated Debian Installation Key. I created it for my work.
|
A script to create automated Debian Installation Key. I created it for my work.
|
||||||
You can create bios, efi64 key or prepare files into a folder whitout creating
|
You can create bios, efi64 key or prepare files into a folder whitout creating
|
||||||
|
@ -18,12 +18,12 @@ key.
|
||||||
* ``-b`` create key for bios boot architecture (default efi64)
|
* ``-b`` create key for bios boot architecture (default efi64)
|
||||||
* ``-c --conf`` set folder configuration files (default conf/archlinux.conf)
|
* ``-c --conf`` set folder configuration files (default conf/archlinux.conf)
|
||||||
* ``-d device`` USB device like /dev/sdb
|
* ``-d device`` USB device like /dev/sdb
|
||||||
* ``--debian-version`` debian iso version to download (default 8.7.1)
|
* ``--debian-version`` debian iso version to download (default lastest stable)
|
||||||
* ``--repo`` repository folder (default ./repo)
|
* ``--repo`` repository folder (default ./repo)
|
||||||
* ``--tmp`` Temporary folder used to create USB key to create directory tree
|
* ``--tmp`` Temporary folder used to create USB key to create directory tree
|
||||||
|
|
||||||
Be careful : if ``-d`` parameter is define then the relative peripheral will
|
Be careful : if ``-d`` parameter is define then the usb key / external drive
|
||||||
be erased
|
will be erased.
|
||||||
|
|
||||||
Since syslinux files are placed differently depending on the distribution,
|
Since syslinux files are placed differently depending on the distribution,
|
||||||
configuration file (``-c``) contain directory to syslinux files :
|
configuration file (``-c``) contain directory to syslinux files :
|
||||||
|
@ -54,11 +54,11 @@ Prepare an USB key on Debian
|
||||||
|
|
||||||
# How it work
|
# How it work
|
||||||
|
|
||||||
1. Create a repo folder then a subfolder named with debian version to
|
1. Create a repo folder then a subfolder named with debian version then
|
||||||
download then download debian iso, vmlinuz and initrt.gz.
|
download debian iso, vmlinuz and initrt.gz.
|
||||||
2. Create a temporary folder and copy all necessary files into it (pressed,
|
2. Create a temporary folder and copy all necessary files into it (pressed,
|
||||||
partman recipes, syslinux modules...)
|
partman recipes, syslinux modules...).
|
||||||
4. If ``-d /dev/sdx``, unmount usb key( if mounted) and create partition scheme,
|
4. If ``-d /dev/sdx``, unmount usb key( if mounted) and create partition scheme,
|
||||||
format and mount partitions
|
format and mount partitions.
|
||||||
5. Copy all content of temporary folder into mounted usb key.
|
5. Copy all content of temporary folder into mounted usb key.
|
||||||
6. Enjoy!
|
6. Unmount usb key.
|
||||||
|
|
Reference in a new issue