#1 Le 27/01/2021, à 11:15
- jarto
[résolu - matériel] Perdu le menu Grub (dual boot)
Bonjour
je ne pourrais pas être affirmatif mais je crois ce dysfonctionnent est arrivé après une mise à jour (5.4.0-64-generic + paquets).
je me suis inspiré de la documention (GRUB para 8 probleme connu ) mais sans résultat .
copie du terminal
moa@uranus:~$ sudo xdg-open /etc/default/grub
(gedit:5253): Tepl-WARNING **: 09:22:16.530: GVfs metadata is not supported. Fallback to TeplMetadataManager.
Either GVfs is not correctly installed or GVfs metadata are not supported on this platform.
In the latter case, you should configure Tepl with --disable-gvfs-metadata.
moa@uranus:~$
après avoir enregistré la modification (supprimer le # devant GRUB_TERMINAL=console), j'ai eu ce Warning (ci dessus)
puis
moa@uranus:~$ sudo update-grub
[sudo] Mot de passe de moa :
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-64-generic
Found initrd image: /boot/initrd.img-5.4.0-64-generic
Found linux image: /boot/vmlinuz-5.4.0-62-generic
Found initrd image: /boot/initrd.img-5.4.0-62-generic
Found linux image: /boot/vmlinuz-5.4.0-60-generic
Found initrd image: /boot/initrd.img-5.4.0-60-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 10 on /dev/sda1
done
moa@uranus:~$
puis un redémarrage sans résulat !
Le tout est accompagné d'un démarrage assez long et quelquefois pour arriver sur un ecran de connexion (+ MDP)
j'ai vu le lien proposé par xubu 1957 sur un fil https://askubuntu.com/questions/1235728 … n-terminal , en réalité j'ai pas compris la démarche.....
merci d'avance
jarto
Dernière modification par jarto (Le 03/02/2021, à 18:49)
Ubuntu Budgie 20.04.4 LTS / 64 bits / Gnome 3.36.8
..- -... ..- -. - ..- / -... ..- -.. --. .. .
Hors ligne
#2 Le 27/01/2021, à 13:44
- malbo
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Bonjour,
Je te prie de faire un Boot-info depuis une session de ton Ubuntu installé et de donner l'URL de ce Boot-info dans ta réponse.
Hors ligne
#3 Le 27/01/2021, à 14:31
- jarto
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Ubuntu Budgie 20.04.4 LTS / 64 bits / Gnome 3.36.8
..- -... ..- -. - ..- / -... ..- -.. --. .. .
Hors ligne
#4 Le 27/01/2021, à 14:40
- malbo
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Je colle ton Boot-info :
boot-info-4ppa125 [20210127_1328]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 root hd1,msdos5
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> libparted MBR boot code is installed in the MBR of /dev/sdc.
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: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
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: /Windows/System32/winload.exe
sda3: __________________________________________________________________________
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: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: __________________________________________________________________________
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
/boot/grub/i386-pc/core.img
sdc1: __________________________________________________________________________
File system: ntfs
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
================================ 3 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sdb5
OS#2: Windows 10 (boot) on sda1
OS#3: Windows 8 or 10 on sda2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-64-generic root=UUID=79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 ro quiet splash
===================================== UEFI =====================================
This installed-session is not in EFI-mode.
EFI in dmesg.
[ 0.008759] ACPI: UEFI 0x00000000CA6BB380 000042 (v01 INTEL EDK2 00000002 01000013)
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
sda1 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdc1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sdb5 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot
sda2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdb5 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda2 : 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
sdb1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdc1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdc
fdisk -l (filtered): ___________________________________________________________
Disk sda: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x8ec10b4d
Boot Start End Sectors Size Id Type
sda1 * 2048 1026047 1024000 500M 7 HPFS/NTFS/exFAT
sda2 1026048 233358753 232332706 110.8G 7 HPFS/NTFS/exFAT
sda3 233359360 234436607 1077248 526M 27 Hidden NTFS WinRE
Disk sdb: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0xf0dad066
Boot Start End Sectors Size Id Type
sdb1 2048 240579099 240577052 114.7G 7 HPFS/NTFS/exFAT
sdb2 240580606 488396799 247816194 118.2G 5 Extended
sdb5 240580608 488396799 247816192 118.2G 83 Linux
Disk sdc: 149.5 GiB, 160041885696 bytes, 312581808 sectors
Disk identifier: 0xb21b988b
Boot Start End Sectors Size Id Type
sdc1 2048 312580095 312578048 149.1G 7 HPFS/NTFS/exFAT
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:512:msdos:ATA WDC WDS120G1G0B-:;
1:1049kB:525MB:524MB:ntfs::boot;
2:525MB:119GB:119GB:ntfs::;
3:119GB:120GB:552MB:ntfs::msftres;
sdb:250GB:scsi:512:512:msdos:ATA WDC WDS250G1B0A-:;
1:1049kB:123GB:123GB:ntfs::;
2:123GB:250GB:127GB:::;
5:123GB:250GB:127GB:ext4::;
sdc:160GB:scsi:512:512:msdos:Generic External:;
1:1049kB:160GB:160GB:ntfs::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs C0943B63943B5ADC 8ec10b4d-01 Réservé au système
├─sda2 ntfs 869640A996409B95 8ec10b4d-02
└─sda3 ntfs 0A627D16627D0829 8ec10b4d-03
sdb
├─sdb1 ntfs 2044018544015EC2 f0dad066-01 Disque
├─sdb2 f0dad066-02
└─sdb5 ext4 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 f0dad066-05
sdc
└─sdc1 ntfs 634BEAD83C7999E3 b21b988b-01 moa160
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 471.5M 6% /mnt/boot-sav/sda1
sda2 59.3G 46% /mnt/boot-sav/sda2
sda3 82.3M 84% /mnt/boot-sav/sda3
sdb1 98.1G 14% /mnt/boot-sav/sdb1
sdb5 54.9G 47% /
sdc1 83.6G 44% /mnt/ata-Hitachi_HTS541616J9SA00_SB2481GJH2VJUE-part1
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda3 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb5 rw,relatime,errors=remount-ro
sdc1 rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096
====================== sdb5/boot/grub/grub.cfg (filtered) ======================
Ubuntu 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
Ubuntu, with Linux 5.4.0-65-generic 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
Ubuntu, with Linux 5.4.0-64-generic 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
Ubuntu, with Linux 5.4.0-62-generic 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
Windows 10 (on sda1) C0943B63943B5ADC
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sdb5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb5 during installation
UUID=79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
/dev/disk/by-id/ata-Hitachi_HTS541616J9SA00_SB2481GJH2VJUE-part1 /mnt/ata-Hitachi_HTS541616J9SA00_SB2481GJH2VJUE-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
======================= sdb5/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=""
GRUB_TERMINAL=console
GRUB_GFXPAYLOAD_LINUX=None
==================== sdb5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
180.872043610 = 194.209878016 boot/grub/grub.cfg 1
198.297554016 = 212.920377344 boot/grub/i386-pc/core.img 1
145.525531769 = 156.256849920 boot/vmlinuz 1
186.541156769 = 200.297041920 boot/vmlinuz-5.4.0-62-generic 2
185.392719269 = 199.063916544 boot/vmlinuz-5.4.0-64-generic 1
145.525531769 = 156.256849920 boot/vmlinuz-5.4.0-65-generic 1
185.392719269 = 199.063916544 boot/vmlinuz.old 1
146.778537750 = 157.602254848 boot/initrd.img 5
146.514369965 = 157.318606848 boot/initrd.img-5.4.0-62-generic 5
146.529994965 = 157.335384064 boot/initrd.img-5.4.0-64-generic 6
146.778537750 = 157.602254848 boot/initrd.img-5.4.0-65-generic 5
146.529994965 = 157.335384064 boot/initrd.img.old 6
===================== sdb5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 sept. 8 12:24 10_linux
-rwxr-xr-x 1 root root 42359 sept. 8 12:24 10_linux_zfs
-rwxr-xr-x 1 root root 12894 sept. 8 12:24 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 6 2017 30_os-prober
-rwxr-xr-x 1 root root 1424 sept. 8 12:24 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 6 2017 40_custom
-rwxr-xr-x 1 root root 216 juil. 6 2017 41_custom
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sdc1
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 8f a1 12 00 00 00 00 |................|
00000030 04 00 00 00 00 00 00 00 ff 18 2a 01 00 00 00 00 |..........*.....|
00000040 f6 00 00 00 01 00 00 00 e3 99 79 3c d8 ea 4b 63 |..........y<..Kc|
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
================================= User choice ==================================
Is sdb (ATA WDC WDS250G1B0A-) a removable disk? no
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb5 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on sdb (ATA WDC WDS250G1B0A-) disk!
Hors ligne
#5 Le 01/02/2021, à 12:40
- jarto
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Bonjour
Je n'ai pas réussi à résoudre mon probléme de dual boot malgré mes recherches à travers la doc "GRUB" et le forum !
j'avais omis de préciser que je n'ai plus acces au bios.
Lors d'un F2, F10 ,ou F12 ça ne donne rien ,sinon qu'Ubuntu ne démarre plus. Un redémarrage est nécessaire pour accéder à Ubuntu.
J'ai effectué un clear cmos sans résultat !(option pile, pas cavalier)
La machine boot sur un live CD mais pas un cd "boot repair"
Avez vous une piste ?
Ubuntu Budgie 20.04.4 LTS / 64 bits / Gnome 3.36.8
..- -... ..- -. - ..- / -... ..- -.. --. .. .
Hors ligne
#6 Le 01/02/2021, à 14:23
- malbo
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Bonjour,
Je te prie de donner le retour complet de cette commande :
sudo debconf-show grub-pc
Hors ligne
#7 Le 01/02/2021, à 14:43
- jarto
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
retour commande
moa@uranus:~$ sudo debconf-show grub-pc
[sudo] Mot de passe de moa :
grub-efi/partition_description:
grub-pc/timeout: 10
grub2/linux_cmdline:
grub-pc/install_devices_empty: false
grub-pc/mixed_legacy_and_grub2: true
grub-pc/install_devices_failed: false
grub-pc/disk_description:
grub-efi/install_devices_disks_changed:
grub-pc/kopt_extracted: false
grub-pc/chainload_from_menu.lst: true
grub2/unsigned_kernels:
grub-efi/install_devices_failed: false
grub-pc/postrm_purge_boot_grub: false
grub-pc/hidden_timeout: false
grub-pc/install_devices_disks_changed:
grub2/kfreebsd_cmdline_default: quiet splash
grub-efi/install_devices:
grub2/device_map_regenerated:
grub2/kfreebsd_cmdline:
grub2/no_efi_extra_removable: false
grub2/linux_cmdline_default: quiet splash
grub2/unsigned_kernels_title:
grub-efi/install_devices_empty: false
grub-pc/partition_description:
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WDS120G1G0B-00RC30_173409801087
grub2/update_nvram: true
grub-pc/install_devices_failed_upgrade: true
moa@uranus:~$
merci
Ubuntu Budgie 20.04.4 LTS / 64 bits / Gnome 3.36.8
..- -... ..- -. - ..- / -... ..- -.. --. .. .
Hors ligne
#8 Le 01/02/2021, à 15:00
- malbo
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Ligne extraite de ton post #7 :
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WDS120G1G0B-00RC30_173409801087
Elle signifie que Grub a enregistré dans ses tablettes que son chargeur d'amorçage se trouve dans le MBR du disque WDS120G1G0B-00RC30_173409801087. Un coup d’œil dans le Boot-info du post #4 nous indique qu'il s'agit du disque sda (120 Go).
On peut voir dans la partie "Boot Info Summary" - tout au début du Boot-info - qu'il y a un chargeur d'amorçage de Grub qui se trouve dans le MBR de sda et un chargeur d'amorçage de Grub qui se trouve dans le MBR de sdb. Mais seulement celui qui est dans le MBR de sda est mis à jour en cas de mise à jour du paquet Grub. Celui qui se trouve dans sdb n'est jamais mis à jour. Cette situation est sans doute le fruit - pourri - de l'utilisation de Boot-repair.
Si tu n'as plus d'accès au Bios comme tu l'as écrit dans ton post #5, moi je ne sais pas trop comment faire pour que tu puisses retrouver un dual-boot fonctionnel.
Dernière modification par malbo (Le 01/02/2021, à 15:06)
Hors ligne
#9 Le 01/02/2021, à 15:21
- jarto
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Merci pour les explications , j'ai compris que le chargeur d 'amorçage est sur le "120 Go" au lieu du "250 Go !!
Pour infos :La dernière fois que j'ai utilisé boot repair (16_12_2020) --> https://forum.ubuntu-fr.org/viewtopic.p … #p22352874
Des lignes de commande ad hoc sont surement nécessaire (ou autres choses), mais je suis incompétent dans ce domaine.........
edit: fôtes
Dernière modification par jarto (Le 01/02/2021, à 15:22)
Ubuntu Budgie 20.04.4 LTS / 64 bits / Gnome 3.36.8
..- -... ..- -. - ..- / -... ..- -.. --. .. .
Hors ligne
#10 Le 01/02/2021, à 16:54
- malbo
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Je te prie de donner le retour complet de cette commande :
cat /boot/grub/grub.cfg
Hors ligne
#11 Le 01/02/2021, à 17:56
- jarto
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
whaou !!!! beaucoup de lecture
moa@uranus:~$ cat /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 [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
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 initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; 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
}
terminal_input console
terminal_output console
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 60,59,55; 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=7
else
set vt_handoff=
fi
}
set linux_gfx_mode=None
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
else
search --no-floppy --fs-uuid --set=root 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
fi
linux /boot/vmlinuz-5.4.0-65-generic root=UUID=79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.4.0-65-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61' {
menuentry 'Ubuntu, with Linux 5.4.0-65-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-65-generic-advanced-79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
else
search --no-floppy --fs-uuid --set=root 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
fi
echo 'Loading Linux 5.4.0-65-generic ...'
linux /boot/vmlinuz-5.4.0-65-generic root=UUID=79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.4.0-65-generic
}
menuentry 'Ubuntu, with Linux 5.4.0-65-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-65-generic-recovery-79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
else
search --no-floppy --fs-uuid --set=root 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
fi
echo 'Loading Linux 5.4.0-65-generic ...'
linux /boot/vmlinuz-5.4.0-65-generic root=UUID=79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.4.0-65-generic
}
menuentry 'Ubuntu, with Linux 5.4.0-64-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-64-generic-advanced-79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
else
search --no-floppy --fs-uuid --set=root 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
fi
echo 'Loading Linux 5.4.0-64-generic ...'
linux /boot/vmlinuz-5.4.0-64-generic root=UUID=79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.4.0-64-generic
}
menuentry 'Ubuntu, with Linux 5.4.0-64-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-64-generic-recovery-79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
else
search --no-floppy --fs-uuid --set=root 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
fi
echo 'Loading Linux 5.4.0-64-generic ...'
linux /boot/vmlinuz-5.4.0-64-generic root=UUID=79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.4.0-64-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
else
search --no-floppy --fs-uuid --set=root 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
else
search --no-floppy --fs-uuid --set=root 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-C0943B63943B5ADC' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 C0943B63943B5ADC
else
search --no-floppy --fs-uuid --set=root C0943B63943B5ADC
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
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 ###
### 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 ###
moa@uranus:~$
Ubuntu Budgie 20.04.4 LTS / 64 bits / Gnome 3.36.8
..- -... ..- -. - ..- / -... ..- -.. --. .. .
Hors ligne
#12 Le 01/02/2021, à 19:03
- malbo
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Je crois que tout est correct dans ce fichier grub.cfg. Désolé mais je ne sais pas quoi te conseiller compte-tenu que tu n'as pas accès au Bios.
Hors ligne
#13 Le 01/02/2021, à 19:13
- jarto
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Merci très sincèrement pour avoir essayé .......
Je vais me rapprocher d'un dépanneur dans les jours à venir...
Ubuntu Budgie 20.04.4 LTS / 64 bits / Gnome 3.36.8
..- -... ..- -. - ..- / -... ..- -.. --. .. .
Hors ligne
#14 Le 01/02/2021, à 20:47
- geole
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Bonjour
extraits de ton boot-info
===================================== UEFI =====================================
This installed-session is not in EFI-mode.
================================ 3 OS detected =================================
[b]OS#1: L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sdb5[/b]
Je constate que tu as parfaitement booté dans le UBUNTU installé
====================== sdb5/boot/grub/grub.cfg (filtered) ======================
Ubuntu 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
Ubuntu, with Linux 5.4.0-65-generic 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
Ubuntu, with Linux 5.4.0-64-generic 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
Ubuntu, with Linux 5.4.0-62-generic 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
Windows 10 (on sda1) C0943B63943B5ADC
et que windows est bien vu et bien dans la liste des O.S. qui doivent être proposés au boot
Tu as simplement un problème d'affichage du menu de choix.
Cela se règle par ce paramétrage
======================= sdb5/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=""
GRUB_TERMINAL=console
GRUB_GFXPAYLOAD_LINUX=None
Je ne sais pas proposer la bonne solution
J'ai vu que tu viens d'ajouter
GRUB_TERMINAL=console
qui ne t'a pas dépanné.
Je serais tenté de te faire modifier cette ligne
GRUB_TIMEOUT_STYLE=hidden
en
GRUB_TIMEOUT_STYLE=menu
Mais sans garantie
Je comprends mal tes phrases
"j'avais omis de préciser que je n'ai plus acces au bios.
Lors d'un F2, F10 ,ou F12 ça ne donne rien ,sinon qu'Ubuntu ne démarre plus. Un redémarrage est nécessaire pour accéder à Ubuntu."
Je ne connais pas ton ordinateur mais l'accès au bios se fait peut-être en appuyant sur d'autres touche Del Esc Tab
De plus, il semble qu'en appuyant sur une touche Fn, il y a du changement même s'il est dans le mauvais sens
Dans un premier temps, essaie la technique conne du mode recovery pour forcer le grub à s'exhiber Ce qui devrait te permettre de choisir windows
Le démarrage en mode de dépannage se choisit dans le menu d'amorçage du système d'exploitation, dans les premières secondes de l'amorçage de l'ordinateur. Sélectionnez-y Ubuntu, avec Linux (mode de dépannage)ou Ubuntu, with Linux (recovery mode) si la traduction française est incomplète ou absente.
Pour forcer l'affichage de ce menu lorsque votre système Ubuntu est configuré de telle sorte qu'aucun menu ne s'affiche au démarrage, appuyez sur la touche [Échap] (ou [ESC]) ou sur la touche [⇧ Maj] (ou [⇧ Shift]) et maintenez-la enfoncée jusqu'à ce que le menu d'amorçage s'affiche. La durée pendant laquelle vous pouvez utiliser ces touches étant relativement courte, il vous faudra peut-être plusieurs essais.
Dernière modification par geole (Le 02/02/2021, à 20:15)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#15 Le 01/02/2021, à 22:51
- jarto
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
bonsoir geole
GRUB_TIMEOUT_STYLE=menu = effectué (voir boot-info) sans resultat
Je comprends mal tes phrases
"j'avais omis de préciser que je n'ai plus acces au bios. omission dans le post#1
Lors d'un F2, F10 ,ou F12 ça ne donne rien ,sinon qu'Ubuntu ne démarre plus. j'avais essayé toutes les touches pour essayer d'accéder au bios
ça ne donne rien = touches ineficaces
Toutes les touches proposées sont infructueuses , mais "normalement" la plupart de ces touches doivent êrte actionnées lors du visuel du logo de la carte mere ? mais comme je ne vois pas ........le bios (au p'tit bonheur la chance avec plusieurs tentatives)
Sur le manuel d'utilisation de la carte pour accéder au bios c'est :
del = bios setup/Q-flash
F9= system information
F12= boot menu
END=Q-flash
Les trois prémières essayées sans résultat
boot-info-4ppa125 [20210201_2119]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 root hd1,msdos5
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
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: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
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: /Windows/System32/winload.exe
sda3: __________________________________________________________________________
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: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: __________________________________________________________________________
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
/boot/grub/i386-pc/core.img
================================ 3 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sdb5
OS#2: Windows 10 (boot) on sda1
OS#3: Windows 8 or 10 on sda2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-65-generic root=UUID=79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 ro quiet splash
===================================== UEFI =====================================
This installed-session is not in EFI-mode.
EFI in dmesg.
[ 0.008677] ACPI: UEFI 0x00000000CA6BC380 000042 (v01 INTEL EDK2 00000002 01000013)
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ng, update-grub, farbios
sda1 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sdb5 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot
sda2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdb5 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda2 : 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
sdb1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x8ec10b4d
Boot Start End Sectors Size Id Type
sda1 * 2048 1026047 1024000 500M 7 HPFS/NTFS/exFAT
sda2 1026048 233358753 232332706 110.8G 7 HPFS/NTFS/exFAT
sda3 233359360 234436607 1077248 526M 27 Hidden NTFS WinRE
Disk sdb: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0xf0dad066
Boot Start End Sectors Size Id Type
sdb1 2048 240579099 240577052 114.7G 7 HPFS/NTFS/exFAT
sdb2 240580606 488396799 247816194 118.2G 5 Extended
sdb5 240580608 488396799 247816192 118.2G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:512:msdos:ATA WDC WDS120G1G0B-:;
1:1049kB:525MB:524MB:ntfs::boot;
2:525MB:119GB:119GB:ntfs::;
3:119GB:120GB:552MB:ntfs::msftres;
sdb:250GB:scsi:512:512:msdos:ATA WDC WDS250G1B0A-:;
1:1049kB:123GB:123GB:ntfs::;
2:123GB:250GB:127GB:::;
5:123GB:250GB:127GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs C0943B63943B5ADC 8ec10b4d-01 Réservé au système
├─sda2 ntfs 869640A996409B95 8ec10b4d-02
└─sda3 ntfs 0A627D16627D0829 8ec10b4d-03
sdb
├─sdb1 ntfs 2044018544015EC2 f0dad066-01 Disque
├─sdb2 f0dad066-02
└─sdb5 ext4 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 f0dad066-05
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 471.5M 6% /mnt/boot-sav/sda1
sda2 59.3G 46% /mnt/boot-sav/sda2
sda3 82.3M 84% /mnt/boot-sav/sda3
sdb1 98.1G 14% /mnt/boot-sav/sdb1
sdb5 55.5G 47% /
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda3 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb5 rw,relatime,errors=remount-ro
====================== sdb5/boot/grub/grub.cfg (filtered) ======================
Ubuntu 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
Ubuntu, with Linux 5.4.0-65-generic 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
Ubuntu, with Linux 5.4.0-64-generic 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61
Windows 10 (on sda1) C0943B63943B5ADC
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sdb5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb5 during installation
UUID=79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
/dev/disk/by-id/ata-Hitachi_HTS541616J9SA00_SB2481GJH2VJUE-part1 /mnt/ata-Hitachi_HTS541616J9SA00_SB2481GJH2VJUE-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
======================= sdb5/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_TERMINAL=console
GRUB_GFXPAYLOAD_LINUX=None
==================== sdb5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
221.707080841 = 238.056165376 boot/grub/grub.cfg 2
198.297554016 = 212.920377344 boot/grub/i386-pc/core.img 1
145.525531769 = 156.256849920 boot/vmlinuz 1
185.392719269 = 199.063916544 boot/vmlinuz-5.4.0-64-generic 1
145.525531769 = 156.256849920 boot/vmlinuz-5.4.0-65-generic 1
185.392719269 = 199.063916544 boot/vmlinuz.old 1
146.778537750 = 157.602254848 boot/initrd.img 5
146.529994965 = 157.335384064 boot/initrd.img-5.4.0-64-generic 6
146.778537750 = 157.602254848 boot/initrd.img-5.4.0-65-generic 5
146.529994965 = 157.335384064 boot/initrd.img.old 6
===================== sdb5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 sept. 8 12:24 10_linux
-rwxr-xr-x 1 root root 42359 sept. 8 12:24 10_linux_zfs
-rwxr-xr-x 1 root root 12894 sept. 8 12:24 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 6 2017 30_os-prober
-rwxr-xr-x 1 root root 1424 sept. 8 12:24 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 6 2017 40_custom
-rwxr-xr-x 1 root root 216 juil. 6 2017 41_custom
================================= User choice ==================================
Is sdb (ATA WDC WDS250G1B0A-) a removable disk? no
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to reset grubenv) and reinstall the grub2 of
sdb5 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on sdb (ATA WDC WDS250G1B0A-) disk!
Ubuntu Budgie 20.04.4 LTS / 64 bits / Gnome 3.36.8
..- -... ..- -. - ..- / -... ..- -.. --. .. .
Hors ligne
#16 Le 02/02/2021, à 11:10
- geole
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Bonjour
Afin de mieux visualiser le démarrage, avec la même logique, peux-tu modifier cette ligne
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
afin qu'elle devienne
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
pense à regénérer (update-grub)
J'ai l'impression que tu n'as pas fait l'essai de forcer l'apparition du menu de boot.
"appuyez sur la touche [Échap] (ou [ESC]) ou sur la touche [⇧ Maj] (ou [⇧ Shift]) et maintenez-la enfoncée jusqu'à ce que le menu d'amorçage s'affiche. La durée pendant laquelle vous pouvez utiliser ces touches étant relativement courte, il vous faudra peut-être plusieurs essais."
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#17 Le 02/02/2021, à 11:34
- jarto
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
bonjour
modification ligne effectuée et update grub
moa@uranus:~$ sudo 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-65-generic
Found initrd image: /boot/initrd.img-5.4.0-65-generic
Found linux image: /boot/vmlinuz-5.4.0-64-generic
Found initrd image: /boot/initrd.img-5.4.0-64-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 10 on /dev/sda1
done
moa@uranus:~$
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
GRUB_CMDLINE_LINUX=""
J'ai l'impression que tu n'as pas fait l'essai de forcer l'apparition du menu de boot. je vais essayer de nouveau .........
idée à la c** : peut on envisager de debrancher le 250 Go ou il ya ubuntu et w10 ? le bios me dira peut-être bonjour ( lever de doute ?)
Ubuntu Budgie 20.04.4 LTS / 64 bits / Gnome 3.36.8
..- -... ..- -. - ..- / -... ..- -.. --. .. .
Hors ligne
#18 Le 02/02/2021, à 13:50
- geole
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Soit ton bios est réglé pour d'abord lancer SDB puis SDA dans ce cas , en absence de SDB, il bootera sur SDA
Soit ton bios est réglé pour booter d'abord sur SDA
dans les deux cas, cela ne changera rien car le boot-repair a fait le nécessaire pour que la suite su boot aille sur SDB
Donc le grub se plantera. Cela n'est pas un problème bios.
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 root hd1,msdos5
set prefix=($root)'/boot/grub'
========================== sdb5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb5 during installation
UUID=79459faf-4cc7-4f9c-b6c0-fe4c0dd68c61 / ext4 errors
C'est quand même surprenant que tu aies perdu l'accès au bios d'un seul coup, La touche en question serait-elle en panne?
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#19 Le 02/02/2021, à 18:45
- malbo
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
@jarto : il y a combien de temps que tu n'avais pas essayé d'aller dans le Bios de cette machine ? Peut-être que cet accès est cassé depuis longtemps...
Hors ligne
#20 Le 02/02/2021, à 20:10
- jarto
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
@malbo,@geole (et à la communauté)
ça fonctionne, je ferai un "débrieffing" demain après-midi , pour l'instant un temps calme s'impose ..
merci encore
Ubuntu Budgie 20.04.4 LTS / 64 bits / Gnome 3.36.8
..- -... ..- -. - ..- / -... ..- -.. --. .. .
Hors ligne
#21 Le 03/02/2021, à 17:36
- jarto
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Bonjour
La réponse à mon problème est là :
geole # 18 :Cela n'est pas un problème bios.
malbo # 19 : Peut-être que cet accès est cassé depuis longtemps…
La cause : connecteur DVI sur écran / moniteur pas serré (vis non serré)
pour infos : ma dernière intervention sur le bios se situe courant novembre pour tester le live CD 20.04.
----------------------
J’avais essayé toutes les touches qui auraient pu avoir une incidence sur l’apparition du Bios et écran noir ! La cata !! plus aucun démarrage ( pas de visuel en fin de compte)
J’ai testé avec un live CD : ça fonctionne ! (ça boot dessus avec visuel)
Lors de mes tests infructueux j’ai remarqué que je n’avais pas le logo de l’écran (analogique/digital) qui est présent de façon furtive.
Connecteur DVI écran incriminé (vis non serré) /action corrective.
Redémarrage → logo bios → et voila le GRUB , ce dernier à un nouveau design mais tout est là → démarrage auto (10s) ça fonctionne . Démarrage sur W10 = OK
Le connecteur non serré doit être comme cela depuis longtemps, je pense que les dysfonctionnements que j’ai eu auparavant sont en partie imputables à cette anomalie.
Merci encore à malbo & geole
Question : je remets les anciens choix dans le grub ? Ou je le laisse comme actuellement !
Y a t-il un standard ?
Je mets en (resolu – matériel) ...
Ubuntu Budgie 20.04.4 LTS / 64 bits / Gnome 3.36.8
..- -... ..- -. - ..- / -... ..- -.. --. .. .
Hors ligne
#22 Le 03/02/2021, à 17:59
- geole
Re : [résolu - matériel] Perdu le menu Grub (dual boot)
Bonjour
Merci de ton retour
C'est assez drôle que ce "faux-contact" se produise uniquement au démarrage. Il y a probablement une "pin" dédiée pour ce démarrage qui ne passait plus
Si tu as maintenant GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
revient au standard GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
tu pourras alors en profiter pour remettre
GRUB_TIMEOUT_STYLE=hidden
et pourquoi pas
#GRUB_TERMINAL=console
Sinon, il me semble que tu peux laisser en l'état des deux dernières options
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne