Résolu le 13-08-24 Créer une ISO Linux bootable personnalisée

Postez ici toutes vos demandes d’assistance générale concernant le fonctionnement de Linux Mint, qui n'entrent pas dans les autres rubriques.
Répondre
Avatar du membre
damad
Messages : 168
Enregistré le : jeu. 17 août 2023 14:06
Localisation : Neuchâtel, Suisse

Créer une ISO Linux bootable personnalisée

Message par damad »

Bonjour à toutes et à tous !! :D

Je voudrais savoir comment créer une ISO Linux bootable « à ma sauce ». Tout ce que je trouve sur le net est comment créer une clé bootable à partir d'une ISO existante (j'ai opté pour ventoy depuis un moment déjà ;) ), mais pas comment on peut créer cette ISO. :(

L'idée c'est d'arriver à faire ma propre distribution. Je précise que c'est un délire personnel et que mes ISOs ne seront jamais destinées à être utilisées ailleurs que sur mon ordi, au cas où... ;)

Merci d'avance pour vos pistes et bonne fin d'après-midi !! :D
Pc 1 : Portable CLEVO W150HRM | Linux Mint 21.1 Vera | Cinnamon 5.6.8 | 5.15.0-153-generic x86_64 | Quad core Intel Core i7-2720QM | 8 Go | 1: Intel 2nd Generation Core Processor Family Integrated Graphics 2: NVIDIA GF106M [GeForce GT 555M]

Pc 2 : Portable Acer Predator PH18-72 v: V1.06 | Linux Mint 22 Wilma | Xfce v: 4.18.1 | 6.8.0-86-generic arch: x86_64 bits | Intel Core i9-14900HX | 32 Go | 1: Intel Raptor Lake-S UHD Graphics 2: NVIDIA AD104M [GeForce RTX 4080 Max-Q / Mobile]
Avatar du membre
tyrry
modérateur
Messages : 6847
Enregistré le : mar. 21 juil. 2015 07:42
Localisation : à l'ouest

Re: Créer une ISO Linux bootable personnalisée

Message par tyrry »

Slt,
regarde par exemple isomaster : https://doc.ubuntu-fr.org/isomaster
@+
Image
Avatar du membre
damad
Messages : 168
Enregistré le : jeu. 17 août 2023 14:06
Localisation : Neuchâtel, Suisse

Re: Créer une ISO Linux bootable personnalisée

Message par damad »

Merci tyrry !! :D

Ça semble correspondre à mes besoins. Je vais tester ce week-end (ou avant) et je reviens !! ;)

Bonne soirée !! :D :D
Pc 1 : Portable CLEVO W150HRM | Linux Mint 21.1 Vera | Cinnamon 5.6.8 | 5.15.0-153-generic x86_64 | Quad core Intel Core i7-2720QM | 8 Go | 1: Intel 2nd Generation Core Processor Family Integrated Graphics 2: NVIDIA GF106M [GeForce GT 555M]

Pc 2 : Portable Acer Predator PH18-72 v: V1.06 | Linux Mint 22 Wilma | Xfce v: 4.18.1 | 6.8.0-86-generic arch: x86_64 bits | Intel Core i9-14900HX | 32 Go | 1: Intel Raptor Lake-S UHD Graphics 2: NVIDIA AD104M [GeForce RTX 4080 Max-Q / Mobile]
Avatar du membre
damad
Messages : 168
Enregistré le : jeu. 17 août 2023 14:06
Localisation : Neuchâtel, Suisse

Re: Créer une ISO Linux bootable personnalisée

Message par damad »

Merci cyrille !! :D

En gros, y a du boulot... Mais j'aime ça !! :ugeek:

A très bientôt pour mes retours !! :D
Pc 1 : Portable CLEVO W150HRM | Linux Mint 21.1 Vera | Cinnamon 5.6.8 | 5.15.0-153-generic x86_64 | Quad core Intel Core i7-2720QM | 8 Go | 1: Intel 2nd Generation Core Processor Family Integrated Graphics 2: NVIDIA GF106M [GeForce GT 555M]

Pc 2 : Portable Acer Predator PH18-72 v: V1.06 | Linux Mint 22 Wilma | Xfce v: 4.18.1 | 6.8.0-86-generic arch: x86_64 bits | Intel Core i9-14900HX | 32 Go | 1: Intel Raptor Lake-S UHD Graphics 2: NVIDIA AD104M [GeForce RTX 4080 Max-Q / Mobile]
Avatar du membre
damad
Messages : 168
Enregistré le : jeu. 17 août 2023 14:06
Localisation : Neuchâtel, Suisse

Re: Créer une ISO Linux bootable personnalisée

Message par damad »

Hello !! :D

@tyrry :
En fait, isomaster ne permet pas de manipuler un live USB. C'est fait pour créer et manipuler des ISOs de données. Mais je le garde sous le coude, ça peut servir. ;)

@cyrille :
Je vais tester ton premier lien
https://doc.ubuntu-fr.org/personnaliser_livecd
en mode manuel. Je vais y aller gentiment, donc ça va prendre un peu de temps. ;)
Je vous redis tout ça ce week-end !! :D
Pc 1 : Portable CLEVO W150HRM | Linux Mint 21.1 Vera | Cinnamon 5.6.8 | 5.15.0-153-generic x86_64 | Quad core Intel Core i7-2720QM | 8 Go | 1: Intel 2nd Generation Core Processor Family Integrated Graphics 2: NVIDIA GF106M [GeForce GT 555M]

Pc 2 : Portable Acer Predator PH18-72 v: V1.06 | Linux Mint 22 Wilma | Xfce v: 4.18.1 | 6.8.0-86-generic arch: x86_64 bits | Intel Core i9-14900HX | 32 Go | 1: Intel Raptor Lake-S UHD Graphics 2: NVIDIA AD104M [GeForce RTX 4080 Max-Q / Mobile]
Avatar du membre
damad
Messages : 168
Enregistré le : jeu. 17 août 2023 14:06
Localisation : Neuchâtel, Suisse

Re: Créer une ISO Linux bootable personnalisée

Message par damad »

Hello !! :D

J'avance dans mon « bidouillage » et j'essaie de faire des scripts pour automatiser un maximum d'opérations. En gros, ça commence par l'extraction de l'ISO, puis de squashfs. Ensuite, il faut passer en chroot pour ajouter/supprimer des programmes. Or, quand le script passe en chroot, tout s'arrête et quand je tape « exit », le script continue mais n'est plus en chroot... Ce qui est gênant car dès-lors, les commandes s'appliquent sur mon système et plus sur squashfs... :oops:

Y a-t-il un moyen, dans un script, d'injecter les commandes voulues dans chroot, puis de quitter chroot pour continuer le script ? :?: En espérant que c'est assez clair... ;)
Pc 1 : Portable CLEVO W150HRM | Linux Mint 21.1 Vera | Cinnamon 5.6.8 | 5.15.0-153-generic x86_64 | Quad core Intel Core i7-2720QM | 8 Go | 1: Intel 2nd Generation Core Processor Family Integrated Graphics 2: NVIDIA GF106M [GeForce GT 555M]

Pc 2 : Portable Acer Predator PH18-72 v: V1.06 | Linux Mint 22 Wilma | Xfce v: 4.18.1 | 6.8.0-86-generic arch: x86_64 bits | Intel Core i9-14900HX | 32 Go | 1: Intel Raptor Lake-S UHD Graphics 2: NVIDIA AD104M [GeForce RTX 4080 Max-Q / Mobile]
jpiebrig
Messages : 17
Enregistré le : dim. 21 août 2016 19:28

Re: Créer une ISO Linux bootable personnalisée

Message par jpiebrig »

PC Minisforum U820
Intel© Core™ i5-8279U CPU @ 2.40GHz × 4
Carte graphique : Intel CoffeeLake-U GT3e [Iris Plus Graphics 655]
16 Go RAM
512GB M.2 Solid State Drive SanDisk SD8SN8U512G1122
Samsung SSD 870 EVO 2TB
Linux Mint 22.1 Cinnamon
Noyau 6.8.0-57-generic
Cinnamon 6.4.8
Avatar du membre
damad
Messages : 168
Enregistré le : jeu. 17 août 2023 14:06
Localisation : Neuchâtel, Suisse

Re: Créer une ISO Linux bootable personnalisée

Message par damad »

Hello !! :D
Intéressant, merci !! ;) J'essaierai ce soir.
Je vous redis !!
Pc 1 : Portable CLEVO W150HRM | Linux Mint 21.1 Vera | Cinnamon 5.6.8 | 5.15.0-153-generic x86_64 | Quad core Intel Core i7-2720QM | 8 Go | 1: Intel 2nd Generation Core Processor Family Integrated Graphics 2: NVIDIA GF106M [GeForce GT 555M]

Pc 2 : Portable Acer Predator PH18-72 v: V1.06 | Linux Mint 22 Wilma | Xfce v: 4.18.1 | 6.8.0-86-generic arch: x86_64 bits | Intel Core i9-14900HX | 32 Go | 1: Intel Raptor Lake-S UHD Graphics 2: NVIDIA AD104M [GeForce RTX 4080 Max-Q / Mobile]
Avatar du membre
damad
Messages : 168
Enregistré le : jeu. 17 août 2023 14:06
Localisation : Neuchâtel, Suisse

Re: Créer une ISO Linux bootable personnalisée

Message par damad »

Hello !! :D

Finalement, je me suis rabattu sur cubic, rien ne fonctionnait avec les tutos pourtant bien suivis plusieurs fois :oops: . Et maintenant, tout fonctionne  :D !! Je peux « balancer » n'importe quel script dans la fenêtre chroot de cubic et ça marche :D :D :D  !!

Merci @jpiebrig !! :B :D
Pc 1 : Portable CLEVO W150HRM | Linux Mint 21.1 Vera | Cinnamon 5.6.8 | 5.15.0-153-generic x86_64 | Quad core Intel Core i7-2720QM | 8 Go | 1: Intel 2nd Generation Core Processor Family Integrated Graphics 2: NVIDIA GF106M [GeForce GT 555M]

Pc 2 : Portable Acer Predator PH18-72 v: V1.06 | Linux Mint 22 Wilma | Xfce v: 4.18.1 | 6.8.0-86-generic arch: x86_64 bits | Intel Core i9-14900HX | 32 Go | 1: Intel Raptor Lake-S UHD Graphics 2: NVIDIA AD104M [GeForce RTX 4080 Max-Q / Mobile]
Répondre