Bonjour,
J'ai installé ubuntu 20.04 KDE Plasma sur un Macbook 13 pouces Aluminium de juin 2009 avec ubuntu comme system unique.
(J'ai fait cela afin de pouvoir utiliser un logiciel libre non maintenu sur Mac )
Cela fonctionne très bien le seul problème est le temps de boot que je trouve très long et un peu étrange.
Il se déroule ainsi
Timing du boot:
- 0s bruit que fait le mac au boot puis écran blanc
- 15s écran noir avec le caractère _ approximativement ligne 5 col
- 50s le caractère _ disparait. L'écran reste noir
- 1min 20s Un écran NVIDIA apparait
- 1min 40s L'écran de connection ubuntu apparait enfin
J'ai fait un boot info que voici
boot-info-4ppa125 [20210227_1107]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
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/grub.cfg
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
================================ 1 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession 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=b889fdf8-1c5d-4389-a1b5-3d03c2b9879b ro quiet splash vt.handoff=7
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
efibootmgr -v
BootCurrent: 0000
BootOrder: 0000,0080
Boot0000* ubuntu HD(1,GPT,4f662f05-472c-4fe7-81b6-64f89a6ec38b,0x800,0x100000)/File(\EFI\ubuntu\grubx64.efi)
Boot0080* Mac OS X PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
Boot0081* Mac OS X PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
Boot0082* PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
BootFFFF* PciRoot(0x0)/Pci(0x4,0x1)/USB(0,0)/HD(1,MBR,0x3a34e6,0x800,0xf14800)/File(\EFI\BOOT\BOOTX64.efi)
2895d47544fd587b26c7e29be1295c27 sda1/BOOT/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sda1/BOOT/mmx64.efi
637fa7fabc8a2f70312edf2f15e275ff sda1/ubuntu/grubx64.efi
637fa7fabc8a2f70312edf2f15e275ff sda1/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
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
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
fdisk -l (filtered): ___________________________________________________________
Disk sda: 149.5 GiB, 160041885696 bytes, 312581808 sectors
Disk identifier: D982346E-0529-433C-A580-5BBF0CE6A959
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 312580095 311529472 148.6G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:160GB:scsi:512:512:gpt:ATA FUJITSU MHZ2160B:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:160GB:160GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat C23E-D29B 4f662f05-472c-4fe7-81b6-64f89a6ec38b EFI System Partition
└─sda2 ext4 b889fdf8-1c5d-4389-a1b5-3d03c2b9879b 8e155749-71c9-48fa-96d8-8fb5c68cc800
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda2 126.7G 8% /
Mount options: __________________________________________________________________
sda2 rw,relatime,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid b889fdf8-1c5d-4389-a1b5-3d03c2b9879b root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu b889fdf8-1c5d-4389-a1b5-3d03c2b9879b
Ubuntu, with Linux 5.4.0-65-generic b889fdf8-1c5d-4389-a1b5-3d03c2b9879b
Ubuntu, with Linux 5.4.0-42-generic b889fdf8-1c5d-4389-a1b5-3d03c2b9879b
### END /etc/grub.d/30_os-prober ###
### 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=b889fdf8-1c5d-4389-a1b5-3d03c2b9879b / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=C23E-D29B /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
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)
130.875934601 = 140.526964736 boot/grub/grub.cfg 1
6.004047394 = 6.446796800 boot/vmlinuz 1
5.368160248 = 5.764018176 boot/vmlinuz-5.4.0-42-generic 2
6.004047394 = 6.446796800 boot/vmlinuz-5.4.0-65-generic 1
5.368160248 = 5.764018176 boot/vmlinuz.old 2
3.523490906 = 3.783319552 boot/initrd.img 4
9.454097748 = 10.151260160 boot/initrd.img-5.4.0-42-generic 4
3.523490906 = 3.783319552 boot/initrd.img-5.4.0-65-generic 4
9.454097748 = 10.151260160 boot/initrd.img.old 4
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 janv. 13 15:12 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13 15:12 10_linux_zfs
-rwxr-xr-x 1 root root 12894 juil. 31 2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 31 2020 30_os-prober
-rwxr-xr-x 1 root root 1424 juil. 31 2020 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 31 2020 40_custom
-rwxr-xr-x 1 root root 216 juil. 31 2020 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would 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 L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
J'ai fait le boot repair suggéré: En revanche je ne n'ai pas trouvé comment faire la derniere remarque: " Ne pas oublier de ..."
Voici le résultat du boot repair:
boot-repair-4ppa125 [20210227_1209]
============================= Boot Repair Summary ==============================
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
Mount sda1 on /boot/efi
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.8
efibootmgr -v from chroot before grub install
BootCurrent: 0000
BootOrder: 0000,0080
Boot0000* ubuntu HD(1,GPT,4f662f05-472c-4fe7-81b6-64f89a6ec38b,0x800,0x100000)/File(EFIubuntugrubx64.efi)
Boot0080* Mac OS X PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
Boot0081* Mac OS X PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
Boot0082* PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
BootFFFF* PciRoot(0x0)/Pci(0x4,0x1)/USB(0,0)/HD(1,MBR,0x3a34e6,0x800,0xf14800)/File(EFIBOOTBOOTX64.efi)
uname -r
5.4.0-65-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/grubx64.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: 0000
BootOrder: 0000,0080
Boot0000* ubuntu HD(1,GPT,4f662f05-472c-4fe7-81b6-64f89a6ec38b,0x800,0x100000)/File(EFIubuntugrubx64.efi)
Boot0080* Mac OS X PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
Boot0081* Mac OS X PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
Boot0082* PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
BootFFFF* PciRoot(0x0)/Pci(0x4,0x1)/USB(0,0)/HD(1,MBR,0x3a34e6,0x800,0xf14800)/File(EFIBOOTBOOTX64.efi)
Warning: NVram was not modified.
update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-66-generic
Found initrd image: /boot/initrd.img-5.4.0-66-generic
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-42-generic
Found initrd image: /boot/initrd.img-5.4.0-42-generic
Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
N'oubliez pas de faire démarrer votre firmware UEFI sur l'entrée L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession (fichier sda1/EFI/ubuntu/grubx64.efi) !
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/sda.
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/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/grub.cfg
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
================================ 1 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession 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=b889fdf8-1c5d-4389-a1b5-3d03c2b9879b ro quiet splash vt.handoff=7
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
efibootmgr -v
BootCurrent: 0000
BootOrder: 0000,0080
Boot0000* ubuntu HD(1,GPT,4f662f05-472c-4fe7-81b6-64f89a6ec38b,0x800,0x100000)/File(\EFI\ubuntu\grubx64.efi)
Boot0080* Mac OS X PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
Boot0081* Mac OS X PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
Boot0082* PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,27442382-c878-48de-a90e-3a14b5b30dd5,0x64028,0x1287ff40)
BootFFFF* PciRoot(0x0)/Pci(0x4,0x1)/USB(0,0)/HD(1,MBR,0x3a34e6,0x800,0xf14800)/File(\EFI\BOOT\BOOTX64.efi)
2895d47544fd587b26c7e29be1295c27 sda1/BOOT/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sda1/BOOT/mmx64.efi
637fa7fabc8a2f70312edf2f15e275ff sda1/ubuntu/grubx64.efi
637fa7fabc8a2f70312edf2f15e275ff sda1/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
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
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
fdisk -l (filtered): ___________________________________________________________
Disk sda: 149.5 GiB, 160041885696 bytes, 312581808 sectors
Disk identifier: D982346E-0529-433C-A580-5BBF0CE6A959
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 312580095 311529472 148.6G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:160GB:scsi:512:512:gpt:ATA FUJITSU MHZ2160B:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:160GB:160GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat C23E-D29B 4f662f05-472c-4fe7-81b6-64f89a6ec38b EFI System Partition
└─sda2 ext4 b889fdf8-1c5d-4389-a1b5-3d03c2b9879b 8e155749-71c9-48fa-96d8-8fb5c68cc800
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda2 125.9G 8% /
Mount options: __________________________________________________________________
sda2 rw,relatime,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid b889fdf8-1c5d-4389-a1b5-3d03c2b9879b root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu b889fdf8-1c5d-4389-a1b5-3d03c2b9879b
Ubuntu, with Linux 5.4.0-66-generic b889fdf8-1c5d-4389-a1b5-3d03c2b9879b
Ubuntu, with Linux 5.4.0-65-generic b889fdf8-1c5d-4389-a1b5-3d03c2b9879b
Ubuntu, with Linux 5.4.0-42-generic b889fdf8-1c5d-4389-a1b5-3d03c2b9879b
### END /etc/grub.d/30_os-prober ###
### 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=b889fdf8-1c5d-4389-a1b5-3d03c2b9879b / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
/swapfile none swap sw 0 0
UUID=C23E-D29B /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)
60.634574890 = 65.105879040 boot/grub/grub.cfg 1
123.160301208 = 132.242366464 boot/vmlinuz 1
5.368160248 = 5.764018176 boot/vmlinuz-5.4.0-42-generic 2
6.004047394 = 6.446796800 boot/vmlinuz-5.4.0-65-generic 1
123.160301208 = 132.242366464 boot/vmlinuz-5.4.0-66-generic 1
6.004047394 = 6.446796800 boot/vmlinuz.old 1
10.927650452 = 11.733475328 boot/initrd.img 3
9.454097748 = 10.151260160 boot/initrd.img-5.4.0-42-generic 4
3.523490906 = 3.783319552 boot/initrd.img-5.4.0-65-generic 4
10.927650452 = 11.733475328 boot/initrd.img-5.4.0-66-generic 3
3.523490906 = 3.783319552 boot/initrd.img.old 4
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 janv. 13 15:12 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13 15:12 10_linux_zfs
-rwxr-xr-x 1 root root 12894 juil. 31 2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 31 2020 30_os-prober
-rwxr-xr-x 1 root root 1424 juil. 31 2020 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 31 2020 40_custom
-rwxr-xr-x 1 root root 216 juil. 31 2020 41_custom
Résultat : Le boot n'a pas changé.
J'ai beaucoup cherché sur le forum mais je n'ai pas réussi à trouver une solution. ( finalement ce boot est peut être normal)
En revanche je ne comprends pas tout à fait les subtilités entre UEFI et GRUB ( j'ai peut être raté quelque chose à l'install).
Si vous avez une aide à me proposer je vous en serai très reconnaissant.
Merci