# Comment installer boot-info sur stretch

**URL:** <https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479>\
**Category:** Support Debian\
**Created:** [Septembre 8, 2018, 1:54 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479 "2018-09-08T13:54:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![webby2](https://www.debian-fr.org/user_avatar/www.debian-fr.org/webby2/32/6630_2.png) [@webby2](https://www.debian-fr.org/u/webby2)\
**Post date:** [Septembre 8, 2018, 1:54 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479/1 "2018-09-08T13:54:18Z")

</div>

Bonjour ,

Boot-info s’installe-t-il sur la 9.5 ??

je n’y parviens pas …

Y a-t-il une astuce pour se faire ?

Merci à l’avance de votre aide …

---

<div class="post-metadata">

**Author:** ![anon29980398](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/f4b2a3/32.png) [@anon29980398](https://www.debian-fr.org/u/anon29980398)\
**Post date:** [Septembre 8, 2018, 2:02 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479/2 "2018-09-08T14:02:32Z")

</div>

Bonjour

> [@webby2](#):
>
> Boot-info s’installe-t-il sur la 9.5 ??  
> …

Si le nom du paquetage que tu recherches est **boot-info-script**  
alors, **oui**.

```plaintext
michel@debg53sw:~$ lsb_release -r
Release:	9.5
michel@debg53sw:~$ 

```

```plaintext
michel@debg53sw:~$ apt policy boot-info-script
boot-info-script:
  Installé : (aucun)
  Candidat : 0.61-2
 Table de version :
     0.61-2 500
        500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages
michel@debg53sw:~$ 

```

---

<div class="post-metadata">

**Author:** ![webby2](https://www.debian-fr.org/user_avatar/www.debian-fr.org/webby2/32/6630_2.png) [@webby2](https://www.debian-fr.org/u/webby2)\
**Post date:** [Septembre 8, 2018, 2:08 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479/3 "2018-09-08T14:08:05Z")

</div>

> [@anon29980398](#):
>
> apt policy boot-info-script

oui , (( boot-info script )) est bel et bien installé → dans Synaptic .. mais pas dans mon Menu 🤩

Comment le faire fonctionner ??

---

<div class="post-metadata">

**Author:** ![anon29980398](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/f4b2a3/32.png) [@anon29980398](https://www.debian-fr.org/u/anon29980398)\
**Post date:** [Septembre 8, 2018, 2:31 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479/4 "2018-09-08T14:31:38Z")

</div>

Je ne l’ai jamais installé et donc utilisé sur mes machines.

Mais il y a peut-être une page d’aide intégrée dans la commande  
qui sera affichée en utilisant l’option **-h**  
Essaye avec :

```nohighlight
bootinfoscript -h

```

* * *

Il y a sans doute une page de manuel concernant cette commande  
qui sera affichée avec :

```nohighlight
man bootinfoscript

```

---

<div class="post-metadata">

**Author:** ![webby2](https://www.debian-fr.org/user_avatar/www.debian-fr.org/webby2/32/6630_2.png) [@webby2](https://www.debian-fr.org/u/webby2)\
**Post date:** [Septembre 8, 2018, 2:35 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479/5 "2018-09-08T14:35:08Z")

</div>

> [@anon29980398](#):
>
> ```plaintext
> man bootinfoscript
> 
> ```

```plaintext
$ bootinfoscript -h
bash: bootinfoscript: command not found

```

```plaintext
$ man bootinfoscript
No manual entry for bootinfoscript

```

```plaintext
$ sudo boot-info-script
sudo: boot-info-script: command not found

```

```plaintext
# boot-info-script
bash: boot-info-script: command not found

```

 ![Screenshot_2018-09-08_11-58-42](https://www.debian-fr.org/uploads/default/original/2X/8/8028f26c1d0d24f96aa6f3fd68a27f652e79fd47.png)

---

<div class="post-metadata">

**Author:** ![Clochette](https://www.debian-fr.org/user_avatar/www.debian-fr.org/clochette/32/8757_2.png) [@Clochette](https://www.debian-fr.org/u/Clochette)\
**Post date:** [Septembre 8, 2018, 3:11 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479/6 "2018-09-08T15:11:14Z")

</div>

Tu peux aisément lire la documentation d’un paquet pour l’utiliser 😉

[http://bootinfoscript.sourceforge.net/](http://bootinfoscript.sourceforge.net/)

Donc vue qu’il a été installé via le dépôts Debian il y a de forte chance que les _reports_ soient présents après des redémarrage de la machine dans le home de root 😉

---

<div class="post-metadata">

**Author:** ![anon29980398](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/f4b2a3/32.png) [@anon29980398](https://www.debian-fr.org/u/anon29980398)\
**Post date:** [Septembre 8, 2018, 3:17 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479/7 "2018-09-08T15:17:21Z")

</div>

Je suis étonné que la page man de cette commande ne soit pas accessible depuis le compte utilisateur,  
essaye alors avec :

```nohighlight
sudo man bootinfoscript

```

Plutôt que d’essayer de lancer la commande en utilisant le nom du paquetage,  
utilise le nom de l’exécutable qui est contenu dans le paquetage :

```nohighlight
sudo /usr/sbin/bootinfoscript -h

```

---

<div class="post-metadata">

**Author:** ![webby2](https://www.debian-fr.org/user_avatar/www.debian-fr.org/webby2/32/6630_2.png) [@webby2](https://www.debian-fr.org/u/webby2)\
**Post date:** [Septembre 8, 2018, 3:20 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479/8 "2018-09-08T15:20:03Z")

</div>

```nohighlight
No manual entry for bootinfoscript
See 'man 7 undocumented' for help when manual pages are not available.

$ sudo /usr/sbin/bootinfoscript -h

Usage Boot Info Script:
-----------------------

  Run the script as sudoer:

    sudo /usr/sbin/bootinfoscript <outputfile>

  or if your operating system does not use sudo:

    su -
    /usr/sbin/bootinfoscript <outputfile>

  When running the script, without specifying an output file, all the output
  is written to the file "RESULTS.txt" in the same folder as the script.

  But when run from /bin, /sbin, /usr/bin, or another system folder, the file
  "RESULTS.txt" is written to the home directory of the user.

  When the file "RESULTS.txt" already exists, the results will be written to
  "RESULTS1.txt". If "RESULTS1.txt" exists, the results will be written to
  "RESULTS2.txt", ...

  To get version number, release date, last git commit and git retrieval date
  of this script, use (no root rights needed):

    /usr/sbin/bootinfoscript -v
    /usr/sbin/bootinfoscript -V
    /usr/sbin/bootinfoscript --version

  To get this help text, use (no root rights needed):

    /usr/sbin/bootinfoscript -h
    /usr/sbin/bootinfoscript -help
    /usr/sbin/bootinfoscript --help

  To automatically gzip a copy of the output file, use (root rights needed):

    /usr/sbin/bootinfoscript -g <outputfile>
    /usr/sbin/bootinfoscript --gzip <outputfile>

  To write the output to stdout instead of a file, use (root rights needed):

    /usr/sbin/bootinfoscript --stdout

  The last development version of Boot Info Script can be downloaded, with:
    (no root rights needed)

    /usr/sbin/bootinfoscript --update <filename>

  If no filename is specified, the file will be saved in the home dir as
  "bootinfoscript_YYYY-MM-DD_hh:mm:ss".

```

---

<div class="post-metadata">

**Author:** ![anon29980398](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/f4b2a3/32.png) [@anon29980398](https://www.debian-fr.org/u/anon29980398)\
**Post date:** [Septembre 8, 2018, 4:17 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479/9 "2018-09-08T16:17:28Z")

</div>

Lance la commande :

```nohighlight
sudo /usr/sbin/bootinfoscript 

```

Quand le script aura fini sont travail,  
tu verras les deux lignes suivantes s’afficher juste avant le retour du prompt :

```nohighlight
…
Finished. The results are in the file "RESULTS.txt"
located in "/root/".

```

et tu devrais pouvoir ensuite visualiser le fichier résultant  
en lançant la ligne de commandes suivante :

```nohighlight
sudo less /root/RESULTS.txt

```

Tu pourras passer d’une page à l’autre avec les touches PgUp et PgDwn  
en appuyant sur la touche h tu pourras voir une page d’aide concernant le pager **less**  
et quitter en appuyant sur la touche q

---

<div class="post-metadata">

**Author:** ![webby2](https://www.debian-fr.org/user_avatar/www.debian-fr.org/webby2/32/6630_2.png) [@webby2](https://www.debian-fr.org/u/webby2)\
**Post date:** [Septembre 8, 2018, 4:22 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479/10 "2018-09-08T16:22:56Z")

</div>

MicP, … tes commandes fonctionne tres bien , merci …

---

<div class="post-metadata">

**Author:** ![anon29980398](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/f4b2a3/32.png) [@anon29980398](https://www.debian-fr.org/u/anon29980398)\
**Post date:** [Septembre 8, 2018, 4:23 UTC](https://www.debian-fr.org/t/comment-installer-boot-info-sur-stretch/77479/11 "2018-09-08T16:23:44Z")

</div>

Avec plaisir 😀
