Bonjour,
Je suis nouveau dans l’environnement ubuntu. Suite à un 1er essaie de migration de windows à xubuntu ou tout c'est très bien passé, j'ai réitérer l'expérience avec un autre ordinateur ou windows était pré-installé.
Le disque à été effacer volontairement au moment de l’installation pour avoir un seul environnement et ne pas avoir de dual boot et l'ordinateur semble être configurer en mode EFI.
Depuis l’installation à chaque démarrage l’ordinateur peine à se lancer. En effet, je suis obligé de booter plusieurs fois (3, 5 ou 7 fois) pour qu’enfin apparaisse grub et me permettre d’essayer de démarrer en mode normale ou Rescue.
Du coup, quand j’allume l’ordinateur pour la 1er fois de la journée, il y a juste en écran gris, je le force à s’éteindre et dès que je le rallume il arrive sur GRUB et me propose deux environnent generic et deux modes sans echec.
A partir de là, quelque soit l’environnement choisi, il continu immédiatement sur :
Chargement de linux 5.8.0-25-generic…
Chargement du disque mémoire initial…
Et puis, plus rien.
Au bout de plusieurs démarrage, il démarre correctement de façon tout a fait aléatoire soit en mode normal, soit en mode sans échec et une fois démarrer, tout se passe très bien.
J’ai réinstaller 3 fois xubuntu et à chaque fois c’est la même choses…
Vous trouverez ci-dessous le rapport de l’application boot-repair :
boot-repair-4ppa125 [20210108_1401]
============================= Boot Repair Summary ==============================
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..
/usr/share/boot-sav/bs-cmd_terminal.sh: ligne 177: avertissement : substitution de commande: octet nul ignoré en entrée
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
sda2,
using the following options: sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
/boot/efi added in sda2/fstab
sda2/boot/efi not empty
Unhide GRUB boot menu in sda2/etc/default/grub
================= Reinstall the grub-efi-amd64-signed of sda2 ==================
grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.7
efibootmgr -v from chroot before grub install
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0004,0005,0006,0007,0000,0001
Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}...9................
Boot0001* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}...3................
Boot0004* ubuntu HD(1,GPT,eeb5ae48-ea7d-412b-b9ad-54ab80eebbbb,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)
Boot0005* ubuntu HD(1,GPT,eeb5ae48-ea7d-412b-b9ad-54ab80eebbbb,0x800,0x100000)/File(EFIUBUNTUGRUBX64.EFI)..BO
Boot0006* UEFI: SMI USB DISK 1100 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(2,0)/CDROM(1,0x33ac,0x7c00)..BO
Boot0007* UEFI: SMI USB DISK 1100, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(2,0)/HD(1,MBR,0x5ee6f53f,0x33ac,0x1f00)..BO
uname -r
5.4.0-59-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v from chroot after grub install
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0004,0006,0007,0000,0001
Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}...9................
Boot0001* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}...3................
Boot0004* ubuntu HD(1,GPT,eeb5ae48-ea7d-412b-b9ad-54ab80eebbbb,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0006* UEFI: SMI USB DISK 1100 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(2,0)/CDROM(1,0x33ac,0x7c00)..BO
Boot0007* UEFI: SMI USB DISK 1100, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(2,0)/HD(1,MBR,0x5ee6f53f,0x33ac,0x1f00)..BO
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-60-generic
Found initrd image: /boot/initrd.img-5.4.0-60-generic
Found linux image: /boot/vmlinuz-5.4.0-59-generic
Found initrd image: /boot/initrd.img-5.4.0-59-generic
Found linux image: /boot/vmlinuz-5.4.0-58-generic
Found initrd image: /boot/initrd.img-5.4.0-58-generic
Found linux image: /boot/vmlinuz-5.4.0-42-generic
Found initrd image: /boot/initrd.img-5.4.0-42-generic
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Adding boot menu entry for UEFI Firmware Settings
Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
Une erreur est survenue pendant la réparation.
Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de faire démarrer votre firmware UEFI sur l'entrée L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession (fichier sda1/EFI/ubuntu/shimx64.efi) !
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/sda.
=> MS-DOS 3.30 through Windows 95 (A) is installed in the MBR of /dev/sdc.
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/bkpbootx64.efi /efi/BOOT/bootx64.efi
/efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi
/efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/grub.cfg
sda2: __________________________________________________________________________
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
sdc1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows XP: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
================================ 1 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sda2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-59-generic root=UUID=f894d6af-339c-4d8f-94d6-95d1c3ceb5d8 ro quiet splash
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0004,0005,0006,0007,0000,0001
Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}...9................
Boot0001* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}...3................
Boot0004* ubuntu HD(1,GPT,eeb5ae48-ea7d-412b-b9ad-54ab80eebbbb,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0005* ubuntu HD(1,GPT,eeb5ae48-ea7d-412b-b9ad-54ab80eebbbb,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)..BO
Boot0006* UEFI: SMI USB DISK 1100 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(2,0)/CDROM(1,0x33ac,0x7c00)..BO
Boot0007* UEFI: SMI USB DISK 1100, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(2,0)/HD(1,MBR,0x5ee6f53f,0x33ac,0x1f00)..BO
78415fb8fb9b909f8029858113f1335f sda1/BOOT/bootx64.efi
2895d47544fd587b26c7e29be1295c27 sda1/BOOT/fbx64.efi
d8b4b9ae3018b1f4612611be7f42507a sda1/BOOT/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sda1/BOOT/mmx64.efi
8ed07d5ee4e5e1534bcf64037b7589ff sda1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sda1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f sda1/ubuntu/shimx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
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: 29.83 GiB, 32008606208 bytes, 62516809 sectors
Disk identifier: 7200EC06-B8C0-4BEF-92C4-C87A03A94946
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 62515199 61464576 29.3G Linux filesystem
Disk sdb: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk identifier: 0x5ee6f53f
Boot Start End Sectors Size Id Type
sdb1 * 0 3319487 3319488 1.6G 0 Empty
sdb2 13228 21163 7936 3.9M ef EFI (FAT-12/16/32)
sdb3 3321856 61439999 58118144 27.7G 83 Linux
Disk sdc: 30 GiB, 32212254720 bytes, 62914560 sectors
Disk identifier: 0x3c6bce90
Boot Start End Sectors Size Id Type
sdc1 2048 62910463 62908416 30G b W95 FAT32
parted -lm (filtered): _________________________________________________________
sda:32.0GB:scsi:512:512:gpt:ATA :;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:32.0GB:31.5GB:ext4::;
sdb:31.5GB:scsi:512:512:unknown:SMI USB DISK:;
sdc:32.2GB:scsi:512:512:msdos:General UDisk:;
1:1049kB:32.2GB:32.2GB:fat32::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 894D-55E8 eeb5ae48-ea7d-412b-b9ad-54ab80eebbbb EFI System Partition
└─sda2 ext4 f894d6af-339c-4d8f-94d6-95d1c3ceb5d8 de88cad5-e410-4157-97cb-86fc2adbd2a5
sdb iso9660 2020-07-31-16-49-35-00 Xubuntu 20.04.1 LTS amd64
├─sdb1 iso9660 2020-07-31-16-49-35-00 5ee6f53f-01 Xubuntu 20.04.1 LTS amd64
├─sdb2 vfat C26E-047E 5ee6f53f-02
└─sdb3 ext4 40709b33-8c7f-4fce-97a4-0d406aff103d 5ee6f53f-03 writable
sdc
└─sdc1 vfat 78E3-35E0 3c6bce90-01 ALEXDICI
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda2 11.7G 54% /
sdc1 21.6G 28% /media/zic/ALEXDICI
Mount options: __________________________________________________________________
sda2 rw,relatime,errors=remount-ro
sdc1 rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid f894d6af-339c-4d8f-94d6-95d1c3ceb5d8 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu f894d6af-339c-4d8f-94d6-95d1c3ceb5d8
Ubuntu, with Linux 5.4.0-60-generic f894d6af-339c-4d8f-94d6-95d1c3ceb5d8
Ubuntu, with Linux 5.4.0-59-generic f894d6af-339c-4d8f-94d6-95d1c3ceb5d8
Ubuntu, with Linux 5.4.0-58-generic f894d6af-339c-4d8f-94d6-95d1c3ceb5d8
Ubuntu, with Linux 5.4.0-42-generic f894d6af-339c-4d8f-94d6-95d1c3ceb5d8
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### 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=f894d6af-339c-4d8f-94d6-95d1c3ceb5d8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
/swapfile none swap sw 0 0
UUID=894D-55E8 /boot/efi vfat defaults 0 1
======================= 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)
18,666057587 = 20,042526720 boot/grub/grub.cfg 1
19,972797394 = 21,445627904 boot/vmlinuz 1
4,254024506 = 4,567724032 boot/vmlinuz-5.4.0-42-generic 1
5,496231079 = 5,901533184 boot/vmlinuz-5.4.0-58-generic 1
13,472797394 = 14,466306048 boot/vmlinuz-5.4.0-59-generic 1
19,972797394 = 21,445627904 boot/vmlinuz-5.4.0-60-generic 1
13,472797394 = 14,466306048 boot/vmlinuz.old 1
16,263427734 = 17,462722560 boot/initrd.img 4
15,391353607 = 16,526340096 boot/initrd.img-5.4.0-42-generic 1
15,344516754 = 16,476049408 boot/initrd.img-5.4.0-58-generic 1
15,297645569 = 16,425721856 boot/initrd.img-5.4.0-59-generic 3
16,263427734 = 17,462722560 boot/initrd.img-5.4.0-60-generic 4
15,297645569 = 16,425721856 boot/initrd.img.old 3
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 nov. 13 00:15 10_linux
-rwxr-xr-x 1 root root 42359 nov. 13 00:15 10_linux_zfs
-rwxr-xr-x 1 root root 12894 juil. 31 02:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 31 02:34 30_os-prober
-rwxr-xr-x 1 root root 1424 juil. 31 02:34 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 31 02:34 40_custom
-rwxr-xr-x 1 root root 216 juil. 31 02:34 41_custom
====================== sdb/boot/grub/grub.cfg (filtered) =======================
Try Xubuntu without installing
Try Xubuntu without installing (safe graphics)
Install Xubuntu
Install Xubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
==================== sdb: Location of files loaded by Grub =====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sdb
00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |..D.....f@.....f|
000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |.....<.u........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 1c 83 2f 00 00 00 00 00 3f f5 e6 5e 00 00 80 00 |../.....?..^....|
000001c0 01 00 00 65 e0 f8 00 00 00 00 c0 a6 32 00 00 fe |...e........2...|
000001d0 ff ff ef fe ff ff ac 33 00 00 00 1f 00 00 00 c5 |.......3........|
000001e0 38 ce 83 76 86 f0 00 b0 32 00 00 d0 76 03 00 00 |8..v....2...v...|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
Par avance, merci de votre aide.
Alex