From a9180d43ae0ecac3a4b4b54d93c18c7dd6c3e3f1 Mon Sep 17 00:00:00 2001 From: lcartier Date: Tue, 17 Apr 2018 17:35:20 +0200 Subject: [PATCH] ajout d'informations --- HowtoDebian/Backports.md | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/HowtoDebian/Backports.md b/HowtoDebian/Backports.md index 8478b89e..c00bfe35 100644 --- a/HowtoDebian/Backports.md +++ b/HowtoDebian/Backports.md @@ -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 ~~~ \ No newline at end of file