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 03/01/2021, à 21:07

des fontaines

[Résolu] Grub disparu

Bonsoir à la communauté; j'étais en dual boot Windows 10 et Ubuntu 18.04 sur un Lenovo Yoga 500.
En voulant faire une mise à niveau vers Ubuntu 20.04.1 LTS, une "patouille" est survenue (Quand? Comment?), et mon ordi démarre maintenant directement sur Ubuntu sans me laisser le choix comme avant; plus de Grub!
J'ai essayé différentes manips de récupération du Grub (dont "sudo grub-install" qui m'indique que tout s'est installé normalement?) parmi lesquelles:
"sudo add-apt-repository ppa:yannubuntu/boo-repair"
puis "sudo apt-get update"
puis "sudo apt-get install y boot-repair && boot-repair
qui m'indique qu'apparemment tout s'est bien passé, mais en redémarrant, rien de changé, toujours impossible de trouver Windows!
il m'est indiqué une URL que je dois indiquer en cas de problème persistant, il s'agit de:
"https://paste.ubuntu.com/p/jybHgyXDvD/"
Je n'y connais pas grand-chose, est-ce que cela parle à quelqu'un(e)???
Merci par avance à qui me sortira de cette impasse

Dernière modification par des fontaines (Le 06/01/2021, à 19:36)

Hors ligne

#2 Le 03/01/2021, à 23:47

Qid

Re : [Résolu] Grub disparu

À vu de nez ton problème est dans ce fichier de configuration de GRUB :

======================= sda8/etc/default/grub (filtered) =======================

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=""

Par contre je suis désolé de ne pouvoir t'en dire plus : documente toi et essaye de voir entre autre la ligne "Time Out style" qui n'a a mon avis rien a faire en caché


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#3 Le 03/01/2021, à 23:51

geole

Re : [Résolu] Grub disparu

Bonsoir
Ajoute  ou modifie cette ligne dans le fichier  de paramétrage (/etc/default/grub)

GRUB_TERMINAL=console

avec prise en compte

sudo update-grub

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#4 Le 04/01/2021, à 00:11

Qid

Re : [Résolu] Grub disparu

geole a écrit :
GRUB_TERMINAL=console

C'est au moins le second en très peu de temps... Que ce passe-t-il avec GRUB ? Il fait grève de windows ? Ce serait bien de savoir pourquoi on a ces problèmes et pourquoi bootrepair n'arrive pas à la voir et la corriger...


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#5 Le 04/01/2021, à 00:16

ikewdu

Re : [Résolu] Grub disparu

Salut,

On a découvert ça ici : https://forum.ubuntu-fr.org/viewtopic.php?pid=22365804

Dernière modification par ikewdu (Le 04/01/2021, à 00:17)

Hors ligne

#6 Le 04/01/2021, à 08:48

malbo

Re : [Résolu] Grub disparu

Bonjour,
Je colle ci-dessous le contenu du fichier Boot-info dont tu as donné l'URL ( https://paste.ubuntu.com/p/jybHgyXDvD/ ) dans le post #1 :

boot-repair-4ppa125                                              [20210103_1725]

============================= Boot Repair Summary ==============================




Advices: _______________________________________________________________________
Le démarrage de votre ordinateur est en mode Secure. Vous voudrez peut-être réessayer après l'avoir changé en mode non-Secure.
Êtes-vous sûr de vouloir continuer quand même ? yes

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
sda8,
using the following options:        sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s  use-standard-efi-file  restore-efi-backups


/boot/efi added in sda8/fstab
rm /boot/efi/efi/Boot/bootx64.efi
mv /boot/efi/efi/Boot/bkpbootx64.efi /boot/efi/efi/Boot/bootx64.efi
sda8/boot/efi not empty

================= Reinstall the grub-efi-amd64-signed of sda8 ==================

grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.7

efibootmgr -v from chroot before grub install
BootCurrent: 000B
Timeout: 10 seconds
BootOrder: 000B,0000,0004,0008,0005,0006,0009,000A
Boot0000* Windows Boot Manager	HD(1,GPT,a34695a0-4878-45fc-b681-879c79bf7aa5,0x800,0x82000)/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.}....................
Boot0001  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0002  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0003  Diagnostic Splash	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0004* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0005* USB HDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0006* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0007* PCI LAN: EFI Network (IPv6)	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(000000000000,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.
Boot0008* ATA HDD: WDC WD10SPCX-24HWST1                    	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)..bYVD.A...O.*..
Boot0009* PCI LAN: EFI Network (IPv4)	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(54ee7585c5fd,0)/IPv4(0.0.0.00.0.0.0,0,0)x.J.+*.N.....=8.
Boot000A* PCI LAN: EFI Network (IPv6)	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(54ee7585c5fd,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.
Boot000B* ubuntu	HD(1,GPT,a34695a0-4878-45fc-b681-879c79bf7aa5,0x800,0x82000)/File(EFIubuntushimx64.efi)

uname -r
5.4.0-58-generic

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.

efibootmgr -v from chroot after grub install
BootCurrent: 000B
Timeout: 10 seconds
BootOrder: 000B,0000,0004,0008,0005,0006,0009,000A
Boot0000* Windows Boot Manager	HD(1,GPT,a34695a0-4878-45fc-b681-879c79bf7aa5,0x800,0x82000)/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.}....................
Boot0001  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0002  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0003  Diagnostic Splash	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0004* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0005* USB HDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0006* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0007* PCI LAN: EFI Network (IPv6)	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(000000000000,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.
Boot0008* ATA HDD: WDC WD10SPCX-24HWST1                    	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)..bYVD.A...O.*..
Boot0009* PCI LAN: EFI Network (IPv4)	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(54ee7585c5fd,0)/IPv4(0.0.0.00.0.0.0,0,0)x.J.+*.N.....=8.
Boot000A* PCI LAN: EFI Network (IPv6)	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(54ee7585c5fd,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.
Boot000B* ubuntu	HD(1,GPT,a34695a0-4878-45fc-b681-879c79bf7aa5,0x800,0x82000)/File(EFIubuntushimx64.efi)
Warning: NVram was not modified.

update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-58-generic
Found initrd image: /boot/initrd.img-5.4.0-58-generic
Found linux image: /boot/vmlinuz-5.4.0-52-generic
Found initrd image: /boot/initrd.img-5.4.0-52-generic
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings

Unhide GRUB boot menu in sda8/boot/grub/grub.cfg

Le démarrage de l'ordinateur a été correctement réparé.

Vous pouvez maintenant redémarrer votre ordinateur.

N'oubliez pas de faire démarrer votre firmware UEFI sur l'entrée L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession (fichier sda1/EFI/ubuntu/shimx64.efi) !
Si votre ordinateur redémarre directement dans Windows, essayez de changer l'ordre de démarrage dans votre firmware UEFI.

Si votre firmware UEFI 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\ubuntu\shimx64.efi

============================ Boot Info After Repair ============================

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    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/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi 
                       /efi/Boot/fbx64.efi /efi/Boot/grubx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

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:        

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:        

sda6: __________________________________________________________________________

    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:        

sda7: __________________________________________________________________________

    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/Boot/bootx64.efi 
                       /efi/Microsoft/Boot/LrsBootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi /bootmgr /boot/bcd

sda8: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sda8
OS#2:   Windows 8 or 10 on sda3

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-58-generic root=UUID=68035a38-d490-49d9-9abe-d59043b8483b ro quiet splash vt.handoff=7


===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.

efibootmgr -v
BootCurrent: 000B
Timeout: 10 seconds
BootOrder: 000B,0000,0004,0008,0005,0006,0009,000A
Boot0000* Windows Boot Manager	HD(1,GPT,a34695a0-4878-45fc-b681-879c79bf7aa5,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.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.}....................
Boot0001  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0002  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0003  Diagnostic Splash	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0004* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0005* USB HDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0006* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0007* PCI LAN: EFI Network (IPv6)	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(000000000000,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.
Boot0008* ATA HDD: WDC WD10SPCX-24HWST1                    	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)..bYVD.A...O.*..
Boot0009* PCI LAN: EFI Network (IPv4)	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(54ee7585c5fd,0)/IPv4(0.0.0.00.0.0.0,0,0)x.J.+*.N.....=8.
Boot000A* PCI LAN: EFI Network (IPv6)	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(54ee7585c5fd,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.
Boot000B* ubuntu	HD(1,GPT,a34695a0-4878-45fc-b681-879c79bf7aa5,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)

78415fb8fb9b909f8029858113f1335f   sda1/Boot/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f   sda1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   sda1/Boot/fbx64.efi
8ed07d5ee4e5e1534bcf64037b7589ff   sda1/Boot/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/Boot/mmx64.efi
8ed07d5ee4e5e1534bcf64037b7589ff   sda1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sda1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sda1/ubuntu/shimx64.efi
15ba29cdd4054fd936a6e6acbd791336   sda1/Microsoft/Boot/bootmgfw.efi
425b3cd6722f65838d3196ec7c39d9a4   sda1/Microsoft/Boot/bootmgr.efi
92be7aa505b7ccc713bf1682c2af708a   sda7/Boot/bootx64.efi
9cdfbae08da935c0b9c77f01bb2807c6   sda7/Microsoft/Boot/LrsBootmgr.efi


============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda8	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda7	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda8	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	bootmgr,	is-winboot

Partitions info (3/3): _________________________________________________________

sda8	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda6	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda7	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 40A0F727-4F02-4D50-8F82-6E7EB34430A8
           Start        End    Sectors   Size Type
sda1        2048     534527     532480   260M EFI System
sda2      534528     567295      32768    16M Microsoft reserved
sda3      567296 1651273727 1650706432 787.1G Microsoft basic data
sda4  1856292864 1908721663   52428800    25G Microsoft basic data
sda5  1908721664 1910769663    2048000  1000M Windows recovery environment
sda6  1910769664 1951475711   40706048  19.4G Windows recovery environment
sda7  1951475712 1953523711    2048000  1000M Lenovo boot partition
sda8  1651273728 1856292863  205019136  97.8G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10SPCX-24H:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:845GB:845GB:ntfs:Basic data partition:msftdata;
8:845GB:950GB:105GB:ext4::;
4:950GB:977GB:26.8GB:ntfs:Basic data partition:msftdata;
5:977GB:978GB:1049MB:ntfs:Basic data partition:hidden, diag;
6:978GB:999GB:20.8GB:ntfs:Basic data partition:diag;
7:999GB:1000GB:1049MB:fat32:Basic data partition:hidden;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda1 vfat     62FD-F2F0                            a34695a0-4878-45fc-b681-879c79bf7aa5 SYSTEM_DRV  EFI system partition
├─sda2                                               973998e4-a1c9-44da-b1ea-d87fc197a244             Microsoft reserved partition
├─sda3 ntfs     F22CFFEC2CFFA9AD                     d0602861-df2a-4f1f-af47-cf68fa14607a Windows     Basic data partition
├─sda4 ntfs     7A22B28522B245C3                     a8c08a04-deff-4b17-8f60-30544746c22e LENOVO      Basic data partition
├─sda5 ntfs     4E5C08125C07F38D                     3ab55b05-eef8-4ac5-8daa-40889f4388b5 WINRE_DRV   Basic data partition
├─sda6 ntfs     2676098776095947                     20b79926-7585-4d53-a64c-333d3a2f931b LENOVO_PART Basic data partition
├─sda7 vfat     F20A-EC3C                            f1dd2d1f-7b7f-4147-aa94-8c9aa191d239 LRS_ESP     Basic data partition
└─sda8 ext4     68035a38-d490-49d9-9abe-d59043b8483b 498b99cd-fb80-4567-8a21-6bbcf1801206             

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sda3   627.6G  20% /mnt/boot-sav/sda3
sda4      22G  12% /mnt/boot-sav/sda4
sda5   469.5M  53% /mnt/boot-sav/sda5
sda6     7.7G  60% /mnt/boot-sav/sda6
sda7     461M  54% /mnt/boot-sav/sda7
sda8    77.5G  14% /

Mount options: __________________________________________________________________

sda3   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda6   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda7   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda8   rw,relatime,errors=remount-ro

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid 68035a38-d490-49d9-9abe-d59043b8483b root hd0,gpt8 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sda8/boot/grub/grub.cfg (filtered) ======================

Ubuntu   68035a38-d490-49d9-9abe-d59043b8483b
Ubuntu, with Linux 5.4.0-58-generic   68035a38-d490-49d9-9abe-d59043b8483b
Ubuntu, with Linux 5.4.0-52-generic   68035a38-d490-49d9-9abe-d59043b8483b
Windows Boot Manager (on sda1)   osprober-efi-62FD-F2F0
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda8/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda8 during installation
UUID=68035a38-d490-49d9-9abe-d59043b8483b /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
/swapfile                                 none            swap    sw              0       0
UUID=62FD-F2F0  /boot/efi       vfat    defaults      0       1

======================= sda8/etc/default/grub (filtered) =======================

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=""

==================== sda8: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 839.513721466 = 901.420994560  boot/grub/grub.cfg                             1
 857.063613892 = 920.265048064  boot/vmlinuz                                   1
 857.313610077 = 920.533479424  boot/vmlinuz-5.4.0-52-generic                  1
 857.063613892 = 920.265048064  boot/vmlinuz-5.4.0-58-generic                  1
 857.313610077 = 920.533479424  boot/vmlinuz.old                               1
 857.063613892 = 920.265048064  vmlinuz                                        1
 857.313610077 = 920.533479424  vmlinuz.old                                    1
 858.278736115 = 921.569775616  boot/initrd.img                                2
 858.271190643 = 921.561673728  boot/initrd.img-5.4.0-52-generic               3
 858.278736115 = 921.569775616  boot/initrd.img-5.4.0-58-generic               2
 858.271190643 = 921.561673728  boot/initrd.img.old                            3
 858.278736115 = 921.569775616  initrd.img                                     2
 858.271190643 = 921.561673728  initrd.img.old                                 3

===================== sda8: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 17622 nov.  13 00:15 10_linux
-rwxr-xr-x 1 root root 42359 nov.  13 00:15 10_linux_zfs
-rwxr-xr-x 1 root root 12894 nov.  13 00:15 20_linux_xen
-rwxr-xr-x 1 root root 12059 mars  18  2019 30_os-prober
-rwxr-xr-x 1 root root  1424 nov.  13 00:15 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


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown GPT Partiton Type
e7afbfbf4fa38a449a5b6213eb736c22

Hors ligne

#7 Le 04/01/2021, à 19:15

des fontaines

Re : [Résolu] Grub disparu

Zut, pas assez rapide, ma réponse a disparu, je recommence!
Merci pour vos réponses et comme je ne suis VRAIMENT pas doué, dans l'ordre d'arrivée:
- QID: tu mets le doigt sur le problème, mais je fais quoi?
- geole: "fichier de paramétrage"? il se trouve dans un terminal? Et je tape: "GRUB_TERMINAL=console", puis "sudo update-grub"?
- Malbo (toujours là quand il faut): dois-je donc désactiver le mode "secure" au démarrage? Comment? Et comment exploiter toutes les infos que tu m'a transmises? Le "GRUB_TIMEOUT_STYLE=hidden" pose-t-il problème?
Merci pour la patience!

Hors ligne

#8 Le 04/01/2021, à 19:20

xubu1957

Re : [Résolu] Grub disparu

Bonjour,

des fontaines a écrit :

Zut, pas assez rapide, ma réponse a disparu, je recommence!

Voir > Astuce/Tutoriel : « message perdu, déconnecté du forum »


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#9 Le 04/01/2021, à 19:25

malbo

Re : [Résolu] Grub disparu

Je pense qu'il faut essayer la solution proposée par geole dans le post #3. Je la détaille dans ce post : https://forum.ubuntu-fr.org/viewtopic.p … #p22393416

Hors ligne

#10 Le 04/01/2021, à 19:31

des fontaines

Re : [Résolu] Grub disparu

OK Malbo, merci, je vais m'y coller!
Bonne soirée

Hors ligne

#11 Le 05/01/2021, à 19:38

des fontaines

Re : [Résolu] Grub disparu

BRAVO Malbo, il semble que j'ai récupéré mon grub; au redémarrage, j'ai de nouveau le choix entre Ubuntu et windows!
Un grand MERCI! Je vais pouvoir marquer cette discussion comme résolue.
Bonne soirée

Hors ligne