#26 Le 20/01/2022, à 12:55
- geole
Re : Grub ne lance pas Ubuntu
Laisse en MBR et ne met pas le secure boot, car, avec cette ligne
Installation pour la plate-forme i386-pc.
ton ordinateur n'est pas EFI
Note que je ne serais plus très disponible ces quelques jours.
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
Hors ligne
#27 Le 20/01/2022, à 13:09
- didierfou
Re : Grub ne lance pas Ubuntu
ok, je note, une dernière question pour aujourd'hui :
Mint sur mon dd est en EFI, Ubuntu en en légacy ..
Je peux passer tout l'ordi en EFI à partir du Bios ?
mais peut-être pas sans réinstaller Ubuntu ?
df
Ubuntu 22.04 Jammy Jellyfish (x86-64) Cinnamon 5.2.7 Noyau5.15.0-116-generic Processeur A4-6300 APU with radeon HD graphics x1 Mémoire vive 7Go DD 1500Go carte graphique : advanced micro devices,inc (AMD/ATI) Richland Radeon HD 8370D (pror-if 00 VGA controller)
Hors ligne
#28 Le 20/01/2022, à 13:26
- iznobe
Re : Grub ne lance pas Ubuntu
Pour passer ubuntu en mode EFI , il faut :
- demarrer a partir de la cle USB sur laquelle tu as mint ou ubuntu et t ' assurer que tu es bien en mode EFI avant de continuer .
- faire un boot-info avant de proceder afin de s' assurer que ce qui suit , est bien ce qui est proposé :
- lancer boot repair , qui devrait proposer de choisir dans les options avancées l ' OS a utiliser par defaut et proceder a la reparation de ubuntu en legacy => EFI . en utilisant la partition de /boot/efi .
a faire confirmer par une personne ayant plus l' habitude que moi de faire ce genre de manipulations .
----------------------------------------------------------------
Si tu comptes copier les partitions sur un autre disque , il vaut mieux intervenir apres les modifiactions car il y ade fortes chances que de toute manieres il faille utiliser boot-repair apres ces modifs .
D ' apres ce que j' ai vu precedemment ton ordi est bien compatible UEFI .
----------------------------------------------------------------
Par contre les OS en 32 bits ne sont pas compatible avec UEFI , me semble t il , a faire confirmer ou chercher sur internet .
Du coup si ton ubuntu n ' est pas un 64 bits , tu ne pourras pas le passer en UEFI et ca passera forcement par une reinstallation de celui-ci .
si tu desires passer tout en EFI .
Dernière modification par iznobe (Le 20/01/2022, à 13:35)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#29 Le 20/01/2022, à 14:09
- didierfou
Re : Grub ne lance pas Ubuntu
capture d'écran de gparted sous Ubuntu :
https://www.cjoint.com/c/LAunhQh5su3
df
Edit : réparation du lien
Dernière modification par didierfou (Le 20/01/2022, à 14:12)
Ubuntu 22.04 Jammy Jellyfish (x86-64) Cinnamon 5.2.7 Noyau5.15.0-116-generic Processeur A4-6300 APU with radeon HD graphics x1 Mémoire vive 7Go DD 1500Go carte graphique : advanced micro devices,inc (AMD/ATI) Richland Radeon HD 8370D (pror-if 00 VGA controller)
Hors ligne
#30 Le 20/01/2022, à 15:05
- iznobe
Re : Grub ne lance pas Ubuntu
Bon , d ' apres le boot-info tu as LM 20 cinnamon et ubuntu 20.04.3 LTS d' installé ces 2 OS ne sont pas en 32 bits mais bien en 64 bits .
ton ordinateur ne comporte qu ' un seul Disque Dur .
Il reste donc a verifier que ubuntu est bien installé en mode LEGACY et LM en mode EFI .
je ne vois pour le moment pas grand chose qui empecherait de passer tout en mode EFI et d ' utiliser boot repair afin de remettre d' applomb tout cela .
NOTE : il faudra me rappeler si j' oublie , de passe un OS en maitre et l' autre en esclave au niveau du GRUB qui boucle !
Ma suggestion : du post precedent me semble appropriée :
Pour passer ubuntu en mode EFI , il faut :
- demarrer a partir de la cle USB sur laquelle tu as mint ou ubuntu et t ' assurer que tu es bien en mode EFI avant de continuer .
- faire un boot-info avant de proceder afin de s' assurer que ce qui suit , est bien ce qui est proposé :
- lancer boot repair , qui devrait proposer de choisir dans les options avancées l ' OS a utiliser par defaut et proceder a la reparation de ubuntu en legacy => EFI . en utilisant la partition de /boot/efi .a faire confirmer par une personne ayant plus l' habitude que moi de faire ce genre de manipulations .
tu peux oublier ce que j' ai inscrit en dessous de ca dans le precedent message , puisque ca ne entre pas en compte dans ton installation .
il faudra verifier que boot-info indique bien ce qui suit :
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi of
sda2,
using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-fileBlockers in case of suggested repair: __________________________________________
The current session is in EFI mode.
Final advice in case of suggested repair: ______________________________________
avant d ' excuter boot-repair .
Dernière modification par iznobe (Le 20/01/2022, à 15:05)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#31 Le 20/01/2022, à 15:57
- didierfou
Re : Grub ne lance pas Ubuntu
j'ai démarré avec ubuntu en live
et fait un boot-info
(que j'avais déjà fait,je crois !)
boot info live ubuntu
Ubuntu 22.04 Jammy Jellyfish (x86-64) Cinnamon 5.2.7 Noyau5.15.0-116-generic Processeur A4-6300 APU with radeon HD graphics x1 Mémoire vive 7Go DD 1500Go carte graphique : advanced micro devices,inc (AMD/ATI) Richland Radeon HD 8370D (pror-if 00 VGA controller)
Hors ligne
#32 Le 20/01/2022, à 16:58
- iznobe
Re : Grub ne lance pas Ubuntu
Oui exact , cependant tu avais demarrer en mode CMS ( non EFI ) et ce n' est pas ce qu ' il faut pour verifier que la suite va bien se passer , il faut avoir regler le BIOS en mode EFI avant de faire le boot-info afin de s' assurer que ce qu ' il va faire sera la bonne correction .
voici le nouveau boot-info :
boot-info-4ppa161 [20220120_1452]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
81179776 of the same hard drive for core.img. core.img is at this location
and looks for (,gpt2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 20
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb déjà monté ou point de montage actif.
================================ 2 OS detected =================================
OS#1: Ubuntu 20.04.3 LTS on sda2
OS#2: Linux Mint 20 Ulyana (20) on sda4
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Richland[RadeonHD8370D] from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot enabled.
efibootmgr -v
BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0001,0005,0004,0002,0006,0000,0003
Boot0000* ubuntu VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0001* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.T.O.S.H.I.B.A. .D.T.0.1.A.C.A.2.0.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . .Z. .J.6.8.5.P.R.S.A......AMBOAMNO........g.V.e.r.b.a.t.i.m.S.T.O.R.E. .N. .G.O....................A.......................:..Gd-.;.A..MQ..L.V.e.r.b.a.t.i.m.S.T.O.R.E. .N. .G.O......AMBO
Boot0002* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.D.R.W.-.2.4.D.5.M.T....................A...........................>..Gd-.;.A..MQ..L.2.K.G.6.A.C.1.A.5.8. .3. . . . . . . . ......AMBO
Boot0003* ubuntu VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0004* UEFI OS HD(1,GPT,7493bc98-9d5b-4253-89a2-542637c5571c,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)AMBO
Boot0005* ubuntu HD(1,GPT,7493bc98-9d5b-4253-89a2-542637c5571c,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0006* UEFI: VerbatimSTORE N GO PciRoot(0x0)/Pci(0x13,0x2)/USB(0,0)/HD(1,MBR,0x2cf4ba3a,0x506fcc,0x1f40)AMBO
85fa9d77b929ec4231aba29476574eb6 sda1/BOOT/fbx64.efi
469e608783843a701d172242f016c79c sda1/BOOT/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0 sda1/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95 sda1/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95 sda1/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, not-far
sda4 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, 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
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda6 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
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, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, customized, sda
sda4 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda5 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda6 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 1.84 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: E0C57DF1-37D4-4FDD-811D-15B18219000F
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 98706873 97656250 46.6G Linux filesystem
sda3 3891947520 3907028991 15081472 7.2G Linux swap
sda4 98707456 196362239 97654784 46.6G Linux filesystem
sda5 196362240 3126048767 2929686528 1.4T Linux filesystem
sda6 3126048768 3891947519 765898752 365.2G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 57.67 GiB, 61907927040 bytes, 120913920 sectors
Disk identifier: 0x2cf4ba3a
Boot Start End Sectors Size Id Type
sdb1 * 0 5999871 5999872 2.9G 0 Empty
sdb2 5271500 5279499 8000 3.9M ef EFI (FAT-12/16/32)
sdb3 6000640 120913919 114913280 54.8G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:2000GB:scsi:512:4096:gpt:ATA TOSHIBA DT01ACA2:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:50.5GB:50.0GB:ext4::;
4:50.5GB:101GB:50.0GB:ext4::;
5:101GB:1601GB:1500GB:ext4::;
6:1601GB:1993GB:392GB:ext4::;
3:1993GB:2000GB:7722MB:linux-swap(v1)::swap;
sdb:61.9GB:scsi:512:512:unknown:Verbatim STORE N GO:;
Free space (filtered): _________________________________________________________
sda:1907729MiB:scsi:512:4096:gpt:ATA TOSHIBA DT01ACA2:;
1:0.02MiB:1.00MiB:0.98MiB:free;
1:48197MiB:48197MiB:0.28MiB:free;
1:1907729MiB:1907729MiB:0.07MiB:free;
sdb:59040MiB:scsi:512:512:unknown:Verbatim STORE N GO:;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat B826-52F7 7493bc98-9d5b-4253-89a2-542637c5571c EFI System Partition
├─sda2 ext4 33277c22-330d-4112-9a5e-8531ecf7cb46 d69b7ca9-b83a-4850-927a-58641c4fd566
├─sda3 swap fd2e9710-050a-4828-b44f-7cb52858c773 b01052ca-6bdb-45d4-b7e8-24cbac587d9b
├─sda4 ext4 70cde517-85b9-47d3-848a-cd3beb480927 a1d3341a-5543-4fc7-b6e9-6ad19d20020d
├─sda5 ext4 1000b8a9-6459-432e-876d-1a2bdceb840b 48e37138-1b7c-49ce-8ada-5cb3849d98e8
└─sda6 ext4 9cfb92c2-1484-4336-b925-31a4af97f1ed 4da61a71-41cb-44d4-b0cc-dce505a81e00
sdb iso9660 2021-08-19-11-03-38-00 Ubuntu 20.04.3 LTS amd64
├─sdb1 iso9660 2021-08-19-11-03-38-00 2cf4ba3a-01 Ubuntu 20.04.3 LTS amd64
├─sdb2 vfat 54C5-9C6C 2cf4ba3a-02
└─sdb3 ext4 1459484f-7ea8-49e9-872d-88d21dcab8f1 2cf4ba3a-03 writable
df (filtered): _________________________________________________________________
Avail Use% Mounted on
disk/by-label/writable[/install-logs-2022-01-20.0/crash] 50.9G 0% /var/crash
disk/by-label/writable[/install-logs-2022-01-20.0/log] 50.9G 0% /var/log
sda1 505.8M 1% /mnt/boot-sav/sda1
sda2 25G 40% /mnt/boot-sav/sda2
sda4 28.7G 32% /mnt/boot-sav/sda4
sda5 1.2T 5% /mnt/boot-sav/sda5
sda6 341G 0% /mnt/boot-sav/sda6
sdb1 0 100% /cdrom
Mount options: __________________________________________________________________
disk/by-label/writable[/install-logs-2022-01-20.0/crash] rw,relatime
disk/by-label/writable[/install-logs-2022-01-20.0/log] rw,relatime
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda2 rw,relatime
sda4 rw,relatime
sda5 rw,relatime
sda6 rw,relatime
sdb1 ro,noatime,nojoliet,check=s,map=n,blocksize=2048
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 70cde517-85b9-47d3-848a-cd3beb480927 root hd0,gpt4
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 33277c22-330d-4112-9a5e-8531ecf7cb46
Ubuntu, avec Linux 5.4.0-96-generic 33277c22-330d-4112-9a5e-8531ecf7cb46
Ubuntu, avec Linux 5.4.0-94-generic 33277c22-330d-4112-9a5e-8531ecf7cb46
Ubuntu, avec Linux 5.4.0-92-generic 33277c22-330d-4112-9a5e-8531ecf7cb46
Linux Mint 20 Ulyana (20) (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 5.4.0-91-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 5.4.0-88-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 5.4.0-84-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Ubuntu 20.04.3 LTS (20.04) (sur sda2) (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Ubuntu, avec Linux 5.4.0-91-generic (sur sda2) (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 5.4.0-77-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 5.0.0-32-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.15.0-142-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.15.0-129-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.15.0-120-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.4.0-190-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.4.0-169-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.4.0-151-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.4.0-142-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.4.0-53-generic (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
Ubuntu (sur sda2) (sur sda4) 70cde517-85b9-47d3-848a-cd3beb480927
### END /etc/grub.d/30_os-prober_proxy ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=33277c22-330d-4112-9a5e-8531ecf7cb46 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=fd2e9710-050a-4828-b44f-7cb52858c773 none swap sw 0 0
UUID=1000b8a9-6459-432e-876d-1a2bdceb840b /home ext4 defaults o 2
======================= sda2/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=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
20,732460022 = 22,261309440 boot/grub/grub.cfg 3
38,709556580 = 41,564069888 boot/grub/i386-pc/core.img 1
3,669944763 = 3,940573184 boot/vmlinuz 2
21,552757263 = 23,142096896 boot/vmlinuz-5.4.0-92-generic 1
44,912132263 = 48,224034816 boot/vmlinuz-5.4.0-94-generic 2
3,669944763 = 3,940573184 boot/vmlinuz-5.4.0-96-generic 2
44,912132263 = 48,224034816 boot/vmlinuz.old 2
5,594722748 = 6,007287808 boot/initrd.img 4
5,110347748 = 5,487194112 boot/initrd.img-5.4.0-92-generic 8
4,922847748 = 5,285867520 boot/initrd.img-5.4.0-94-generic 4
5,594722748 = 6,007287808 boot/initrd.img-5.4.0-96-generic 4
4,922847748 = 5,285867520 boot/initrd.img.old 4
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18151 août 12 09:18 10_linux
-rwxr-xr-x 1 root root 42359 sept. 8 2020 10_linux_zfs
-rwxr-xr-x 1 root root 12894 sept. 8 2020 20_linux_xen
-rwxr-xr-x 1 root root 4809 juin 26 2021 30_os-prober_proxy
-rwxr-xr-x 1 root root 1424 sept. 8 2020 30_uefi-firmware
-rwxr-xr-x 1 root root 253 oct. 6 2020 40_custom
-rwxr-xr-x 1 root root 216 mars 4 2018 41_custom
drwxr-xr-x 4 root root 4096 déc. 29 2020 backup
drwxr-xr-x 2 root root 4096 déc. 29 2020 bin
drwxr-xr-x 2 root root 4096 juin 26 2021 proxifiedScripts
========================== sda2/etc/grub.d/40_custom ===========================
#!/bin/sh
exec tail -n +3 $0
set menu_color_normal=black/light-cyan
# 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.
====================== sda4/boot/grub/grub.cfg (filtered) ======================
Linux Mint 20 Cinnamon 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 5.4.0-91-generic 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 5.4.0-88-generic 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 5.0.0-32-generic 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.15.0-142-generic 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.15.0-129-generic 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.15.0-120-generic 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.4.0-190-generic 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.4.0-169-generic 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.4.0-151-generic 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.4.0-142-generic 70cde517-85b9-47d3-848a-cd3beb480927
Linux Mint 20 Cinnamon, avec Linux 4.4.0-53-generic 70cde517-85b9-47d3-848a-cd3beb480927
Ubuntu 20.04.3 LTS (20.04) (sur sda2) 33277c22-330d-4112-9a5e-8531ecf7cb46
Ubuntu (sur sda2) 33277c22-330d-4112-9a5e-8531ecf7cb46
Ubuntu, avec Linux 5.4.0-96-generic (sur sda2) 33277c22-330d-4112-9a5e-8531ecf7cb46
Ubuntu, avec Linux 5.4.0-94-generic (sur sda2) 33277c22-330d-4112-9a5e-8531ecf7cb46
Ubuntu, avec Linux 5.4.0-92-generic (sur sda2) 33277c22-330d-4112-9a5e-8531ecf7cb46
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda4/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=70cde517-85b9-47d3-848a-cd3beb480927 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=B826-52F7 /boot/efi vfat umask=0077 0 1
======================= sda4/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda4: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
67,431587219 = 72,404115456 boot/grub/grub.cfg 1
61,437732697 = 65,968263168 boot/vmlinuz 2
49,576934814 = 53,232828416 boot/vmlinuz-4.15.0-120-generic 1
92,086910248 = 98,877566976 boot/vmlinuz-4.15.0-129-generic 1
92,153369904 = 98,948927488 boot/vmlinuz-4.15.0-142-generic 1
52,831287384 = 56,727162880 boot/vmlinuz-4.4.0-142-generic 1
54,814392090 = 58,856505344 boot/vmlinuz-4.4.0-151-generic 1
56,644969940 = 60,822073344 boot/vmlinuz-4.4.0-169-generic 1
59,840656281 = 64,253415424 boot/vmlinuz-4.4.0-190-generic 1
67,362781525 = 72,330235904 boot/vmlinuz-4.4.0-53-generic 1
90,669296265 = 97,355415552 boot/vmlinuz-5.0.0-32-generic 1
54,679912567 = 58,712109056 boot/vmlinuz-5.4.0-88-generic 2
61,437732697 = 65,968263168 boot/vmlinuz-5.4.0-91-generic 2
54,679912567 = 58,712109056 boot/vmlinuz.old 2
90,669296265 = 97,355415552 vmlinuz 1
53,714412689 = 57,675411456 boot/initrd.img 3
64,953189850 = 69,742956544 boot/initrd.img-4.15.0-120-generic 6
64,946712494 = 69,736001536 boot/initrd.img-4.15.0-129-generic 4
64,387691498 = 69,135757312 boot/initrd.img-4.15.0-142-generic 4
65,653316498 = 70,494711808 boot/initrd.img-4.4.0-142-generic 4
65,587600708 = 70,424150016 boot/initrd.img-4.4.0-151-generic 5
65,575141907 = 70,410772480 boot/initrd.img-4.4.0-169-generic 2
65,000541687 = 69,793800192 boot/initrd.img-4.4.0-190-generic 4
65,711048126 = 70,556700672 boot/initrd.img-4.4.0-53-generic 3
64,317470551 = 69,060358144 boot/initrd.img-5.0.0-32-generic 4
62,597206116 = 67,213238272 boot/initrd.img-5.4.0-88-generic 3
53,714412689 = 57,675411456 boot/initrd.img-5.4.0-91-generic 3
62,597206116 = 67,213238272 boot/initrd.img.old 3
64,317470551 = 69,060358144 initrd.img 4
===================== sda4: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18151 août 12 09:18 10_linux
-rwxr-xr-x 1 root root 12273 oct. 5 2020 10_linux.dpkg-old
-rwxr-xr-x 1 root root 42359 mai 20 2021 10_linux_zfs
-rwxr-xr-x 1 root root 10634 oct. 1 2012 10_lupin
-rwxr-xr-x 1 root root 12894 mai 20 2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 févr. 24 2021 30_os-prober
-rwxr-xr-x 1 root root 1424 mai 20 2021 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 23 2016 40_custom
-rwxr-xr-x 1 root root 216 juil. 23 2016 41_custom
=========================== sda4/etc/grub.d/10_lupin ===========================
#! /bin/sh
set -e
# grub-mkconfig helper script for lupin. Some of this is based on 10_linux,
# but with irrelevant bits removed and the rest extended to cope with
# loopback mounts.
#
# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
# Copyright (C) 2009 Canonical Ltd.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
prefix="/usr"
exec_prefix="${prefix}"
datarootdir="${prefix}/share"
. "${datarootdir}/grub/grub-mkconfig_lib"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
CLASS="--class gnu-linux --class gnu --class os"
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux
else
OS="${GRUB_DISTRIBUTOR}"
CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1) ${CLASS}"
fi
case ${GRUB_DEVICE} in
/dev/loop/*|/dev/loop[0-9])
loop_file=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
;;
esac
# Is the root filesystem loop-mounted from a file on another filesystem?
if [ "x${loop_file}" = x ] || [ ! -f "${loop_file}" ]; then
exit 0
fi
dev_mountpoint="$(awk '"'${loop_file}'" ~ "^"$2 && $2 != "/" { print $1";"$2 }' /proc/mounts | tail -n1)"
host_device="${dev_mountpoint%;*}"
host_mountpoint="${dev_mountpoint#*;}"
if [ "x${host_device}" = x ]; then
exit 0
fi
loop_file_relative="${loop_file#$host_mountpoint}"
# Device containing the host filesystem.
host_device_uuid="`${grub_probe} --device "${host_device}" --target=fs_uuid 2> /dev/null`" || true
if [ "x${host_device_uuid}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
|| ! test -e "/dev/disk/by-uuid/${host_device_uuid}" \
|| [ "`${grub_probe} -t abstraction --device ${host_device} | sed -e 's,.*\(lvm\).*,\1,'`" = "lvm" ] ; then
LINUX_HOST_DEVICE=${host_device}
else
LINUX_HOST_DEVICE=UUID=${host_device_uuid}
fi
GRUBFS="`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2>/dev/null || true`"
if [ x"$GRUBFS" = x ]; then
GRUBFS="$(stat -f --printf=%T / || true)"
fi
case x"$GRUBFS" in
xbtrfs)
rootsubvol="`make_system_path_relative_to_its_root /`"
rootsubvol="${rootsubvol#/}"
if [ "x${rootsubvol}" != x ]; then
GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
fi;;
xzfs)
rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs}"
;;
esac
title_correction_code=
for word in $GRUB_CMDLINE_LINUX_DEFAULT; do
if [ "$word" = splash ]; then
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"
fi
done
# add crashkernel option if we have the required tools
if [ -x "/usr/bin/makedumpfile" ] && [ -x "/sbin/kexec" ]; then
GRUB_CMDLINE_EXTRA="$GRUB_CMDLINE_EXTRA crashkernel=384M-2G:64M,2G-:128M"
fi
lupin_entry ()
{
os="$1"
version="$2"
type="$3"
args="$4"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
if [ x$type != xsimple ] ; then
case $type in
recovery)
title="$(gettext_printf "%s, with Linux %s (recovery mode)" "${os}" "${version}")" ;;
*)
title="$(gettext_printf "%s, with Linux %s" "${os}" "${version}")" ;;
esac
if [ x"$title" = x"$GRUB_ACTUAL_DEFAULT" ] || [ x"Previous Linux versions>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
fi
echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
else
echo "menuentry '$(echo "$os" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
fi
if [ x$type != xrecovery ] ; then
save_default_entry | sed -e "s/^/\t/"
echo " gfxmode \$linux_gfx_mode" | sed "s/^/$submenu_indentation/"
fi
echo " insmod gzio" | sed "s/^/$submenu_indentation/"
if [ -z "${prepare_boot_cache}" ]; then
prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/")"
fi
printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
if [ x$type != xsimple ]; then
message="$(gettext_printf "Loading Linux %s ..." ${version})"
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
linux ${rel_dirname}/${basename} root=${LINUX_HOST_DEVICE} loop=${loop_file_relative} ro ${args}
EOF
if test -n "${initrd}" ; then
# TRANSLATORS: ramdisk isn't identifier. Should be translated.
if [ x$type != xsimple ]; then
message="$(gettext_printf "Loading initial ramdisk ...")"
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
initrd ${rel_dirname}/${initrd}
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
}
EOF
}
machine=`uname -m`
case "x$machine" in
xi?86 | xx86_64)
list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done` ;;
*)
list=`for i in /boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* /boot/kernel-* ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done` ;;
esac
case "$machine" in
i?86) GENKERNEL_ARCH="x86" ;;
mips|mips64) GENKERNEL_ARCH="mips" ;;
mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
arm*) GENKERNEL_ARCH="arm" ;;
*) GENKERNEL_ARCH="$machine" ;;
esac
prepare_boot_cache=
boot_device_id=
title_correction_code=
cat << 'EOF'
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
EOF
# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ]; then
echo "set linux_gfx_mode=$GRUB_GFXPAYLOAD_LINUX"
else
cat << EOF
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
EOF
fi
cat << EOF
export linux_gfx_mode
if [ "\${linux_gfx_mode}" != "text" ]; then load_video; fi
EOF
# Extra indentation to add to menu entries in a submenu. We're not in a submenu
# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
submenu_indentation=""
is_first_entry=true
while [ "x$list" != "x" ] ; do
linux=`version_find_latest $list`
gettext_printf "Found linux image: %s\n" "$linux" >&2
basename=`basename $linux`
dirname=`dirname $linux`
rel_dirname=`make_system_path_relative_to_its_root $dirname`
version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
alt_version=`echo $version | sed -e "s,\.old$,,g"`
linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
initrd=
for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
"initrd-${version}" "initramfs-${version}.img" \
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
"initramfs-genkernel-${version}" \
"initramfs-genkernel-${alt_version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
if test -e "${dirname}/${i}" ; then
initrd="$i"
break
fi
done
config=
for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
if test -e "${i}" ; then
config="${i}"
break
fi
done
initramfs=
if test -n "${config}" ; then
initramfs=`grep CONFIG_INITRAMFS_SOURCE= "${config}" | cut -f2 -d= | tr -d \"`
fi
if test -n "${initrd}" ; then
gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
else
# None of this can work without an initrd, so don't even bother.
list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
continue
fi
if [ "x$is_first_entry" = xtrue ]; then
lupin_entry "${OS}" "${version}" simple \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_EXTRA} ${GRUB_CMDLINE_LINUX_DEFAULT}"
submenu_indentation="\t"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
# TRANSLATORS: %s is replaced with an OS name
echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
fi
lupin_entry "${OS}" "${version}" advanced \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_EXTRA} ${GRUB_CMDLINE_LINUX_DEFAULT}"
if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
if [ -x /lib/recovery-mode/recovery-menu ]; then
lupin_entry "${OS}" "${version}" recovery \
"recovery nomodeset ${GRUB_CMDLINE_LINUX}"
else
lupin_entry "${OS}" "${version}" recovery \
"single nomodeset ${GRUB_CMDLINE_LINUX}"
fi
fi
list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
is_first_entry=false
done
# If at least one kernel was found, then we need to
# add a closing '}' for the submenu command.
if [ x"$is_first_entry" != xtrue ]; then
echo '}'
fi
echo "$title_correction_code"
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda2,
using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.3 LTS entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
Ok pour moi , ca me parait bon , tu peux lancer la reparation du coup
Dernière modification par iznobe (Le 20/01/2022, à 17:01)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#33 Le 20/01/2022, à 17:27
- didierfou
Re : Grub ne lance pas Ubuntu
je vais réessayer demain boot-repair après ça
df
Ubuntu 22.04 Jammy Jellyfish (x86-64) Cinnamon 5.2.7 Noyau5.15.0-116-generic Processeur A4-6300 APU with radeon HD graphics x1 Mémoire vive 7Go DD 1500Go carte graphique : advanced micro devices,inc (AMD/ATI) Richland Radeon HD 8370D (pror-if 00 VGA controller)
Hors ligne
#34 Le 21/01/2022, à 12:50
- didierfou
Re : Grub ne lance pas Ubuntu
Bonjour
En fait, je vais surseoir un peu à cette modif, car j'ai un besoin crucial de l'ordi en ce moment, et je voudrais pas m'en être privé en faisant un mauvaise manipulation (qui est dans mes capacités !)
Je reviendrais vers vous dés que le temps sera éclairci !
merci d'avance
à suivre
df
Ubuntu 22.04 Jammy Jellyfish (x86-64) Cinnamon 5.2.7 Noyau5.15.0-116-generic Processeur A4-6300 APU with radeon HD graphics x1 Mémoire vive 7Go DD 1500Go carte graphique : advanced micro devices,inc (AMD/ATI) Richland Radeon HD 8370D (pror-if 00 VGA controller)
Hors ligne