Pages : 1
#1 Le 07/01/2023, à 18:46
- zorgol
[Résolu] Mauvaise installation du GRUB
Bonjour,
Je suis de retour sur Ubuntu après une longue absence, bref je suis un faux débutant mais éternel débutant quand même.
Je viens d'installer Ubuntu sur un mini PC tout neuf dans lequel j'ai ajouté un SSD.
L'idée étant d'installer Ubuntu sur ce nouveau SSD et de conserver win11 sur le disque principal.
J'ai commencé par formater mon nouveau SSD avec 3 partitions puis j'ai lancé l'instal en choisissant l'option "Autre"
Mais j'ai du cafouiller quelque part car je n'ai pas l'option Ubuntu au démarrage.
J'ai donc rebooté en live et lancé la commande boot-info que je livre ci-dessous mais je n'ai pas tout compris dans les suggestion de réparation proposées à la fin du fichier.
Pouvez-vous m'aider ?
Faut-il que je relance l'installation ?
boot-info-4ppa203 [20230107_1714]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> libparted MBR boot code is installed in the MBR of /dev/sdb.
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdc.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/10/11/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bootx64.efi /efi/Boot/fbx64.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 /bootmgr /boot/bcd
sda2: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10 or 11
Boot files: /Windows/System32/winload.exe
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdc1: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg
/efi/boot/bootx64.efi /efi/boot/grubx64.efi
/efi/boot/mmx64.efi /ldlinux.sys
================================ 2 OS detected =================================
OS#1: Ubuntu 22.04.1 LTS on sdb1
OS#2: Windows 10 or 11 on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GeminiLake [UHD Graphics 600] from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.1 LTS, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: GK1V6101(5.13) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0004
Timeout: 3 seconds
BootOrder: 0004,0000,0001,0002,0003
Boot0000* Windows Boot Manager HD(1,GPT,d89e52ae-96f8-4922-9be4-4366e7fe3643,0x800,0x32000)/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.}...P................
Boot0001* ubuntu HD(1,GPT,d89e52ae-96f8-4922-9be4-4366e7fe3643,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0002 Hard Drive BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........K.A.E.2.0.0.0.A.2.5.6.N.S.4.7...................\.,.@.r.d.=.X..........A...........................>..Gd-.;.A..MQ..L.0.0.B.1.2.2.1.1.0.0.0.1.0.0.9.8. . . . ........BO..NO..........S.P.C.C. .S.o.l.i.d. .S.t.a.t.e. .D.i.s.k...................\.,.@.r.d.=.X..........A...........................>..Gd-.;.A..MQ..L.A.A.A.A.0.0.0.0.0.0.0.0.0.0.1.0.2.5.1.8........BO
Boot0003 USB BBS(USB,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0500)..GO..NO.........U.S.B. .D.i.s.k. .2...0. .2...0.0...................\.,.@.r.d.=.X..........A.......................<..Gd-.;.A..MQ..L.3.5.5.2.3.2.1.1.3.2.6.0.8.4.3.1.8.5.1........BO
Boot0004* UEFI: USB Disk 2.0 2.00, Partition 1 PciRoot(0x0)/Pci(0x15,0x0)/USB(5,0)/HD(1,MBR,0xa0865c,0x40,0xe87fc0)..BO
728124f6ec8e22fbdbe7034812c81b95 sda1/Boot/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271 sda1/Boot/fbx64.efi
fdafb5eece6caeccb788c946a28e6872 sda1/Boot/mmx64.efi
3795ef72a4ed0369ca44e711527904bf sda1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872 sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95 sda1/ubuntu/shimx64.efi
07a7ced3085173b26c2bd4bdec6f2164 sda1/Microsoft/Boot/bootmgfw.efi
d8ebd12190e73aa742a97caa56be7785 sda1/Microsoft/Boot/bootmgr.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda3 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
sdb2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb3 : no-os, 64, 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, bootmgr, is-winboot
sda3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sdb1 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb3 : 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, no--grub.d, sda
sda3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdb1 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
sdb2 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb3 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: AAAAABEB-B36C-42C6-BBDC-5975FFECB277
Start End Sectors Size Type
sda1 2048 206847 204800 100M EFI System
sda2 206848 239615 32768 16M Microsoft reserved
sda3 239616 498479103 498239488 237.6G Microsoft basic data
sda4 498479104 500117503 1638400 800M Windows recovery environment
Disk sdb: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk identifier: 0x9c79157b
Boot Start End Sectors Size Id Type
sdb1 2048 61441501 61439454 29.3G 83 Linux
sdb2 61442048 573442047 512000000 244.1G 83 Linux
sdb3 573442048 2000408575 1426966528 680.4G 83 Linux
Disk sdc: 7.27 GiB, 7801405440 bytes, 15237120 sectors
Disk identifier: 0x00a0865c
Boot Start End Sectors Size Id Type
sdc1 * 64 15237119 15237056 7.3G b W95 FAT32
parted -lm (filtered): _________________________________________________________
sda:256GB:scsi:512:512:gpt:ATA KAE2000A256NS47:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:255GB:255GB:ntfs:Basic data partition:msftdata;
4:255GB:256GB:839MB:ntfs::hidden, diag;
sdb:1024GB:scsi:512:512:msdos:ATA SPCC Solid State:;
1:1049kB:31.5GB:31.5GB:ext4::;
2:31.5GB:294GB:262GB:ext4::;
3:294GB:1024GB:731GB:ext4::;
sdc:7801MB:scsi:512:512:msdos:USB Disk 2.0:;
1:32.8kB:7801MB:7801MB:fat32::boot;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat D65C-9C2B d89e52ae-96f8-4922-9be4-4366e7fe3643 SYSTEM EFI system partition
├─sda2 5807b44c-0e01-46af-81b3-62e225a0f6fa Microsoft reserved partition
├─sda3 ntfs CE185D88185D7107 18046f95-9b6b-4a9a-8dbe-278e5cc8c0d1 Windows Basic data partition
└─sda4 ntfs E4F05E53F05E2C54 9713de39-3690-477d-b69b-2137db3f804d Recovery Basic data partition
sdb
├─sdb1 ext4 ae6d3f88-ce5f-4d4a-abbe-efafc7ee0ab9 9c79157b-01
├─sdb2 ext4 ed1fb8ad-8ccf-48ee-88f2-ac0ac39032bd 9c79157b-02
└─sdb3 ext4 3b84a001-6294-40d7-82c8-bb1fefb92c8f 9c79157b-03
sdc
└─sdc1 vfat 00A0-865C 00a0865c-01
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 44.9M 53% /mnt/boot-sav/sda1
/dev/sda3 190.5G 20% /mnt/boot-sav/sda3
/dev/sda4 285.3M 64% /mnt/boot-sav/sda4
/dev/sdb1 18.9G 29% /mnt/boot-sav/sdb1
/dev/sdb2 227G 0% /mnt/boot-sav/sdb2
/dev/sdb3 634.6G 0% /mnt/boot-sav/sdb3
/dev/sdc1 3.6G 51% /cdrom
Mount options (filtered): ______________________________________________________
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid ae6d3f88-ce5f-4d4a-abbe-efafc7ee0ab9 root hd1,msdos1
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdb1/boot/grub/grub.cfg (filtered) ======================
Ubuntu ae6d3f88-ce5f-4d4a-abbe-efafc7ee0ab9
Ubuntu, with Linux 5.15.0-57-generic ae6d3f88-ce5f-4d4a-abbe-efafc7ee0ab9
Ubuntu, with Linux 5.15.0-43-generic ae6d3f88-ce5f-4d4a-abbe-efafc7ee0ab9
Windows Boot Manager (on sda1) osprober-efi-D65C-9C2B
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sdb1/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb1 during installation
UUID=ae6d3f88-ce5f-4d4a-abbe-efafc7ee0ab9 / ext4 errors=remount-ro 0 1
# /DATA was on /dev/sdb3 during installation
UUID=3b84a001-6294-40d7-82c8-bb1fefb92c8f /DATA ext4 defaults 0 2
# /boot/efi was on /dev/sda1 during installation
UUID=D65C-9C2B /boot/efi vfat umask=0077 0 1
# /home was on /dev/sdb2 during installation
UUID=ed1fb8ad-8ccf-48ee-88f2-ac0ac39032bd /home ext4 defaults 0 2
======================= sdb1/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=""
==================== sdb1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
24,374568939 = 26,171994112 boot/grub/grub.cfg 1
17,199230194 = 18,467532800 boot/vmlinuz 1
6,378490448 = 6,848851968 boot/vmlinuz-5.15.0-43-generic 1
17,199230194 = 18,467532800 boot/vmlinuz-5.15.0-57-generic 1
6,378490448 = 6,848851968 boot/vmlinuz.old 1
22,481891632 = 24,139747328 boot/initrd.img 1
18,809062958 = 20,196077568 boot/initrd.img-5.15.0-43-generic 2
22,481891632 = 24,139747328 boot/initrd.img-5.15.0-57-generic 1
18,809062958 = 20,196077568 boot/initrd.img.old 2
===================== sdb1: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Apr 15 2022 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 Apr 15 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Feb 19 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 15 2022 40_custom
-rwxr-xr-x 1 root root 215 Apr 15 2022 41_custom
====================== sdc1/boot/grub/grub.cfg (filtered) ======================
Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory
========================= sdc1/syslinux.cfg (filtered) =========================
default menu.c32
prompt 0
menu title UNetbootin
timeout 100
label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
label ubnentry0
menu label Try or Install Ubuntu
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
label ubnentry1
menu label Ubuntu (safe graphics)
kernel /casper/vmlinuz
append initrd=/casper/initrd nomodeset file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
label ubnentry2
menu label OEM install (for manufacturers)
kernel /casper/vmlinuz
append initrd=/casper/initrd file=/cdrom/preseed/ubuntu.seed only-ubiquity oem-config/enable=true quiet splash ---
==================== sdc1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================== sdc1: Location of files loaded by Syslinux ==================
GiB - GB File Fragment(s)
?? = ?? syslinux.cfg 1
?? = ?? ldlinux.sys 1
?? = ?? menu.c32 1
=============== sdc1: Version of COM32(R) files used by Syslinux ===============
menu.c32 : COM32R module (v4.xx)
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdb1,
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 22.04.1 LTS entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\grub****.efi (**** will be updated in the final message)
Dernière modification par zorgol (Le 07/01/2023, à 23:37)
Il faut manger pour vivre et non pas vivre pour manger. De même qu'il faut boire pour vivre et non pas vivre sans boire, sinon c'est dégueulasse. [Pierre Desproges]
http://zorgol.fr/
Hors ligne
#2 Le 07/01/2023, à 22:12
- geole
Re : [Résolu] Mauvaise installation du GRUB
Bonsoir.
Va dans le bios de ton mini-pc et tente de choisir UBUNTU
BootCurrent: 0004
Timeout: 3 seconds
BootOrder: 0004,0000,0001,0002,0003
Boot0000* Windows Boot Manager HD(1,GPT,d89e52ae-96f8-4922-9be4-4366e7fe3643,0x800,0x32000)/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.}...P................
Boot0001* ubuntu HD(1,GPT,d89e52ae-96f8-4922-9be4-4366e7fe3643,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0002 Hard Drive BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........K.A.E.2.0.0.0.A.2.5.6.N.S.4.7...................\.,.@.r.d.=.X..........A...........................>..Gd-.;.A..MQ..L.0.0.B.1.2.2.1.1.0.0.0.1.0.0.9.8. . . . ........BO..NO..........S.P.C.C. .S.o.l.i.d. .S.t.a.t.e. .D.i.s.k...................\.,.@.r.d.=.X..........A...........................>..Gd-.;.A..MQ..L.A.A.A.A.0.0.0.0.0.0.0.0.0.0.1.0.2.5.1.8........BO
Boot0003 USB BBS(USB,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0500)..GO..NO.........U.S.B. .D.i.s.k. .2...0. .2...0.0...................\.,.@.r.d.=.X..........A.......................<..Gd-.;.A..MQ..L.3.5.5.2.3.2.1.1.3.2.6.0.8.4.3.1.8.5.1........BO
Boot0004* UEFI: USB Disk 2.0 2.00, Partition 1 PciRoot(0x0)/Pci(0x15,0x0)/USB(5,0)/HD(1,MBR,0xa0865c,0x40,0xe87fc0)..BO
Sinon, il faudra demander à windows.
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\uuntu\grubx64.efi
Dernière modification par geole (Le 07/01/2023, à 22:15)
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
#3 Le 07/01/2023, à 23:36
- zorgol
Re : [Résolu] Mauvaise installation du GRUB
Merci beaucoup, j'ai réussi à modifier le BIOS pour qu'il boot en priorité sur le disque Ubuntu et ça fonctionne.
La galère est que chaque PC a un bios différent et il n'est pas évident d'y trouver son chemin.
Ubuntu fonctionne super et c'est le principal, cette version a l'air bien abouti, je vais enfin pouvoir me passer de Windaube.
Il faut manger pour vivre et non pas vivre pour manger. De même qu'il faut boire pour vivre et non pas vivre sans boire, sinon c'est dégueulasse. [Pierre Desproges]
http://zorgol.fr/
Hors ligne
Pages : 1