#1 Le 27/01/2020, à 17:23
- Caille
Modification du GRUB (supprimer des lignes) ?
Bonjour,
Suite à plusieurs modifications et ajout / suppression de système je me retrouve avec un GRUB qui comporte plusieurs ligne qui plante le système.
Je sais personnellement lesquelles, mais j'aimerai les supprimer pour que ce soit plus claire, je n'ai pas l'intention de la faire avec Grub-Customizer mais manuellement.
https://doc.ubuntu-fr.org/tutoriel/grub … age_manuel
J'ai édité plusieurs fichiers, mais je n'arrive pas à trouver les lignes en questions dans aucun fichier du dossier grub.d
Cordialement.
Hors ligne
#2 Le 27/01/2020, à 17:34
- kamaris
Re : Modification du GRUB (supprimer des lignes) ?
Peut-être n'y sont-elles plus, ou n'ont-elles jamais été là.
Si tu fais
sudo update-grub
c'est mieux ?
Hors ligne
#3 Le 27/01/2020, à 18:10
- Caille
Re : Modification du GRUB (supprimer des lignes) ?
Bonjour kamaris,
Si j'ai fait plusieurs fois ça mais ça ne donne rien.
Cordialement.
Hors ligne
#4 Le 27/01/2020, à 18:30
- kamaris
Re : Modification du GRUB (supprimer des lignes) ?
Bon, alors il faudrait que tu fasses une photo de ton écran grub et que tu la postes en disant quelles sont les lignes que tu veux supprimer.
Pour insérer correctement des images dans un post : https://forum.ubuntu-fr.org/viewtopic.php?id=2021144
Hors ligne
#5 Le 27/01/2020, à 19:04
- ar barzh paour
Re : Modification du GRUB (supprimer des lignes) ?
les lignes de grub qui plantent le système sont -elles parmi le résultat de
grep "menu" /boot/grub/grub.cfg|cut -c-80
que tu peux poster
(et indique quelles sont les lignes qui plantent
Dernière modification par ar barzh paour (Le 27/01/2020, à 19:06)
PC : B760M DS3H DDR4, 12th Gen Intel(R) Core(TM) i3-12100, RAM DDR4 8GiB -2400 Ubuntu 20.04, 22.04, 24.04 (en test )
Portable1 : ThinkPad P50 I7-6820HQ, 16G0 Ram Ubuntu 22.04 Ubuntu 24.04 , W10-PRO( en voyage )
Portable2 : T5750 @ 2.00GHz RAM 1GiB DDR2 667 Mhz Ubuntu 20.04 ( batterie HS )
stourm a ran war bep tachenn (Angela Duval) ( Je combats sur tous les fronts )
Hors ligne
#6 Le 27/01/2020, à 19:56
- diesel
Re : Modification du GRUB (supprimer des lignes) ?
Peux-tu nous donner le contenu de /var/lib/initramfs-tools ?
ls /var/lib/initramfs-tools
et de /lib/modules
ls /lib/modules
Amicalement.
Jean-Marie
Dernière modification par diesel (Le 27/01/2020, à 19:57)
Je déteste qu'on cherche à me faire passer pour un con, j'y arrive déjà très bien tout seul.
Le mort, il sait pas qu'il est mort ; c'est pour les autres que c'est dur.................... Pour les cons, c'est pareil.
Hors ligne
#7 Le 27/01/2020, à 20:50
- Caille
Re : Modification du GRUB (supprimer des lignes) ?
les lignes de grub qui plantent le système sont -elles parmi le résultat de
grep "menu" /boot/grub/grub.cfg|cut -c-80
que tu peux poster
(et indique quelles sont les lignes qui plantent
Voilà qui est fait.
caille@caille-N76VB:~$ ls /var/lib/initramfs-tools
5.0.0-23-generic 5.3.0-26-generic
caille@caille-N76VB:~$ ls /lib/modules
5.0.0-23-generic 5.3.0-26-generic
caille@caille-N76VB:~$ grep "menu" /boot/grub/grub.cfg|cut -c-80
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
menuentry_id_option=""
export menuentry_id_option
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menu
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-
menuentry 'Ubuntu, avec Linux 5.3.0-26-generic' --class ubuntu --class gnu-linu
menuentry 'Ubuntu, with Linux 5.3.0-26-generic (recovery mode)' --class ubuntu
menuentry 'Ubuntu, avec Linux 5.0.0-23-generic' --class ubuntu --class gnu-linu
menuentry 'Ubuntu, with Linux 5.0.0-23-generic (recovery mode)' --class ubuntu
menuentry 'Windows Boot Manager (sur /dev/sda2)' --class windows --class os $men
menuentry 'Windows Boot Manager (sur /dev/sdb1)' --class windows --class os $men
menuentry 'Ubuntu 19.10 (19.10) (sur /dev/sdb3)' --class ubuntu --class gnu-linu
submenu 'Options avancées pour Ubuntu 19.10 (19.10) (sur /dev/sdb3)' $menuentry
menuentry 'Ubuntu (sur /dev/sdb3)' --class gnu-linux --class gnu --class os $me
menuentry 'Ubuntu, with Linux 5.3.0-26-generic (sur /dev/sdb3)' --class gnu-lin
menuentry 'Ubuntu, with Linux 5.3.0-26-generic (recovery mode) (sur /dev/sdb3)'
menuentry 'Ubuntu, with Linux 5.3.0-18-generic (sur /dev/sdb3)' --class gnu-lin
menuentry 'Ubuntu, with Linux 5.3.0-18-generic (recovery mode) (sur /dev/sdb3)'
menuentry 'Linux Mint 19.3 Tricia (19.3) (sur /dev/sdb4)' --class linuxmint --cl
submenu 'Options avancées pour Linux Mint 19.3 Tricia (19.3) (sur /dev/sdb4)' $
menuentry 'Linux Mint 19.3 Cinnamon (sur /dev/sdb4)' --class gnu-linux --class
menuentry 'Linux Mint 19.3 Cinnamon, avec Linux 5.3.0-26-generic (sur /dev/sdb4
menuentry 'Linux Mint 19.3 Cinnamon, with Linux 5.3.0-26-generic (recovery mode
menuentry 'Linux Mint 19.3 Cinnamon, avec Linux 5.0.0-37-generic (sur /dev/sdb4
menuentry 'Linux Mint 19.3 Cinnamon, with Linux 5.0.0-37-generic (recovery mode
menuentry 'Linux Mint 19.3 Cinnamon, avec Linux 5.0.0-32-generic (sur /dev/sdb4
menuentry 'Linux Mint 19.3 Cinnamon, with Linux 5.0.0-32-generic (recovery mode
menuentry 'Ubuntu 19.10 (19.10) (sur /dev/sdb2) (sur /dev/sdb4)' --class gnu-li
menuentry 'Ubuntu (sur /dev/sdb2) (sur /dev/sdb4)' --class gnu-linux --class gn
menuentry 'Ubuntu, with Linux 5.3.0-26-generic (sur /dev/sdb2) (sur /dev/sdb4)'
menuentry 'Ubuntu, with Linux 5.3.0-26-generic (recovery mode) (sur /dev/sdb2)
menuentry 'Ubuntu 19.10 (19.10) (sur /dev/sdb3) (sur /dev/sdb4)' --class gnu-li
menuentry 'Ubuntu (sur /dev/sdb3) (sur /dev/sdb4)' --class gnu-linux --class gn
menuentry 'Ubuntu, with Linux 5.3.0-26-generic (sur /dev/sdb3) (sur /dev/sdb4)'
menuentry 'Ubuntu, with Linux 5.3.0-26-generic (recovery mode) (sur /dev/sdb3)
set timeout_style=menu
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
caille@caille-N76VB:~$
Les deux lignes sur le disque N°1 sont à supprimer, pour Windows je suis sûr, pour Ubuntu je vais vérifier, car il y a deux partitions de boot sur ce PC !
J'avais installé Windows 10 après Ubuntu, ensuite je n'avais jamais réussi à démarrer Ubuntu, j'avais donc réinstallé un Ubuntu et les deux autres ont réussi à démarrer.
Ici c'est le Windows 1 qui doit-être supprimé !
Cordialement.
Dernière modification par Caille (Le 27/01/2020, à 20:58)
Hors ligne
#8 Le 27/01/2020, à 21:16
- diesel
Re : Modification du GRUB (supprimer des lignes) ?
Du côté ubuntu, tout est normal et un update-grub ne te donnera bien que les noyaux 5.0.0.23 et 5.0.0.26.
C'est le reste (windows et mint) qui met le brin.
Amicalement.
Jean-Marie
Je déteste qu'on cherche à me faire passer pour un con, j'y arrive déjà très bien tout seul.
Le mort, il sait pas qu'il est mort ; c'est pour les autres que c'est dur.................... Pour les cons, c'est pareil.
Hors ligne
#9 Le 27/01/2020, à 21:26
- Caille
Re : Modification du GRUB (supprimer des lignes) ?
Bonsoir,
Ce problème fait suite à ce sujet...
https://forum.ubuntu-fr.org/viewtopic.php?id=2047458
Cordialement.
Hors ligne
#10 Le 27/01/2020, à 21:59
- Babdu89
Re : Modification du GRUB (supprimer des lignes) ?
Bonsoir.
Si je me rappelle bien, tes installations sont faites en mode UEFI.
Il me semble que c'est dans efibootmgr -v (du dernier boot info de l'autre sujet que tu as ouvert.)
=================== efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,000C,000E,000F,0010,000D,0006,0007
Boot0000* Windows Boot Manager HD(2,GPT,7822fa3b-845a-451f-b454-f835d9e74d66,0x109000,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0001* ubuntu HD(2,GPT,7822fa3b-845a-451f-b454-f835d9e74d66,0x109000,0x32000)/File(EFIubuntushimx64.efi)
Boot0006* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.T.S.S.T.c.o.r.p. .D.V.D.W.B.D. .S.N.-.4.0.6.A.B....................A...........................>..Gd-.;.A..MQ..L.8.R.E.Y.G.6.D.T.0.2.0.0.Q.M. . . . . . ......AMBO
Boot0007* Network Card BBS(Network,,0x0)AMGOAMNO........i.A.t.h.e.r.o.s. .B.o.o.t. .A.g.e.n.t.........................rN.D+..,............:..Gd-.;.A..MQ..L.A.t.h.e.r.o.s. .B.o.o.t. .A.g.e.n.t......AMBO
Boot000C* UEFI: Generic Flash Disk 8.07 PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(4,0)/HD(1,MBR,0x3e52b6,0x800,0xf5a000)AMBO
Boot000D* Hard Drive BBS(HD,,0x0)AMGOAMNO........w.G.e.n.e.r.i.c. .F.l.a.s.h. .D.i.s.k. .8...0.7....................A.............................D..Gd-.;.A..MQ..L.G.e.n.e.r.i.c. .F.l.a.s.h. .D.i.s.k. .8...0.7......AMBO
Boot000E* ubuntu HD(2,GPT,7822fa3b-845a-451f-b454-f835d9e74d66,0x109000,0x32000)/File(EFIUbuntugrubx64.efi)
Boot000F* ubuntu HD(1,GPT,e98e3719-398d-4f63-a560-f5452fc55bbb,0x800,0x100000)/File(EFIUbuntugrubx64.efi)
Boot0010* Windows Boot Manager HD(1,GPT,e98e3719-398d-4f63-a560-f5452fc55bbb,0x800,0x100000)/File(EFIMicrosoftBootbootmgfw.efi)
https://doc.ubuntu-fr.org/efibootmgr
Qu'il faut intervenir, geole devrait confirmer.
N'étant pas un spécialiste des installations en UEFI, je regarde la doc de grub-efi pour voir si je ne raconte pas de bêtises...
Édit, tu dis;
Les deux lignes sur le disque N°1 sont à supprimer, pour Windows je suis sûr, pour Ubuntu je vais vérifier, car il y a deux partitions de boot sur ce PC !
Tu as encore deux partitions boot-efi dans ta config?. Si oui, les soucis peuvent venir de là.
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/grub.cfg /EFI/Boot/bootx64.efi
/EFI/Boot/fbx64.efi /EFI/ubuntu/fwupx64.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi
/EFI/ubuntu/shimx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootmgr.efi
/EFI/Microsoft/Boot/memtest.efi
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/grub.cfg /EFI/Boot/bkpbootx64.efi
/EFI/Boot/bootx64.efi /EFI/Boot/fbx64.efi
/EFI/Boot/mmx64.efi /EFI/ubuntu/fwupx64.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi
/EFI/ubuntu/shimx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootmgr.efi
/EFI/Microsoft/Boot/memtest.efi
/boot-repair/log/20200111_133726/sdb1/bootx64.efi
/boot-repair/log/20200111_173638/sdb1/bootx64.efi
Attendre l'avis de geole.
@+. Babdu89 .
Dernière modification par Babdu89 (Le 27/01/2020, à 22:36)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#11 Le 27/01/2020, à 22:30
- Caille
Re : Modification du GRUB (supprimer des lignes) ?
Bonsoir Babdu89,
Effectivement j'ai toujours deux partitions de boot-efi
J'arrive toujours à démarrer, mais j'aurais voulu mettre de l'ordre dans le menu de démarrage.
Mais faire cette modification manuellement, car l'autre jours j'ai supprimé les lignes avec Grub-Customizer, je n'ai pas envie de recommences les conneries.
Ce soir j'ai un autre problème, c'est que ni Gparted ni Synaptic ne démarre, je vois Gparted tourner dans le haut de l'écran pendant 20 secondes et ça s'arrête ?
J'ai redémarrer plusieurs fois pour voir, mais c'est toujours pareil !
J'ai même supprimé Gparted, avec purge et réinstallé, pareil pour Synaptic, mais rien ne change...
Pour Gparted, j'ai essayé en ligne de commande, je reçois l'information suivante:
caille@caille-N76VB:~$ gparted
Unit -.mount does not exist, proceeding anyway.
No protocol specified
(gpartedbin:6664): Gtk-WARNING **: 22:27:54.585: cannot open display: :0
caille@caille-N76VB:~$
C'est quoi cannot display: :0 ?
Cordialement.
Dernière modification par Caille (Le 27/01/2020, à 22:32)
Hors ligne
#12 Le 27/01/2020, à 22:40
- Babdu89
Re : Modification du GRUB (supprimer des lignes) ?
Alors, un problème à résoudre à la foi. Pour le moment on s'occupe du menu de démarrage.
On va attendre que geole se manifeste. Je ferai une proposition si c'est bien sur efibootmgr -v qu'il faut agir.
Et si on peut garder les deux partitions boot-efi.
@+. Babdu89 .
Dernière modification par Babdu89 (Le 27/01/2020, à 22:41)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#13 Le 27/01/2020, à 23:04
- Caille
Re : Modification du GRUB (supprimer des lignes) ?
Merci !
Je viens de supprimer toutes les partitions du disque (b) comme cela il n'y aura qu'une partition boot-efi.
Je lance l'installation dans une partition de 100 Go home compris, (quelques Snap à installer).
Le reste du disque sera formaté en NTFS.
J'ai indiqué de placer le démarrage sur le disque (a) où ce trouve Windows.
Ensuite je fais un sudo update-grub, pour voir si mes lignes sont bien supprimées.
Bonne nuit.
Boot-Info ci-dessous, créé après toutes ces modifications !
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info-20200128_111214]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/grub.cfg /EFI/Boot/bootx64.efi
/EFI/Boot/fbx64.efi /EFI/ubuntu/fwupx64.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi
/EFI/ubuntu/shimx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootmgr.efi
/EFI/Microsoft/Boot/memtest.efi
sda3: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/sda3: unknown filesystem type ''.
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /Windows/System32/winload.exe
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
sdb2: __________________________________________________________________________
File system: ntfs
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 + R 2,048 1,085,439 1,083,392 Windows Recovery Environment (Windows)
/dev/sda2 + 1,085,440 1,290,239 204,800 EFI System partition
/dev/sda3 + 1,290,240 1,323,007 32,768 Microsoft Reserved Partition (Windows)
/dev/sda4 1,323,008 504,678,399 503,355,392 Data partition (Windows/Linux)
/dev/sda5 504,678,400 1,953,523,711 1,448,845,312 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 1 1,953,525,167 1,953,525,167 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdb1 2,048 210,980,863 210,978,816 Data partition (Linux)
/dev/sdb2 210,980,864 1,953,523,711 1,742,542,848 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/loop1 squashfs
/dev/loop10 squashfs
/dev/loop2 squashfs
/dev/loop3 squashfs
/dev/loop4 squashfs
/dev/loop5 squashfs
/dev/loop6 squashfs
/dev/loop7 squashfs
/dev/loop8 squashfs
/dev/loop9 squashfs
/dev/sda1 423ABDD03ABDC169 ntfs Récupération
/dev/sda2 64BF-FC41 vfat
/dev/sda3
/dev/sda4 2430C36F30C34710 ntfs
/dev/sda5 4090D5D690D5D310 ntfs DATA
/dev/sdb1 889bde59-286e-4e8f-9ff9-7a29a9efe0ff ext4
/dev/sdb2 2435D8BC59CE7F8A ntfs
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jan 28 11:12 ata-HGST_HTS541010A9E680_J8100076JGR9YA -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 28 11:12 ata-HGST_HTS541010A9E680_J8100076JGR9YA-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jan 28 11:12 ata-HGST_HTS541010A9E680_J8100076JGR9YA-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Jan 28 11:12 ata-HGST_HTS721010A9E630_JR10004M18LB6F -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 28 11:12 ata-HGST_HTS721010A9E630_JR10004M18LB6F-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 28 11:12 ata-HGST_HTS721010A9E630_JR10004M18LB6F-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 28 11:12 ata-HGST_HTS721010A9E630_JR10004M18LB6F-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 28 11:12 ata-HGST_HTS721010A9E630_JR10004M18LB6F-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jan 28 11:12 ata-HGST_HTS721010A9E630_JR10004M18LB6F-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Jan 28 10:28 ata-TSSTcorp_DVDWBD_SN-406AB_R8YE6GTD2000MQ -> ../../sr0
lrwxrwxrwx 1 root root 9 Jan 28 11:12 wwn-0x5000cca6a0e2dffe -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 28 11:12 wwn-0x5000cca6a0e2dffe-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jan 28 11:12 wwn-0x5000cca6a0e2dffe-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Jan 28 11:12 wwn-0x5000cca8a8d1ff66 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 28 11:12 wwn-0x5000cca8a8d1ff66-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 28 11:12 wwn-0x5000cca8a8d1ff66-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 28 11:12 wwn-0x5000cca8a8d1ff66-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 28 11:12 wwn-0x5000cca8a8d1ff66-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jan 28 11:12 wwn-0x5000cca8a8d1ff66-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda2 /boot/efi vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sdb1 / ext4 (rw,relatime,errors=remount-ro)
========================== sda2/EFI/ubuntu/grub.cfg: ===========================
--------------------------------------------------------------------------------
search.fs_uuid 889bde59-286e-4e8f-9ff9-7a29a9efe0ff root hd1,gpt1
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="${saved_entry}"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
else
search --no-floppy --fs-uuid --set=root 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=10
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 10 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=1
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-889bde59-286e-4e8f-9ff9-7a29a9efe0ff' {
recordfail
savedefault
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
else
search --no-floppy --fs-uuid --set=root 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
fi
linux /boot/vmlinuz-5.3.0-26-generic root=UUID=889bde59-286e-4e8f-9ff9-7a29a9efe0ff ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.3.0-26-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-889bde59-286e-4e8f-9ff9-7a29a9efe0ff' {
menuentry 'Ubuntu, avec Linux 5.3.0-26-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-26-generic-advanced-889bde59-286e-4e8f-9ff9-7a29a9efe0ff' {
recordfail
savedefault
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
else
search --no-floppy --fs-uuid --set=root 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
fi
echo 'Chargement de Linux 5.3.0-26-generic…'
linux /boot/vmlinuz-5.3.0-26-generic root=UUID=889bde59-286e-4e8f-9ff9-7a29a9efe0ff ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-5.3.0-26-generic
}
menuentry 'Ubuntu, with Linux 5.3.0-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-26-generic-recovery-889bde59-286e-4e8f-9ff9-7a29a9efe0ff' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
else
search --no-floppy --fs-uuid --set=root 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
fi
echo 'Chargement de Linux 5.3.0-26-generic…'
linux /boot/vmlinuz-5.3.0-26-generic root=UUID=889bde59-286e-4e8f-9ff9-7a29a9efe0ff ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-5.3.0-26-generic
}
menuentry 'Ubuntu, avec Linux 5.0.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-23-generic-advanced-889bde59-286e-4e8f-9ff9-7a29a9efe0ff' {
recordfail
savedefault
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
else
search --no-floppy --fs-uuid --set=root 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
fi
echo 'Chargement de Linux 5.0.0-23-generic…'
linux /boot/vmlinuz-5.0.0-23-generic root=UUID=889bde59-286e-4e8f-9ff9-7a29a9efe0ff ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-5.0.0-23-generic
}
menuentry 'Ubuntu, with Linux 5.0.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-23-generic-recovery-889bde59-286e-4e8f-9ff9-7a29a9efe0ff' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
else
search --no-floppy --fs-uuid --set=root 889bde59-286e-4e8f-9ff9-7a29a9efe0ff
fi
echo 'Chargement de Linux 5.0.0-23-generic…'
linux /boot/vmlinuz-5.0.0-23-generic root=UUID=889bde59-286e-4e8f-9ff9-7a29a9efe0ff ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-5.0.0-23-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (sur /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-64BF-FC41' {
savedefault
insmod part_gpt
insmod fat
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 64BF-FC41
else
search --no-floppy --fs-uuid --set=root 64BF-FC41
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sdb1/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb1 during installation
UUID=889bde59-286e-4e8f-9ff9-7a29a9efe0ff / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
UUID=64BF-FC41 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
4.444667816 = 4.772425728 boot/grub/grub.cfg 3
3.141597748 = 3.373264896 boot/vmlinuz-5.0.0-23-generic 2
5.314182281 = 5.706059776 boot/vmlinuz-5.3.0-26-generic 1
3.141597748 = 3.373264896 vmlinuz 2
9.132694244 = 9.806155776 boot/initrd.img-5.0.0-23-generic 2
9.168457031 = 9.844555776 boot/initrd.img-5.3.0-26-generic 3
9.132694244 = 9.806155776 initrd.img 2
9.132694244 = 9.806155776 initrd.img.old 2
======================== Unknown MBRs/Boot Sectors/etc: ========================
/dev/sda1: unknown GPT attributes
8000000000000001
/dev/sda2: unknown GPT attributes
8000000000000000
/dev/sda3: unknown GPT attributes
8000000000000000
Unknown BootLoader on sdb2
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 50 93 0c |........?....P..|
00000020 00 00 00 00 80 00 80 00 ff 17 dd 67 00 00 00 00 |...........g....|
00000030 04 00 00 00 00 00 00 00 7f d1 7d 06 00 00 00 00 |..........}.....|
00000040 f6 00 00 00 01 00 00 00 8a 7f ce 59 bc d8 35 24 |...........Y..5$|
00000050 00 00 00 00 0e 1f be 71 7c ac 22 c0 74 0b 56 b4 |.......q|.".t.V.|
00000060 0e bb 07 00 cd 10 5e eb f0 32 e4 cd 16 cd 19 eb |......^..2......|
00000070 fe 54 68 69 73 20 69 73 20 6e 6f 74 20 61 20 62 |.This is not a b|
00000080 6f 6f 74 61 62 6c 65 20 64 69 73 6b 2e 20 50 6c |ootable disk. Pl|
00000090 65 61 73 65 20 69 6e 73 65 72 74 20 61 20 62 6f |ease insert a bo|
000000a0 6f 74 61 62 6c 65 20 66 6c 6f 70 70 79 20 61 6e |otable floppy an|
000000b0 64 0d 0a 70 72 65 73 73 20 61 6e 79 20 6b 65 79 |d..press any key|
000000c0 20 74 6f 20 74 72 79 20 61 67 61 69 6e 20 2e 2e | to try again ..|
000000d0 2e 20 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 |. ..............|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
ADDITIONAL INFORMATION :
=================== log of boot-info 20200128_1112 ===================
boot-info version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 18.04.3 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic root=UUID=889bde59-286e-4e8f-9ff9-7a29a9efe0ff ro quiet splash vt.handoff=1
=================== os-prober:
/dev/sdb1:L'OS actuellement utilisé - Ubuntu 18.04.3 LTS CurrentSession:linux
/dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda1: LABEL="RM-CM-)cupM-CM-)ration" UUID="423ABDD03ABDC169" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="f93b27de-f6c1-459c-a506-a3e34f530081"
/dev/sda2: UUID="64BF-FC41" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="7822fa3b-845a-451f-b454-f835d9e74d66"
/dev/sda4: UUID="2430C36F30C34710" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="eb485b94-5994-4ca5-97fd-349ea4f4971d"
/dev/sda5: LABEL="DATA" UUID="4090D5D690D5D310" TYPE="ntfs" PARTLABEL="Data Photos" PARTUUID="2794d5d2-8dd2-4c0a-ac40-fdd0f645bffa"
/dev/sdb1: UUID="889bde59-286e-4e8f-9ff9-7a29a9efe0ff" TYPE="ext4" PARTUUID="472711b4-37c1-4f93-94f0-6459b5ff964a"
/dev/sdb2: UUID="2435D8BC59CE7F8A" TYPE="ntfs" PTTYPE="dos" PARTUUID="ef4770a7-7bfb-4e2f-b9c0-30012ff593c5"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="8da2ae6b-5167-4166-af5f-388c8fd61559"
2 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
Windows not detected by os-prober on sda4.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 janv. 27 22:59 grub.d
total 80
-rwxr-xr-x 1 root root 10046 mars 18 2019 00_header
-rwxr-xr-x 1 root root 6258 mars 18 2019 05_debian_theme
-rwxr-xr-x 1 root root 12693 mars 18 2019 10_linux
-rwxr-xr-x 1 root root 11298 mars 18 2019 20_linux_xen
-rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 mars 18 2019 30_os-prober
-rwxr-xr-x 1 root root 1418 mars 18 2019 30_uefi-firmware
-rwxr-xr-x 1 root root 214 mars 18 2019 40_custom
-rwxr-xr-x 1 root root 216 mars 18 2019 41_custom
-rw-r--r-- 1 root root 483 mars 18 2019 README
=================== /etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DEFAULT="saved"
GRUB_SAVEDEFAULT="true"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
/boot/efi detected in the fstab of sdb1: UUID=64BF-FC41 (sda2)
=================== sdb1saved_entry=gnulinux-simple-889bde59-286e-4e8f-9ff9-7a29a9efe0ff/grub/grubenv :
saved_entry=gnulinux-simple-889bde59-286e-4e8f-9ff9-7a29a9efe0ff
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/fbx64.efi
/usr/share/boot-sav/bs-cmd_terminal.sh: ligne 179: avertissement : substitution de commande: octet nul ignoré en entrée
=================== efibootmgr -v
BootCurrent: 001B
Timeout: 0 seconds
BootOrder: 001B,0000,001C
Boot0000* Windows Boot Manager HD(2,GPT,7822fa3b-845a-451f-b454-f835d9e74d66,0x109000,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot001B* ubuntu HD(2,GPT,7822fa3b-845a-451f-b454-f835d9e74d66,0x109000,0x32000)/File(EFIUbuntugrubx64.efi)
Boot001C* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.T.S.S.T.c.o.r.p. .D.V.D.W.B.D. .S.N.-.4.0.6.A.B....................A...........................>..Gd-.;.A..MQ..L.8.R.E.Y.G.6.D.T.0.2.0.0.Q.M. . . . . . ......AMBO
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)
=================== PARTITIONS & DISKS:
sdb1 : sdb, not-sepboot, grubenv-ng grub2, signed grub-pc grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, .
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /boot/efi.
sda4 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda4.
sda5 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda5.
sdb2 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sdb2.
sdb : GPT, no-BIOS_boot, has-no-EFIpart, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA HGST HTS721010A9:;
1:1049kB:556MB:555MB:ntfs:Basic data partition:hidden, diag;
2:556MB:661MB:105MB:fat32:EFI system partition:boot, esp;
3:661MB:677MB:16.8MB::Microsoft reserved partition:msftres;
4:677MB:258GB:258GB:ntfs:Basic data partition:msftdata;
5:258GB:1000GB:742GB:ntfs:Data Photos:msftdata;
BYT;
/dev/sdb:1000GB:scsi:512:4096:gpt:ATA HGST HTS541010A9:;
1:1049kB:108GB:108GB:ext4::;
2:108GB:1000GB:892GB:ntfs::msftdata;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
loop0 loop squashfs 88,5M
loop1 loop squashfs 42,8M
loop2 loop squashfs 54,4M
loop3 loop squashfs 131,6M
loop4 loop squashfs 149,9M
loop5 loop squashfs 1008K
loop6 loop squashfs 42,9M
loop7 loop squashfs 62,1M
loop8 loop squashfs 3,7M
loop9 loop squashfs 14,8M
loop10 loop squashfs 4M
sda disk 931,5G
sda1 part ntfs 529M Récupération
sda2 part vfat 100M
sda3 part 16M
sda4 part ntfs 240G
sda5 part ntfs 690,9G DATA
sdb disk 931,5G
sdb1 part ext4 100,6G
sdb2 part ntfs 830,9G
sr0 rom 1024M
KNAME ROTA RO RM STATE MOUNTPOINT
loop0 1 1 0 /snap/core/7270
loop1 1 1 0 /snap/gtk-common-themes/1313
loop2 1 1 0 /snap/core18/1066
loop3 1 1 0 /snap/github-desktop/57
loop4 1 1 0 /snap/gnome-3-28-1804/67
loop5 1 1 0 /snap/gnome-logs/61
loop6 1 1 0 /snap/snap-store/209
loop7 1 1 0 /snap/darktable/48
loop8 1 1 0 /snap/gnome-system-monitor/100
loop9 1 1 0 /snap/gnome-characters/296
loop10 1 1 0 /snap/gnome-calculator/406
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /boot/efi
sda3 1 0 0
sda4 1 0 0 /mnt/boot-sav/sda4
sda5 1 0 0 /mnt/boot-sav/sda5
sdb 1 0 0 running
sdb1 1 0 0 /
sdb2 1 0 0 /mnt/boot-sav/sdb2
sr0 1 0 1 running
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=3993436k,nr_inodes=998359,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=803552k,mode=755)
/dev/sdb1 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=41,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=19500)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/var/lib/snapd/snaps/core18_1066.snap on /snap/core18/1066 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_7270.snap on /snap/core/7270 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_67.snap on /snap/gnome-3-28-1804/67 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_61.snap on /snap/gnome-logs/61 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1313.snap on /snap/gtk-common-themes/1313 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/github-desktop_57.snap on /snap/github-desktop/57 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/snap-store_209.snap on /snap/snap-store/209 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/darktable_48.snap on /snap/darktable/48 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_296.snap on /snap/gnome-characters/296 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_406.snap on /snap/gnome-calculator/406 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_100.snap on /snap/gnome-system-monitor/100 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda2 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/121 type tmpfs (rw,nosuid,nodev,relatime,size=803548k,mode=700,uid=121,gid=125)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=803548k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb2 on /mnt/boot-sav/sdb2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sda1 sda2 sda3 sda4 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 dvd dvdrw ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout udmabuf uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero zfs
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff 87 10 00 00 00 00 00 |................|
00000030 55 b0 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |U...............|
00000040 f6 00 00 00 01 00 00 00 69 c1 bd 3a d0 bd 3a 42 |........i..:..:B|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a2 01 b6 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sda2
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 fe 19 |.X.MSDOS5.0.....|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 90 10 00 |........?.......|
00000020 00 20 03 00 01 03 00 00 00 00 00 00 02 00 00 00 |. ..............|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 41 fc bf 64 4e 4f 20 4e 41 4d 45 20 20 |..)A..dNO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|.V@.N..V|
00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |.t.....f@Iu..BOO|
00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 45 72 |..............Er|
000001b0 72 2e 20 64 69 73 71 75 65 ff 0d 0a 50 72 65 73 |r. disque...Pres|
000001c0 73 65 7a 20 75 6e 65 20 74 6f 75 63 68 65 20 70 |sez une touche p|
000001d0 6f 75 72 20 72 65 64 82 6d 61 72 72 65 72 0d 0a |our red.marrer..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 ac 01 ba 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sda4
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 30 14 00 |........?....0..|
00000020 00 00 00 00 80 00 80 00 ff 97 00 1e 00 00 00 00 |................|
00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 10 47 c3 30 6f c3 30 24 |.........G.0o.0$|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a2 01 b6 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sda5
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 c8 14 1e |........?.......|
00000020 00 00 00 00 80 00 80 00 f8 9f 5b 56 00 00 00 00 |..........[V....|
00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 10 d3 d5 90 d6 d5 90 40 |...............@|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a2 01 b6 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sdb2
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 50 93 0c |........?....P..|
00000020 00 00 00 00 80 00 80 00 ff 17 dd 67 00 00 00 00 |...........g....|
00000030 04 00 00 00 00 00 00 00 7f d1 7d 06 00 00 00 00 |..........}.....|
00000040 f6 00 00 00 01 00 00 00 8a 7f ce 59 bc d8 35 24 |...........Y..5$|
00000050 00 00 00 00 0e 1f be 71 7c ac 22 c0 74 0b 56 b4 |.......q|.".t.V.|
00000060 0e bb 07 00 cd 10 5e eb f0 32 e4 cd 16 cd 19 eb |......^..2......|
00000070 fe 54 68 69 73 20 69 73 20 6e 6f 74 20 61 20 62 |.This is not a b|
00000080 6f 6f 74 61 62 6c 65 20 64 69 73 6b 2e 20 50 6c |ootable disk. Pl|
00000090 65 61 73 65 20 69 6e 73 65 72 74 20 61 20 62 6f |ease insert a bo|
000000a0 6f 74 61 62 6c 65 20 66 6c 6f 70 70 79 20 61 6e |otable floppy an|
000000b0 64 0d 0a 70 72 65 73 73 20 61 6e 79 20 6b 65 79 |d..press any key|
000000c0 20 74 6f 20 74 72 79 20 61 67 61 69 6e 20 2e 2e | to try again ..|
000000d0 2e 20 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 |. ..............|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 785M 1.9M 783M 1% /run
/dev/sdb1 ext4 99G 6.8G 88G 8% /
tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/loop2 squashfs 55M 55M 0 100% /snap/core18/1066
/dev/loop0 squashfs 89M 89M 0 100% /snap/core/7270
/dev/loop4 squashfs 150M 150M 0 100% /snap/gnome-3-28-1804/67
/dev/loop5 squashfs 1.0M 1.0M 0 100% /snap/gnome-logs/61
/dev/loop1 squashfs 43M 43M 0 100% /snap/gtk-common-themes/1313
/dev/loop3 squashfs 132M 132M 0 100% /snap/github-desktop/57
/dev/loop6 squashfs 43M 43M 0 100% /snap/snap-store/209
/dev/loop7 squashfs 63M 63M 0 100% /snap/darktable/48
/dev/loop9 squashfs 15M 15M 0 100% /snap/gnome-characters/296
/dev/loop10 squashfs 4.2M 4.2M 0 100% /snap/gnome-calculator/406
/dev/loop8 squashfs 3.8M 3.8M 0 100% /snap/gnome-system-monitor/100
/dev/sda2 vfat 96M 33M 64M 34% /boot/efi
tmpfs tmpfs 785M 16K 785M 1% /run/user/121
tmpfs tmpfs 785M 32K 785M 1% /run/user/1000
/dev/sda1 fuseblk 529M 447M 83M 85% /mnt/boot-sav/sda1
/dev/sda4 fuseblk 241G 43G 198G 18% /mnt/boot-sav/sda4
/dev/sda5 fuseblk 691G 461G 231G 67% /mnt/boot-sav/sda5
/dev/sdb2 fuseblk 831G 124M 831G 1% /mnt/boot-sav/sdb2
=================== fdisk -l:
Disk /dev/loop0: 88.5 MiB, 92778496 bytes, 181208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 42.8 MiB, 44879872 bytes, 87656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 54.4 MiB, 57069568 bytes, 111464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 131.6 MiB, 138018816 bytes, 269568 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 149.9 MiB, 157184000 bytes, 307000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 1008 KiB, 1032192 bytes, 2016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 42.9 MiB, 44916736 bytes, 87728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop7: 62.1 MiB, 65138688 bytes, 127224 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: B12D5FC1-1402-42BC-B141-A1AC3DD61AC1
Device Start End Sectors Size Type
/dev/sda1 2048 1085439 1083392 529M Windows recovery environment
/dev/sda2 1085440 1290239 204800 100M EFI System
/dev/sda3 1290240 1323007 32768 16M Microsoft reserved
/dev/sda4 1323008 504678399 503355392 240G Microsoft basic data
/dev/sda5 504678400 1953523711 1448845312 690.9G Microsoft basic data
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: DA874AD4-B96C-11E6-9F89-6C71D9736C7A
Device Start End Sectors Size Type
/dev/sdb1 2048 210980863 210978816 100.6G Linux filesystem
/dev/sdb2 210980864 1953523711 1742542848 830.9G Microsoft basic data
Disk /dev/loop8: 3.7 MiB, 3825664 bytes, 7472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop9: 14.8 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop10: 4 MiB, 4218880 bytes, 8240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sdb1, using the following options: sda2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file
=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda2/efi/.../grub*.efi !
Si votre ordinateur redémarre directement sur Windows, essayez de changer l'ordre de démarrage dans votre BIOS.
Si votre BIOS ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\...\grub*.efi
=================== User settings
The settings chosen by the user will not act on the boot.
Dernière modification par Caille (Le 28/01/2020, à 11:24)
Hors ligne
#14 Le 28/01/2020, à 08:56
- FrancisFDZ
Re : Modification du GRUB (supprimer des lignes) ?
Bonjour,
Bonjour,
Suite à plusieurs modifications et ajout / suppression de système je me retrouve avec un GRUB qui comporte plusieurs ligne qui plante le système.
Je sais personnellement lesquelles, mais j'aimerai les supprimer pour que ce soit plus claire, je n'ai pas l'intention de la faire avec Grub-Customizer mais manuellement.https://doc.ubuntu-fr.org/tutoriel/grub … age_manuel
J'ai édité plusieurs fichiers, mais je n'arrive pas à trouver les lignes en questions dans aucun fichier du dossier grub.d
Cordialement.
As-tu pensé à examiner en détail le fichier /etc/default/grub ?
Dernière modification par FrancisFDZ (Le 28/01/2020, à 08:56)
-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]
Hors ligne
#15 Le 28/01/2020, à 10:23
- Caille
Re : Modification du GRUB (supprimer des lignes) ?
As-tu pensé à examiner en détail le fichier /etc/default/grub ?
Bonjour FrancisFDZ,
Oui, mais je n'ai pas trouvé les lignes en question ?
Mon GRUB aujourd'hui ! [20200128_111214]
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DEFAULT="saved"
GRUB_SAVEDEFAULT="true"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Après la réinstallation mon menu GRUB est beaucoup plus clair.
Autre chose, le menu du PC restait également avec des lignes sans aucun lien, c'est curieux ?
Mais il y a un fonction sous setup pour supprimer les lignes de boot orphelines, ça ne semble pas automatique, c'est un genre d'update setup du PC ?
Il y aurait peut-être une possibilité pour ajouter une ligne de boot pour Ubuntu directement (je ne sais pas faire) ?
Après toutes ces modifications.
Si je sélectionne Windows dans le menu du PC (touche échap), c'est directement Windows qui démarre.
Si je sélectionne Ubuntu dans le menu du PC (touche échap), c'est le GRUB qui est lancé.
Si je lance le PC directement sans utiliser le menu, c'est le GRUB qui est lancé.
Si je sélectionne le boot sous Windows dans le setup, c'est directement Windows qui est lancé.
Il est donc impossible de lancer directement Ubuntu sans passer par le GRUB, à moins de placer GRUB_TIMEOUT=0 - (J'ai lu GRUB_TIMEOUT=-1 dans la doc) ?
Il y a même un affichage différent lorsque mon smartphone est branché, voir ci-dessous (Linux File-CD Gadget 0409).
Cordialement.
Dernière modification par Caille (Le 28/01/2020, à 11:45)
Hors ligne
#16 Le 28/01/2020, à 11:47
- Babdu89
Re : Modification du GRUB (supprimer des lignes) ?
Bonjour.
Je viens de supprimer toutes les partitions du disque (b) comme cela il n'y aura qu'une partition boot-efi.
Çà va quand même mieux avec une seule partition boot-efi dans le config. Çà ne se marche plus sur les pieds.
Il est donc impossible de lancer directement Ubuntu sans passer par le GRUB... (à moins de placer GRUB_TIMEOUT=0 )
De toute façon, pour lancer Ubuntu le système utilise Grub. Si tu ne veux plus d'affiche du menu Grub, tu peux le faire comme tu l'indiques. Mais tu peux aussi le réduire de 10 secondes à 2 secondes. Et mettre un # devant la ligne ; GRUB_TIMEOUT_STYLE=hidden pour avoir ceci ; #GRUB_TIMEOUT_STYLE=hidden
Çà fait un très court temps d'affichage, qui permet d'avoir facilement accès aux "Options avancées" pour démarrer Ubuntu en mode recovery, en cas de nécessité.
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#17 Le 28/01/2020, à 12:03
- Caille
Re : Modification du GRUB (supprimer des lignes) ?
Bonjour et merci pour tes conseils !
Je suis en train de lire la doc sur le GRUB, j'aurai du commencer par là... https://doc.ubuntu-fr.org/tutoriel/grub … age_manuel
Pourquoi est-il indiqué dans la doc de placer GRUB_TIMEOUT=-1, pour que le GRUB ne s'affiche pas GRUB_TIMEOUT=0, ce n'est pas suffisant ?
De toute façon GRUB_TIMEOUT=2 c'est très bien. Que permet cette ligne #GRUB_TIMEOUT_STYLE=hidden ? Je vais essayer.
J'ai trouvé l'explication, c'est sans effet chez moi car j'ai au moins deux systèmes d'installés...
Cordialement.
Dernière modification par Caille (Le 28/01/2020, à 13:08)
Hors ligne
#18 Le 28/01/2020, à 14:36
- kamaris
Re : Modification du GRUB (supprimer des lignes) ?
Pourquoi est-il indiqué dans la doc de placer GRUB_TIMEOUT=-1, pour que le GRUB ne s'affiche pas GRUB_TIMEOUT=0, ce n'est pas suffisant ?
Pour des infos complètes sur grub, voir info grub ou la version en ligne :
‘GRUB_TIMEOUT’
Boot the default entry this many seconds after the menu is displayed, unless a key is pressed. The default is ‘5’. Set to ‘0’ to boot immediately without displaying the menu, or to ‘-1’ to wait indefinitely.
Hors ligne
#19 Le 28/01/2020, à 16:38
- Caille
Re : Modification du GRUB (supprimer des lignes) ?
Bonjour kamaris,
Je m'étais arrêté à cette information:
La temporisation avant un lancement automatique se définit avec le paramètre GRUB_TIMEOUT :
GRUB_TIMEOUT=10, lancera le système par défaut au bout de 10 secondes. Si on ne veut pas de temporisation, on mettra : GRUB_TIMEOUT=-1
Merci pour l'explication.
Hors ligne
#20 Le 28/01/2020, à 21:27
- Babdu89
Re : Modification du GRUB (supprimer des lignes) ?
Bonsoir.
Au sujet de la temporisation et du menu affiché ou pas.
Si tu caches le menu (pas d'affichage du menu grub ;" GRUB_TIMEOUT_STYLE=hidden" dans /etc/default/grub.
Que tu mets une temporisation au dessus de 2 secondes, admettons, 30 secondes comme c'est la valeur par défaut à l'installation de Grub.
Tu lances ta machine, rien ne s'affiche au démarrage. Mais le lancement du chargement de ton système ne va se faire qu'au bout de 30 secondes. 30 secondes pendant lesquelles rien ne se passe.
Nota;
Ne pas oublier de faire une maj de grub, pour que les modifications prennent effet.
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#21 Le 28/01/2020, à 21:55
- Caille
Re : Modification du GRUB (supprimer des lignes) ?
Suite...
J'ai même lu que lorsqu'il n'y avait qu'un seul système d'installé ce paramètre permettait de démarrer sans l'affichage du GRUB et que pendant 5 secondes il était possible avec la touche échap d'afficher le GRUB lors du démarrage.
Cordialement.
Hors ligne