|
3ヶ月前 | |
---|---|---|
conf | 4年前 | |
partman_recipes | 4年前 | |
preseeds | 3ヶ月前 | |
syslinux | 4年前 | |
.gitignore | 4年前 | |
README.md | 3年前 | |
init.sh | 8ヶ月前 |
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 key.
-a [amd64|i386]
choose architecture for debian files (default amd64)-b
create key for bios boot architecture (default efi64)-c --conf
set folder configuration files (default conf/archlinux.conf)-d device
USB device like /dev/sdb--debian-version
debian iso version to download (default lastest stable)--repo
repository folder (default ./repo)--tmp
Temporary folder used to create USB key to create directory treeBe careful : if -d
parameter is define then the usb key / external drive
will be erased.
Since syslinux files are placed differently depending on the distribution,
configuration file (-c
) contain directory to syslinux files :
Prepare file in directory for efi system without writing an usb key for AMD64.
./init.sh
Prepare an USB key (/dev/sdb) for bios / i386 architecture
./init.sh -a i386 -b -d /dev/sdb
Prepare an USB key on Debian
./init.sh -d /dev/sdb -c conf/debian.conf
-d /dev/sdx
, unmount usb key( if mounted) and create partition scheme,
format and mount partitions.