#26 Le 10/12/2023, à 19:33
- geole
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Boot0000* rEFInd Boot Manager HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\REFIND\REFIND_X64.EFI)
Boot000D* ubuntu HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)
C'est donc bien la même partition identifiée 0xee4427dc,0x800,0x100000.
Il y a quelque chose qui m'échappe. Peux-tu refaire un boot_info depuis ta session opérationnelle?
sudo add-apt-repository -y ppa:yannubuntu/boot-repair; sudo apt update; sudo apt install -y boot-info; boot-info
Nota. La conversion partition msdos en gpt peut se faire en quelques secondes sans sauvegarde/réécriture des données . La structure NVRAM sera à recréer.
Dernière modification par geole (Le 10/12/2023, à 19:36)
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
#27 Le 10/12/2023, à 19:40
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Effectivement Iznobe, je suis en plein brouillard, mais je pense que l'absence de b et d s'explique par le fait qu'ils sont dans un dock USB, sdd est en partition GUID, mais sdb en loop ??, mais ce dernier est monté, lisible, mais je crois que je l'ai utilisé récemment pour essayer une session ddrescue, suivie par Geole, qui est mise au repos actuellement, ayant trop de choses à régler en cours, peut-être que dd et ddrescue ont créé une partition loop (?) remplaçant le GUID ou alors, j'ai eu un crash à ce moment-là et la réparation du système de fichiers a peut-être créé ce "loop".
Quand on bricole trop pour un amateur peu averti comme moi, il y a beaucoup de mystères qui s'agitent !
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#28 Le 10/12/2023, à 19:55
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Désolé Geole, nos messsages se sont croisés.
Dernier Boot-Info:
boot-repair-4ppa2059 [20231210_1941]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdc 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
---------------------------------------------------------------------------
=> No boot loader is installed in the MBR of /dev/sdd.
=> No boot loader is installed in the MBR of /dev/sde.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdf.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdg and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 4553b541-ff65-4e03-8434-50b7bfc80b05 root hd0,msdos2
set prefix=($root)'/grub'
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdh 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: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdc1: __________________________________________________________________________
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/refind_x64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/grub.cfg
/efi/BOOT/drivers_x64/btrfs_x64.efi
/efi/BOOT/drivers_x64/ext2_x64.efi
/efi/BOOT/drivers_x64/ext4_x64.efi
/efi/BOOT/drivers_x64/hfs_x64.efi
/efi/BOOT/drivers_x64/iso9660_x64.efi
/efi/BOOT/drivers_x64/reiserfs_x64.efi
/efi/BOOT/tools_x64/gptsync_x64.efi
sdc2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdc5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 12 (bookworm)
Boot files: /etc/fstab
sdd1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sde1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdf2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdg1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdh1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/refind/refind.conf /efi/BOOT/bkpbootx64.efi
/efi/BOOT/bootx64.efi /efi/refind/refind_x64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/grub.cfg
/efi/refind/drivers_x64/ext4_x64.efi
sdh2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdh5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/refind_linux.conf
sdb: ___________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: Debian GNU/Linux 12 (bookworm) on sdc5
OS#2: Ubuntu 22.04.3 LTS on sdh5
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GF116 [GeForce GTX 550 Ti] EFI VGA from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-37-generic root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7
df -Th / : /dev/sdh5 ext4 457G 267G 167G 62% /
===================================== UEFI =====================================
BIOS/UEFI firmware: H.G0(5.17) from American Megatrends International, LLC.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 000D
Timeout: 1 seconds
BootOrder: 0000,000D,000B,000F,000C,000E
Boot0000* rEFInd Boot Manager HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\REFIND\REFIND_X64.EFI)
Boot000B CD/DVD Drive BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.S.U.S. . . . . .D.R.W.-.2.4.F.1.M.T...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.1.S.I.A.Y.6.G.A.0.9.6.0.3.T. . . . . . ........BO
Boot000C Hard Drive BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........C.r.u.c.i.a.l._.C.T.5.0.0.M.X.2.0.0.S.S.D.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . .5.1.4.4.0.1.7.F.5.A.9.7........BO
Boot000D* ubuntu HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)
Boot000E USB HDD BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO..........W.D.C. .W.D.6.0.0.1.F.Z.W.X.-.0.0.A.2.V.A.0. .0.1.2.5...................\.,.@.r.d.=.X..........A............................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO..NO..........C.T.2.0.0.0.M.X.5.0.0.S.S.D.1. .M.3.C.R...................\.,.@.r.d.=.X..........A.............................<..Gd-.;.A..MQ..L.0.1.2.3.4.5.6.7.8.9.0.0.0.0.0.0.0.0.D........BO
Boot000F USB Floppy BBS(Floppy,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0800)..GO..NO..........W.D.C. .W.D.6.0.0.3.F.Z.B.X.-.0.0.K.5.W.B.0. .0.1.2.5...................\.,.@.r.d.=.X..........A.................................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO
78dce18613524e5ea5d6059f51b7178f sdh1/BOOT/bkpbootx64.efi
a1da253696a304dce6b4668b70151c0e sdh1/BOOT/bootx64.efi
e6e796073fad7feb38ba8563e6b3ad75 sdh1/refind/refind_x64.efi
a1da253696a304dce6b4668b70151c0e sdh1/ubuntu/grubx64.efi
0a80fb871c16eb7aa2dc6056222709f0 sdh1/refind/drivers_x64/ext4_x64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdh : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdd : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sde : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdf : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdg : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 63 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdh5 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdc1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc5 : is-os, 64, apt-get, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdd1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sde1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdf2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdg1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdh1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdh5 : isnotESP, fstab-has-goodEFI, 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, no-bmgr, notwinboot
sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc5 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdd1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sde1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdf2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdg1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdh1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdh5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdh
sda1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdc1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sdc5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, no--grub.d, sdc
sdd1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdd
sde1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sde
sdf2 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdf
sdg1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdg
sdh1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdh
fdisk -l (filtered): ___________________________________________________________
Disk sda: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 3060F17F-570D-674E-9C55-D9C4EF3A7762
Start End Sectors Size Type
sda1 2048 11721043967 11721041920 5.5T Linux filesystem
Disk sdb: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk sdc: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xee4427dc
Boot Start End Sectors Size Id Type
sdc1 2048 1050623 1048576 512M b W95 FAT32
sdc2 1052670 1954039807 1952987138 931.3G 5 Extended
sdc5 * 1052672 1954039807 1952987136 931.3G 83 Linux
Disk sdd: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 224DFCFD-64CD-4F51-80B3-722F510BA5C7
Start End Sectors Size Type
sdd1 2048 11721043967 11721041920 5.5T Linux filesystem
Disk sde: 14.55 TiB, 16000900661248 bytes, 31251759104 sectors
Disk identifier: 8AB61712-1941-4E0A-9241-11191D484CA0
Start End Sectors Size Type
sde1 2048 31251757055 31251755008 14.6T Linux filesystem
Disk sdf: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0x61065840
Boot Start End Sectors Size Id Type
sdf2 2048 3907028991 3907026944 1.8T 83 Linux
Disk sdg: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xb50ba6b7
Boot Start End Sectors Size Id Type
sdg1 63 3907029167 3907029105 1.8T 83 Linux
Disk sdh: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xee4427dc
Boot Start End Sectors Size Id Type
sdh1 * 2048 1050623 1048576 512M b W95 FAT32
sdh2 1052670 976771071 975718402 465.3G 5 Extended
sdh5 1052672 976771071 975718400 465.3G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:6001GB:scsi:512:4096:gpt:WDC WD60 01FZWX-00A2VA0:;
1:1049kB:6001GB:6001GB:ext4:Fantec3:;
sdb:6001GB:scsi:512:4096:loop:WDC WD60 03FZBX-00K5WB0:;
1:0.00B:6001GB:6001GB:ext4::;
sdc:2000GB:scsi:512:512:msdos:CT2000MX 500SSD1:;
1:1049kB:538MB:537MB:fat32::;
2:539MB:1000GB:1000GB:::;
5:539MB:1000GB:1000GB:ext4::boot;
sdd:6001GB:scsi:512:4096:gpt:ATA ST6000NM021A-2R7:;
1:1049kB:6001GB:6001GB:ext4:Exos1:;
sde:16.0TB:scsi:512:4096:gpt:ATA WDC WD161KRYZ-01:;
1:1049kB:16.0TB:16.0TB:ext4:Gold1:;
sdf:2000GB:scsi:512:512:msdos:ATA WDC WD2002FAEX-0:;
2:1049kB:2000GB:2000GB:ext4::;
sdg:2000GB:scsi:512:512:msdos:ATA WDC WD2002FAEX-0:;
1:32.3kB:2000GB:2000GB:ext4::;
sdh:500GB:scsi:512:4096:msdos:ATA Crucial_CT500MX2:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:500GB:500GB:::;
5:539MB:500GB:500GB:ext4::;
Free space >10MiB: ______________________________________________________________
sdc: 954121MiB:1907729MiB:953608MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ext4 aad88602-bce5-4019-a4c4-42ef77d0380f f0185232-c83c-ce4b-a566-6ee64227b5b8 Fantec3 Fantec3
sdb ext4 8de8473e-8d6c-40d1-8f37-0a3352dfb8cd Fantec2
sdc
├─sdc1 vfat 896D-A6A9 ee4427dc-01
├─sdc2 ee4427dc-02
└─sdc5 ext4 c8628d39-b625-484d-a218-c22035bab3f5 ee4427dc-05 Debian
sdd
└─sdd1 ext4 52e670a3-d05f-41e0-89ff-8bb7411dc529 d1b23f08-b43f-48e1-a905-0254bdba7e64 Exos1 Exos1
sde
└─sde1 ext4 65d8f5ba-a25a-41ce-8fe0-03a28dcf324c 9fb0be0a-87cf-47b8-b5cb-4f45280b0e93 Gold1 Gold1
sdf
└─sdf2 ext4 a2b7cf71-48ba-48da-be47-e89b1cb1ea17 61065840-02 Documents
sdg
└─sdg1 ext4 a97646c3-41f8-41a6-93df-604046088fd2 b50ba6b7-01 Sauvegarde
sdh
├─sdh1 vfat 896D-A6A9 ee4427dc-01
├─sdh2 ee4427dc-02
└─sdh5 ext4 c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ee4427dc-05 system
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 2.6T 47% /mnt/Fantec3
/dev/sdb 4.5T 12% /mnt/Fantec2
/dev/sdc5 868.1G 0% /media/lrdp/Debian
/dev/sdd1 5.1T 0% /media/lrdp/Exos1
/dev/sde1 2.9T 75% /mnt/Gold1
/dev/sdf2 1.2T 30% /mnt/Documents
/dev/sdg1 444.3G 71% /mnt/Sauvegarde
/dev/sdh1 502.4M 2% /media/lrdp/896D-A6A9
/dev/sdh5 166.8G 58% /
Mount options (filtered): ______________________________________________________
===================== sdc1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 root hd3,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
========================== sdc5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdi5 during installation
UUID=c8628d39-b625-484d-a218-c22035bab3f5 / ext4 errors=remount-ro 0 1
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
==================== sdc5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0,829841614 = 0,891035648 boot/vmlinuz-6.1.0-13-amd64 1
0,829841614 = 0,891035648 vmlinuz 1
0,829841614 = 0,891035648 vmlinuz.old 1
1,874515533 = 2,012745728 boot/initrd.img-6.1.0-13-amd64 1
1,874515533 = 2,012745728 initrd.img 1
1,874515533 = 2,012745728 initrd.img.old 1
==================== sdh1/EFI/refind/refind.conf (filtered) ====================
timeout 20
use_nvram false
menuentry Linux {
icon EFI/refind/icons/os_linux.png
volume 904404F8-B481-440C-A1E3-11A5A954E601
loader bzImage-3.3.0-rc7
initrd initrd-3.3.0.img
options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
disabled
}
menuentry "Arch Linux" {
icon /EFI/refind/icons/os_arch.png
volume "Arch Linux"
loader /boot/vmlinuz-linux
initrd /boot/initramfs-linux.img
options "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
submenuentry "Boot using fallback initramfs" {
initrd /boot/initramfs-linux-fallback.img
}
submenuentry "Boot to terminal" {
add_options "systemd.unit=multi-user.target"
}
disabled
}
menuentry Ubuntu {
loader /EFI/ubuntu/grubx64.efi
icon /EFI/refind/icons/os_linux.png
disabled
}
menuentry "ELILO" {
loader \EFI\elilo\elilo.efi
disabled
}
menuentry "Windows 7" {
loader \EFI\Microsoft\Boot\bootmgfw.efi
disabled
}
menuentry "Windows via shell script" {
icon \EFI\refind\icons\os_win.png
loader \EFI\tools\shell.efi
options "fs0:\EFI\tools\launch_windows.nsh"
disabled
}
menuentry "My macOS" {
icon \EFI\refind\icons\os_mac.png
volume "macOS boot"
loader \System\Library\CoreServices\boot.efi
disabled
}
menuentry "macOS via BootNext" {
icon /EFI/refind/icons/os_mac.png
firmware_bootnum 80
disabled
}
===================== sdh1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 root hd7,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdh5/boot/grub/grub.cfg (filtered) ======================
Ubuntu c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 6.2.0-37-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-91-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-89-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-88-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-87-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sdh5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=896D-A6A9 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
LABEL=Gold1 /mnt/Gold1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Documents /mnt/Documents auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=2TO /mnt/2TO auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec2 /mnt/Fantec2 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec3 /mnt/Fantec3 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Stockage /mnt/Stockage auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Sauvegarde /mnt/Sauvegarde auto nosuid,nodev,nofail,x-gvfs-show 0 0
======================= sdh5/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_DISABLE_OS_PROBER=false
==================== sdh5/boot/refind_linux.conf (filtered) ====================
"Boot with standard options" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7"
"Boot to single-user mode" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7 single"
"Boot with minimal options" "ro root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8"
==================== sdh5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
56,722324371 = 60,905132032 boot/grub/grub.cfg 1
269,330074310 = 289,190965248 boot/vmlinuz 2
84,090900421 = 90,291916800 boot/vmlinuz-5.15.0-87-generic 2
15,478511810 = 16,619925504 boot/vmlinuz-5.15.0-88-generic 2
318,887771606 = 342,403137536 boot/vmlinuz-5.15.0-89-generic 2
269,330074310 = 289,190965248 boot/vmlinuz-5.15.0-91-generic 2
249,780426025 = 268,199690240 boot/vmlinuz-6.2.0-37-generic 2
318,887771606 = 342,403137536 boot/vmlinuz.old 2
272,126365662 = 292,193460224 boot/initrd.img 7
255,861324310 = 274,729005056 boot/initrd.img-5.15.0-87-generic 6
256,149814606 = 275,038769152 boot/initrd.img-5.15.0-88-generic 3
288,095123291 = 309,339783168 boot/initrd.img-5.15.0-89-generic 2
272,126365662 = 292,193460224 boot/initrd.img-5.15.0-91-generic 7
288,372444153 = 309,637554176 boot/initrd.img-6.2.0-37-generic 4
288,095123291 = 309,339783168 boot/initrd.img.old 2
===================== sdh5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 déc. 18 2022 10_linux
-rwxr-xr-x 1 root root 43031 déc. 18 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 déc. 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 déc. 18 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 déc. 18 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 214 déc. 2 2022 40_custom
-rwxr-xr-x 1 root root 215 déc. 18 2022 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdh5,
using the following options: sdh1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.3 LTS entry (sdh1/efi/****/grub****.efi (**** will be updated in the final message) file) !
Initialement, le disque où a été installé la Debian était noté sdi, maintenant c'est sdc. , et Ubuntu est sur sdh : c'est les chaises musicales !
Boot-Info nous dit, pour réparer, d'installer grub-EFI sur sdh, le disque Ubuntu, mais ce disque boote bien par Grub et comment lancer alors la Debian qui n'a aucun démarrage, malgré la partition EFI au début de son disque
La conversion partition msdos en gpt peut se faire en quelques secondes sans sauvegarde/réécriture des données . La structure NVRAM sera à recréer.
Je cherche comment passer de ms-dos en GUID sans détruire les partitions
Dernière modification par LRDP (Le 10/12/2023, à 19:55)
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#29 Le 10/12/2023, à 21:50
- geole
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
La migration en gpt n'est pas urgente.
Je réalise que tu dis avoir des disques externes.
Leur logique de boot n'a rien à voir avec les disques internes.
Débranche-les tous et refais un boot-info rien d'avec les disques internes.
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
#30 Le 10/12/2023, à 22:01
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Ok Geole,
Je me doutais qu'il fallait simplifier la configuration pour pouvoir aboutir. Je ferais cela demain matin, car je dois mettre les mains dans le cambouis, pardon les câbles pour rendre l’ordinateur à minima, c.a.d. le disque Ubuntu et le disque Debian uniquement.
Bonne soirée et merci beaucoup pour ce dévouement !
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#31 Le 10/12/2023, à 22:26
- geole
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Je me suis mal expliqué
Je parlais des disques branchés en usb qui se débranchent en une seconde.
Si tu as une autre technique de connexion qui est stable et n'évolue pas, ne touche à rien.
L'important est que les disques ne changent pas de nom à chaque boot.
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
#32 Le 11/12/2023, à 10:47
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Bonjour Geole,
J'ai mis le SSD de Debian dans la tour PC, j'avais installé l'OS sur ce disque branché dans un dock USB3.
Voici le Boot-Info:
boot-repair-4ppa2059 [20231211_1027]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdc.
=> No boot loader is installed in the MBR of /dev/sdd.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sde.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdf and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 4553b541-ff65-4e03-8434-50b7bfc80b05 root hd0,msdos2
set prefix=($root)'/grub'
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdg 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
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdh 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: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdc1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdd1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sde2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdf1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdg1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/refind/refind.conf /efi/BOOT/bkpbootx64.efi
/efi/BOOT/bootx64.efi /efi/refind/refind_x64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/grub.cfg
/efi/refind/drivers_x64/ext4_x64.efi
sdg2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdg5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/refind_linux.conf
sdh1: __________________________________________________________________________
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/refind_x64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/grub.cfg
/efi/BOOT/drivers_x64/btrfs_x64.efi
/efi/BOOT/drivers_x64/ext2_x64.efi
/efi/BOOT/drivers_x64/ext4_x64.efi
/efi/BOOT/drivers_x64/hfs_x64.efi
/efi/BOOT/drivers_x64/iso9660_x64.efi
/efi/BOOT/drivers_x64/reiserfs_x64.efi
/efi/BOOT/tools_x64/gptsync_x64.efi
sdh2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdh5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 12 (bookworm)
Boot files: /etc/fstab
sdb: ___________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: Debian GNU/Linux 12 (bookworm) on sdh5
OS#2: Ubuntu 22.04.3 LTS on sdg5
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GF116 [GeForce GTX 550 Ti] EFI VGA from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-37-generic root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7
df -Th / : /dev/sdg5 ext4 457G 267G 167G 62% /
===================================== UEFI =====================================
BIOS/UEFI firmware: H.G0(5.17) from American Megatrends International, LLC.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,000D,000B,000F,000C,000E
Boot0000* rEFInd Boot Manager HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\REFIND\REFIND_X64.EFI)
Boot000B CD/DVD Drive BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.S.U.S. . . . . .D.R.W.-.2.4.F.1.M.T...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.1.S.I.A.Y.6.G.A.0.9.6.0.3.T. . . . . . ........BO
Boot000C Hard Drive BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........C.r.u.c.i.a.l._.C.T.5.0.0.M.X.2.0.0.S.S.D.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . .5.1.4.4.0.1.7.F.5.A.9.7........BO..NO..........C.T.2.0.0.0.M.X.5.0.0.S.S.D.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.3.2.8.0.6.E.F.A.E.3.6.0. . . . . . . . ........BO
Boot000D* ubuntu HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)
Boot000E USB HDD BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO..........W.D.C. .W.D.6.0.0.1.F.Z.W.X.-.0.0.A.2.V.A.0. .0.1.2.5...................\.,.@.r.d.=.X..........A............................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO
Boot000F USB Floppy BBS(Floppy,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0800)..GO..NO..........W.D.C. .W.D.6.0.0.3.F.Z.B.X.-.0.0.K.5.W.B.0. .0.1.2.5...................\.,.@.r.d.=.X..........A.................................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO
78dce18613524e5ea5d6059f51b7178f sdh1/BOOT/bkpbootx64.efi
d4646b0af24b169d62bc44cff8967793 sdh1/BOOT/bootx64.efi
fff7eb4219a93fa99b0132e0a57842e9 sdh1/BOOT/refind_x64.efi
d4646b0af24b169d62bc44cff8967793 sdh1/ubuntu/grubx64.efi
6c8344b9e41d3cf171fbcecefdb829db sdh1/BOOT/drivers_x64/btrfs_x64.efi
b6a6615b0da79812bca9afd84176679f sdh1/BOOT/drivers_x64/ext2_x64.efi
2d4525327047ee22a4aa69fbaa340786 sdh1/BOOT/drivers_x64/ext4_x64.efi
d5beaeeda7cc53e969845fab50691be0 sdh1/BOOT/drivers_x64/hfs_x64.efi
21e837d6e6ee41c18925bbe7f44712da sdh1/BOOT/drivers_x64/iso9660_x64.efi
58c9f01b8fe06b61076bb01b73e76d60 sdh1/BOOT/drivers_x64/reiserfs_x64.efi
d5798275ed662bad43e69744d436341f sdh1/BOOT/tools_x64/gptsync_x64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdg : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdf : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 63 sectors * 512 bytes
sdd : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sde : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdc : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdh : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdg5 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdf1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdd1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdg1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sde2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdc1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdh5 : is-os, 64, apt-get, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdh1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdg5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdf1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdd1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdg1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sde2 : 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
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdh5 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdh1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdg5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdg
sdf1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdf
sdd1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdd
sdg1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdg
sde2 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sde
sdc1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sda1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdh5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, no--grub.d, sdh
sdh1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdh
fdisk -l (filtered): ___________________________________________________________
Disk sda: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 3060F17F-570D-674E-9C55-D9C4EF3A7762
Start End Sectors Size Type
sda1 2048 11721043967 11721041920 5.5T Linux filesystem
Disk sdb: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk sdc: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 224DFCFD-64CD-4F51-80B3-722F510BA5C7
Start End Sectors Size Type
sdc1 2048 11721043967 11721041920 5.5T Linux filesystem
Disk sdd: 14.55 TiB, 16000900661248 bytes, 31251759104 sectors
Disk identifier: 8AB61712-1941-4E0A-9241-11191D484CA0
Start End Sectors Size Type
sdd1 2048 31251757055 31251755008 14.6T Linux filesystem
Disk sde: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0x61065840
Boot Start End Sectors Size Id Type
sde2 2048 3907028991 3907026944 1.8T 83 Linux
Disk sdf: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xb50ba6b7
Boot Start End Sectors Size Id Type
sdf1 63 3907029167 3907029105 1.8T 83 Linux
Disk sdg: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xee4427dc
Boot Start End Sectors Size Id Type
sdg1 * 2048 1050623 1048576 512M b W95 FAT32
sdg2 1052670 976771071 975718402 465.3G 5 Extended
sdg5 1052672 976771071 975718400 465.3G 83 Linux
Disk sdh: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xee4427dc
Boot Start End Sectors Size Id Type
sdh1 2048 1050623 1048576 512M b W95 FAT32
sdh2 1052670 1954039807 1952987138 931.3G 5 Extended
sdh5 * 1052672 1954039807 1952987136 931.3G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:6001GB:scsi:512:4096:gpt:WDC WD60 01FZWX-00A2VA0:;
1:1049kB:6001GB:6001GB:ext4:Fantec3:;
sdb:6001GB:scsi:512:4096:loop:WDC WD60 03FZBX-00K5WB0:;
1:0.00B:6001GB:6001GB:ext4::;
sdc:6001GB:scsi:512:4096:gpt:ATA ST6000NM021A-2R7:;
1:1049kB:6001GB:6001GB:ext4:Exos1:;
sdd:16.0TB:scsi:512:4096:gpt:ATA WDC WD161KRYZ-01:;
1:1049kB:16.0TB:16.0TB:ext4:Gold1:;
sde:2000GB:scsi:512:512:msdos:ATA WDC WD2002FAEX-0:;
2:1049kB:2000GB:2000GB:ext4::;
sdf:2000GB:scsi:512:512:msdos:ATA WDC WD2002FAEX-0:;
1:32.3kB:2000GB:2000GB:ext4::;
sdg:500GB:scsi:512:4096:msdos:ATA Crucial_CT500MX2:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:500GB:500GB:::;
5:539MB:500GB:500GB:ext4::;
sdh:2000GB:scsi:512:4096:msdos:ATA CT2000MX500SSD1:;
1:1049kB:538MB:537MB:fat32::;
2:539MB:1000GB:1000GB:::;
5:539MB:1000GB:1000GB:ext4::boot;
Free space >10MiB: ______________________________________________________________
sdh: 954121MiB:1907729MiB:953608MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ext4 aad88602-bce5-4019-a4c4-42ef77d0380f f0185232-c83c-ce4b-a566-6ee64227b5b8 Fantec3 Fantec3
sdb ext4 8de8473e-8d6c-40d1-8f37-0a3352dfb8cd Fantec2
sdc
└─sdc1 ext4 52e670a3-d05f-41e0-89ff-8bb7411dc529 d1b23f08-b43f-48e1-a905-0254bdba7e64 Exos1 Exos1
sdd
└─sdd1 ext4 65d8f5ba-a25a-41ce-8fe0-03a28dcf324c 9fb0be0a-87cf-47b8-b5cb-4f45280b0e93 Gold1 Gold1
sde
└─sde2 ext4 a2b7cf71-48ba-48da-be47-e89b1cb1ea17 61065840-02 Documents
sdf
└─sdf1 ext4 a97646c3-41f8-41a6-93df-604046088fd2 b50ba6b7-01 Sauvegarde
sdg
├─sdg1 vfat 896D-A6A9 ee4427dc-01
├─sdg2 ee4427dc-02
└─sdg5 ext4 c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ee4427dc-05 system
sdh
├─sdh1 vfat 896D-A6A9 ee4427dc-01
├─sdh2 ee4427dc-02
└─sdh5 ext4 c8628d39-b625-484d-a218-c22035bab3f5 ee4427dc-05 Debian
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 2.6T 47% /mnt/Fantec3
/dev/sdb 4.5T 12% /mnt/Fantec2
/dev/sdc1 5.1T 0% /media/lrdp/Exos1
/dev/sdd1 2.9T 75% /mnt/Gold1
/dev/sde2 1.2T 30% /mnt/Documents
/dev/sdf1 444.3G 71% /mnt/Sauvegarde
/dev/sdg5 166.8G 58% /
/dev/sdh1 502M 2% /mnt/boot-sav/sdh1
/dev/sdh5 868.1G 0% /mnt/boot-sav/sdh5
Mount options (filtered): ______________________________________________________
==================== sdg1/EFI/refind/refind.conf (filtered) ====================
timeout 20
use_nvram false
menuentry Linux {
icon EFI/refind/icons/os_linux.png
volume 904404F8-B481-440C-A1E3-11A5A954E601
loader bzImage-3.3.0-rc7
initrd initrd-3.3.0.img
options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
disabled
}
menuentry "Arch Linux" {
icon /EFI/refind/icons/os_arch.png
volume "Arch Linux"
loader /boot/vmlinuz-linux
initrd /boot/initramfs-linux.img
options "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
submenuentry "Boot using fallback initramfs" {
initrd /boot/initramfs-linux-fallback.img
}
submenuentry "Boot to terminal" {
add_options "systemd.unit=multi-user.target"
}
disabled
}
menuentry Ubuntu {
loader /EFI/ubuntu/grubx64.efi
icon /EFI/refind/icons/os_linux.png
disabled
}
menuentry "ELILO" {
loader \EFI\elilo\elilo.efi
disabled
}
menuentry "Windows 7" {
loader \EFI\Microsoft\Boot\bootmgfw.efi
disabled
}
menuentry "Windows via shell script" {
icon \EFI\refind\icons\os_win.png
loader \EFI\tools\shell.efi
options "fs0:\EFI\tools\launch_windows.nsh"
disabled
}
menuentry "My macOS" {
icon \EFI\refind\icons\os_mac.png
volume "macOS boot"
loader \System\Library\CoreServices\boot.efi
disabled
}
menuentry "macOS via BootNext" {
icon /EFI/refind/icons/os_mac.png
firmware_bootnum 80
disabled
}
===================== sdg1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 root hd7,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdg5/boot/grub/grub.cfg (filtered) ======================
Ubuntu c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 6.2.0-37-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-91-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-89-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-88-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-87-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sdg5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=896D-A6A9 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
LABEL=Gold1 /mnt/Gold1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Documents /mnt/Documents auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=2TO /mnt/2TO auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec2 /mnt/Fantec2 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec3 /mnt/Fantec3 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Stockage /mnt/Stockage auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Sauvegarde /mnt/Sauvegarde auto nosuid,nodev,nofail,x-gvfs-show 0 0
======================= sdg5/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_DISABLE_OS_PROBER=false
==================== sdg5/boot/refind_linux.conf (filtered) ====================
"Boot with standard options" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7"
"Boot to single-user mode" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7 single"
"Boot with minimal options" "ro root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8"
==================== sdg5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
56,722324371 = 60,905132032 boot/grub/grub.cfg 1
269,330074310 = 289,190965248 boot/vmlinuz 2
84,090900421 = 90,291916800 boot/vmlinuz-5.15.0-87-generic 2
15,478511810 = 16,619925504 boot/vmlinuz-5.15.0-88-generic 2
318,887771606 = 342,403137536 boot/vmlinuz-5.15.0-89-generic 2
269,330074310 = 289,190965248 boot/vmlinuz-5.15.0-91-generic 2
249,780426025 = 268,199690240 boot/vmlinuz-6.2.0-37-generic 2
318,887771606 = 342,403137536 boot/vmlinuz.old 2
272,126365662 = 292,193460224 boot/initrd.img 7
255,861324310 = 274,729005056 boot/initrd.img-5.15.0-87-generic 6
256,149814606 = 275,038769152 boot/initrd.img-5.15.0-88-generic 3
288,095123291 = 309,339783168 boot/initrd.img-5.15.0-89-generic 2
272,126365662 = 292,193460224 boot/initrd.img-5.15.0-91-generic 7
288,372444153 = 309,637554176 boot/initrd.img-6.2.0-37-generic 4
288,095123291 = 309,339783168 boot/initrd.img.old 2
===================== sdg5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 déc. 18 2022 10_linux
-rwxr-xr-x 1 root root 43031 déc. 18 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 déc. 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 déc. 18 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 déc. 18 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 214 déc. 2 2022 40_custom
-rwxr-xr-x 1 root root 215 déc. 18 2022 41_custom
===================== sdh1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 root hd3,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
========================== sdh5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdi5 during installation
UUID=c8628d39-b625-484d-a218-c22035bab3f5 / ext4 errors=remount-ro 0 1
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
==================== sdh5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0,829841614 = 0,891035648 boot/vmlinuz-6.1.0-13-amd64 1
0,829841614 = 0,891035648 vmlinuz 1
0,829841614 = 0,891035648 vmlinuz.old 1
1,874515533 = 2,012745728 boot/initrd.img-6.1.0-13-amd64 1
1,874515533 = 2,012745728 initrd.img 1
1,874515533 = 2,012745728 initrd.img.old 1
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdg5,
using the following options: sdg1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.3 LTS entry (sdg1/efi/****/grub****.efi (**** will be updated in the final message) file) !
Le disque system Ubuntu est /sdg et le Debian /sdh.
En allumant le PC ce matin, j'ai eu la surprise de voir Refind qui me proposait plusieurs boot (mais pas Debian, évidemment) et j'ai booté sur bkpbootx64.efi qui m'a mis sur Grub pour lancer Ubuntu.
Une autre curiosité est /etc/fstab:
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=896D-A6A9 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
#sdb1
#UUID=22f5555a-f471-493f-a44a-8887f4a271d5 /media/lrdp/Stockage ext4 defaults,nosuid,nodev,uhelper=udisks 0 0
#sdc1
#UUID=5639dee7-abc8-4a70-9c91-22a18f8020a3 /media/lrdp/2TO ext4 defaults,nosuid,nodev,uhelper=udisks 0 0
#sdd2
#UUID=a2b7cf71-48ba-48da-be47-e89b1cb1ea17 /media/lrdp/Documents ext4 defaults,nosuid,nodev,uhelper=udisks 0 0
#sde1
#UUID=a97646c3-41f8-41a6-93df-604046088fd2 /media/lrdp/Sauvegarde ext4 defaults,nosuid,nodev,uhelper=udisks 0 0
#sdf1
#UUID=aad88602-bce5-4019-a4c4-42ef77d0380f /media/lrdp/Fantec3 ext4 defaults,nosuid,nodev,uhelper=udisks 0 0
#sdg1
#UUID=d5abe402-fead-45ec-a15d-42375c29b89e /media/lrdp/Fantec4 ext4 defaults,nosuid,nodev,uhelper=udisks 0 0
#sdh
#UUID=8de8473e-8d6c-40d1-8f37-0a3352dfb8cd /media/lrdp/Fantec2 ext4 defaults,nosuid,nodev,uhelper=udisks 0 0
LABEL=Gold1 /mnt/Gold1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Documents /mnt/Documents auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=2TO /mnt/2TO auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec2 /mnt/Fantec2 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec3 /mnt/Fantec3 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Stockage /mnt/Stockage auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Sauvegarde /mnt/Sauvegarde auto nosuid,nodev,nofail,x-gvfs-show 0 0
Les lettres sont anarchiques : Ubuntu est en sda, le SSD Debian n'est pas dedans et /mnt/stockage a disparu (c'est ce disque que j'essaye de récupérer en partie par ddrescue, en veille en ce moment)
Boot-info suggère une réinstallation de Grub-efi sur sdg (Ubuntu) mais ne parle pas d'émanciper l'autre OS.
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#33 Le 11/12/2023, à 16:00
- geole
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Bonjour.
Je réponds rapidement
Si ton dock est toujours connecté et que refind boote enfin, c'est ce qu'on voulait.
Soit, par accident, il boote depuis le bon disque USB
Soit, il suit la consigne contenue dans la nvram. Ce qui serait le mieux.
Cependant, Voici mon avis.
Tu devrais créer une partition FAT32 de 36 Mo et lui transférer tout le logiciel refind et dire à la nvram de booter refind depuis cette partition EFI du disque interne.
Je te donnerais la commande.
Les lettres des disques n'ont aucun sens. C'est pour cela qu'on utilise les UUID
J'ai vu que toutes tes partitions ont une étiquette/un label c'est parfait.
Le boot-info a dit.
OS#1: Debian GNU/Linux 12 (bookworm) on sdh5
OS#2: Ubuntu 22.04.3 LTS on sdg5
sdh5 ext4 c8628d39-b625-484d-a218-c22035bab3f5 ee4427dc-05 Debian
sdg5 ext4 c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ee4427dc-05 system
Il va falloir maintenant que tu paramètres un peu refind car tu dois avoir trop de gros icônes.
et surtout que tu apprennnes à pas booter ubuntu via le grub mais directement par son noyau.
Il me semble que se sont des icônes oranges. Sous les icônes tu dois voir le label de la partition visée
Voici les fichiers de boot selectables directemenent sans passer par le grub.
Il faut appuyer sur la touche F2 si tu ne veux pas booter avec le plus récent.
================= sdg5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
84,090900421 = 90,291916800 boot/vmlinuz-5.15.0-87-generic 2
15,478511810 = 16,619925504 boot/vmlinuz-5.15.0-88-generic 2
318,887771606 = 342,403137536 boot/vmlinuz-5.15.0-89-generic 2
269,330074310 = 289,190965248 boot/vmlinuz-5.15.0-91-generic 2
249,780426025 = 268,199690240 boot/vmlinuz-6.2.0-37-generic 2
255,861324310 = 274,729005056 boot/initrd.img-5.15.0-87-generic 6
256,149814606 = 275,038769152 boot/initrd.img-5.15.0-88-generic 3
288,095123291 = 309,339783168 boot/initrd.img-5.15.0-89-generic 2
272,126365662 = 292,193460224 boot/initrd.img-5.15.0-91-generic 7
288,372444153 = 309,637554176 boot/initrd.img-6.2.0-37-generic 4
Normalement refind doit bien te proposer de booter debian car il y a un noyau présent.
================= sdh5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0,829841614 = 0,891035648 boot/vmlinuz-6.1.0-13-amd64 1
1,874515533 = 2,012745728 boot/initrd.img-6.1.0-13-amd64 1
Boot-repair propose toujours une réparation recommendée. C'est le premier de la liste. Même s'il fonctionne très bien.
Je vois que le concepteur de boot-repair ne pense toujours pas proposer refind.
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdg5,using the following options: sdg1/boot/efi
======================= sdg5/etc/default/grub (filtered) =======================
GRUB_DISABLE_OS_PROBER=false
Tu penseras à remplacer false par true
Rien à faire pour debian car il n'a pas de grub.
Dernière modification par geole (Le 11/12/2023, à 17:02)
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
#34 Le 11/12/2023, à 16:22
- O_20_100_O
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Il me semble que se sont des icônes jaune. sous les icônes tu dois voir le label de la partition visée
L'icône choisie fait afficher en dessous le numéro du noyau et la partition qui le contient.
Celle qui lance Grub est de même couleur mais en dessous il y a ubuntu\grub64.efi from EFI partition
Dernière modification par O_20_100_O (Le 11/12/2023, à 16:38)
Hors ligne
#35 Le 11/12/2023, à 16:22
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Merci Geole pour ton aide.
Les disques Ubuntu et Debian ont tous les deux une partition EFI. Celle du Debian se monte (curieusement) sur /boot/efi et celle d'Ubuntu en /media/lrdp/896D-A6A9. Donc c'est certainement /boot/efi qui lance Ubuntu.
Mais /boot de Debian ne contient rien:
ls -l /media/lrdp/Debian/boot
total 38424
-rw-r--r-- 1 root root 259421 sept. 29 06:15 config-6.1.0-13-amd64
-rw-r--r-- 1 root root 30940146 déc. 10 12:02 initrd.img-6.1.0-13-amd64
-rw-r--r-- 1 root root 83 sept. 29 06:15 System.map-6.1.0-13-amd64
-rw-r--r-- 1 root root 8135584 sept. 29 06:15 vmlinuz-6.1.0-13-amd64
par contre son EFI :
sudo ls -l /boot/efi/EFI
total 8
drwx------ 5 root root 4096 déc. 10 11:45 BOOT
drwx------ 2 root root 4096 déc. 11 14:46 ubuntu
et son "ubuntu
sudo ls -l /boot/efi/EFI/ubuntu
total 2544
-rwx------ 1 root root 129 déc. 11 14:46 grub.cfg
-rwx------ 1 root root 2598792 oct. 8 20:03 grubx64.efi
et le /BOOT:
sudo ls -l /boot/efi/EFI/BOOT
total 5440
-rwx------ 1 root root 2594696 mai 5 2023 bkpbootx64.efi
-rwx------ 1 root root 2598792 oct. 8 20:03 bootx64.efi
drwx------ 2 root root 4096 déc. 10 11:44 drivers_x64
drwx------ 2 root root 8192 déc. 10 11:45 icons
-rwx------ 1 root root 34513 déc. 10 11:45 refind.conf-sample
-rwx------ 1 root root 319414 déc. 10 11:45 refind_x64.efi
drwx------ 2 root root 4096 déc. 10 11:45 tools_x64
Je pense donc faire un rsync de /boot/efi qui est sur le disque Debian dans la partition EFI du disque Ubuntu pour remettre les choses dans l'ordre en attendant ton avis.
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#36 Le 11/12/2023, à 16:25
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
@0 20 100 0
Oui, j'ai booté sur cette icône qui m'envoie sur Grub et lance Ubuntu alors que cette partition EFI est sur l'autre disque
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#37 Le 11/12/2023, à 17:09
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Pour l'instant j'ai copié le contenu de /boot/efi dans la partition EFI de sdg (disque système Ubuntu). Il reste toujours grub et son grub.cfg, le tout indique de booter sur Ubuntu (sdg5 root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ). Sur sdh (Debian) on retrouve la même UUID .
J'ai refait un boot-info à tout z-hasard:
boot-repair-4ppa2059 [20231211_1650]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.
=> No boot loader is installed in the MBR of /dev/sdd.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdf and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 4553b541-ff65-4e03-8434-50b7bfc80b05 root hd0,msdos2
set prefix=($root)'/grub'
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdg 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
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdh 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: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdc2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdd1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdf1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdg1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/refind/refind.conf /efi/BOOT/bkpbootx64.efi
/efi/BOOT/bootx64.efi /efi/BOOT/refind_x64.efi
/efi/refind/refind_x64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/grub.cfg
/efi/BOOT/drivers_x64/btrfs_x64.efi
/efi/BOOT/drivers_x64/ext2_x64.efi
/efi/BOOT/drivers_x64/ext4_x64.efi
/efi/BOOT/drivers_x64/hfs_x64.efi
/efi/BOOT/drivers_x64/iso9660_x64.efi
/efi/BOOT/drivers_x64/reiserfs_x64.efi
/efi/BOOT/tools_x64/gptsync_x64.efi
/efi/refind/drivers_x64/ext4_x64.efi
sdg2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdg5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/refind_linux.conf
sdh1: __________________________________________________________________________
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/refind_x64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/grub.cfg
/efi/BOOT/drivers_x64/btrfs_x64.efi
/efi/BOOT/drivers_x64/ext2_x64.efi
/efi/BOOT/drivers_x64/ext4_x64.efi
/efi/BOOT/drivers_x64/hfs_x64.efi
/efi/BOOT/drivers_x64/iso9660_x64.efi
/efi/BOOT/drivers_x64/reiserfs_x64.efi
/efi/BOOT/tools_x64/gptsync_x64.efi
sdh2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdh5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 12 (bookworm)
Boot files: /etc/fstab
sde: ___________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: Debian GNU/Linux 12 (bookworm) on sdh5
OS#2: Ubuntu 22.04.3 LTS on sdg5
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GF116 [GeForce GTX 550 Ti] EFI VGA from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-37-generic root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7
df -Th / : /dev/sdg5 ext4 457G 267G 167G 62% /
===================================== UEFI =====================================
BIOS/UEFI firmware: H.G0(5.17) from American Megatrends International, LLC.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,000D,000B,000F,000C,000E
Boot0000* rEFInd Boot Manager HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\REFIND\REFIND_X64.EFI)
Boot000B CD/DVD Drive BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.S.U.S. . . . . .D.R.W.-.2.4.F.1.M.T...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.1.S.I.A.Y.6.G.A.0.9.6.0.3.T. . . . . . ........BO
Boot000C Hard Drive BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........C.r.u.c.i.a.l._.C.T.5.0.0.M.X.2.0.0.S.S.D.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . .5.1.4.4.0.1.7.F.5.A.9.7........BO..NO..........C.T.2.0.0.0.M.X.5.0.0.S.S.D.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.3.2.8.0.6.E.F.A.E.3.6.0. . . . . . . . ........BO
Boot000D* ubuntu HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)
Boot000E USB HDD BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO..........W.D.C. .W.D.6.0.0.1.F.Z.W.X.-.0.0.A.2.V.A.0. .0.1.2.5...................\.,.@.r.d.=.X..........A............................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO
Boot000F USB Floppy BBS(Floppy,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0800)..GO..NO..........W.D.C. .W.D.6.0.0.3.F.Z.B.X.-.0.0.K.5.W.B.0. .0.1.2.5...................\.,.@.r.d.=.X..........A.................................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO
78dce18613524e5ea5d6059f51b7178f sdg1/BOOT/bkpbootx64.efi
d4646b0af24b169d62bc44cff8967793 sdg1/BOOT/bootx64.efi
fff7eb4219a93fa99b0132e0a57842e9 sdg1/BOOT/refind_x64.efi
e6e796073fad7feb38ba8563e6b3ad75 sdg1/refind/refind_x64.efi
a1da253696a304dce6b4668b70151c0e sdg1/ubuntu/grubx64.efi
6c8344b9e41d3cf171fbcecefdb829db sdg1/BOOT/drivers_x64/btrfs_x64.efi
b6a6615b0da79812bca9afd84176679f sdg1/BOOT/drivers_x64/ext2_x64.efi
2d4525327047ee22a4aa69fbaa340786 sdg1/BOOT/drivers_x64/ext4_x64.efi
d5beaeeda7cc53e969845fab50691be0 sdg1/BOOT/drivers_x64/hfs_x64.efi
21e837d6e6ee41c18925bbe7f44712da sdg1/BOOT/drivers_x64/iso9660_x64.efi
58c9f01b8fe06b61076bb01b73e76d60 sdg1/BOOT/drivers_x64/reiserfs_x64.efi
d5798275ed662bad43e69744d436341f sdg1/BOOT/tools_x64/gptsync_x64.efi
0a80fb871c16eb7aa2dc6056222709f0 sdg1/refind/drivers_x64/ext4_x64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdg : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdf : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 63 sectors * 512 bytes
sdd : is-GPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdh : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdg5 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdf1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdd1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdg1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdh5 : is-os, 64, apt-get, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdh1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdg5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdf1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdd1 : 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
sdg1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc2 : isnotESP, part-has-no-fstab, 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, no-bmgr, notwinboot
sdh5 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdh1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdg5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdg
sdf1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdf
sdd1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdd
sdb1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdg1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdg
sdc2 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sda1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdh5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, no--grub.d, sdh
sdh1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdh
fdisk -l (filtered): ___________________________________________________________
Disk sda: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 224DFCFD-64CD-4F51-80B3-722F510BA5C7
Start End Sectors Size Type
sda1 2048 11721043967 11721041920 5.5T Linux filesystem
Disk sdb: 14.55 TiB, 16000900661248 bytes, 31251759104 sectors
Disk identifier: 8AB61712-1941-4E0A-9241-11191D484CA0
Start End Sectors Size Type
sdb1 2048 31251757055 31251755008 14.6T Linux filesystem
Disk sdc: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0x61065840
Boot Start End Sectors Size Id Type
sdc2 2048 3907028991 3907026944 1.8T 83 Linux
Disk sdd: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 3060F17F-570D-674E-9C55-D9C4EF3A7762
Start End Sectors Size Type
sdd1 2048 11721043967 11721041920 5.5T Linux filesystem
Disk sde: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk sdf: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xb50ba6b7
Boot Start End Sectors Size Id Type
sdf1 63 3907029167 3907029105 1.8T 83 Linux
Disk sdg: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xee4427dc
Boot Start End Sectors Size Id Type
sdg1 * 2048 1050623 1048576 512M b W95 FAT32
sdg2 1052670 976771071 975718402 465.3G 5 Extended
sdg5 1052672 976771071 975718400 465.3G 83 Linux
Disk sdh: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xee4427dc
Boot Start End Sectors Size Id Type
sdh1 2048 1050623 1048576 512M b W95 FAT32
sdh2 1052670 1954039807 1952987138 931.3G 5 Extended
sdh5 * 1052672 1954039807 1952987136 931.3G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:6001GB:scsi:512:4096:gpt:ATA ST6000NM021A-2R7:;
1:1049kB:6001GB:6001GB:ext4:Exos1:;
sdb:16.0TB:scsi:512:4096:gpt:ATA WDC WD161KRYZ-01:;
1:1049kB:16.0TB:16.0TB:ext4:Gold1:;
sdc:2000GB:scsi:512:512:msdos:ATA WDC WD2002FAEX-0:;
2:1049kB:2000GB:2000GB:ext4::;
sdd:6001GB:scsi:512:4096:gpt:WDC WD60 01FZWX-00A2VA0:;
1:1049kB:6001GB:6001GB:ext4:Fantec3:;
sde:6001GB:scsi:512:4096:loop:WDC WD60 03FZBX-00K5WB0:;
1:0.00B:6001GB:6001GB:ext4::;
sdf:2000GB:scsi:512:512:msdos:ATA WDC WD2002FAEX-0:;
1:32.3kB:2000GB:2000GB:ext4::;
sdg:500GB:scsi:512:4096:msdos:ATA Crucial_CT500MX2:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:500GB:500GB:::;
5:539MB:500GB:500GB:ext4::;
sdh:2000GB:scsi:512:4096:msdos:ATA CT2000MX500SSD1:;
1:1049kB:538MB:537MB:fat32::;
2:539MB:1000GB:1000GB:::;
5:539MB:1000GB:1000GB:ext4::boot;
Free space >10MiB: ______________________________________________________________
sdh: 954121MiB:1907729MiB:953608MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ext4 52e670a3-d05f-41e0-89ff-8bb7411dc529 d1b23f08-b43f-48e1-a905-0254bdba7e64 Exos1 Exos1
sdb
└─sdb1 ext4 65d8f5ba-a25a-41ce-8fe0-03a28dcf324c 9fb0be0a-87cf-47b8-b5cb-4f45280b0e93 Gold1 Gold1
sdc
└─sdc2 ext4 a2b7cf71-48ba-48da-be47-e89b1cb1ea17 61065840-02 Documents
sdd
└─sdd1 ext4 aad88602-bce5-4019-a4c4-42ef77d0380f f0185232-c83c-ce4b-a566-6ee64227b5b8 Fantec3 Fantec3
sde ext4 8de8473e-8d6c-40d1-8f37-0a3352dfb8cd Fantec2
sdf
└─sdf1 ext4 a97646c3-41f8-41a6-93df-604046088fd2 b50ba6b7-01 Sauvegarde
sdg
├─sdg1 vfat 896D-A6A9 ee4427dc-01
├─sdg2 ee4427dc-02
└─sdg5 ext4 c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ee4427dc-05 system
sdh
├─sdh1 vfat 896D-A6A9 ee4427dc-01
├─sdh2 ee4427dc-02
└─sdh5 ext4 c8628d39-b625-484d-a218-c22035bab3f5 ee4427dc-05 Debian
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 5.1T 0% /mnt/boot-sav/sda1
/dev/sdb1 2.9T 75% /mnt/Gold1
/dev/sdc2 1.2T 30% /mnt/Documents
/dev/sdd1 2.6T 47% /mnt/Fantec3
/dev/sde 4.5T 12% /mnt/Fantec2
/dev/sdf1 444.3G 71% /mnt/Sauvegarde
/dev/sdg1 495M 3% /media/lrdp/896D-A6A9
/dev/sdg5 166.9G 58% /
/dev/sdh5 868.1G 0% /media/lrdp/Debian
Mount options (filtered): ______________________________________________________
==================== sdg1/EFI/refind/refind.conf (filtered) ====================
timeout 20
use_nvram false
menuentry Linux {
icon EFI/refind/icons/os_linux.png
volume 904404F8-B481-440C-A1E3-11A5A954E601
loader bzImage-3.3.0-rc7
initrd initrd-3.3.0.img
options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
disabled
}
menuentry "Arch Linux" {
icon /EFI/refind/icons/os_arch.png
volume "Arch Linux"
loader /boot/vmlinuz-linux
initrd /boot/initramfs-linux.img
options "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
submenuentry "Boot using fallback initramfs" {
initrd /boot/initramfs-linux-fallback.img
}
submenuentry "Boot to terminal" {
add_options "systemd.unit=multi-user.target"
}
disabled
}
menuentry Ubuntu {
loader /EFI/ubuntu/grubx64.efi
icon /EFI/refind/icons/os_linux.png
disabled
}
menuentry "ELILO" {
loader \EFI\elilo\elilo.efi
disabled
}
menuentry "Windows 7" {
loader \EFI\Microsoft\Boot\bootmgfw.efi
disabled
}
menuentry "Windows via shell script" {
icon \EFI\refind\icons\os_win.png
loader \EFI\tools\shell.efi
options "fs0:\EFI\tools\launch_windows.nsh"
disabled
}
menuentry "My macOS" {
icon \EFI\refind\icons\os_mac.png
volume "macOS boot"
loader \System\Library\CoreServices\boot.efi
disabled
}
menuentry "macOS via BootNext" {
icon /EFI/refind/icons/os_mac.png
firmware_bootnum 80
disabled
}
===================== sdg1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 root hd7,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdg5/boot/grub/grub.cfg (filtered) ======================
Ubuntu c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 6.2.0-37-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-91-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-89-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-88-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-87-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sdg5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=896D-A6A9 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
LABEL=Gold1 /mnt/Gold1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Documents /mnt/Documents auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=2TO /mnt/2TO auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec2 /mnt/Fantec2 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec3 /mnt/Fantec3 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Stockage /mnt/Stockage auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Sauvegarde /mnt/Sauvegarde auto nosuid,nodev,nofail,x-gvfs-show 0 0
======================= sdg5/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_DISABLE_OS_PROBER=false
==================== sdg5/boot/refind_linux.conf (filtered) ====================
"Boot with standard options" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7"
"Boot to single-user mode" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7 single"
"Boot with minimal options" "ro root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8"
==================== sdg5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
56,722324371 = 60,905132032 boot/grub/grub.cfg 1
269,330074310 = 289,190965248 boot/vmlinuz 2
84,090900421 = 90,291916800 boot/vmlinuz-5.15.0-87-generic 2
15,478511810 = 16,619925504 boot/vmlinuz-5.15.0-88-generic 2
318,887771606 = 342,403137536 boot/vmlinuz-5.15.0-89-generic 2
269,330074310 = 289,190965248 boot/vmlinuz-5.15.0-91-generic 2
249,780426025 = 268,199690240 boot/vmlinuz-6.2.0-37-generic 2
318,887771606 = 342,403137536 boot/vmlinuz.old 2
272,126365662 = 292,193460224 boot/initrd.img 7
255,861324310 = 274,729005056 boot/initrd.img-5.15.0-87-generic 6
256,149814606 = 275,038769152 boot/initrd.img-5.15.0-88-generic 3
288,095123291 = 309,339783168 boot/initrd.img-5.15.0-89-generic 2
272,126365662 = 292,193460224 boot/initrd.img-5.15.0-91-generic 7
288,372444153 = 309,637554176 boot/initrd.img-6.2.0-37-generic 4
288,095123291 = 309,339783168 boot/initrd.img.old 2
===================== sdg5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 déc. 18 2022 10_linux
-rwxr-xr-x 1 root root 43031 déc. 18 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 déc. 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 déc. 18 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 déc. 18 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 214 déc. 2 2022 40_custom
-rwxr-xr-x 1 root root 215 déc. 18 2022 41_custom
===================== sdh1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 root hd3,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
========================== sdh5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdi5 during installation
UUID=c8628d39-b625-484d-a218-c22035bab3f5 / ext4 errors=remount-ro 0 1
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
==================== sdh5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0,829841614 = 0,891035648 boot/vmlinuz-6.1.0-13-amd64 1
0,829841614 = 0,891035648 vmlinuz 1
0,829841614 = 0,891035648 vmlinuz.old 1
1,874515533 = 2,012745728 boot/initrd.img-6.1.0-13-amd64 1
1,874515533 = 2,012745728 initrd.img 1
1,874515533 = 2,012745728 initrd.img.old 1
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdg5,
using the following options: sdg1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.3 LTS entry (sdg1/efi/****/grub****.efi (**** will be updated in the final message) file) !
Il faut probablement inhiber Grub et indiquer use-nvram true dans le refind.conf ?? Mais toutes les lignes de ce .conf sont commentées, comment indiquer les deux OS pour booter selon le choix
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#38 Le 11/12/2023, à 17:11
- geole
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Attention au rsync, il va prendre en compte refind et il me semble bien que l'un est incomplet.
Tout à l'heure tu as dis que tu bootais par refind alors ne regarde plus le contenu du répertoire EFI de ubuntu et ne prononce plus le mot grub sauf si c'est pour dire que tu le supprimes..
Et essaies de trouver l'icône qui montre le noyau de ubuntu pour booter avec sans passer par le grub.
Ton dernier boot-info montre que tu bootes bien avec refind.
BootCurrent: 0000
BootOrder: 0000,000D,000B,000F,000C,000E
Boot0000* rEFInd Boot Manager HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\REFIND\REFIND_X64.EFI)
Le disque de référence utilisé par le bios pour lancer refind est
Disk sdh: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xee4427dc
Dernière modification par geole (Le 11/12/2023, à 17:26)
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
#39 Le 11/12/2023, à 17:43
- geole
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Pour le paramétrage refind
Les lignes de paramètres commentées contiennent les valeurs par défaut.
Tu décommentes pour changer les valeurs. C'est pris automatiquement au boot suivant.
Tu peux dire que l'O.S. qui se lance par défaut
est le premier de la liste ou le second ou..
est celui qui avait été lancé la fois d'avant. ( signe +)
Tu peux aussi utiliser des créneaux horaire... mais pas de choix des jours
Si tu as un écran tactile,tu peux activer le choix tactile,
Je te rappelle qu'il n'y a pas lieu de choisir efi/ubuntu/grub et qu'il est préférable de choisir /boot/vmlinuz.nnnnnnn
et que tu peux choisir de masquer des fichiers tel que grubx64.efi ou des répertoires, voir des partitions.
Dernière modification par geole (Le 11/12/2023, à 18:09)
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
#40 Le 11/12/2023, à 17:49
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
ok Geole, de toute façon, rsync réclamait des autorisations, donc j'ai simplement copié le contenu de /boot/efi qui est sur sdg, mais qui est montable à partir de sdh (!!?), dans la partition EFI de sdg qui est le disque Ubuntu. Le BIOS confond les partitions EFI des 2 disques en démarrant sur la partition EFI de sdh qui est en fait le contenu de /boot/efi de sdg : ma qué loco ! Je vois qu'il y a un Grub2 dans sdf qui est un périphérique de données, et aussi dans sdg et sdh qui ont le même boot files, sdg5 qui est la partition d'Ubuntu a le grub qui démarre.
Je crois que tu vas conseiller de purger Grub dans les 2 disques sdg et sdh pour laisser Refind travailler.
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#41 Le 11/12/2023, à 17:49
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
nos messages se sont croisés
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#42 Le 11/12/2023, à 17:58
- geole
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Effectivement il y a un énorme problème.
sdg
├─sdg1 vfat 896D-A6A9 ee4427dc-01
sdh
├─sdh1 vfat 896D-A6A9 ee4427dc-01
Lance gparted et modifie le UUID de l'une des deux.(Ce double provient certainement d'un Copier/coller de partition)
Dernière modification par geole (Le 11/12/2023, à 19:49)
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
#43 Le 11/12/2023, à 19:43
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Oui, le paradoxe est que la partition EFI qui boote devrait se trouver au débur de sdg, mais elle est au début de sdh comme sur ces copies d'écran
J'ai donc copié /boot/efi de sdh sur la partition /media/lrdp/896D-A6A9
et le résultat :
Sur sdh , cette partition reste juste "fat32" et il n'y a plus d'EFI
Une étape de franchie pour résoudre les erreurs !
J'essaie maintenant de configurer refind.conf qui se trouve maintenant dans /boot/efi/EFI/BOOT (dossier où se monte la partition EFI de sdg), mais c'est bien moins facile que /etc/defaut/grub , je ferai quelques brouillons à te soumettre
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#44 Le 12/12/2023, à 11:49
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Bonjour, bonjour,
boot-info de ce matin :
boot-repair-4ppa2059 [20231212_1111]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.
=> No boot loader is installed in the MBR of /dev/sdd.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdf and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 4553b541-ff65-4e03-8434-50b7bfc80b05 root hd0,msdos2
set prefix=($root)'/grub'
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdg 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
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdh 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: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdc2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdd1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdf1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdg1: __________________________________________________________________________
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/refind_x64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/grub.cfg
/efi/BOOT/drivers_x64/btrfs_x64.efi
/efi/BOOT/drivers_x64/ext2_x64.efi
/efi/BOOT/drivers_x64/ext4_x64.efi
/efi/BOOT/drivers_x64/hfs_x64.efi
/efi/BOOT/drivers_x64/iso9660_x64.efi
/efi/BOOT/drivers_x64/reiserfs_x64.efi
/efi/BOOT/tools_x64/gptsync_x64.efi
sdg2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdg5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/refind_linux.conf
sdh1: __________________________________________________________________________
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/refind_x64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/grub.cfg
/efi/BOOT/drivers_x64/btrfs_x64.efi
/efi/BOOT/drivers_x64/ext2_x64.efi
/efi/BOOT/drivers_x64/ext4_x64.efi
/efi/BOOT/drivers_x64/hfs_x64.efi
/efi/BOOT/drivers_x64/iso9660_x64.efi
/efi/BOOT/drivers_x64/reiserfs_x64.efi
/efi/BOOT/tools_x64/gptsync_x64.efi
sdh2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdh5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 12 (bookworm)
Boot files: /etc/fstab
sde: ___________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: Debian GNU/Linux 12 (bookworm) on sdh5
OS#2: Ubuntu 22.04.3 LTS on sdg5
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GF116 [GeForce GTX 550 Ti] EFI VGA from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-37-generic root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7
df -Th / : /dev/sdg5 ext4 457G 267G 167G 62% /
===================================== UEFI =====================================
BIOS/UEFI firmware: H.G0(5.17) from American Megatrends International, LLC.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,000D,000B,000F,000C,000E
Boot0000* rEFInd Boot Manager HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\REFIND\REFIND_X64.EFI)
Boot000B CD/DVD Drive BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.S.U.S. . . . . .D.R.W.-.2.4.F.1.M.T...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.1.S.I.A.Y.6.G.A.0.9.6.0.3.T. . . . . . ........BO
Boot000C Hard Drive BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........C.r.u.c.i.a.l._.C.T.5.0.0.M.X.2.0.0.S.S.D.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . .5.1.4.4.0.1.7.F.5.A.9.7........BO..NO..........C.T.2.0.0.0.M.X.5.0.0.S.S.D.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.3.2.8.0.6.E.F.A.E.3.6.0. . . . . . . . ........BO
Boot000D* ubuntu HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)
Boot000E USB HDD BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO..........W.D.C. .W.D.6.0.0.1.F.Z.W.X.-.0.0.A.2.V.A.0. .0.1.2.5...................\.,.@.r.d.=.X..........A............................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO
Boot000F USB Floppy BBS(Floppy,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0800)..GO..NO..........W.D.C. .W.D.6.0.0.3.F.Z.B.X.-.0.0.K.5.W.B.0. .0.1.2.5...................\.,.@.r.d.=.X..........A.................................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO
78dce18613524e5ea5d6059f51b7178f sdh1/BOOT/bkpbootx64.efi
d4646b0af24b169d62bc44cff8967793 sdh1/BOOT/bootx64.efi
fff7eb4219a93fa99b0132e0a57842e9 sdh1/BOOT/refind_x64.efi
d4646b0af24b169d62bc44cff8967793 sdh1/ubuntu/grubx64.efi
6c8344b9e41d3cf171fbcecefdb829db sdh1/BOOT/drivers_x64/btrfs_x64.efi
b6a6615b0da79812bca9afd84176679f sdh1/BOOT/drivers_x64/ext2_x64.efi
2d4525327047ee22a4aa69fbaa340786 sdh1/BOOT/drivers_x64/ext4_x64.efi
d5beaeeda7cc53e969845fab50691be0 sdh1/BOOT/drivers_x64/hfs_x64.efi
21e837d6e6ee41c18925bbe7f44712da sdh1/BOOT/drivers_x64/iso9660_x64.efi
58c9f01b8fe06b61076bb01b73e76d60 sdh1/BOOT/drivers_x64/reiserfs_x64.efi
d5798275ed662bad43e69744d436341f sdh1/BOOT/tools_x64/gptsync_x64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdg : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdf : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 63 sectors * 512 bytes
sdd : is-GPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdh : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdg5 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdf1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdd1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdg1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdh5 : is-os, 64, apt-get, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdh1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdg5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdf1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdd1 : 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
sdg1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc2 : isnotESP, part-has-no-fstab, 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, no-bmgr, notwinboot
sdh5 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdh1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdg5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdg
sdf1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdf
sdd1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdd
sdb1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdg1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdg
sdc2 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sda1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdh5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, no--grub.d, sdh
sdh1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdh
fdisk -l (filtered): ___________________________________________________________
Disk sda: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 224DFCFD-64CD-4F51-80B3-722F510BA5C7
Start End Sectors Size Type
sda1 2048 11721043967 11721041920 5.5T Linux filesystem
Disk sdb: 14.55 TiB, 16000900661248 bytes, 31251759104 sectors
Disk identifier: 8AB61712-1941-4E0A-9241-11191D484CA0
Start End Sectors Size Type
sdb1 2048 31251757055 31251755008 14.6T Linux filesystem
Disk sdc: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0x61065840
Boot Start End Sectors Size Id Type
sdc2 2048 3907028991 3907026944 1.8T 83 Linux
Disk sdd: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 3060F17F-570D-674E-9C55-D9C4EF3A7762
Start End Sectors Size Type
sdd1 2048 11721043967 11721041920 5.5T Linux filesystem
Disk sde: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk sdf: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xb50ba6b7
Boot Start End Sectors Size Id Type
sdf1 63 3907029167 3907029105 1.8T 83 Linux
Disk sdg: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xee4427dc
Boot Start End Sectors Size Id Type
sdg1 * 2048 1050623 1048576 512M b W95 FAT32
sdg2 1052670 976771071 975718402 465.3G 5 Extended
sdg5 1052672 976771071 975718400 465.3G 83 Linux
Disk sdh: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xee4427dc
Boot Start End Sectors Size Id Type
sdh1 2048 1050623 1048576 512M b W95 FAT32
sdh2 1052670 1954039807 1952987138 931.3G 5 Extended
sdh5 * 1052672 1954039807 1952987136 931.3G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:6001GB:scsi:512:4096:gpt:ATA ST6000NM021A-2R7:;
1:1049kB:6001GB:6001GB:ext4:Exos1:;
sdb:16.0TB:scsi:512:4096:gpt:ATA WDC WD161KRYZ-01:;
1:1049kB:16.0TB:16.0TB:ext4:Gold1:;
sdc:2000GB:scsi:512:512:msdos:ATA WDC WD2002FAEX-0:;
2:1049kB:2000GB:2000GB:ext4::;
sdd:6001GB:scsi:512:4096:gpt:WDC WD60 01FZWX-00A2VA0:;
1:1049kB:6001GB:6001GB:ext4:Fantec3:;
sde:6001GB:scsi:512:4096:loop:WDC WD60 03FZBX-00K5WB0:;
1:0.00B:6001GB:6001GB:ext4::;
sdf:2000GB:scsi:512:512:msdos:ATA WDC WD2002FAEX-0:;
1:32.3kB:2000GB:2000GB:ext4::;
sdg:500GB:scsi:512:4096:msdos:ATA Crucial_CT500MX2:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:500GB:500GB:::;
5:539MB:500GB:500GB:ext4::;
sdh:2000GB:scsi:512:4096:msdos:ATA CT2000MX500SSD1:;
1:1049kB:538MB:537MB:fat32::;
2:539MB:1000GB:1000GB:::;
5:539MB:1000GB:1000GB:ext4::boot;
Free space >10MiB: ______________________________________________________________
sdh: 954121MiB:1907729MiB:953608MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ext4 52e670a3-d05f-41e0-89ff-8bb7411dc529 d1b23f08-b43f-48e1-a905-0254bdba7e64 Exos1 Exos1
sdb
└─sdb1 ext4 65d8f5ba-a25a-41ce-8fe0-03a28dcf324c 9fb0be0a-87cf-47b8-b5cb-4f45280b0e93 Gold1 Gold1
sdc
└─sdc2 ext4 a2b7cf71-48ba-48da-be47-e89b1cb1ea17 61065840-02 Documents
sdd
└─sdd1 ext4 aad88602-bce5-4019-a4c4-42ef77d0380f f0185232-c83c-ce4b-a566-6ee64227b5b8 Fantec3 Fantec3
sde ext4 8de8473e-8d6c-40d1-8f37-0a3352dfb8cd Fantec2
sdf
└─sdf1 ext4 a97646c3-41f8-41a6-93df-604046088fd2 b50ba6b7-01 Sauvegarde
sdg
├─sdg1 vfat 896D-A6A9 ee4427dc-01
├─sdg2 ee4427dc-02
└─sdg5 ext4 c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ee4427dc-05 system
sdh
├─sdh1 vfat 896D-A6A9 ee4427dc-01
├─sdh2 ee4427dc-02
└─sdh5 ext4 c8628d39-b625-484d-a218-c22035bab3f5 ee4427dc-05 Debian
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 5.1T 0% /mnt/boot-sav/sda1
/dev/sdb1 2.9T 75% /mnt/Gold1
/dev/sdc2 1.2T 30% /mnt/Documents
/dev/sdd1 2.6T 47% /mnt/Fantec3
/dev/sde 4.5T 12% /mnt/Fantec2
/dev/sdf1 444.3G 71% /mnt/Sauvegarde
/dev/sdg5 166.9G 58% /
/dev/sdh1 502M 2% /mnt/boot-sav/sdh1
/dev/sdh5 868.1G 0% /media/lrdp/Debian
Mount options (filtered): ______________________________________________________
===================== sdg1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 root hd3,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdg5/boot/grub/grub.cfg (filtered) ======================
Ubuntu c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 6.2.0-37-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-91-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-89-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-88-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-87-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sdg5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=896D-A6A9 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
LABEL=Gold1 /mnt/Gold1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Documents /mnt/Documents auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=2TO /mnt/2TO auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec2 /mnt/Fantec2 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec3 /mnt/Fantec3 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Stockage /mnt/Stockage auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Sauvegarde /mnt/Sauvegarde auto nosuid,nodev,nofail,x-gvfs-show 0 0
======================= sdg5/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_DISABLE_OS_PROBER=false
GRUB_DISABLE_OS_PROBER=true
==================== sdg5/boot/refind_linux.conf (filtered) ====================
"Boot with standard options" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7"
"Boot to single-user mode" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7 single"
"Boot with minimal options" "ro root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8"
==================== sdg5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
56,722324371 = 60,905132032 boot/grub/grub.cfg 1
269,330074310 = 289,190965248 boot/vmlinuz 2
84,090900421 = 90,291916800 boot/vmlinuz-5.15.0-87-generic 2
15,478511810 = 16,619925504 boot/vmlinuz-5.15.0-88-generic 2
318,887771606 = 342,403137536 boot/vmlinuz-5.15.0-89-generic 2
269,330074310 = 289,190965248 boot/vmlinuz-5.15.0-91-generic 2
249,780426025 = 268,199690240 boot/vmlinuz-6.2.0-37-generic 2
318,887771606 = 342,403137536 boot/vmlinuz.old 2
272,126365662 = 292,193460224 boot/initrd.img 7
255,861324310 = 274,729005056 boot/initrd.img-5.15.0-87-generic 6
256,149814606 = 275,038769152 boot/initrd.img-5.15.0-88-generic 3
288,095123291 = 309,339783168 boot/initrd.img-5.15.0-89-generic 2
272,126365662 = 292,193460224 boot/initrd.img-5.15.0-91-generic 7
288,372444153 = 309,637554176 boot/initrd.img-6.2.0-37-generic 4
288,095123291 = 309,339783168 boot/initrd.img.old 2
===================== sdg5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 déc. 18 2022 10_linux
-rwxr-xr-x 1 root root 43031 déc. 18 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 déc. 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 déc. 18 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 déc. 18 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 214 déc. 2 2022 40_custom
-rwxr-xr-x 1 root root 215 déc. 18 2022 41_custom
===================== sdh1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 root hd3,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
========================== sdh5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdi5 during installation
UUID=c8628d39-b625-484d-a218-c22035bab3f5 / ext4 errors=remount-ro 0 1
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
==================== sdh5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0,829841614 = 0,891035648 boot/vmlinuz-6.1.0-13-amd64 1
0,829841614 = 0,891035648 vmlinuz 1
0,829841614 = 0,891035648 vmlinuz.old 1
1,874515533 = 2,012745728 boot/initrd.img-6.1.0-13-amd64 1
1,874515533 = 2,012745728 initrd.img 1
1,874515533 = 2,012745728 initrd.img.old 1
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdg5,
using the following options: sdg1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.3 LTS entry (sdg1/efi/****/grub****.efi (**** will be updated in the final message) file) !
Je vois que l'erreur signalée par Geole au #42 persiste ! Je n'avais pas contrôlé hier le contenu. Quand j'avais installé Refind, je pensai émuler Debian en copiant l'EFI d'Ubuntu (sdg1) dans l'EFI de Debian (sdh1).
J'ai donc formaté en FAT la partition sdh1 et voilà le résultat de boot-info:
boot-repair-4ppa2059 [20231212_1117]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.
=> No boot loader is installed in the MBR of /dev/sdd.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdf and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 4553b541-ff65-4e03-8434-50b7bfc80b05 root hd0,msdos2
set prefix=($root)'/grub'
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdg 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
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdh 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: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdc2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdd1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdf1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdg1: __________________________________________________________________________
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/refind_x64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/grub.cfg
/efi/BOOT/drivers_x64/btrfs_x64.efi
/efi/BOOT/drivers_x64/ext2_x64.efi
/efi/BOOT/drivers_x64/ext4_x64.efi
/efi/BOOT/drivers_x64/hfs_x64.efi
/efi/BOOT/drivers_x64/iso9660_x64.efi
/efi/BOOT/drivers_x64/reiserfs_x64.efi
/efi/BOOT/tools_x64/gptsync_x64.efi
sdg2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdg5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/refind_linux.conf
sdh1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdh2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdh5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 12 (bookworm)
Boot files: /etc/fstab
sde: ___________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: Debian GNU/Linux 12 (bookworm) on sdh5
OS#2: Ubuntu 22.04.3 LTS on sdg5
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GF116 [GeForce GTX 550 Ti] EFI VGA from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-37-generic root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7
df -Th / : /dev/sdg5 ext4 457G 267G 167G 62% /
===================================== UEFI =====================================
BIOS/UEFI firmware: H.G0(5.17) from American Megatrends International, LLC.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,000D,000B,000F,000C,000E
Boot0000* rEFInd Boot Manager HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\REFIND\REFIND_X64.EFI)
Boot000B CD/DVD Drive BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.S.U.S. . . . . .D.R.W.-.2.4.F.1.M.T...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.1.S.I.A.Y.6.G.A.0.9.6.0.3.T. . . . . . ........BO
Boot000C Hard Drive BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........C.r.u.c.i.a.l._.C.T.5.0.0.M.X.2.0.0.S.S.D.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . .5.1.4.4.0.1.7.F.5.A.9.7........BO..NO..........C.T.2.0.0.0.M.X.5.0.0.S.S.D.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.3.2.8.0.6.E.F.A.E.3.6.0. . . . . . . . ........BO
Boot000D* ubuntu HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)
Boot000E USB HDD BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO..........W.D.C. .W.D.6.0.0.1.F.Z.W.X.-.0.0.A.2.V.A.0. .0.1.2.5...................\.,.@.r.d.=.X..........A............................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO
Boot000F USB Floppy BBS(Floppy,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0800)..GO..NO..........W.D.C. .W.D.6.0.0.3.F.Z.B.X.-.0.0.K.5.W.B.0. .0.1.2.5...................\.,.@.r.d.=.X..........A.................................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO
78dce18613524e5ea5d6059f51b7178f sdg1/BOOT/bkpbootx64.efi
d4646b0af24b169d62bc44cff8967793 sdg1/BOOT/bootx64.efi
fff7eb4219a93fa99b0132e0a57842e9 sdg1/BOOT/refind_x64.efi
d4646b0af24b169d62bc44cff8967793 sdg1/ubuntu/grubx64.efi
6c8344b9e41d3cf171fbcecefdb829db sdg1/BOOT/drivers_x64/btrfs_x64.efi
b6a6615b0da79812bca9afd84176679f sdg1/BOOT/drivers_x64/ext2_x64.efi
2d4525327047ee22a4aa69fbaa340786 sdg1/BOOT/drivers_x64/ext4_x64.efi
d5beaeeda7cc53e969845fab50691be0 sdg1/BOOT/drivers_x64/hfs_x64.efi
21e837d6e6ee41c18925bbe7f44712da sdg1/BOOT/drivers_x64/iso9660_x64.efi
58c9f01b8fe06b61076bb01b73e76d60 sdg1/BOOT/drivers_x64/reiserfs_x64.efi
d5798275ed662bad43e69744d436341f sdg1/BOOT/tools_x64/gptsync_x64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdg : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sdf : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 63 sectors * 512 bytes
sdd : is-GPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdh : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdg5 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdf1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdd1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdg1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdh5 : is-os, 64, apt-get, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdh1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdg5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdf1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdd1 : 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
sdg1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc2 : isnotESP, part-has-no-fstab, 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, no-bmgr, notwinboot
sdh5 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdh1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdg5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdg
sdf1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdf
sdd1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdd
sdb1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdg1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdg
sdc2 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sda1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdh5 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, no--grub.d, sdh
sdh1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdh
fdisk -l (filtered): ___________________________________________________________
Disk sda: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 224DFCFD-64CD-4F51-80B3-722F510BA5C7
Start End Sectors Size Type
sda1 2048 11721043967 11721041920 5.5T Linux filesystem
Disk sdb: 14.55 TiB, 16000900661248 bytes, 31251759104 sectors
Disk identifier: 8AB61712-1941-4E0A-9241-11191D484CA0
Start End Sectors Size Type
sdb1 2048 31251757055 31251755008 14.6T Linux filesystem
Disk sdc: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0x61065840
Boot Start End Sectors Size Id Type
sdc2 2048 3907028991 3907026944 1.8T 83 Linux
Disk sdd: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 3060F17F-570D-674E-9C55-D9C4EF3A7762
Start End Sectors Size Type
sdd1 2048 11721043967 11721041920 5.5T Linux filesystem
Disk sde: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk sdf: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xb50ba6b7
Boot Start End Sectors Size Id Type
sdf1 63 3907029167 3907029105 1.8T 83 Linux
Disk sdg: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xee4427dc
Boot Start End Sectors Size Id Type
sdg1 * 2048 1050623 1048576 512M b W95 FAT32
sdg2 1052670 976771071 975718402 465.3G 5 Extended
sdg5 1052672 976771071 975718400 465.3G 83 Linux
Disk sdh: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xee4427dc
Boot Start End Sectors Size Id Type
sdh1 2048 1050623 1048576 512M c W95 FAT32 (LBA)
sdh2 1052670 1954039807 1952987138 931.3G 5 Extended
sdh5 * 1052672 1954039807 1952987136 931.3G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:6001GB:scsi:512:4096:gpt:ATA ST6000NM021A-2R7:;
1:1049kB:6001GB:6001GB:ext4:Exos1:;
sdb:16.0TB:scsi:512:4096:gpt:ATA WDC WD161KRYZ-01:;
1:1049kB:16.0TB:16.0TB:ext4:Gold1:;
sdc:2000GB:scsi:512:512:msdos:ATA WDC WD2002FAEX-0:;
2:1049kB:2000GB:2000GB:ext4::;
sdd:6001GB:scsi:512:4096:gpt:WDC WD60 01FZWX-00A2VA0:;
1:1049kB:6001GB:6001GB:ext4:Fantec3:;
sde:6001GB:scsi:512:4096:loop:WDC WD60 03FZBX-00K5WB0:;
1:0.00B:6001GB:6001GB:ext4::;
sdf:2000GB:scsi:512:512:msdos:ATA WDC WD2002FAEX-0:;
1:32.3kB:2000GB:2000GB:ext4::;
sdg:500GB:scsi:512:4096:msdos:ATA Crucial_CT500MX2:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:500GB:500GB:::;
5:539MB:500GB:500GB:ext4::;
sdh:2000GB:scsi:512:4096:msdos:ATA CT2000MX500SSD1:;
1:1049kB:538MB:537MB:fat32::lba;
2:539MB:1000GB:1000GB:::;
5:539MB:1000GB:1000GB:ext4::boot;
Free space >10MiB: ______________________________________________________________
sdh: 954121MiB:1907729MiB:953608MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ext4 52e670a3-d05f-41e0-89ff-8bb7411dc529 d1b23f08-b43f-48e1-a905-0254bdba7e64 Exos1 Exos1
sdb
└─sdb1 ext4 65d8f5ba-a25a-41ce-8fe0-03a28dcf324c 9fb0be0a-87cf-47b8-b5cb-4f45280b0e93 Gold1 Gold1
sdc
└─sdc2 ext4 a2b7cf71-48ba-48da-be47-e89b1cb1ea17 61065840-02 Documents
sdd
└─sdd1 ext4 aad88602-bce5-4019-a4c4-42ef77d0380f f0185232-c83c-ce4b-a566-6ee64227b5b8 Fantec3 Fantec3
sde ext4 8de8473e-8d6c-40d1-8f37-0a3352dfb8cd Fantec2
sdf
└─sdf1 ext4 a97646c3-41f8-41a6-93df-604046088fd2 b50ba6b7-01 Sauvegarde
sdg
├─sdg1 vfat 896D-A6A9 ee4427dc-01
├─sdg2 ee4427dc-02
└─sdg5 ext4 c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ee4427dc-05 system
sdh
├─sdh1 vfat 30E8-0063 ee4427dc-01
├─sdh2 ee4427dc-02
└─sdh5 ext4 c8628d39-b625-484d-a218-c22035bab3f5 ee4427dc-05 Debian
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 5.1T 0% /mnt/boot-sav/sda1
/dev/sdb1 2.9T 75% /mnt/Gold1
/dev/sdc2 1.2T 30% /mnt/Documents
/dev/sdd1 2.6T 47% /mnt/Fantec3
/dev/sde 4.5T 12% /mnt/Fantec2
/dev/sdf1 444.3G 71% /mnt/Sauvegarde
/dev/sdg1 502M 2% /mnt/boot-sav/sdg1
/dev/sdg5 166.9G 58% /
/dev/sdh1 511M 0% /mnt/boot-sav/sdh1
/dev/sdh5 868.1G 0% /media/lrdp/Debian
Mount options (filtered): ______________________________________________________
===================== sdg1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 root hd3,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdg5/boot/grub/grub.cfg (filtered) ======================
Ubuntu c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 6.2.0-37-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-91-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-89-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-88-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Ubuntu, with Linux 5.15.0-87-generic c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sdg5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=896D-A6A9 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
LABEL=Gold1 /mnt/Gold1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Documents /mnt/Documents auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=2TO /mnt/2TO auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec2 /mnt/Fantec2 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Fantec3 /mnt/Fantec3 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Stockage /mnt/Stockage auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Sauvegarde /mnt/Sauvegarde auto nosuid,nodev,nofail,x-gvfs-show 0 0
======================= sdg5/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_DISABLE_OS_PROBER=false
GRUB_DISABLE_OS_PROBER=true
==================== sdg5/boot/refind_linux.conf (filtered) ====================
"Boot with standard options" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7"
"Boot to single-user mode" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7 single"
"Boot with minimal options" "ro root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8"
==================== sdg5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
56,722324371 = 60,905132032 boot/grub/grub.cfg 1
269,330074310 = 289,190965248 boot/vmlinuz 2
84,090900421 = 90,291916800 boot/vmlinuz-5.15.0-87-generic 2
15,478511810 = 16,619925504 boot/vmlinuz-5.15.0-88-generic 2
318,887771606 = 342,403137536 boot/vmlinuz-5.15.0-89-generic 2
269,330074310 = 289,190965248 boot/vmlinuz-5.15.0-91-generic 2
249,780426025 = 268,199690240 boot/vmlinuz-6.2.0-37-generic 2
318,887771606 = 342,403137536 boot/vmlinuz.old 2
272,126365662 = 292,193460224 boot/initrd.img 7
255,861324310 = 274,729005056 boot/initrd.img-5.15.0-87-generic 6
256,149814606 = 275,038769152 boot/initrd.img-5.15.0-88-generic 3
288,095123291 = 309,339783168 boot/initrd.img-5.15.0-89-generic 2
272,126365662 = 292,193460224 boot/initrd.img-5.15.0-91-generic 7
288,372444153 = 309,637554176 boot/initrd.img-6.2.0-37-generic 4
288,095123291 = 309,339783168 boot/initrd.img.old 2
===================== sdg5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 déc. 18 2022 10_linux
-rwxr-xr-x 1 root root 43031 déc. 18 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 déc. 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 déc. 18 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 déc. 18 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 214 déc. 2 2022 40_custom
-rwxr-xr-x 1 root root 215 déc. 18 2022 41_custom
========================== sdh5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdi5 during installation
UUID=c8628d39-b625-484d-a218-c22035bab3f5 / ext4 errors=remount-ro 0 1
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
==================== sdh5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0,829841614 = 0,891035648 boot/vmlinuz-6.1.0-13-amd64 1
0,829841614 = 0,891035648 vmlinuz 1
0,829841614 = 0,891035648 vmlinuz.old 1
1,874515533 = 2,012745728 boot/initrd.img-6.1.0-13-amd64 1
1,874515533 = 2,012745728 initrd.img 1
1,874515533 = 2,012745728 initrd.img.old 1
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdg5,
using the following options: sdg1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.3 LTS entry (sdg1/efi/****/grub****.efi (**** will be updated in the final message) file) !
J'ai aussi fait cela en lisant la doc de Refind:
$ echo GRUB_DISABLE_OS_PROBER=true | sudo tee -a /etc/default/grub
GRUB_DISABLE_OS_PROBER=true
~$ sudo apt-mark hold secureboot-db
secureboot-db passé en figé (« hold »).
~$ sudo apt-mark hold shim-signed
shim-signed passé en figé (« hold »).
~$ sudo apt-mark hold grub-common grub2-common grub-efi-amd64-bin grub-efi-amd64-signed grub-pc grub-pc-bin
grub-common passé en figé (« hold »).
grub2-common passé en figé (« hold »).
grub-efi-amd64-bin passé en figé (« hold »).
grub-efi-amd64-signed passé en figé (« hold »).
grub-pc passé en figé (« hold »).
grub-pc-bin passé en figé (« hold »).
Ainsi Grub ne devrait plus se manifester.
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#45 Le 12/12/2023, à 13:15
- geole
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Bonjour
Je te rappelle que le traitement de cela ne doit pas être négligé.
├─sdg1 vfat 896D-A6A9 ee4427dc-01
├─sdh1 vfat 896D-A6A9 ee4427dc-01
Voici un exemple de paramétrage refind
timeout 51
dont_scan_volumes "FATUBUNTU",FAT1604,FAT-TROIS
default_selection +
use_nvram false
enable_touch
dont_scan_dirs ESP:/EFI/boot,EFI/Dell,EFI/memtest86,FAT-DEUX:/EFI/ubuntu,EFI/boot
dont_scan_files shim.efi,MokManager.efi,memtest.efi
Dernière modification par geole (Le 12/12/2023, à 18:20)
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
#46 Le 12/12/2023, à 14:22
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Merci Geole pour les recommandations.
L'erreur a été corrigée dans le boot-info n°2 du #44:
sdg
├─sdg1 vfat 896D-A6A9 ee4427dc-01
├─sdg2 ee4427dc-02
└─sdg5 ext4 c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ee4427dc-05 system
sdh
├─sdh1 vfat 30E8-0063 ee4427dc-01
├─sdh2 ee4427dc-02
└─sdh5 ext4 c8628d39-b625-484d-a218-c22035bab3f5 ee4427dc-05 Debian
Pour Refind:
Totalement béotien au sujet de Refind, j'ai fait un brouillons de Refind.conf, à partir du sample fourni d'origine, j'ai décommenté les lignes 49, 211, 242, 308, 372(écrite), 389, 414, 474, 511 selon ton conseil et ce que j'ai pu comprendre dans ce .conf
Je me pose des questions pour les lignes 57, 316, 334, 342, 425, 438, 466.
Je ne vois pas ailleurs la liste au #509, donc j'ai décommenté la ligne 511
À partir du paragraphe 616, de nombreuses lignes sont décommentées, mais les alinéas sont commentés, faut-il faire quelque chose?
#
# refind.conf
# Configuration file for the rEFInd boot menu
#
# Timeout in seconds for the main menu screen. Setting the timeout to 0
# disables automatic booting (i.e., no timeout). Setting it to -1 causes
# an immediate boot to the default OS *UNLESS* a keypress is in the buffer
# when rEFInd launches, in which case that keypress is interpreted as a
# shortcut key. If no matching shortcut is found, rEFInd displays its
# menu with no timeout.
#
timeout 20
# Set the logging level. When set to 0, rEFInd does not log its actions.
# When set to 1 or above, rEFInd creates a file called refind.log in
# its home directory on the ESP and records information about what it's
# doing. Higher values record more information, up to a maximum of 4.
# This token should be left at the default of 0 except when debugging
# problems.
# Default value is 0
#
#log_level 1
# Normally, when the timeout period has passed, rEFInd boots the
# default_selection. If the following option is uncommented, though,
# rEFInd will instead attempt to shut down the computer.
# CAUTION: MANY COMPUTERS WILL INSTEAD HANG OR REBOOT! Macs and more
# recent UEFI-based PCs are most likely to work with this feature.
# Default value is true
#
#shutdown_after_timeout
# Whether to store rEFInd's rEFInd-specific variables in NVRAM (1, true,
# or on) or in files in the "vars" subdirectory of rEFInd's directory on
# disk (0, false, or off). Using NVRAM works well with most computers;
# however, it increases wear on the motherboard's NVRAM, and if the EFI
# is buggy or the NVRAM is old and worn out, it may not work at all.
# Storing variables on disk is a viable alternative in such cases, or
# if you want to minimize wear and tear on the NVRAM; however, it won't
# work if rEFInd is stored on a filesystem that's read-only to the EFI
# (such as an HFS+ volume), and it increases the risk of filesystem
# damage. Note that this option affects ONLY rEFInd's own variables,
# such as the PreviousBoot, HiddenTags, HiddenTools, and HiddenLegacy
# variables. It does NOT affect Secure Boot or other non-rEFInd
# variables.
# Default is true
#
use_nvram false
# Screen saver timeout; the screen blanks after the specified number of
# seconds with no keyboard input. The screen returns after most keypresses
# (unfortunately, not including modifier keys such as Shift, Control, Alt,
# or Option). Setting a value of "-1" causes rEFInd to start up with its
# screen saver active. The default is 0, which disables the screen saver.
#
#screensaver 300
# Hide user interface elements for personal preference or to increase
# security:
# banner - the rEFInd title banner (built-in or loaded via "banner")
# label - boot option text label in the menu
# singleuser - remove the submenu options to boot macOS in single-user
# or verbose modes; affects ONLY macOS
# safemode - remove the submenu option to boot macOS in "safe mode"
# hwtest - the submenu option to run Apple's hardware test
# arrows - scroll arrows on the OS selection tag line
# hints - brief command summary in the menu
# editor - the options editor (+, F2, or Insert on boot options menu)
# badges - device-type badges for boot options
# all - all of the above
# Default is none of these (all elements active)
#
#hideui singleuser
#hideui all
# Set the name of a subdirectory in which icons are stored. Icons must
# have the same names they have in the standard directory. The directory
# name is specified relative to the main rEFInd binary's directory. If
# an icon can't be found in the specified directory, an attempt is made
# to load it from the default directory; thus, you can replace just some
# icons in your own directory and rely on the default for others.
# Icon files may be in any supported format -- ICNS (*.icns), BMP (*.bmp),
# PNG (*.png), or JPEG (*.jpg or *.jpeg); however, rEFInd's BMP and JPEG
# implementations do not support transparency, which is highly desirable
# in icons.
# Default is "icons".
#
#icons_dir myicons
#icons_dir icons/snowy
# Use a custom title banner instead of the rEFInd icon and name. The file
# path is relative to the directory where refind.efi is located. The color
# in the top left corner of the image is used as the background color
# for the menu screens. Currently uncompressed BMP images with color
# depths of 24, 8, 4 or 1 bits are supported, as well as PNG and JPEG
# images. (ICNS images can also be used, but ICNS has limitations that
# make it a poor choice for this purpose.) PNG and JPEG support is
# limited by the underlying libraries; some files, like progressive JPEGs,
# will not work.
#
#banner hostname.bmp
#banner mybanner.jpg
#banner icons/snowy/banner-snowy.png
# Specify how to handle banners that aren't exactly the same as the screen
# size:
# noscale - Crop if too big, show with border if too small
# fillscreen - Fill the screen
# Default is noscale
#
#banner_scale fillscreen
# Icon sizes. All icons are square, so just one value is specified. The
# big icons are used for OS selectors in the first row and the small
# icons are used for tools on the second row. Drive-type badges are 1/4
# the size of the big icons. Legal values are 32 and above. If the icon
# files do not hold icons of the proper size, the icons are scaled to
# the specified size. The default values are 48 and 128 for small and
# big icons, respectively.
#
#small_icon_size 96
#big_icon_size 256
# Custom images for the selection background. There is a big one (144 x 144)
# for the OS icons, and a small one (64 x 64) for the function icons in the
# second row. If only a small image is given, that one is also used for
# the big icons by stretching it in the middle. If only a big one is given,
# the built-in default will be used for the small icons. If an image other
# than the optimal size is specified, it will be scaled in a way that may
# be ugly.
#
# Like the banner option above, these options take a filename of an
# uncompressed BMP, PNG, JPEG, or ICNS image file with a color depth of
# 24, 8, 4, or 1 bits. The PNG or ICNS format is required if you need
# transparency support (to let you "see through" to a full-screen banner).
#
#selection_big selection-big.bmp
#selection_small selection-small.bmp
# Set the font to be used for all textual displays in graphics mode.
# For best results, the font must be a PNG file with alpha channel
# transparency. It must contain ASCII characters 32-126 (space through
# tilde), inclusive, plus a glyph to be displayed in place of characters
# outside of this range, for a total of 96 glyphs. Only monospaced fonts
# are supported. Fonts may be of any size, although large fonts can
# produce display irregularities.
# The default is rEFInd's built-in font, Luxi Mono Regular 12 point.
#
#font myfont.png
# Use text mode only. When enabled, this option forces rEFInd into text mode.
# Passing this option a "0" value causes graphics mode to be used. Pasing
# it no value or any non-0 value causes text mode to be used.
# Default is to use graphics mode.
#
#textonly
# Set the EFI text mode to be used for textual displays. This option
# takes a single digit that refers to a mode number. Mode 0 is normally
# 80x25, 1 is sometimes 80x50, and higher numbers are system-specific
# modes. Mode 1024 is a special code that tells rEFInd to not set the
# text mode; it uses whatever was in use when the program was launched.
# If you specify an invalid mode, rEFInd pauses during boot to inform
# you of valid modes.
# CAUTION: On VirtualBox, and perhaps on some real computers, specifying
# a text mode and uncommenting the "textonly" option while NOT specifying
# a resolution can result in an unusable display in the booted OS.
# Default is 1024 (no change)
#
#textmode 2
# Set the screen's video resolution. Pass this option one of the following:
# * two integer values, corresponding to the X and Y resolutions
# * one integer value, corresponding to a GOP (UEFI) video mode
# * the string "max", which sets the maximum available resolution
# Note that not all resolutions are supported. On UEFI systems, passing
# an incorrect value results in a message being shown on the screen to
# that effect, along with a list of supported modes. On EFI 1.x systems
# (e.g., Macintoshes), setting an incorrect mode silently fails. On both
# types of systems, setting an incorrect resolution results in the default
# resolution being used. A resolution of 1024x768 usually works, but higher
# values often don't.
# Default is "0 0" (use the system default resolution, usually 800x600).
#
#resolution 1024 768
#resolution 1440 900
#resolution 3
#resolution max
# Enable touch screen support. If active, this feature enables use of
# touch screen controls (as on tablets). Note, however, that not all
# tablets' EFIs provide the necessary underlying support, so this
# feature may not work for you. If it does work, you should be able
# to launch an OS or tool by touching it. In a submenu, touching
# anywhere launches the currently-selection item; there is, at present,
# no way to select a specific submenu item. This feature is mutually
# exclusive with the enable_mouse feature. If both are uncommented,
# the one read most recently takes precedence.
#
#enable_touch
# Enable mouse support. If active, this feature enables use of the
# computer's mouse. Note, however, that not all computers' EFIs
# provide the necessary underlying support, so this feature may not
# work for you. If it does work, you should be able to launch an
# OS or tool by clicking it with the mouse pointer. This feature
# is mutually exclusive with the enable_touch feature. If both
# are uncommented, the one read most recently takes precedence.
#
enable_mouse
# Size of the mouse pointer, in pixels, per side.
# Default is 16
#
#mouse_size 16
# Speed of mouse tracking. Higher numbers equate to faster
# mouse movement. This option requires that enable_mouse be
# uncommented.
# Legal values are between 1 and 32. Default is 4.
#
#mouse_speed 4
# Launch specified OSes in graphics mode. By default, rEFInd switches
# to text mode and displays basic pre-launch information when launching
# all OSes except macOS. Using graphics mode can produce a more seamless
# transition, but displays no information, which can make matters
# difficult if you must debug a problem. Also, on at least one known
# computer, using graphics mode prevents a crash when using the Linux
# kernel's EFI stub loader. You can specify an empty list to boot all
# OSes in text mode.
# Valid options:
# osx - macOS
linux - A Linux kernel with EFI stub loader
# elilo - The ELILO boot loader
# grub - The GRUB (Legacy or 2) boot loader
# windows - Microsoft Windows
# Default value: osx
#
#use_graphics_for osx,linux
use_graphics_for linux
# Which non-bootloader tools to show on the tools line, and in what
# order to display them:
# shell - the EFI shell (requires external program; see rEFInd
# documentation for details)
# memtest - the memtest86 program, in EFI/tools, EFI/memtest86,
# EFI/memtest, EFI/tools/memtest86, or EFI/tools/memtest
# gptsync - the (dangerous) gptsync.efi utility (requires external
# program; see rEFInd documentation for details)
# gdisk - the gdisk partitioning program
# apple_recovery - boots the Apple Recovery HD partition, if present
# windows_recovery - boots an OEM Windows recovery tool, if present
# (see also the windows_recovery_files option)
# mok_tool - makes available the Machine Owner Key (MOK) maintenance
# tool, MokManager.efi, used on Secure Boot systems
# csr_rotate - adjusts Apple System Integrity Protection (SIP)
# policy. Requires "csr_values" to be set.
# install - an option to install rEFInd from the current location
# to another ESP
# bootorder - adjust the EFI's (NOT rEFInd's) boot order
# about - an "about this program" option
# hidden_tags - manage hidden tags
# exit - a tag to exit from rEFInd
# shutdown - shuts down the computer (a bug causes this to reboot
# many UEFI systems)
# reboot - a tag to reboot the computer
# firmware - a tag to reboot the computer into the firmware's
# user interface (ignored on older computers)
# fwupdate - a tag to update the firmware; launches the fwupx64.efi
# (or similar) program
# netboot - launch the ipxe.efi tool for network (PXE) booting
# Default is shell,memtest,gdisk,apple_recovery,windows_recovery,mok_tool,about,hidden_tags,shutdown,reboot,firmware,fwupdate
#
#showtools shell, bootorder, gdisk, memtest, mok_tool, apple_recovery, windows_recovery, about, hidden_tags, reboot, exit, firmware, fwupdate
# Tool binaries to be excluded from the tools line, even if the
# general class is specified in showtools. This enables trimming an
# overabundance of tools, as when you see multiple mok_tool entries
# after installing multiple Linux distributions.
# Just as with dont_scan_files, you can specify a filename alone, a
# full pathname, or a volume identifier (filesystem label, partition
# name, or partition GUID) and a full pathname.
# Default is an empty list (nothing is excluded)
#
#dont_scan_tools ESP2:/EFI/ubuntu/mmx64.efi,gptsync_x64.efi
# Boot loaders that can launch a Windows restore or emergency system.
# These tend to be OEM-specific.
# Default is LRS_ESP:/EFI/Microsoft/Boot/LrsBootmgr.efi
#
#windows_recovery_files LRS_ESP:/EFI/Microsoft/Boot/LrsBootmgr.efi
# Directories in which to search for EFI drivers. These drivers can
# provide filesystem support, give access to hard disks on plug-in
# controllers, etc. In most cases none are needed, but if you add
# EFI drivers and you want rEFInd to automatically load them, you
# should specify one or more paths here. rEFInd always scans the
# "drivers" and "drivers_{arch}" subdirectories of its own installation
# directory (where "{arch}" is your architecture code); this option
# specifies ADDITIONAL directories to scan.
# Default is to scan no additional directories for EFI drivers
#
#scan_driver_dirs EFI/tools/drivers,drivers
# Which types of boot loaders to search, and in what order to display them:
internal - internal EFI disk-based boot loaders
# external - external EFI disk-based boot loaders
# optical - EFI optical discs (CD, DVD, etc.)
# netboot - EFI network (PXE) boot options
# hdbios - BIOS disk-based boot loaders
# biosexternal - BIOS external boot loaders (USB, eSATA, etc.)
# cd - BIOS optical-disc boot loaders
# manual - use stanzas later in this configuration file
# firmware - boot EFI programs set in the firmware's NVRAM
# Note that the legacy BIOS options require firmware support, which is
# not present on all computers.
# The netboot option is experimental and relies on the ipxe.efi and
# ipxe_discover.efi program files.
# On UEFI PCs, default is internal,external,optical,manual
# On Macs, default is internal,hdbios,external,biosexternal,optical,cd,manual
#
#scanfor internal,external,optical,manual,firmware
# By default, rEFInd relies on the UEFI firmware to detect BIOS-mode boot
# devices. This sometimes doesn't detect all the available devices, though.
# For these cases, uefi_deep_legacy_scan results in a forced scan and
# modification of NVRAM variables on each boot. Adding "0", "off", or
# "false" resets to the default value. This token has no effect on Macs or
# when no BIOS-mode options are set via scanfor.
# Default is unset (or "uefi_deep_legacy_scan false")
#
#uefi_deep_legacy_scan
# Delay for the specified number of seconds before scanning disks.
# This can help some users who find that some of their disks
# (usually external or optical discs) aren't detected initially,
# but are detected after pressing Esc.
# The default is 0.
#
#scan_delay 5
# When scanning volumes for EFI boot loaders, rEFInd always looks for
# macOS's and Microsoft Windows' boot loaders in their normal locations,
# and scans the root directory and every subdirectory of the /EFI directory
# for additional boot loaders, but it doesn't recurse into these directories.
# The also_scan_dirs token adds more directories to the scan list.
# Directories are specified relative to the volume's root directory. This
# option applies to ALL the volumes that rEFInd scans UNLESS you include
# a volume name and colon before the directory name, as in "myvol:/somedir"
# to scan the somedir directory only on the filesystem named myvol. If a
# specified directory doesn't exist, it's ignored (no error condition
# results). The default is to scan the "boot" directory in addition to
# various hard-coded directories.
#
#also_scan_dirs boot,ESP2:EFI/linux/kernels
# Partitions (or whole disks, for legacy-mode boots) to omit from scans.
# For EFI-mode scans, you normally specify a volume by its label, which you
# can obtain in an EFI shell by typing "vol", from Linux by typing
# "blkid /dev/{devicename}", or by examining the disk's label in various
# OSes' file browsers. It's also possible to identify a partition by its
# unique GUID (aka its "PARTUUID" in Linux parlance). (Note that this is
# NOT the partition TYPE CODE GUID.) This identifier can be obtained via
# "blkid" in Linux or "diskutil info {partition-id}" in macOS.
# For legacy-mode scans, you can specify any subset of the boot loader
# description shown when you highlight the option in rEFInd.
# The default is "LRS_ESP".
#
#dont_scan_volumes "Recovery HD"
dont_scan_volumes "FATUBUNTU,FAT1604,FAT-TROIS""
# Directories that should NOT be scanned for boot loaders. By default,
# rEFInd doesn't scan its own directory, the EFI/tools directory, the
# EFI/memtest directory, the EFI/memtest86 directory, or the
# com.apple.recovery.boot directory. Using the dont_scan_dirs option
# enables you to "blacklist" other directories; but be sure to use "+"
# as the first element if you want to continue blacklisting existing
# directories. You might use this token to keep EFI/boot/bootx64.efi out
# of the menu if that's a duplicate of another boot loader or to exclude
# a directory that holds drivers or non-bootloader utilities provided by
# a hardware manufacturer. If a directory is listed both here and in
# also_scan_dirs, dont_scan_dirs takes precedence. Note that this
# blacklist applies to ALL the filesystems that rEFInd scans, not just
# the ESP, unless you precede the directory name by a filesystem name or
# partition unique GUID, as in "myvol:EFI/somedir" to exclude EFI/somedir
# from the scan on the myvol volume but not on other volumes.
#
dont_scan_dirs ESP:/EFI/boot,EFI/Dell,EFI/memtest86
# Files that should NOT be included as EFI boot loaders (on the
# first line of the display). If you're using a boot loader that
# relies on support programs or drivers that are installed alongside
# the main binary or if you want to "blacklist" certain loaders by
# name rather than location, use this option. Note that this will
# NOT prevent certain binaries from showing up in the second-row
# set of tools. Most notably, various Secure Boot and recovery
# tools are present in this list, but may appear as second-row
# items.
# The file may be specified as a bare name (e.g., "notme.efi"), as
# a complete pathname (e.g., "/EFI/somedir/notme.efi"), or as a
# complete pathname with volume (e.g., "SOMEDISK:/EFI/somedir/notme.efi"
# or 2C17D5ED-850D-4F76-BA31-47A561740082:/EFI/somedir/notme.efi").
# OS tags hidden via the Delete or '-' key in the rEFInd menu are
# added to this list, but stored in NVRAM.
# The default is shim.efi,shim-fedora.efi,shimx64.efi,PreLoader.efi,
# TextMode.efi,ebounce.efi,GraphicsConsole.efi,MokManager.efi,HashTool.efi,
# HashTool-signed.efi,bootmgr.efi,fb{arch}.efi
# (where "{arch}" is the architecture code, like "x64").
# If you want to keep these defaults but add to them, be sure to
# specify "+" as the first item in the new list; if you don't, then
# items from the default list are likely to appear.
#
dont_scan_files shim.efi,MokManager.efi
# EFI NVRAM Boot#### variables that should NOT be presented as loaders
# when "firmware" is an option to "scanfor". The comma-separated list
# presented here contains strings that are matched against the
# description field -- if a value here is a case-insensitive substring
# of the boot option description, then it will be excluded from the
# boot list. To specify a string that includes a space, enclose it
# in quotes. Specifying "shell" will counteract the automatic
# inclusion of built-in EFI shells.
#
#dont_scan_firmware HARDDISK,shell,"Removable Device"
# Scan for Linux kernels that lack a ".efi" filename extension. This is
# useful for better integration with Linux distributions that provide
# kernels with EFI stub loaders but that don't give those kernels filenames
# that end in ".efi", particularly if the kernels are stored on a
# filesystem that the EFI can read. When set to "1", "true", or "on", this
# option causes all files in scanned directories with names that begin with
# "vmlinuz", "bzImage", or "kernel" to be included as loaders, even if they
# lack ".efi" extensions. Passing this option a "0", "false", or "off" value
# causes kernels without ".efi" extensions to NOT be scanned.
# Default is "true" -- to scan for kernels without ".efi" extensions.
#
#scan_all_linux_kernels false
# Combine all Linux kernels in a given directory into a single entry.
# When so set, the kernel with the most recent time stamp will be launched
# by default, and its filename will appear in the entry's description.
# To launch other kernels, the user must press F2 or Insert; alternate
# kernels then appear as options on the sub-menu.
# Default is "true" -- kernels are "folded" into a single menu entry.
#
#fold_linux_kernels false
# Comma-delimited list of strings to treat as if they were numbers for the
# purpose of kernel version number detection. These strings are matched on a
# first-found basis; that is, if you want to treat both "linux-lts" and
# "linux" as version strings, they MUST be specified as "linux-lts,linux",
# since if you specify it the other way, both vmlinuz-linux and
# vmlinuz-linux-lts will return with "linux" as the "version string," which
# is not what you'd want. Also, if the kernel or initrd file includes both a
# specified string and digits, the "version string" includes both. For
# instance, "vmlinuz-linux-4.8" would yield a version string of "linux-4.8".
# This option is intended for Arch and other distributions that don't include
# version numbers in their kernel filenames, but may provide other uniquely
# identifying strings for multiple kernels. If this feature causes problems
# (say, if your kernel filename includes "linux" but the initrd filename
# doesn't), be sure this is set to an empty string
# (extra_kernel_version_strings "") or comment out the option to disable it.
# Default is no extra version strings
#
#extra_kernel_version_strings linux-lts,linux
# Write to systemd EFI variables (currently only LoaderDevicePartUUID) when
# launching Linux via an EFI stub loader, ELILO, or GRUB. This variable,
# when present, causes systemd to mount the ESP at /boot or /efi *IF* either
# directory is empty and nothing else is mounted there.
# Default is "false"
#
write_systemd_vars false
# Set the maximum number of tags that can be displayed on the screen at
# any time. If more loaders are discovered than this value, rEFInd shows
# a subset in a scrolling list. If this value is set too high for the
# screen to handle, it's reduced to the value that the screen can manage.
# If this value is set to 0 (the default), it's adjusted to the number
# that the screen can handle.
#
#max_tags 0
# Set the default menu selection. The available arguments match the
# keyboard accelerators available within rEFInd. You may select the
# default loader using:
# - A digit between 1 and 9, in which case the Nth loader in the menu
# will be the default.
# - A "+" symbol at the start of the string, which refers to the most
# recently booted loader.
# - Any substring that corresponds to a portion of the loader's title
# (usually the OS's name, boot loader's path, or a volume or
# filesystem title).
# You may also specify multiple selectors by separating them with commas
# and enclosing the list in quotes. (The "+" option is only meaningful in
# this context.)
# If you follow the selector(s) with two times, in 24-hour format, the
# default will apply only between those times. The times are in the
# motherboard's time standard, whether that's UTC or local time, so if
# you use UTC, you'll need to adjust this from local time manually.
# Times may span midnight as in "23:30 00:30", which applies to 11:30 PM
# to 12:30 AM. You may specify multiple default_selection lines, in which
# case the last one to match takes precedence. Thus, you can set a main
# option without a time followed by one or more that include times to
# set different defaults for different times of day.
# The default behavior is to boot the previously-booted OS.
#
#default_selection 1
#default_selection Microsoft
default_selection "+,bzImage,vmlinuz"
#default_selection Maintenance 23:30 2:00
#default_selection "Maintenance,macOS" 1:00 2:30
# Enable VMX bit and lock the CPU MSR if unlocked.
# On some Intel Apple computers, the firmware does not lock the MSR 0x3A.
# The symptom on Windows is Hyper-V not working even if the CPU
# meets the minimum requirements (HW assisted virtualization and SLAT)
# DO NOT SET THIS EXCEPT ON INTEL CPUs THAT SUPPORT VMX! See
# http://www.thomas-krenn.com/en/wiki/Activating_the_Intel_VT_Virtualization_Feature
# for more on this subject.
# The default is false: Don't try to enable and lock the MSR.
#
#enable_and_lock_vmx false
# Tell a Mac's EFI that macOS is about to be launched, even when it's not.
# This option causes some Macs to initialize their hardware differently than
# when a third-party OS is launched normally. In some cases (particularly on
# Macs with multiple video cards), using this option can cause hardware to
# work that would not otherwise work. On the other hand, using this option
# when it is not necessary can cause hardware (such as keyboards and mice) to
# become inaccessible. Therefore, you should not enable this option if your
# non-Apple OSes work correctly; enable it only if you have problems with
# some hardware devices. When needed, a value of "10.9" usually works, but
# you can experiment with other values. This feature has no effect on
# non-Apple computers.
# The default is inactive (no macOS spoofing is done).
#
#spoof_osx_version 10.9
# Set the CSR values for Apple's System Integrity Protection (SIP) feature.
# Values are two-byte (four-character) hexadecimal numbers. These values
# define which specific security features are enabled. Below are the codes
# for what the values mean. Add them up (in hexadecimal!) to set new values.
# Apple's "csrutil enable" and "csrutil disable" commands set values of 10
# and 877, respectively. (Prior to OS 11, 77 was used rather than 877; 877
# is required for OS 11, and should work for OS X 10.x, too.)
# CSR_ALLOW_UNTRUSTED_KEXTS 0x0001
# CSR_ALLOW_UNRESTRICTED_FS 0x0002
# CSR_ALLOW_TASK_FOR_PID 0x0004
# CSR_ALLOW_KERNEL_DEBUGGER 0x0008
# CSR_ALLOW_APPLE_INTERNAL 0x0010
# CSR_ALLOW_UNRESTRICTED_DTRACE 0x0020
# CSR_ALLOW_UNRESTRICTED_NVRAM 0x0040
# CSR_ALLOW_DEVICE_CONFIGURATION 0x0080
# CSR_ALLOW_ANY_RECOVERY_OS 0x0100
# CSR_ALLOW_UNAPPROVED_KEXTS 0x0200
# CSR_ALLOW_EXECUTABLE_POLICY_OVERRIDE 0x0400
# CSR_ALLOW_UNAUTHENTICATED_ROOT 0x0800
#csr_values 10,877
# Include a secondary configuration file within this one. This secondary
# file is loaded as if its options appeared at the point of the "include"
# token itself, so if you want to override a setting in the main file,
# the secondary file must be referenced AFTER the setting you want to
# override. Note that the secondary file may NOT load a tertiary file.
#
#include manual.conf
# Sample manual configuration stanzas. Each begins with the "menuentry"
# keyword followed by a name that's to appear in the menu (use quotes
# if you want the name to contain a space) and an open curly brace
# ("{"). Each entry ends with a close curly brace ("}"). Common
# keywords within each stanza include:
#
# volume - identifies the filesystem from which subsequent files
# are loaded. You can specify the volume by filesystem
# label, by partition label, or by partition GUID number
# (but NOT yet by filesystem UUID number).
# loader - identifies the boot loader file
# initrd - Specifies an initial RAM disk file
# icon - specifies a custom boot loader icon
# ostype - OS type code to determine boot options available by
# pressing Insert. Valid values are "MacOS", "Linux",
# "Windows", and "XOM". Case-sensitive.
# graphics - set to "on" to enable graphics-mode boot (useful
# mainly for MacOS) or "off" for text-mode boot.
# Default is auto-detected from loader filename.
# options - sets options to be passed to the boot loader; use
# quotes if more than one option should be passed or
# if any options use characters that might be changed
# by rEFInd parsing procedures (=, /, #, or tab).
# disabled - use alone or set to "yes" to disable this entry.
#
# Note that you can use either DOS/Windows/EFI-style backslashes (\)
# or Unix-style forward slashes (/) as directory separators. Either
# way, all file references are on the ESP from which rEFInd was
# launched.
# Use of quotes around parameters causes them to be interpreted as
# one keyword, and for parsing of special characters (spaces, =, /,
# and #) to be disabled. This is useful mainly with the "options"
# keyword. Use of quotes around parameters that specify filenames is
# permissible, but you must then use backslashes instead of slashes,
# except when you must pass a forward slash to the loader, as when
# passing a root= option to a Linux kernel.
# Below are several sample boot stanzas. All are disabled by default.
# Find one similar to what you need, copy it, remove the "disabled" line,
# and adjust the entries to suit your needs.
# A sample entry for a Linux 3.13 kernel with EFI boot stub support
# on a partition with a GUID of 904404F8-B481-440C-A1E3-11A5A954E601.
# This entry includes Linux-specific boot options and specification
# of an initial RAM disk. Note uses of Linux-style forward slashes.
# Also note that a leading slash is optional in file specifications.
menuentry Linux {
icon EFI/refind/icons/os_linux.png
volume 904404F8-B481-440C-A1E3-11A5A954E601
loader bzImage-3.3.0-rc7
initrd initrd-3.3.0.img
options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
disabled
}
# Below is a more complex Linux example, specifically for Arch Linux.
# This example MUST be modified for your specific installation; if nothing
# else, the PARTUUID code must be changed for your disk. Because Arch Linux
# does not include version numbers in its kernel and initrd filenames, you
# may need to use manual boot stanzas when using fallback initrds or
# multiple kernels with Arch. This example is modified from one in the Arch
# wiki page on rEFInd (https://wiki.archlinux.org/index.php/rEFInd).
menuentry "Arch Linux" {
icon /EFI/refind/icons/os_arch.png
volume "Arch Linux"
loader /boot/vmlinuz-linux
initrd /boot/initramfs-linux.img
options "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
submenuentry "Boot using fallback initramfs" {
initrd /boot/initramfs-linux-fallback.img
}
submenuentry "Boot to terminal" {
add_options "systemd.unit=multi-user.target"
}
disabled
}
# A sample entry for loading Ubuntu using its standard name for
# its GRUB 2 boot loader. Note uses of Linux-style forward slashes
menuentry Ubuntu {
loader /EFI/ubuntu/grubx64.efi
icon /EFI/refind/icons/os_linux.png
disabled
}
# A minimal ELILO entry, which probably offers nothing that
# auto-detection can't accomplish.
menuentry "ELILO" {
loader \EFI\elilo\elilo.efi
disabled
}
# Like the ELILO entry, this one offers nothing that auto-detection
# can't do; but you might use it if you want to disable auto-detection
# but still boot Windows....
menuentry "Windows 7" {
loader \EFI\Microsoft\Boot\bootmgfw.efi
disabled
}
# EFI shells are programs just like boot loaders, and can be
# launched in the same way. You can pass a shell the name of a
# script that it's to run on the "options" line. The script
# could initialize hardware and then launch an OS, or it could
# do something entirely different.
menuentry "Windows via shell script" {
icon \EFI\refind\icons\os_win.png
loader \EFI\tools\shell.efi
options "fs0:\EFI\tools\launch_windows.nsh"
disabled
}
# MacOS is normally detected and run automatically; however,
# if you want to do something unusual, a manual boot stanza may
# be the way to do it. This one does nothing very unusual, but
# it may serve as a starting point. Note that you'll almost
# certainly need to change the "volume" line for this example
# to work.
menuentry "My macOS" {
icon \EFI\refind\icons\os_mac.png
volume "macOS boot"
loader \System\Library\CoreServices\boot.efi
disabled
}
# The firmware_bootnum token takes a HEXADECIMAL value as an option
# and sets that value using the EFI's BootNext variable and then
# reboots the computer. This then causes a one-time boot of the
# computer using this EFI boot option. It can be used for various
# purposes, but one that's likely to interest some rEFInd users is
# that some Macs with HiDPI displays produce lower-resolution
# desktops when booted through rEFInd than when booted via Apple's
# own boot manager. Booting using the firmware_bootnum option
# produces the better resolution. Note that no loader option is
# used in this type of configuration.
menuentry "macOS via BootNext" {
icon /EFI/refind/icons/os_mac.png
firmware_bootnum 80
disabled
}
Gros boulot de contrôle, mais je pense que je peux effacer pas mal de paragraphes ?
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#47 Le 12/12/2023, à 18:10
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Bonsoir,
dans /boot , j'ai en fichier non-root refind_linux.conf qui indique:
"Boot with standard options" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7"
"Boot to single-user mode" "root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7 single"
"Boot with minimal options" "ro root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8"
Je ne connais pas son rôle dans le boot.
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#48 Le 12/12/2023, à 18:28
- LRDP
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
J'ai fait deux choses à l'instant :
sudo efibootmgr -v
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,000D,000B,000F,000C,000E
Boot0000* rEFInd Boot Manager HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\REFIND\REFIND_X64.EFI)
Boot000B CD/DVD Drive BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.S.U.S. . . . . .D.R.W.-.2.4.F.1.M.T...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.1.S.I.A.Y.6.G.A.0.9.6.0.3.T. . . . . . ........BO
Boot000C Hard Drive BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........C.r.u.c.i.a.l._.C.T.5.0.0.M.X.2.0.0.S.S.D.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . .5.1.4.4.0.1.7.F.5.A.9.7........BO..NO..........C.T.2.0.0.0.M.X.5.0.0.S.S.D.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.3.2.8.0.6.E.F.A.E.3.6.0. . . . . . . . ........BO
Boot000D* ubuntu HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)
Boot000E USB HDD BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO..........W.D.C. .W.D.6.0.0.1.F.Z.W.X.-.0.0.A.2.V.A.0. .0.1.2.5...................\.,.@.r.d.=.X..........A............................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO
Boot000F USB Floppy BBS(Floppy,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0800)..GO..NO..........W.D.C. .W.D.6.0.0.3.F.Z.B.X.-.0.0.K.5.W.B.0. .0.1.2.5...................\.,.@.r.d.=.X..........A.................................................Gd-.;.A..MQ..L.1.5.2.D.0.0.5.3.9.0.0.0........BO
et
sudo ls -l /boot/efi/EFI/ubuntu
total 2544
-rwx------ 1 root root 129 déc. 11 14:46 grub.cfg
-rwx------ 1 root root 2598792 oct. 8 20:03 grubx64.efi
La première ne montre pas la partition Debian, peut-être normal étant dans la partition système ?
La deuxième montre la présence persistante de Grub.cfg et grubx64.efi, faut-il renommer pour inhiber?
Ubuntu Maté 20.04.6. Garuda Linux Dragonized ARCH Linux
IA Anthropic Claude
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti
Hors ligne
#49 Le 12/12/2023, à 18:30
- geole
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
En standard refind boote en utilisant la première ligne.
Mais si tu as quelques problèmes, tu peux afficher ce fichier en appuyant sur la touche F2 et modifier son contenu. Pour rendre plus simple les modifs, refind en a préparé deux à l'avance que tu peux choisir avec des options toutes préparées.
Mais tu peux en mettre d'autres et mettre plus de trois lignes. Exemple
cat -n /boot/refind_linux.conf
1 "Boot with standard options" "root=UUID=45b57b34-0e1d-4d6e-aab3-e56dc7f254d1 ro loglevel=3"
2 "Boot to single-user mode" "root=UUID=45b57b34-0e1d-4d6e-aab3-e56dc7f254d1 ro single debug ignore_loglevel "
3 "Boot with minimal options" "ro recovery root=UUID=45b57b34-0e1d-4d6e-aab3-e56dc7f254d1 debug ignore_loglevel"
Lorsque tu as décidé de supprimer le grub soit il oublie de tout supprimer, soit il a supprimé dans l'autre partition qui avait le même UUID
Tu peux aussi supprimer l'entrée nvram
sudo efibootmgr -B -b d
Dernière modification par geole (Le 13/12/2023, à 13:37)
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
#50 Le 12/12/2023, à 18:43
- geole
Re : Partition EFI et multiboot [RÉSOLU-enfin-]]
Merci Geole pour les recommandations.
L'erreur a été corrigée dans le boot-info n°2 du #44:
sdg ├─sdg1 vfat 896D-A6A9 ee4427dc-01 ├─sdg2 ee4427dc-02 └─sdg5 ext4 c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ee4427dc-05 system sdh ├─sdh1 vfat 30E8-0063 ee4427dc-01 ├─sdh2 ee4427dc-02 └─sdh5 ext4 c8628d39-b625-484d-a218-c22035bab3f5 ee4427dc-05 Debian
Pour Refind:
Totalement béotien au sujet de Refind, j'ai fait un brouillons de Refind.conf, à partir du sample fourni d'origine, j'ai décommenté les lignes 49, 211, 242, 308, 372(écrite), 389, 414, 474, 511 selon ton conseil et ce que j'ai pu comprendre dans ce .confLiges 616 et suivante
Refind a prévu qu il ne peut pas tout prévoir et fournit quelques exemples de cas potentiellement raté. Il sont déactivés car les noms des partitions qui les contiennent est a adpter a ce qu ily a dans l ordinateur c est l équivalent de la sélection 40-custum du grusJe me pose des questions pour les lignes 57, 316, 334, 342, 425, 438, 466.
Je ne vois pas ailleurs la liste au #509, donc j'ai décommenté la ligne 511
À partir du paragraphe 616, de nombreuses lignes sont décommentées, mais les alinéas sont commentés, faut-il faire quelque chose?cat -n ref* 1 # 2 # refind.conf 3 # Configuration file for the rEFInd boot menu 4 # 5 6 # Timeout in seconds for the main menu screen. Setting the timeout to 0 7 # disables automatic booting (i.e., no timeout). Setting it to -1 causes 8 # an immediate boot to the default OS *UNLESS* a keypress is in the buffer 9 # when rEFInd launches, in which case that keypress is interpreted as a 10 # shortcut key. If no matching shortcut is found, rEFInd displays its 11 # menu with no timeout. 12 # 13 timeout 20 14 15 # Set the logging level. When set to 0, rEFInd does not log its actions. 16 # When set to 1 or above, rEFInd creates a file called refind.log in 17 # its home directory on the ESP and records information about what it's 18 # doing. Higher values record more information, up to a maximum of 4. 19 # This token should be left at the default of 0 except when debugging 20 # problems. 21 # Default value is 0 22 # 23 #log_level 1 24 25 # Normally, when the timeout period has passed, rEFInd boots the 26 # default_selection. If the following option is uncommented, though, 27 # rEFInd will instead attempt to shut down the computer. 28 # CAUTION: MANY COMPUTERS WILL INSTEAD HANG OR REBOOT! Macs and more 29 # recent UEFI-based PCs are most likely to work with this feature. 30 # Default value is true 31 # 32 #shutdown_after_timeout 33 34 # Whether to store rEFInd's rEFInd-specific variables in NVRAM (1, true, 35 # or on) or in files in the "vars" subdirectory of rEFInd's directory on 36 # disk (0, false, or off). Using NVRAM works well with most computers; 37 # however, it increases wear on the motherboard's NVRAM, and if the EFI 38 # is buggy or the NVRAM is old and worn out, it may not work at all. 39 # Storing variables on disk is a viable alternative in such cases, or 40 # if you want to minimize wear and tear on the NVRAM; however, it won't 41 # work if rEFInd is stored on a filesystem that's read-only to the EFI 42 # (such as an HFS+ volume), and it increases the risk of filesystem 43 # damage. Note that this option affects ONLY rEFInd's own variables, 44 # such as the PreviousBoot, HiddenTags, HiddenTools, and HiddenLegacy 45 # variables. It does NOT affect Secure Boot or other non-rEFInd 46 # variables. 47 # Default is true 48 # 49 use_nvram false 50 51 # Screen saver timeout; the screen blanks after the specified number of 52 # seconds with no keyboard input. The screen returns after most keypresses 53 # (unfortunately, not including modifier keys such as Shift, Control, Alt, 54 # or Option). Setting a value of "-1" causes rEFInd to start up with its 55 # screen saver active. The default is 0, which disables the screen saver. 56 # 57 #screensaver 300 58 59 # Hide user interface elements for personal preference or to increase 60 # security: 61 # banner - the rEFInd title banner (built-in or loaded via "banner") 62 # label - boot option text label in the menu 63 # singleuser - remove the submenu options to boot macOS in single-user 64 # or verbose modes; affects ONLY macOS 65 # safemode - remove the submenu option to boot macOS in "safe mode" 66 # hwtest - the submenu option to run Apple's hardware test 67 # arrows - scroll arrows on the OS selection tag line 68 # hints - brief command summary in the menu 69 # editor - the options editor (+, F2, or Insert on boot options menu) 70 # badges - device-type badges for boot options 71 # all - all of the above 72 # Default is none of these (all elements active) 73 # 74 #hideui singleuser 75 #hideui all 76 77 # Set the name of a subdirectory in which icons are stored. Icons must 78 # have the same names they have in the standard directory. The directory 79 # name is specified relative to the main rEFInd binary's directory. If 80 # an icon can't be found in the specified directory, an attempt is made 81 # to load it from the default directory; thus, you can replace just some 82 # icons in your own directory and rely on the default for others. 83 # Icon files may be in any supported format -- ICNS (*.icns), BMP (*.bmp), 84 # PNG (*.png), or JPEG (*.jpg or *.jpeg); however, rEFInd's BMP and JPEG 85 # implementations do not support transparency, which is highly desirable 86 # in icons. 87 # Default is "icons". 88 # 89 #icons_dir myicons 90 #icons_dir icons/snowy 91 92 # Use a custom title banner instead of the rEFInd icon and name. The file 93 # path is relative to the directory where refind.efi is located. The color 94 # in the top left corner of the image is used as the background color 95 # for the menu screens. Currently uncompressed BMP images with color 96 # depths of 24, 8, 4 or 1 bits are supported, as well as PNG and JPEG 97 # images. (ICNS images can also be used, but ICNS has limitations that 98 # make it a poor choice for this purpose.) PNG and JPEG support is 99 # limited by the underlying libraries; some files, like progressive JPEGs, 100 # will not work. 101 # 102 #banner hostname.bmp 103 #banner mybanner.jpg 104 #banner icons/snowy/banner-snowy.png 105 106 # Specify how to handle banners that aren't exactly the same as the screen 107 # size: 108 # noscale - Crop if too big, show with border if too small 109 # fillscreen - Fill the screen 110 # Default is noscale 111 # 112 #banner_scale fillscreen 113 114 # Icon sizes. All icons are square, so just one value is specified. The 115 # big icons are used for OS selectors in the first row and the small 116 # icons are used for tools on the second row. Drive-type badges are 1/4 117 # the size of the big icons. Legal values are 32 and above. If the icon 118 # files do not hold icons of the proper size, the icons are scaled to 119 # the specified size. The default values are 48 and 128 for small and 120 # big icons, respectively. 121 # 122 #small_icon_size 96 123 #big_icon_size 256 124 125 # Custom images for the selection background. There is a big one (144 x 144) 126 # for the OS icons, and a small one (64 x 64) for the function icons in the 127 # second row. If only a small image is given, that one is also used for 128 # the big icons by stretching it in the middle. If only a big one is given, 129 # the built-in default will be used for the small icons. If an image other 130 # than the optimal size is specified, it will be scaled in a way that may 131 # be ugly. 132 # 133 # Like the banner option above, these options take a filename of an 134 # uncompressed BMP, PNG, JPEG, or ICNS image file with a color depth of 135 # 24, 8, 4, or 1 bits. The PNG or ICNS format is required if you need 136 # transparency support (to let you "see through" to a full-screen banner). 137 # 138 #selection_big selection-big.bmp 139 #selection_small selection-small.bmp 140 141 # Set the font to be used for all textual displays in graphics mode. 142 # For best results, the font must be a PNG file with alpha channel 143 # transparency. It must contain ASCII characters 32-126 (space through 144 # tilde), inclusive, plus a glyph to be displayed in place of characters 145 # outside of this range, for a total of 96 glyphs. Only monospaced fonts 146 # are supported. Fonts may be of any size, although large fonts can 147 # produce display irregularities. 148 # The default is rEFInd's built-in font, Luxi Mono Regular 12 point. 149 # 150 #font myfont.png 151 152 # Use text mode only. When enabled, this option forces rEFInd into text mode. 153 # Passing this option a "0" value causes graphics mode to be used. Pasing 154 # it no value or any non-0 value causes text mode to be used. 155 # Default is to use graphics mode. 156 # 157 #textonly 158 159 # Set the EFI text mode to be used for textual displays. This option 160 # takes a single digit that refers to a mode number. Mode 0 is normally 161 # 80x25, 1 is sometimes 80x50, and higher numbers are system-specific 162 # modes. Mode 1024 is a special code that tells rEFInd to not set the 163 # text mode; it uses whatever was in use when the program was launched. 164 # If you specify an invalid mode, rEFInd pauses during boot to inform 165 # you of valid modes. 166 # CAUTION: On VirtualBox, and perhaps on some real computers, specifying 167 # a text mode and uncommenting the "textonly" option while NOT specifying 168 # a resolution can result in an unusable display in the booted OS. 169 # Default is 1024 (no change) 170 # 171 #textmode 2 172 173 # Set the screen's video resolution. Pass this option one of the following: 174 # * two integer values, corresponding to the X and Y resolutions 175 # * one integer value, corresponding to a GOP (UEFI) video mode 176 # * the string "max", which sets the maximum available resolution 177 # Note that not all resolutions are supported. On UEFI systems, passing 178 # an incorrect value results in a message being shown on the screen to 179 # that effect, along with a list of supported modes. On EFI 1.x systems 180 # (e.g., Macintoshes), setting an incorrect mode silently fails. On both 181 # types of systems, setting an incorrect resolution results in the default 182 # resolution being used. A resolution of 1024x768 usually works, but higher 183 # values often don't. 184 # Default is "0 0" (use the system default resolution, usually 800x600). 185 # 186 #resolution 1024 768 187 #resolution 1440 900 188 #resolution 3 189 #resolution max 190 191 # Enable touch screen support. If active, this feature enables use of 192 # touch screen controls (as on tablets). Note, however, that not all 193 # tablets' EFIs provide the necessary underlying support, so this 194 # feature may not work for you. If it does work, you should be able 195 # to launch an OS or tool by touching it. In a submenu, touching 196 # anywhere launches the currently-selection item; there is, at present, 197 # no way to select a specific submenu item. This feature is mutually 198 # exclusive with the enable_mouse feature. If both are uncommented, 199 # the one read most recently takes precedence. 200 # 201 #enable_touch 202 203 # Enable mouse support. If active, this feature enables use of the 204 # computer's mouse. Note, however, that not all computers' EFIs 205 # provide the necessary underlying support, so this feature may not 206 # work for you. If it does work, you should be able to launch an 207 # OS or tool by clicking it with the mouse pointer. This feature 208 # is mutually exclusive with the enable_touch feature. If both 209 # are uncommented, the one read most recently takes precedence. 210 # 211 enable_mouse 212 213 # Size of the mouse pointer, in pixels, per side. 214 # Default is 16 215 # 216 #mouse_size 16 217 218 # Speed of mouse tracking. Higher numbers equate to faster 219 # mouse movement. This option requires that enable_mouse be 220 # uncommented. 221 # Legal values are between 1 and 32. Default is 4. 222 # 223 #mouse_speed 4 224 225 # Launch specified OSes in graphics mode. By default, rEFInd switches 226 # to text mode and displays basic pre-launch information when launching 227 # all OSes except macOS. Using graphics mode can produce a more seamless 228 # transition, but displays no information, which can make matters 229 # difficult if you must debug a problem. Also, on at least one known 230 # computer, using graphics mode prevents a crash when using the Linux 231 # kernel's EFI stub loader. You can specify an empty list to boot all 232 # OSes in text mode. 233 # Valid options: 234 # osx - macOS 235 linux - A Linux kernel with EFI stub loader 236 # elilo - The ELILO boot loader 237 # grub - The GRUB (Legacy or 2) boot loader 238 # windows - Microsoft Windows 239 # Default value: osx 240 # 241 #use_graphics_for osx,linux 242 use_graphics_for linux 243 244 # Which non-bootloader tools to show on the tools line, and in what 245 # order to display them: 246 # shell - the EFI shell (requires external program; see rEFInd 247 # documentation for details) 248 # memtest - the memtest86 program, in EFI/tools, EFI/memtest86, 249 # EFI/memtest, EFI/tools/memtest86, or EFI/tools/memtest 250 # gptsync - the (dangerous) gptsync.efi utility (requires external 251 # program; see rEFInd documentation for details) 252 # gdisk - the gdisk partitioning program 253 # apple_recovery - boots the Apple Recovery HD partition, if present 254 # windows_recovery - boots an OEM Windows recovery tool, if present 255 # (see also the windows_recovery_files option) 256 # mok_tool - makes available the Machine Owner Key (MOK) maintenance 257 # tool, MokManager.efi, used on Secure Boot systems 258 # csr_rotate - adjusts Apple System Integrity Protection (SIP) 259 # policy. Requires "csr_values" to be set. 260 # install - an option to install rEFInd from the current location 261 # to another ESP 262 # bootorder - adjust the EFI's (NOT rEFInd's) boot order 263 # about - an "about this program" option 264 # hidden_tags - manage hidden tags 265 # exit - a tag to exit from rEFInd 266 # shutdown - shuts down the computer (a bug causes this to reboot 267 # many UEFI systems) 268 # reboot - a tag to reboot the computer 269 # firmware - a tag to reboot the computer into the firmware's 270 # user interface (ignored on older computers) 271 # fwupdate - a tag to update the firmware; launches the fwupx64.efi 272 # (or similar) program 273 # netboot - launch the ipxe.efi tool for network (PXE) booting 274 # Default is shell,memtest,gdisk,apple_recovery,windows_recovery,mok_tool,about,hidden_tags,shutdown,reboot,firmware,fwupdate 275 # 276 #showtools shell, bootorder, gdisk, memtest, mok_tool, apple_recovery, windows_recovery, about, hidden_tags, reboot, exit, firmware, fwupdate 277 278 # Tool binaries to be excluded from the tools line, even if the 279 # general class is specified in showtools. This enables trimming an 280 # overabundance of tools, as when you see multiple mok_tool entries 281 # after installing multiple Linux distributions. 282 # Just as with dont_scan_files, you can specify a filename alone, a 283 # full pathname, or a volume identifier (filesystem label, partition 284 # name, or partition GUID) and a full pathname. 285 # Default is an empty list (nothing is excluded) 286 # 287 #dont_scan_tools ESP2:/EFI/ubuntu/mmx64.efi,gptsync_x64.efi 288 289 # Boot loaders that can launch a Windows restore or emergency system. 290 # These tend to be OEM-specific. 291 # Default is LRS_ESP:/EFI/Microsoft/Boot/LrsBootmgr.efi 292 # 293 #windows_recovery_files LRS_ESP:/EFI/Microsoft/Boot/LrsBootmgr.efi 294 295 # Directories in which to search for EFI drivers. These drivers can 296 # provide filesystem support, give access to hard disks on plug-in 297 # controllers, etc. In most cases none are needed, but if you add 298 # EFI drivers and you want rEFInd to automatically load them, you 299 # should specify one or more paths here. rEFInd always scans the 300 # "drivers" and "drivers_{arch}" subdirectories of its own installation 301 # directory (where "{arch}" is your architecture code); this option 302 # specifies ADDITIONAL directories to scan. 303 # Default is to scan no additional directories for EFI drivers 304 # 305 #scan_driver_dirs EFI/tools/drivers,drivers 306 307 # Which types of boot loaders to search, and in what order to display them: 308 internal - internal EFI disk-based boot loaders 309 # external - external EFI disk-based boot loaders 310 # optical - EFI optical discs (CD, DVD, etc.) 311 # netboot - EFI network (PXE) boot options 312 # hdbios - BIOS disk-based boot loaders 313 # biosexternal - BIOS external boot loaders (USB, eSATA, etc.) 314 # cd - BIOS optical-disc boot loaders 315 # manual - use stanzas later in this configuration file 316 # firmware - boot EFI programs set in the firmware's NVRAM 317 # Note that the legacy BIOS options require firmware support, which is 318 # not present on all computers. 319 # The netboot option is experimental and relies on the ipxe.efi and 320 # ipxe_discover.efi program files. 321 # On UEFI PCs, default is internal,external,optical,manual 322 # On Macs, default is internal,hdbios,external,biosexternal,optical,cd,manual 323 # 324 #scanfor internal,external,optical,manual,firmware 325 326 # By default, rEFInd relies on the UEFI firmware to detect BIOS-mode boot 327 # devices. This sometimes doesn't detect all the available devices, though. 328 # For these cases, uefi_deep_legacy_scan results in a forced scan and 329 # modification of NVRAM variables on each boot. Adding "0", "off", or 330 # "false" resets to the default value. This token has no effect on Macs or 331 # when no BIOS-mode options are set via scanfor. 332 # Default is unset (or "uefi_deep_legacy_scan false") 333 # 334 #uefi_deep_legacy_scan 335 336 # Delay for the specified number of seconds before scanning disks. 337 # This can help some users who find that some of their disks 338 # (usually external or optical discs) aren't detected initially, 339 # but are detected after pressing Esc. 340 # The default is 0. 341 # 342 #scan_delay 5 343 344 # When scanning volumes for EFI boot loaders, rEFInd always looks for 345 # macOS's and Microsoft Windows' boot loaders in their normal locations, 346 # and scans the root directory and every subdirectory of the /EFI directory 347 # for additional boot loaders, but it doesn't recurse into these directories. 348 # The also_scan_dirs token adds more directories to the scan list. 349 # Directories are specified relative to the volume's root directory. This 350 # option applies to ALL the volumes that rEFInd scans UNLESS you include 351 # a volume name and colon before the directory name, as in "myvol:/somedir" 352 # to scan the somedir directory only on the filesystem named myvol. If a 353 # specified directory doesn't exist, it's ignored (no error condition 354 # results). The default is to scan the "boot" directory in addition to 355 # various hard-coded directories. 356 # 357 #also_scan_dirs boot,ESP2:EFI/linux/kernels 358 359 # Partitions (or whole disks, for legacy-mode boots) to omit from scans. 360 # For EFI-mode scans, you normally specify a volume by its label, which you 361 # can obtain in an EFI shell by typing "vol", from Linux by typing 362 # "blkid /dev/{devicename}", or by examining the disk's label in various 363 # OSes' file browsers. It's also possible to identify a partition by its 364 # unique GUID (aka its "PARTUUID" in Linux parlance). (Note that this is 365 # NOT the partition TYPE CODE GUID.) This identifier can be obtained via 366 # "blkid" in Linux or "diskutil info {partition-id}" in macOS. 367 # For legacy-mode scans, you can specify any subset of the boot loader 368 # description shown when you highlight the option in rEFInd. 369 # The default is "LRS_ESP". 370 # 371 #dont_scan_volumes "Recovery HD" 372 dont_scan_volumes "FATUBUNTU,FAT1604,FAT-TROIS"" 373 # Directories that should NOT be scanned for boot loaders. By default, 374 # rEFInd doesn't scan its own directory, the EFI/tools directory, the 375 # EFI/memtest directory, the EFI/memtest86 directory, or the 376 # com.apple.recovery.boot directory. Using the dont_scan_dirs option 377 # enables you to "blacklist" other directories; but be sure to use "+" 378 # as the first element if you want to continue blacklisting existing 379 # directories. You might use this token to keep EFI/boot/bootx64.efi out 380 # of the menu if that's a duplicate of another boot loader or to exclude 381 # a directory that holds drivers or non-bootloader utilities provided by 382 # a hardware manufacturer. If a directory is listed both here and in 383 # also_scan_dirs, dont_scan_dirs takes precedence. Note that this 384 # blacklist applies to ALL the filesystems that rEFInd scans, not just 385 # the ESP, unless you precede the directory name by a filesystem name or 386 # partition unique GUID, as in "myvol:EFI/somedir" to exclude EFI/somedir 387 # from the scan on the myvol volume but not on other volumes. 388 # 389 dont_scan_dirs ESP:/EFI/boot,EFI/Dell,EFI/memtest86 390 391 # Files that should NOT be included as EFI boot loaders (on the 392 # first line of the display). If you're using a boot loader that 393 # relies on support programs or drivers that are installed alongside 394 # the main binary or if you want to "blacklist" certain loaders by 395 # name rather than location, use this option. Note that this will 396 # NOT prevent certain binaries from showing up in the second-row 397 # set of tools. Most notably, various Secure Boot and recovery 398 # tools are present in this list, but may appear as second-row 399 # items. 400 # The file may be specified as a bare name (e.g., "notme.efi"), as 401 # a complete pathname (e.g., "/EFI/somedir/notme.efi"), or as a 402 # complete pathname with volume (e.g., "SOMEDISK:/EFI/somedir/notme.efi" 403 # or 2C17D5ED-850D-4F76-BA31-47A561740082:/EFI/somedir/notme.efi"). 404 # OS tags hidden via the Delete or '-' key in the rEFInd menu are 405 # added to this list, but stored in NVRAM. 406 # The default is shim.efi,shim-fedora.efi,shimx64.efi,PreLoader.efi, 407 # TextMode.efi,ebounce.efi,GraphicsConsole.efi,MokManager.efi,HashTool.efi, 408 # HashTool-signed.efi,bootmgr.efi,fb{arch}.efi 409 # (where "{arch}" is the architecture code, like "x64"). 410 # If you want to keep these defaults but add to them, be sure to 411 # specify "+" as the first item in the new list; if you don't, then 412 # items from the default list are likely to appear. 413 # 414 dont_scan_files shim.efi,MokManager.efi 415 416 # EFI NVRAM Boot#### variables that should NOT be presented as loaders 417 # when "firmware" is an option to "scanfor". The comma-separated list 418 # presented here contains strings that are matched against the 419 # description field -- if a value here is a case-insensitive substring 420 # of the boot option description, then it will be excluded from the 421 # boot list. To specify a string that includes a space, enclose it 422 # in quotes. Specifying "shell" will counteract the automatic 423 # inclusion of built-in EFI shells. 424 # 425 #dont_scan_firmware HARDDISK,shell,"Removable Device" 426 427 # Scan for Linux kernels that lack a ".efi" filename extension. This is 428 # useful for better integration with Linux distributions that provide 429 # kernels with EFI stub loaders but that don't give those kernels filenames 430 # that end in ".efi", particularly if the kernels are stored on a 431 # filesystem that the EFI can read. When set to "1", "true", or "on", this 432 # option causes all files in scanned directories with names that begin with 433 # "vmlinuz", "bzImage", or "kernel" to be included as loaders, even if they 434 # lack ".efi" extensions. Passing this option a "0", "false", or "off" value 435 # causes kernels without ".efi" extensions to NOT be scanned. 436 # Default is "true" -- to scan for kernels without ".efi" extensions. 437 # 438 #scan_all_linux_kernels false 439 440 # Combine all Linux kernels in a given directory into a single entry. 441 # When so set, the kernel with the most recent time stamp will be launched 442 # by default, and its filename will appear in the entry's description. 443 # To launch other kernels, the user must press F2 or Insert; alternate 444 # kernels then appear as options on the sub-menu. 445 # Default is "true" -- kernels are "folded" into a single menu entry. 446 # 447 #fold_linux_kernels false 448 449 # Comma-delimited list of strings to treat as if they were numbers for the 450 # purpose of kernel version number detection. These strings are matched on a 451 # first-found basis; that is, if you want to treat both "linux-lts" and 452 # "linux" as version strings, they MUST be specified as "linux-lts,linux", 453 # since if you specify it the other way, both vmlinuz-linux and 454 # vmlinuz-linux-lts will return with "linux" as the "version string," which 455 # is not what you'd want. Also, if the kernel or initrd file includes both a 456 # specified string and digits, the "version string" includes both. For 457 # instance, "vmlinuz-linux-4.8" would yield a version string of "linux-4.8". 458 # This option is intended for Arch and other distributions that don't include 459 # version numbers in their kernel filenames, but may provide other uniquely 460 # identifying strings for multiple kernels. If this feature causes problems 461 # (say, if your kernel filename includes "linux" but the initrd filename 462 # doesn't), be sure this is set to an empty string 463 # (extra_kernel_version_strings "") or comment out the option to disable it. 464 # Default is no extra version strings 465 # 466 #extra_kernel_version_strings linux-lts,linux 467 468 # Write to systemd EFI variables (currently only LoaderDevicePartUUID) when 469 # launching Linux via an EFI stub loader, ELILO, or GRUB. This variable, 470 # when present, causes systemd to mount the ESP at /boot or /efi *IF* either 471 # directory is empty and nothing else is mounted there. 472 # Default is "false" 473 # 474 write_systemd_vars false 475 476 # Set the maximum number of tags that can be displayed on the screen at 477 # any time. If more loaders are discovered than this value, rEFInd shows 478 # a subset in a scrolling list. If this value is set too high for the 479 # screen to handle, it's reduced to the value that the screen can manage. 480 # If this value is set to 0 (the default), it's adjusted to the number 481 # that the screen can handle. 482 # 483 #max_tags 0 484 485 # Set the default menu selection. The available arguments match the 486 # keyboard accelerators available within rEFInd. You may select the 487 # default loader using: 488 # - A digit between 1 and 9, in which case the Nth loader in the menu 489 # will be the default. 490 # - A "+" symbol at the start of the string, which refers to the most 491 # recently booted loader. 492 # - Any substring that corresponds to a portion of the loader's title 493 # (usually the OS's name, boot loader's path, or a volume or 494 # filesystem title). 495 # You may also specify multiple selectors by separating them with commas 496 # and enclosing the list in quotes. (The "+" option is only meaningful in 497 # this context.) 498 # If you follow the selector(s) with two times, in 24-hour format, the 499 # default will apply only between those times. The times are in the 500 # motherboard's time standard, whether that's UTC or local time, so if 501 # you use UTC, you'll need to adjust this from local time manually. 502 # Times may span midnight as in "23:30 00:30", which applies to 11:30 PM 503 # to 12:30 AM. You may specify multiple default_selection lines, in which 504 # case the last one to match takes precedence. Thus, you can set a main 505 # option without a time followed by one or more that include times to 506 # set different defaults for different times of day. 507 # The default behavior is to boot the previously-booted OS. 508 # 509 #default_selection 1 510 #default_selection Microsoft 511 default_selection "+,bzImage,vmlinuz" 512 #default_selection Maintenance 23:30 2:00 513 #default_selection "Maintenance,macOS" 1:00 2:30 514 515 # Enable VMX bit and lock the CPU MSR if unlocked. 516 # On some Intel Apple computers, the firmware does not lock the MSR 0x3A. 517 # The symptom on Windows is Hyper-V not working even if the CPU 518 # meets the minimum requirements (HW assisted virtualization and SLAT) 519 # DO NOT SET THIS EXCEPT ON INTEL CPUs THAT SUPPORT VMX! See 520 # http://www.thomas-krenn.com/en/wiki/Activating_the_Intel_VT_Virtualization_Feature 521 # for more on this subject. 522 # The default is false: Don't try to enable and lock the MSR. 523 # 524 #enable_and_lock_vmx false 525 526 # Tell a Mac's EFI that macOS is about to be launched, even when it's not. 527 # This option causes some Macs to initialize their hardware differently than 528 # when a third-party OS is launched normally. In some cases (particularly on 529 # Macs with multiple video cards), using this option can cause hardware to 530 # work that would not otherwise work. On the other hand, using this option 531 # when it is not necessary can cause hardware (such as keyboards and mice) to 532 # become inaccessible. Therefore, you should not enable this option if your 533 # non-Apple OSes work correctly; enable it only if you have problems with 534 # some hardware devices. When needed, a value of "10.9" usually works, but 535 # you can experiment with other values. This feature has no effect on 536 # non-Apple computers. 537 # The default is inactive (no macOS spoofing is done). 538 # 539 #spoof_osx_version 10.9 540 541 # Set the CSR values for Apple's System Integrity Protection (SIP) feature. 542 # Values are two-byte (four-character) hexadecimal numbers. These values 543 # define which specific security features are enabled. Below are the codes 544 # for what the values mean. Add them up (in hexadecimal!) to set new values. 545 # Apple's "csrutil enable" and "csrutil disable" commands set values of 10 546 # and 877, respectively. (Prior to OS 11, 77 was used rather than 877; 877 547 # is required for OS 11, and should work for OS X 10.x, too.) 548 # CSR_ALLOW_UNTRUSTED_KEXTS 0x0001 549 # CSR_ALLOW_UNRESTRICTED_FS 0x0002 550 # CSR_ALLOW_TASK_FOR_PID 0x0004 551 # CSR_ALLOW_KERNEL_DEBUGGER 0x0008 552 # CSR_ALLOW_APPLE_INTERNAL 0x0010 553 # CSR_ALLOW_UNRESTRICTED_DTRACE 0x0020 554 # CSR_ALLOW_UNRESTRICTED_NVRAM 0x0040 555 # CSR_ALLOW_DEVICE_CONFIGURATION 0x0080 556 # CSR_ALLOW_ANY_RECOVERY_OS 0x0100 557 # CSR_ALLOW_UNAPPROVED_KEXTS 0x0200 558 # CSR_ALLOW_EXECUTABLE_POLICY_OVERRIDE 0x0400 559 # CSR_ALLOW_UNAUTHENTICATED_ROOT 0x0800 560 #csr_values 10,877 561 562 # Include a secondary configuration file within this one. This secondary 563 # file is loaded as if its options appeared at the point of the "include" 564 # token itself, so if you want to override a setting in the main file, 565 # the secondary file must be referenced AFTER the setting you want to 566 # override. Note that the secondary file may NOT load a tertiary file. 567 # 568 #include manual.conf 569 570 # Sample manual configuration stanzas. Each begins with the "menuentry" 571 # keyword followed by a name that's to appear in the menu (use quotes 572 # if you want the name to contain a space) and an open curly brace 573 # ("{"). Each entry ends with a close curly brace ("}"). Common 574 # keywords within each stanza include: 575 # 576 # volume - identifies the filesystem from which subsequent files 577 # are loaded. You can specify the volume by filesystem 578 # label, by partition label, or by partition GUID number 579 # (but NOT yet by filesystem UUID number). 580 # loader - identifies the boot loader file 581 # initrd - Specifies an initial RAM disk file 582 # icon - specifies a custom boot loader icon 583 # ostype - OS type code to determine boot options available by 584 # pressing Insert. Valid values are "MacOS", "Linux", 585 # "Windows", and "XOM". Case-sensitive. 586 # graphics - set to "on" to enable graphics-mode boot (useful 587 # mainly for MacOS) or "off" for text-mode boot. 588 # Default is auto-detected from loader filename. 589 # options - sets options to be passed to the boot loader; use 590 # quotes if more than one option should be passed or 591 # if any options use characters that might be changed 592 # by rEFInd parsing procedures (=, /, #, or tab). 593 # disabled - use alone or set to "yes" to disable this entry. 594 # 595 # Note that you can use either DOS/Windows/EFI-style backslashes (\) 596 # or Unix-style forward slashes (/) as directory separators. Either 597 # way, all file references are on the ESP from which rEFInd was 598 # launched. 599 # Use of quotes around parameters causes them to be interpreted as 600 # one keyword, and for parsing of special characters (spaces, =, /, 601 # and #) to be disabled. This is useful mainly with the "options" 602 # keyword. Use of quotes around parameters that specify filenames is 603 # permissible, but you must then use backslashes instead of slashes, 604 # except when you must pass a forward slash to the loader, as when 605 # passing a root= option to a Linux kernel. 606 607 # Below are several sample boot stanzas. All are disabled by default. 608 # Find one similar to what you need, copy it, remove the "disabled" line, 609 # and adjust the entries to suit your needs. 610 611 # A sample entry for a Linux 3.13 kernel with EFI boot stub support 612 # on a partition with a GUID of 904404F8-B481-440C-A1E3-11A5A954E601. 613 # This entry includes Linux-specific boot options and specification 614 # of an initial RAM disk. Note uses of Linux-style forward slashes. 615 # Also note that a leading slash is optional in file specifications. 616 menuentry Linux { 617 icon EFI/refind/icons/os_linux.png 618 volume 904404F8-B481-440C-A1E3-11A5A954E601 619 loader bzImage-3.3.0-rc7 620 initrd initrd-3.3.0.img 621 options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837" 622 disabled 623 } 624 625 # Below is a more complex Linux example, specifically for Arch Linux. 626 # This example MUST be modified for your specific installation; if nothing 627 # else, the PARTUUID code must be changed for your disk. Because Arch Linux 628 # does not include version numbers in its kernel and initrd filenames, you 629 # may need to use manual boot stanzas when using fallback initrds or 630 # multiple kernels with Arch. This example is modified from one in the Arch 631 # wiki page on rEFInd (https://wiki.archlinux.org/index.php/rEFInd). 632 menuentry "Arch Linux" { 633 icon /EFI/refind/icons/os_arch.png 634 volume "Arch Linux" 635 loader /boot/vmlinuz-linux 636 initrd /boot/initramfs-linux.img 637 options "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap" 638 submenuentry "Boot using fallback initramfs" { 639 initrd /boot/initramfs-linux-fallback.img 640 } 641 submenuentry "Boot to terminal" { 642 add_options "systemd.unit=multi-user.target" 643 } 644 disabled 645 } 646 647 # A sample entry for loading Ubuntu using its standard name for 648 # its GRUB 2 boot loader. Note uses of Linux-style forward slashes 649 menuentry Ubuntu { 650 loader /EFI/ubuntu/grubx64.efi 651 icon /EFI/refind/icons/os_linux.png 652 disabled 653 } 654 655 # A minimal ELILO entry, which probably offers nothing that 656 # auto-detection can't accomplish. 657 menuentry "ELILO" { 658 loader \EFI\elilo\elilo.efi 659 disabled 660 } 661 662 # Like the ELILO entry, this one offers nothing that auto-detection 663 # can't do; but you might use it if you want to disable auto-detection 664 # but still boot Windows.... 665 menuentry "Windows 7" { 666 loader \EFI\Microsoft\Boot\bootmgfw.efi 667 disabled 668 } 669 670 # EFI shells are programs just like boot loaders, and can be 671 # launched in the same way. You can pass a shell the name of a 672 # script that it's to run on the "options" line. The script 673 # could initialize hardware and then launch an OS, or it could 674 # do something entirely different. 675 menuentry "Windows via shell script" { 676 icon \EFI\refind\icons\os_win.png 677 loader \EFI\tools\shell.efi 678 options "fs0:\EFI\tools\launch_windows.nsh" 679 disabled 680 } 681 682 # MacOS is normally detected and run automatically; however, 683 # if you want to do something unusual, a manual boot stanza may 684 # be the way to do it. This one does nothing very unusual, but 685 # it may serve as a starting point. Note that you'll almost 686 # certainly need to change the "volume" line for this example 687 # to work. 688 menuentry "My macOS" { 689 icon \EFI\refind\icons\os_mac.png 690 volume "macOS boot" 691 loader \System\Library\CoreServices\boot.efi 692 disabled 693 } 694 695 # The firmware_bootnum token takes a HEXADECIMAL value as an option 696 # and sets that value using the EFI's BootNext variable and then 697 # reboots the computer. This then causes a one-time boot of the 698 # computer using this EFI boot option. It can be used for various 699 # purposes, but one that's likely to interest some rEFInd users is 700 # that some Macs with HiDPI displays produce lower-resolution 701 # desktops when booted through rEFInd than when booted via Apple's 702 # own boot manager. Booting using the firmware_bootnum option 703 # produces the better resolution. Note that no loader option is 704 # used in this type of configuration. 705 menuentry "macOS via BootNext" { 706 icon /EFI/refind/icons/os_mac.png 707 firmware_bootnum 80 708 disabled 709 }
Gros boulot de contrôle, mais je pense que je peux effacer pas mal de paragraphes ?
57 #screensaver 300
En standard, tu peux réfléchir plus de cinq minutes sans que l'écran s'éteigne. Cela ne me semble pas primordial de modifier.
334 #uefi_deep_legacy_scan
Grub EFI sait seulement aficher les O.S. Windows installés en EFI et les O.S. libres installés dans des partitions EXT4
En standard, refind fait aussi cela et aussi le O.S. installés dans des partitions BTRFS. Si tu valides aussi cette option, il va regarder les windows LEGACY dont le boot est dans des partitions NTFS. Cela prendra donc un peu plus de temps pour aussi inspecter les partitions NTFS. Il me semble que ce n'est pas ton cas.
342 #scan_delay 5
Au démarage de l'ordinateur tous les disques peuvent ne pas être opérationnels. Refind attend donc un peu avant de commencer son inspection. Si tu es à 4 secondes près, tu peux toujours mettre 1 et si tu vois que des disques sont oubliés, tu peux réappuyer sur la touche ESC Pour redemander un nouveau balayage des disques.
Cela me semble être l'équivalent de la fonction rootdelay du grub. C'est très rare lorsqu'on a besoin de mettre 30
425 # dont_scan_firmware HARDDISK,shell,"Removable Device"
Je n'ai pas d'expérience pour la mise à jour du bios EFI. Il me semble que ubuntu en livre peu. Lorsqu'il en livre, ce n'est pas un succès. A mon avis: Ne pas demander à refind de s'occuper du bios si ce n'est pas un mac.
438 #scan_all_linux_kernels false
C'est une option que tu peux changer. En standard ubuntu à deux noyaux. Refind n'affiche que le plus récent. Tu peux demander à ce qu'il affiche les deux... Lorsqu il en affichera 10, cela te fera penser que tu as oublié d'épurer les noyaux.
466 #extra_kernel_version_strings linux-lts,linux
En standard refind reconnait les noyaux grace à une norme. Si je compremds, il y en a d'autres.
Si les noyaux sont bien reconnus, cela me semble inutile d'activer cette option supplémentaire.
511 default_selection "+,bzImage,vmlinuz"
C'est pour dire ce que tu veux lancer automatiquement en absence de choix de ta part. Donc le dernier linux exécuté.
Dernière modification par geole (Le 13/12/2023, à 13:51)
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