ajout d'informations
This commit is contained in:
parent
011ff560f1
commit
a9180d43ae
|
@ -43,6 +43,10 @@ deb http://backports.debian.org/debian-backports squeeze-backports main contrib
|
|||
# apt build-dep debian-installer
|
||||
~~~
|
||||
|
||||
~~~
|
||||
# dpkg-checkbuilddeps
|
||||
~~~
|
||||
|
||||
~~~
|
||||
$ apt-get source debian-installer
|
||||
$ cd debian-installer-20170615+deb9u3/build
|
||||
|
@ -55,6 +59,14 @@ KERNELVERSION = 4.15.0-0.bpo.2-amd64
|
|||
KERNELMAJOR = 4.15
|
||||
~~~
|
||||
|
||||
Éditer le fichier ./build/config/common:
|
||||
|
||||
~~~
|
||||
LINUX_KERNEL_ABI ?= 4.15.0-0.bpo.2
|
||||
DEBIAN_RELEASE = stretch
|
||||
USE_UDEBS_FROM ?= stable
|
||||
~~~
|
||||
|
||||
Éditer le fichier ./build/sources.list.udeb.local :
|
||||
|
||||
~~~
|
||||
|
@ -66,13 +78,28 @@ deb http://deb.debian.org/debian stretch-backports main/debian-installer
|
|||
~~~
|
||||
# make reallyclean
|
||||
# fakeroot make build_netboot
|
||||
[...]
|
||||
install -m 644 -D ./tmp/netboot/mini.iso dest/netboot/mini.iso
|
||||
update-manifest dest/netboot/mini.iso "tiny CD image that boots the netboot installer" ./tmp/netboot/udeb.list
|
||||
~~~
|
||||
|
||||
pkg-lists/netboot/amd64.cfg:
|
||||
Si tout se passe bien, vous obtiendrez un nouvel ISO:
|
||||
|
||||
~~~
|
||||
#nic-extra-modules-${kernel:Version}
|
||||
#floppy-modules-${kernel:Version}
|
||||
multiarch-support
|
||||
libacl1
|
||||
$ file ./tmp/netboot/mini.iso dest/netboot/mini.iso
|
||||
./tmp/netboot/mini.iso: DOS/MBR boot sector; partition 2 : ID=0xef, start-CHS (0x3ff,254,63), end-CHS (0x3ff,254,63), startsector 240, 832 sectors; partition 3 : ID=0x1, start-CHS (0x25,0,1), end-CHS (0x2a,63,32), startsector 75776, 12288 sectors
|
||||
dest/netboot/mini.iso: DOS/MBR boot sector; partition 2 : ID=0xef, start-CHS (0x3ff,254,63), end-CHS (0x3ff,254,63), startsector 240, 832 sectors; partition 3 : ID=0x1, start-CHS (0x25,0,1), end-CHS (0x2a,63,32), startsector 75776, 12288 sectors
|
||||
~~~
|
||||
|
||||
Pour copier le fichier ISO sur une clé USB:
|
||||
|
||||
~~~
|
||||
$ cat dest/netboot/mini.iso > /dev/sdX
|
||||
$ fdisk -l /dev/sdX
|
||||
Disque /dev/sdX : 14,6 GiB, 15664676864 octets, 30595072 secteurs
|
||||
Unités : secteur de 1 × 512 = 512 octets
|
||||
Taille de secteur (logique / physique) : 512 octets / 512 octets
|
||||
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
|
||||
Type d'étiquette de disque : dos
|
||||
Identifiant de disque : 0x0421e6d7
|
||||
~~~
|
Loading…
Reference in New Issue