Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 17/12/2017, à 12:06

cmontesquat

initramfs au démarrage

Bonjour.

Je suis sous Ubuntu 16.04.
J'ai fais hier les dernières mises à jour et j'avais aussi installé Video Downloadhelper (que j'avais déjà installé)
Et ce matin j'obtiens la mire Grub, le curseur est par défaut sur la ligne Ubuntu et après qq secondes, j'obtiens l'écran noir avec initramfs.
J'ai regardé le net, le forums, des messages très anciens... et rien n'a fonctionné.
Je ne sais même pas ce qui se passe.
Merci pour l'aide.

Hors ligne

#2 Le 17/12/2017, à 19:33

Nuliel

Re : initramfs au démarrage

Bonjour,

Dans le menu grub, peux tu aller dans options avancées, puis tu choisis pas le premier noyau (vu qu'il est utilisé par défaut) mais le deuxième ou troisième (pas recovery, ni upstart par contre, juste une entrée type linux-generic-4.14.6).
Si ça marche pas, peux tu démarrer sur un live usb et faire un boot info? (voir https://doc.ubuntu-fr.org/tutoriel/boot-info )

Dernière modification par Nuliel (Le 17/12/2017, à 19:34)

Hors ligne

#3 Le 18/12/2017, à 12:58

cmontesquat

Re : initramfs au démarrage

Merci pour la réponse.

1re méthode: choix du 3e item dénommé linux-generic-4.4.0.104 (X version suivantes avec le 104 se décrémente et se termine 4.2.0.42) --> toujours pareil au reboot

2e méthode: voici le rapport: http://paste.ubuntu.com/26208087 (le live Ubuntu était celui de la version précédente à la 16.04)

A bientôt.

Hors ligne

#4 Le 18/12/2017, à 17:21

Nuliel

Re : initramfs au démarrage

Tu as un message avec initramfs (en général il y a un peu plus de texte que ça)? S'il est trop long à recopier à la main, tu peux prendre une photo et la poster en suivant le lien dans ma signature (par contre poste la photo sur toile libre par exemple et mets une miniature dans ton prochain message)
Tu as trois disques, un de 160 GB contenant une partition ext4+swap (j'imagine la racine sur un ssd), un de 640 GB avec une partition ext4 (home? il est monté dans la racine visiblement, je sais pas trop ce que c'est) et un troisième disque de 1Téra qui est bootable et qui contient une partition ext4 (home?).
Je comprends pas pourquoi ton fstab ne contient que la racine, le swap et un dossier autre que home (donc pas de home au final)
Tu as énormément de noyaux, quand ce sera réparé il faudra faire un peu de ménage.
Il y a un message à la fin du boot info:

Les fichiers de démarrage de [Ubuntu 16.04.3 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)

Je sais pas s'il faut prendre en compte cette idée vu que le noyau linux-generic-4.4.0.104 que tu as essayé n'est pas si loin que ça.

Dernière modification par Nuliel (Le 18/12/2017, à 17:24)

Hors ligne

#5 Le 18/12/2017, à 19:15

cmontesquat

Re : initramfs au démarrage

C'est vraiment gentil de m'aider (inutile de préciser que je ne connais rien à Ubuntu)

Donc: j'ai

  • un petit disque (160 Go sans doute, je n'ai plus sa taille en tête et comme le poste ne démarre pas, je ne peux la vérifier) qui est le disque système

  • un gros disque (640Go) qui est le disque de data

  • le disque de 1To est un disque USB qui n'est jamais branché sauf quand je fais une sauvegarde

Voilà pour les précisions sur les disques.

Les infos au boot:
/dev/sda1 contains a file système with errors, check forced
Inodes that were part of a corrupted orphan linked list found

/dev/sda1 : UNEXPENTED INCONSISTENCY : run fsck MANUALY
         (i.e.) without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/sda1 requires a manual fsck

Busybox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash)
Enter 'shell' for a list of built-in commands

(initramfs) _

Voilà. avant de poser ma question sur le forum, j'avais essayé de faire un fsck mais il m'a été répondu que la commande est inconnue. Je dois mal m'y prendre.
En attente de te lire.

Hors ligne

#6 Le 18/12/2017, à 20:03

Nuliel

Re : initramfs au démarrage

Ah, voilà l'info importante! Je sais pas quelles commandes sont disponibles avec cette console (j'ai jamais eu le problème, il faudrait que je me renseigne) mais on peut lancer la commande par un live usb. Donc tu démarres sur un live usb (comme tu as fait pour le boot info) puis tu ouvres un terminal et tu tapes

sudo fdisk -l

afin de vérifier que /dev/sda1 correspond à la première partition du disque qui fait 160 GB.
Ne monte surtout pas la partition /dev/sda1!
Ensuite tu donnes le retour de

sudo fsck /dev/sda1

puis tu redémarres normalement.
Si ça marche, tant mieux.
Sinon (ça marche pas ou ça marche mais tu dois faire un fsck régulièrement), donne le message qui va avec initramfs s'il a changé et redémarre sur le live usb pour faire un rapport smart (voir https://doc.ubuntu-fr.org/smartmontools )

Edit: et j'ai oublié : peux tu mettre les retours entre balises code (voir ma signature: retour de commande)

Dernière modification par Nuliel (Le 18/12/2017, à 20:13)

Hors ligne

#7 Le 18/12/2017, à 21:29

cmontesquat

Re : initramfs au démarrage

Alors comme je viens de perdre ma réponse presque finie, je recommence mais en bref.
J'avais recopier une bonne partie de ce que disait Fsck, je ne recommence pas.

Il y avait plein d'erreurs, j'ai répondu oui à chaque fois.

Le reboot: OK
MAIS: j'obtiens la mire GNU GRUB, le curseur sur Ubuntu qui se charge ensuite. Puis j'obtiens le fond violet de Unity sans rien dessus, puis l'écran redeviens en mode texte sur fond noir avec des informations, puis Unity revient avec la mire d'ouverture de sessions. J'ouvre la session mais
   Net est très lent (au premier coup a priori) --> y a-t-il un rapport avec le problème que j'ai eu ?

Quelle a été la cause de ce problème de disque? Des idées?
Et surtout COMMENT éviter que cela se reproduise: un fsck systématique au boot? Mais comment faire?........
Quoi d'autres à me conseiller?

Merci pour ton aide et ta patience.

Hors ligne

#8 Le 18/12/2017, à 21:43

Nuliel

Re : initramfs au démarrage

Alors comme je viens de perdre ma réponse presque finie, je recommence mais en bref.

Ah, ça c'est rageant! Sur la page https://forum.ubuntu-fr.org/index.php en haut tu as
"Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case "

Tu peux marquer une erreur pour avoir une idée de ce qui était affiché? Combien? Une dizaine, plus?

Net est très lent (au premier coup a priori) --> y a-t-il un rapport avec le problème que j'ai eu ?

Il peut y avoir un lien avec un changement de noyau (tu as fait les mises à jour, donc possiblement un changement de noyau).
Peux tu donner entre balises code le retour de

uname -r
dpkg -l | grep -Ei "linux-(g|h|i|lo|si|t)"
lsb_release -a

Quelle a été la cause de ce problème de disque?

Ça peut être un secteur défectueux sur le disque de 160 GB, tu peux faire un rapport smart pour les disques de 160 GB et 640 GB
(voir l'edit parce que c'était pas super clair)

Et surtout COMMENT éviter que cela se reproduise: un fsck systématique au boot? Mais comment faire?........

Je voulais dire: soit ça marche, tant mieux, mais si le problème se reproduit et que tu es obligé de faire la commande

sudo fsck  /dev/sda1

régulièrement, alors ça peut être un problème matériel. D'où la demande du rapport smart.

Edit: tu peux faire le rapport smart à partir d'ubuntu 16.04 et pas du live usb vu que ça refonctionne (d'ailleurs c'est quelle version dubuntu sur le live usb?)
Les commandes à faire sont

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
sudo apt-get update
sudo apt-get install --no-install-recommends smartmontools
sudo smartctl --smart=on --offlineauto=on --saveauto=on /dev/sda

puis tu donnes le retour entre balises code de

sudo smartctl -s on -a /dev/sda

Reedit:

MAIS: j'obtiens la mire GNU GRUB, le curseur sur Ubuntu qui se charge ensuite. Puis j'obtiens le fond violet de Unity sans rien dessus, puis l'écran redeviens en mode texte sur fond noir avec des informations

C'est pas un truc style
88151/518556blocks, clean ?
Si c'est ça, il y a pas de problème.

Dernière modification par Nuliel (Le 18/12/2017, à 22:01)

Hors ligne

#9 Le 19/12/2017, à 09:02

Montesquat

Re : initramfs au démarrage

Voici les réponses.

Code retour des commandes que tu m'as demandé.

xxxx@PCMaison:~$ uname -r
4.4.0-104-generic
xxxx@PCMaison:~$ 
xxxx@PCMaison:~$ dpkg -l | grep -Ei "linux-(g|h|i|lo|si|t)"
ii  linux-headers-4.4.0-101                    4.4.0-101.124                                                 all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-101-generic            4.4.0-101.124                                                 amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-103                    4.4.0-103.126                                                 all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-103-generic            4.4.0-103.126                                                 amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-104                    4.4.0-104.127                                                 all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-104-generic            4.4.0-104.127                                                 amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-31                     4.4.0-31.50                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-31-generic             4.4.0-31.50                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-34                     4.4.0-34.53                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-34-generic             4.4.0-34.53                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-36                     4.4.0-36.55                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-36-generic             4.4.0-36.55                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-38                     4.4.0-38.57                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-38-generic             4.4.0-38.57                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4sudo fsck  /dev/sda1.4.0-43                     4.4.0-43.63                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-43-generic             4.4.0-43.63                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-45                     4.4.0-45.66                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-45-generic             4.4.0-45.66                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-47                     4.4.0-47.68                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-47-generic             4.4.0-47.68                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-57                     4.4.0-57.78                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-57-generic             4.4.0-57.78                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-59                     4.4.0-59.80                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-59-generic             4.4.0-59.80                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-62                     4.4.0-62.83                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-62-generic             4.4.0-62.83                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-63                     4.4.0-63.84                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-63-generic             4.4.0-63.84                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-64                     4.4.0-64.85                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-64-generic             4.4.0-64.85                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-66                     4.4.0-66.87                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-66-generic             4.4.0-66.87                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-67                     4.4.0-67.88                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-67-generic             4.4.0-67.88                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-70                     4.4.0-70.91                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-70-generic             4.4.0-70.91                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-71                     4.4.0-71.92                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4sudo fsck  /dev/sda1.4.0-71-generic             4.4.0-71.92                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-72                     4.4.0-72.93                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-72-generic             4.4.0-72.93                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-75                     4.4.0-75.96                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-75-generic             4.4.0-75.96                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-77                     4.4.0-77.98                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-77-generic             4.4.0-77.98                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-78                     4.4.0-78.99                                                   all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-78-generic             4.4.0-78.99                                                   amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-79                     4.4.0-79.100                                                  all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-79-generic             4.4.0-79.100                                                  amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-83                     4.4.0-83.106                                                  all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-83-generic             4.4.0-83.106                                                  amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-87                     4.4.0-87.110                                                  all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-87-generic             4.4.0-87.110                                                  amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-89                     4.4.0-89.112                                                  all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-89-generic             4.4.0-89.112                                                  amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-91                     4.4.0-91.114                                                  all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-91-generic             4.4.0-91.114                                                  amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-92                     4.4.0-92.115                                                  all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-92-generic             4.4.0-92.115                                                  amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-93                     4.4.0-93.116                                                  all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-93-generic             4.4.0-93.116                                                  amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-97                     4.4.0-97.120                                                  all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-97-generic             4.4.0-97.120                                                  amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-98                     4.4.0-98.121                                                  all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-98-generic             4.4.0-98.121                                                  amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-generic                      4.4.0.104.109                                                 amd64        Generic Linux kernel headers
rc  linux-image-4.2.0-27-generic               4.2.0-27.32~14.04.1                                           amd64        Linux kernel image for version 4.2.0 on 64 bit x86 SMP
rc  linux-image-4.2.0-35-generic               4.2.0-35.40~14.04.1                                           amd64        Linux kernel image for version 4.2.0 on 64 bit x86 SMP
rc  linux-image-4.2.0-36-generic               4.2.0-36.42~14.04.1                                           amd64        Linux kernel image for version 4.2.0 on 64 bit x86 SMP
rc  linux-image-4.2.0-38-generic               4.2.0-38.45~14.04.1                                           amd64        Linux kernel image for version 4.2.0 on 64 bit x86 SMP
rc  linux-image-4.2.0-41-generic               4.2.0-41.48~14.04.1                                           amd64        Linux kernel image for version 4.2.0 on 64 bit x86 SMP
ii  linux-image-4.2.0-42-generic               4.2.0-42.49~14.04.1                                           amd64        Linux kernel image for version 4.2.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-101-generic              4.4.0-101.124                                                 amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-103-generic              4.4.0-103.126                                                 amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-104-generic              4.4.0-104.127                                                 amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-31-generic               4.4.0-31.50                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-34-generic               4.4.0-34.53                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-36-generic               4.4.0-36.55                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-38-generic               4.4.0-38.57                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-43-generic               4.4.0-43.63                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-45-generic               4.4.0-45.66                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-47-generic               4.4.0-47.68                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-57-generic               4.4.0-57.78                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-59-generic               4.4.0-59.80                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-62-generic               4.4.0-62.83                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-63-sudo fsck  /dev/sda1generic               4.4.0-63.84                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-64-generic               4.4.0-64.85                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-66-generic               4.4.0-66.87                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-67-generic               4.4.0-67.88                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-70-generic               4.4.0-70.91                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-71-generic               4.4.0-71.92                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-72-generic               4.4.0-72.93                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-75-generic               4.4.0-75.96                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-77-generic               4.4.0-77.98                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-78-generic               4.4.0-78.99                                                   amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-79-generic               4.4.0-79.100                                                  amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-83-generic               4.4.0-83.106                                                  amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-87-generic               4.4.0-87.110                                                  amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-89-generic               4.4.0-89.112                                                  amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-91-generic               4.4.0-91.114                                                  amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-92-generic               4.4.0-92.115                                                  amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-93-generic               4.4.0-93.116                                                  amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-97-generic               4.4.0-97.120                                                  amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-98-generic               4.4.0-98.121                                                  amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc  linux-image-extra-4.2.0-27-generic         4.2.0-27.32~14.04.1                                           amd64        Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
rc  linux-image-extra-4.2.0-35-generic         4.2.0-35.40~14.04.1                                           amd64        Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
rc  linux-image-extra-4.2.0-36-generic         4.2.0-36.42~14.04.1                                           amd64        Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
rc  linux-image-extra-4.2.0-38-generic         4.2.0-38.45~14.04.1                                           amd64        Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
rc  linux-image-extra-4.2.0-41-generic         4.2.0-41.48~14.04.1                                           amd64        Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
ii  linux-image-extra-4.2.0-42-generic         4.2.0-42.49~14.04.1                                           amd64        Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-101-generic        4.4.0-101.124                                                 amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-103-generic        4.4.0-103.126                                                 amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-104-generic        4.4.0-104.127                                                 amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-31-generic         4.4.0-31.50                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-34-generic         4.4.0-34.53                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-36-generic         4.4.0-36.55                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-38-generic         4.4.0-38.57                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-43-generic         4.4.0-43.63                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-45-generic         4.4.0-45.66                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-47-generic         4.4.0-47.68                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-57-generic         4.4.0-57.78                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-59-generic         4.4.0-59.80                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-62-generic         4.4.0-62.83                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-63-generic         4.4.0-63.84                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-64-generic         4.4.0-64.85                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-66-generic         4.4.0-66.87                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-67-generic         4.4.0-67.88                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-70-generic         4.4.0-70.91                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-71-generic         4.4.0-71.92                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-72-generic         4.4.0-72.93                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-75-generic         4.4.0-75.96                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-77-generic         4.4.0-77.98                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-78-generic         4.4.0-78.99                                                   amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-79-generic         4.4.0-79.100                                                  amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-83-generic         4.4.0-83.106                                                  amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-87-generic         4.4.0-87.110                                                  amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-89-generic         4.4.0-89.112                                                  amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-91-generic         4.4.0-91.114                                                  amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-92-generic         4.4.0-92.115                                                  amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-93-generic         4.4.0-93.116                                                  amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-97-generic         4.4.0-97.120                                                  amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-98-generic         4.4.0-98.121                                                  amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-generic                        4.4.0.104.109                                                 amd64        Generic Linux kernel image
xxxx@PCMaison:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.3 LTS
Release:	16.04
Codename:	xenial
xxxx@PCMaison:~$ ^C

Ensuite: Le live Ubuntu est la version 14.04.4. LTS 64 bits
Autre commande:

xxxx@PCMaison:~$ sudo smartctl -s on -a /dev/sda
[sudo] Mot de passe de xxxx : 
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-104-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Pipeline HD 5900.1
Device Model:     ST3160310CS
Serial Number:    9TS0AEKV
LU WWN Device Id: 5 000c50 01522f4d1
Firmware Version: SC14
User Capacity:    160 041 885 696 bytes [160 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    5900 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue Dec 19 08:44:09 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(  643) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (  41) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x103b)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   105   097   006    Pre-fail  Always       -       145494346
  3 Spin_Up_Time            0x0003   097   097   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   099   099   020    Old_age   Always       -       1026
  5 Reallocated_Sector_Ct   0x0033   098   098   036    Pre-fail  Always       -       115
  7 Seek_Error_Rate         0x000f   076   060   030    Pre-fail  Always       -       42073467
  9 Power_On_Hours          0x0032   093   093   000    Old_age   Always       -       6582
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       5
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always       -       1026
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   041   041   000    Old_age   Always       -       59
188 Command_Timeout         0x0032   100   095   000    Old_age   Always       -       1056
189 High_Fly_Writes         0x003a   098   098   000    Old_age   Always       -       2
190 Airflow_Temperature_Cel 0x0022   070   059   045    Old_age   Always       -       30 (Min/Max 19/30)
194 Temperature_Celsius     0x0022   030   041   000    Old_age   Always       -       30 (0 16 0 0 0)
195 Hardware_ECC_Recovered  0x001a   049   042   000    Old_age   Always       -       145494346
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       3
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       3
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 59 (device log contains only the most recent five errors)
	CR = Command Register [HEX]
	FR = Features Register [HEX]
	SC = Sector Count Register [HEX]
	SN = Sector Number Register [HEX]
	CL = Cylinder Low Register [HEX]
	CH = Cylinder High Register [HEX]
	DH = Device/Head Register [HEX]
	DC = Device Command Register [HEX]
	ER = Error register [HEX]
	ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 59 occurred at disk power-on lifetime: 6579 hours (274 days + 3 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 08 ff ff ff ef 00      00:00:30.650  READ DMA EXT
  c8 00 08 58 51 84 e8 00      00:00:30.650  READ DMA
  25 00 08 00 0e 00 e1 00      00:00:30.612  READ DMA EXT
  25 00 08 ff ff ff ef 00      00:00:30.592  READ DMA EXT
  27 00 00 00 00 00 e0 00      00:00:30.547  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 58 occurred at disk power-on lifetime: 6579 hours (274 days + 3 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 08 ff ff ff ef 00      00:00:29.399  READ DMA EXT
  c8 00 08 50 51 84 e8 00      00:00:29.398  READ DMA
  c8 00 08 a8 15 41 e0 00      00:00:29.362  READ DMA
  25 00 08 ff ff ff ef 00      00:00:29.333  READ DMA EXT
  25 00 08 ff ff ff ef 00      00:00:29.332  READ DMA EXT

Error 57 occurred at disk power-on lifetime: 6579 hours (274 days + 3 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 50 ff ff ff ef 00      00:00:28.045  READ DMA EXT
  c8 00 08 58 38 d9 ed 00      00:00:28.030  READ DMA
  c8 00 08 38 51 84 e8 00      00:00:28.006  READ DMA
  25 00 08 00 2c c0 e2 00      00:00:27.990  READ DMA EXT
  c8 00 08 d0 24 81 e2 00      00:00:27.973  READ DMA

Error 56 occurred at disk power-on lifetime: 6578 hours (274 days + 2 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 08 ff ff ff ef 00      00:01:01.151  READ DMA EXT
  c8 00 08 40 a5 46 e2 00      00:01:01.134  READ DMA
  c8 00 00 00 c8 1c e0 00      00:01:01.115  READ DMA
  c8 00 20 b8 d8 46 e4 00      00:01:01.081  READ DMA
  27 00 00 00 00 00 e0 00      00:01:01.041  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 55 occurred at disk power-on lifetime: 6578 hours (274 days + 2 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 08 ff ff ff ef 00      00:00:59.861  READ DMA EXT
  c8 00 08 d0 a7 07 e2 00      00:00:59.835  READ DMA
  25 00 08 00 13 80 ed 00      00:00:59.814  READ DMA EXT
  c8 00 08 40 0b 84 e8 00      00:00:59.793  READ DMA
  25 00 08 ff ff ff ef 00      00:00:59.792  READ DMA EXT

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%      3769         285214898

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

xxxx@PCMaison:~$ 

Ce rapport Smart concerne les 2 DD (le disque USB étaient en plus connecté)?

Pour le Gnu Grub, je n'ai pas la réponse car je n'ai pas redémarrer mon poste. Reste à faire.

Mais comment faire pour que le

sudo fsck  /dev/sda1

se fasse automatiquement au démarrage (et une fois démarré, j'ai le souvenir qu'il ne peut plus se faire, en tout cas sur le disque système)?

A ta disposition pour la suite.

Hors ligne

#10 Le 19/12/2017, à 09:45

Nuliel

Re : initramfs au démarrage

Bon, je voulais vérifier que tu n'étais pas passé sur ubuntu 17.10, ce n'est pas le cas et c'est parfait!
Pour les noyaux, vu le rapport smart ça va peut être pas servir.

Le live Ubuntu est la version 14.04.4. LTS 64 bits

Parfait, j'avais peur que ce soit une version intermédiaire genre 15.10.

Pour le rapport smart, il n'y a que celui du disque de 160 GB (mais c'est celui qui pose problème).
Si tu as des données importantes sur ce disque, enregistre les vite à un autre endroit.
Je pense que le plus simple est de changer le disque de 160 GB (il a pas mal de secteurs morts/défectueux, le test (très) rapide indique une erreur de lecture, ...). A mon avis, il tiendra pas longtemps (tu peux attendre bien évidemment qu'il lâche définitivement avant de le changer mais tu es au courant qu'il est mal en point)

A partir du live usb, tu peux faire

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
sudo apt-get update
sudo apt-get install --no-install-recommends smartmontools
sudo smartctl --smart=on --offlineauto=on --saveauto=on /dev/sdb

puis donner le retour de

sudo smartctl -s on -a /dev/sdb

pour le deuxième disque (le plus important je pense vu qu'il contient des données personnelles)

edit:La commande fsck permet de vérifier et réparer un système de fichier. Tu as un vérification périodique par défaut (tous les 10 démarrages il me semble), donc pas de problème pour ça. Mais devoir réparer un système de fichier indique qu'il y a un problème.

Dernière modification par Nuliel (Le 19/12/2017, à 11:20)

Hors ligne

#11 Le 19/12/2017, à 14:20

Montesquat

Re : initramfs au démarrage

Cela vient, cela vient!!!

J'ai d'abord sauvegardé mon DD système avec l'outil de sauvegarde (le petit coffre fort) et Sbackup sur mon Disque USB
Et m'est revenu à la mémoire que, n'étant pas doué avec Ubuntu et le mode commande, je voulais une sauvegarde image , je ne pouvais pas car mon DD était abîmé justement (c'est le souvenir que j'ai de la conclusion à laquelle j'étais arrivé)
Je vais donc aller acheter un DD de remplacement. Mais la restauration va être un joyeux cirque (je n'envisage pas de tout réinstaller, il y a plein d'add-on "officiels")

Impossible de faire le

sudo apt-get update

Cela me retourne un message d'erreur (je m'y suis repris plusieurs fois):
E: ligne 5 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
E: la liste des sources ne peut être lue
Comme ce n'est pas le disque système, j'ai pensé que je pouvais exécuter GSSmartControl qui ma généré ce compte rendu de test (le test bref). Je l'avais sur mon DD, cela m'est aussi revenu (j'avais dû l'installer lors du problème de la sauvegarde image)
Voici:

smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-104-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar 7K1000.B
Device Model:     Hitachi HDT721064SLA360
Serial Number:    STFDD7MG1UJUVF
LU WWN Device Id: 5 000cca 348d9b3f9
Firmware Version: STDOA39D
User Capacity:    640,135,028,736 bytes [640 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue Dec 19 13:53:07 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabledsmartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-104-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar 7K1000.B
Device Model:     Hitachi HDT721064SLA360
Serial Number:    STFDD7MG1UJUVF
LU WWN Device Id: 5 000cca 348d9b3f9
Firmware Version: STDOA39D
User Capacity:    640,135,028,736 bytes [640 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue Dec 19 13:53:07 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x80)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		( 9390) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 157) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002b   100   098   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0025   130   100   054    Pre-fail  Offline      -       121
  3 Spin_Up_Time            0x0027   120   100   024    Pre-fail  Always       -       348 (Average 357)
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       3598
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   125   100   020    Pre-fail  Offline      -       33
  9 Power_On_Hours          0x0012   096   096   000    Old_age   Always       -       30595
 10 Spin_Retry_Count        0x0033   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3594
192 Power-Off_Retract_Count 0x0032   097   097   000    Old_age   Always       -       4068
193 Load_Cycle_Count        0x0012   097   097   000    Old_age   Always       -       4068
194 Temperature_Celsius     0x0002   176   127   000    Old_age   Always       -       34 (Min/Max 18/48)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0028   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     30595         -
# 2  Short offline       Completed without error       00%     27750         -
# 3  Short offline       Completed without error       00%        72         -
# 4  Short offline       Completed without error       00%         1         -
# 5  Short offline       Completed without error       00%         0         -
# 6  Short offline       Completed without error       00%         0         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x80)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		( 9390) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 157) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002b   100   098   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0025   130   100   054    Pre-fail  Offline   smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-104-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar 7K1000.B
Device Model:     Hitachi HDT721064SLA360
Serial Number:    STFDD7MG1UJUVF
LU WWN Device Id: 5 000cca 348d9b3f9
Firmware Version: STDOA39D
User Capacity:    640,135,028,736 bytes [640 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue Dec 19 13:53:07 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x80)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		( 9390) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 157) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-104-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar 7K1000.B
Device Model:     Hitachi HDT721064SLA360
Serial Number:    STFDD7MG1UJUVF
LU WWN Device Id: 5 000cca 348d9b3f9
Firmware Version: STDOA39D
User Capacity:    640,135,028,736 bytes [640 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue Dec 19 13:53:07 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x80)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		( 9390) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 157) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002b   100   098   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0025   130   100   054    Pre-fail  Offline      -       121
  3 Spin_Up_Time            0x0027   120   100   024    Pre-fail  Always       -       348 (Average 357)
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       3598
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   125   100   020    Pre-fail  Offline      -       33
  9 Power_On_Hours          0x0012   096   096   000    Old_age   Always       -       30595
 10 Spin_Retry_Count        0x0033   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3594
192 Power-Off_Retract_Count 0x0032   097   097   000    Old_age   Always       -       4068
193 Load_Cycle_Count        0x0012   097   097   000    Old_age   Always       -       4068
194 Temperature_Celsius     0x0002   176   127   000    Old_age   Always       -       34 (Min/Max 18/48)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0028   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     30595         -
# 2  Short offline       Completed without error       00%     27750         -
# 3  Short offline       Completed without error       00%        72         -
# 4  Short offline       Completed without error       00%         1         -
# 5  Short offline       Completed without error       00%         0         -
# 6  Short offline       Completed without error       00%         0         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002b   100   098   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0025   130   100   054    Pre-fail  Offline      -       121
  3 Spin_Up_Time            0x0027   120   100   024    Pre-fail  Always       -       348 (Average 357)
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       3598
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   125   100   020    Pre-fail  Offline      -       33
  9 Power_On_Hours          0x0012   096   096   000    Old_age   Always       -       30595
 10 Spin_Retry_Count        0x0033   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3594
192 Power-Off_Retract_Count 0x0032   097   097   000    Old_age   Always       -       4068
193 Load_Cycle_Count        0x0012   097   097   000    Old_age   Always       -       4068
194 Temperature_Celsius     0x0002   176   127   000    Old_age   Always       -       34 (Min/Max 18/48)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0028   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     30595         -
# 2  Short offline       Completed without error       00%     27750         -
# 3  Short offline       Completed without error       00%        72         -
# 4  Short offline       Completed without error       00%         1         -
# 5  Short offline       Completed without error       00%         0         -
# 6  Short offline       Completed without error       00%         0         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.   -       121
  3 Spin_Up_Time            0x0027   120   100   024    Pre-fail  Always       -       348 (Average 357)
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       3598
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   125   100   020    Pre-fail  Offline      -       33
  9 Power_On_Hours          0x0012   096   096   000    Old_age   Always       -       30595
 10 Spin_Retry_Count        0x0033   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3594
192 Power-Off_Retract_Count 0x0032   097   097   000    Old_age   Always       -       4068
193 Load_Cycle_Count        0x0012   097   097   000    Old_age   Always       -       4068
194 Temperature_Celsius     0x0002   176   127   000    Old_age   Always       -       34 (Min/Max 18/48)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0028   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     30595         -
# 2  Short offline       Completed without error       00%     27750         -
# 3  Short offline       Completed without error       00%        72         -
# 4  Short offline       Completed without error       00%         1         -
# 5  Short offline       Completed without error       00%         0         -
# 6  Short offline       Completed without error       00%         0         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

A plus...

Hors ligne

#12 Le 19/12/2017, à 14:58

Nuliel

Re : initramfs au démarrage

Le disque de 640 GB a tourné 30595 heures, mais il a aucun problème.

je n'envisage pas de tout réinstaller, il y a plein d'add-on "officiels"

C'est à dire? J'ai pas compris.

Un disque dur ou peut être plutôt un ssd vu que ça va abriter la racine (128 GB est largement suffisant) et que si j'ai bien compris, le /home se trouve sur le disque de 640 GB (c'est bien ça?)

Tu peux donner le retour de

cat /etc/apt/sources.list

afin de le corriger.

Hors ligne

#13 Le 19/12/2017, à 15:26

Montesquat

Re : initramfs au démarrage

Donc voici les réponses:
Ce que je vouais dire c'est qu'en de l'installation de base de Ubuntu et de ce qui lui ai associé (Libreoffice par exemple) il a plein de logiciels à rajouter (GIMP, calibre, audacity...) et des ad-onn (utilitaire en tout genre: graveur de DVD, gestion de disque, des groupes, pare feu, sauvegarde,..)
C'est pour cela que je voulais une sauvegarde image mais je n'ai pas pu à cause du DD (c'est ce que je disais au coup d'avant).
Donc j'ai cru comprendre qu'avec une sauvegarde du Home et de quelque commandes idoines, on pouvait tut régénérer sans tout réinstaller un par un.
J'ai donc en plus de la sauvegarde Sbackup et sauvegarde, ce script

# Création d'un fichier contenant la liste des paquets installés
dpkg --get-selections > liste-des-paquets
# faire la sauvegarde de sources.list qui se trouve dans /etc/apt 
cp /etc/apt/sources.list /home/xxxx/Perso
# faire la sauvegarde des script, fichiers des paquets sur le disque sauvegarde 
cp /home/xxxx/Perso/liste-des-paquets /media/famillem_user/555eb3a3-359b-4987-bde5-60cda832820b/Sauvegarde/SystemeManuel
cp /home/xxxx/Perso/sauvegarde_paquet_script /media/famillem_user/555eb3a3-359b-4987-bde5-60cda832820b/Sauvegarde/SystemeManuel
cp /home/xxxx/Perso/sources.list /media/famillem_user/555eb3a3-359b-4987-bde5-60cda832820b/Sauvegarde/SystemeManuel

Et pour la restauration voici les commandes "magiques"

# Pour la restauration
#    sudo apt-get update
#    sudo apt-get install dselect
#    sudo dselect update
#    sudo dpkg --set-selections < liste-des-paquets
#    sudo apt-get -u dselect-upgrade

Voici le retour de la commande que tu m'a demandé:

xxxx@PCMaison:~$ cat /etc/apt/sources.listfamillem_user
# deb cdrom:[Ubuntu 14.04.4 LTS _Trusty Tahr_ - Release amd64 (20160217.1)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of thefamillem_user@PCMaison:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 14.04.4 LTS _Trusty Tahr_ - Release amd64 (20160217.1)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

deb http://archive.ubuntu.com/ubuntu xenial universe
# deb-src http://archive.ubuntu.com/ubuntu xenial universe
famillem_user@PCMaison:~$ 
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

deb http://archive.ubuntu.com/ubuntu xenial universe
# deb-src http://archive.ubuntu.com/ubuntu xenial universe
xxxx@PCMaison:~$ 

A plus...

Hors ligne