Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#51 Le 13/12/2023, à 14:14

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

J'ai fait un reboot... je redémarre par grub sans autre choix...
J'ai enregistré ce Refind.conf, qui se trouve dans /boot/efi/EFI/BOOT  (le dossier est-il correctement placé ?)

#
# 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 10

# 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 true

# 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
}

Dans le chemin parent /boot/efi/EFI il y a le dossier "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

Un grug.cfg ici, un autre dans /boot/grub

 ls /boot/grub
fonts  grub.cfg  grubenv  locale  unicode.pf2  x86_64-efi

et le grub.cfg contient :

cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd6,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos5 --hint-efi=hd6,msdos5 --hint-baremetal=ahci6,msdos5  c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
else
  search --no-floppy --fs-uuid --set=root c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 60,59,55; then
  clear
fi

color_normal=light-gray/black

if [ -e ${prefix}/themes/ubuntu-mate/theme.txt ]; then
  insmod png
  theme=${prefix}/themes/ubuntu-mate/theme.txt
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if [ ${grub_platform} != pc ]; then
      set linux_gfx_mode=keep
    elif hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c27d0c7a-086b-4a0c-a11f-dcf9017d77a8' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd6,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos5 --hint-efi=hd6,msdos5 --hint-baremetal=ahci6,msdos5  c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
	else
	  search --no-floppy --fs-uuid --set=root c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
	fi
	linux	/boot/vmlinuz-6.2.0-37-generic root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-6.2.0-37-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c27d0c7a-086b-4a0c-a11f-dcf9017d77a8' {
	menuentry 'Ubuntu, with Linux 6.2.0-37-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-37-generic-advanced-c27d0c7a-086b-4a0c-a11f-dcf9017d77a8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd6,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos5 --hint-efi=hd6,msdos5 --hint-baremetal=ahci6,msdos5  c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
		else
		  search --no-floppy --fs-uuid --set=root c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
		fi
		echo	'Loading Linux 6.2.0-37-generic ...'
		linux	/boot/vmlinuz-6.2.0-37-generic root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.2.0-37-generic
	}
	menuentry 'Ubuntu, with Linux 6.2.0-37-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.2.0-37-generic-recovery-c27d0c7a-086b-4a0c-a11f-dcf9017d77a8' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd6,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos5 --hint-efi=hd6,msdos5 --hint-baremetal=ahci6,msdos5  c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
		else
		  search --no-floppy --fs-uuid --set=root c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
		fi
		echo	'Loading Linux 6.2.0-37-generic ...'
		linux	/boot/vmlinuz-6.2.0-37-generic root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro recovery nomodeset dis_ucode_ldr 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.2.0-37-generic
	}
	menuentry 'Ubuntu, with Linux 5.15.0-91-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-91-generic-advanced-c27d0c7a-086b-4a0c-a11f-dcf9017d77a8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd6,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos5 --hint-efi=hd6,msdos5 --hint-baremetal=ahci6,msdos5  c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
		else
		  search --no-floppy --fs-uuid --set=root c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
		fi
		echo	'Loading Linux 5.15.0-91-generic ...'
		linux	/boot/vmlinuz-5.15.0-91-generic root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.15.0-91-generic
	}
	menuentry 'Ubuntu, with Linux 5.15.0-91-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-91-generic-recovery-c27d0c7a-086b-4a0c-a11f-dcf9017d77a8' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd6,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos5 --hint-efi=hd6,msdos5 --hint-baremetal=ahci6,msdos5  c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
		else
		  search --no-floppy --fs-uuid --set=root c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
		fi
		echo	'Loading Linux 5.15.0-91-generic ...'
		linux	/boot/vmlinuz-5.15.0-91-generic root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro recovery nomodeset dis_ucode_ldr 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.15.0-91-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###

Pas de trace de démarrage dans la partition Debian ni dans sa partition EFI qui est complètement vide.

Refind ne démarre pas au boot et donc Grub prend le relai, apparemment. Refind avait lancer Ubuntu hier, mais je n'avais pas vu dessus la partition Debian

Dernière modification par LRDP (Le 14/12/2023, à 20:09)


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#52 Le 13/12/2023, à 14:19

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

autre chose curieuse :

 ls /etc/default/grub.d
init-select.cfg
 cat /etc/default/grub.d/init-select.cfg
# Work around a bug in the obsolete init-select package which broke
# grub-mkconfig when init-select was removed but not purged.  This file does
# nothing and will be removed in a later release.
#
# See:
#   https://bugs.debian.org/858528
#   https://bugs.debian.org/863801

çà me parle de Debian ! avec l'info qu'il n'y a pas de démarrage par ... Grub !...


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#53 Le 13/12/2023, à 14:59

geole

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonjour.
Un petit point que j'avais oublié.
Tu as obligatoirement positionné ton bios pour booter en  premier sur les disques externes vu qu'il n'y a pas de structure de boot sur les disques internes.

Il est fort possible de tu ne puisses indiquer à ton bios quel fichier de boot EFI tu veux lancer.
Par défaut le bios choisit le fichier de /EFI/Boot/grubx64.efi
L'installateur du grub le sait et il a écrasé ce fiichier de boot par son  grub tel que c'est vu ici ( même chkecksum pour les deux fichiers )

78dce18613524e5ea5d6059f51b7178f   sdg1/BOOT/bkpbootx64.efi
d4646b0af24b169d62bc44cff8967793   sdg1/BOOT/bootx64.efi
fff7eb4219a93fa99b0132e0a57842e9   sdg1/BOOT/refind_x64.efi
d4646b0af24b169d62bc44cff8967793   sdg1/ubuntu/grubx64.efi

Je pense que refind le sait. Je ne sais pas pourquoi il ne prend pas la même décision.
Cependant, cela ne doit pas être le problème puisque tu dis  que refind affiche bien ses icônes.

Pour que cela soit nickel, je te propose de faire cette commande qui mettra refind dans la structure de boot standard

sudo cp -v /boot/efi/EFI/BOOT/refind_x64.efi  /boot/efi/EFi/BOOT/bootx64.efi

et de redonner le contenu de la nvram

efibootmgr -v

Regarde bien sous les icônes de refind  pour ne pas lancer /boot/grub mais /boot/vmlinuz.

Comme tu dis que debian n'est pas dans la liste et comme tu as pas mal de disques externes, appuie sur la touche esc ( de mémoire, mais c'est indiqué laquelle) pour lui faire exécuter un nouveau balayage des disques.


Nota. Les bugs du grub que tu signales sont marqués corrigé.

Fixed in versions 1.20140921+rm, init-select/1.20140921+deb8u1
Fixed in version grub2/2.02+dfsg1-8

Dernière modification par geole (Le 13/12/2023, à 15:28)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#54 Le 14/12/2023, à 15:54

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonjour,
résultat des courses : je suis là sous Debian !

Oui, mais le multiboot s'est fait avec Grub...!
Hier, j'ai encore fait un boot-info après que Ubuntu ne se lançait qu'avec Grub, plus de Refind. Sur l'Info, j'ai cru lire comme solution de réinstaller l'EFI de démarrage, ai-je lu Refind ou Grub, je ne sais plus ? la fatigue peut-être. J'ai fait un boot-repair et j'ai eu de nouveau Grub avec Debian signalé, et voilà, j'y suis !

Donc Grub est visiblement toujours capable de faire un Multiboot, Refind semble plus intéressant, mais la mise en place chez moi a raté.

Peut-être suivre cette page pour pouvoir inhiber Grub et faciliter le démarrage par Refind en bidouillant par Boot-repair ?

Pour l'instant, je verrai selon le fonctionnement de ma configuration.

Dernière modification par LRDP (Le 14/12/2023, à 15:55)


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#55 Le 14/12/2023, à 17:06

geole

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonjour
Je t'ai dis ce que je pensais
Tu  as installé tes O.S. sur des disques externes.
Même si tu as mis  dans le bios qu'il faut booter prioritairement sur les disques internes,  comme il n'y a de partition EFI de 36 Mo contenant refind, le boot se fait sur disque externe.
La règle sur un disque externe est de booter   avec le fichier /EFI/BOOT/BOOTX64.EFI
Dans le cas que j'ai vu, il contient GRUB.   Je t'ai proposé une commande pour mettre refind. Si tu ne l'a pas fait, c'est grub qui met en route.

Dernière modification par geole (Le 14/12/2023, à 17:07)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#56 Le 14/12/2023, à 18:29

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

J'étais en train de te répondre quand la fenêtre de Firefox sur Debian a "freezé". Retour sur Ubuntu.

Je disais qu'effectivement, j'ai installé Debian sur un disque branché sur un dock USB, mais Ubuntu a toujours été en Interne. Il a changé de lettre lorsque j'en avais fait un clone et depuis il est resté en sdf ou sdg. Les partitions EFI, qui sont de 530 Mo, sont sur disques INTERNES. Celle installée sur Debian a été formatée depuis et réinstallée en interne.

Hier, j'ai fait le ménage dans ma configuration en éliminant deux disques sur le point de mourir et j'ai branché les deux derniers disques (totalement exempts de partition EFI) d'un boîtier externe USB directement dans la tour. Les lettres ont changé, mais pas les partitions EFI :

sudo ls -l /boot/efi/EFI/BOOT
[sudo] Mot de passe de lrdp : 
total 5516
-rwx------ 1 root root 2598792 déc.  14 14:20  bkpbootx64.efi
-rwx------ 1 root root 2598792 déc.  14 14:20  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   34577 déc.  13 12:44  refind.conf
-rwx------ 1 root root   34513 déc.  10 11:45 'refind (copie).conf'
-rwx------ 1 root root   34513 déc.  10 11:45 'refind (copie).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

Il n'y a pas Grub,
lui il se trouve dans un dossier "ubuntu" du répertoire parent :

sudo ls -l /boot/efi/EFI
total 8
drwx------ 5 root root 4096 déc.  14 14:20 BOOT
drwx------ 2 root root 4096 déc.  11 14:46 ubuntu

et son contenu :

sudo ls -l /boot/efi/EFI/ubuntu
total 2544
-rwx------ 1 root root     128 déc.  14 14:20 grub.cfg
-rwx------ 1 root root 2598792 déc.  14 14:20 grubx64.efi

Donc, je crois qu'il a pris la priorité sur bootx64.efi, malgré toutes les commandes faites selon tes conseils. Faut-il effacer ce dossier "ubuntu", pour activer Refind, ou le modifier ?


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#57 Le 14/12/2023, à 19:44

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

dernier Boot-info :

boot-repair-4ppa2062                                              [20231214_1837]

============================== 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.
 => No boot loader is installed in the MBR of /dev/sdc.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdd.
 => No boot loader 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 (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => 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
    ---------------------------------------------------------------------------

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:        

sdc1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdd2: __________________________________________________________________________

    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:        

sdf1: __________________________________________________________________________

    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

sdf2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdf5: __________________________________________________________________________

    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

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/bootx64.efi /efi/Debian/fbx64.efi 
                       /efi/Debian/grubx64.efi /efi/Debian/mmx64.efi 
                       /efi/Debian/shimx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/Debian/grub.cfg

sdg2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdg5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Debian GNU/Linux 12 (bookworm)
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdh: ___________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.3 LTS on sdf5
OS#2:   Debian GNU/Linux 12 (bookworm) 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-39-generic root=UUID=c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ro quiet splash vt.handoff=7
df -Th / : /dev/sdf5        ext4   457G    269G  165G  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: 000D,0000,0010,000B,000C
Boot0000* Debian	HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\DEBIAN\SHIMX64.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..NO..........W.D.C. .W.D.6.0.0.3.F.Z.B.X.-.0.0.K.5.W.B.0...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.8.V.6.J.N.X.R.D. . . . . . . . . . . . ........BO
Boot000D* ubuntu	HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)
Boot0010* debian	HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO

a1da253696a304dce6b4668b70151c0e   sdg1/boot/bootx64.efi (is grub)
ca0aa9ad51118a4a0b9026db28271163   sdg1/Debian/fbx64.efi
62ff1ee5b75b4565f609043c4b1da759   sdg1/Debian/grubx64.efi
1efa63a183a729b309c16267cbba5b67   sdg1/Debian/mmx64.efi
fe2090106517ccf680e12e538b4274db   sdg1/Debian/shimx64.efi
a1da253696a304dce6b4668b70151c0e   sdg1/ubuntu/grubx64.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sdf	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sdd	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	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
sdg	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-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
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, 	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

Partitions info (1/3): _________________________________________________________

sdf5	: 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,	not-far
sdd2	: 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
sdg5	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sdg1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sde1	: 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
sdh	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sdf5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdf1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdd2	: 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
sdg5	: isnotESP,	fstab-has-goodEFI,	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
sde1	: 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
sdh	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdf5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdf
sdf1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdf
sdd2	: 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
sdg5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdg
sdg1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdg
sde1	: 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
sdh	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

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: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 97341AAA-3CF4-4F4A-BA9E-4FE348A1617D
     Start         End     Sectors  Size Type
sdb1   2048 11721043967 11721041920  5.5T Linux filesystem
Disk sdc: 14.55 TiB, 16000900661248 bytes, 31251759104 sectors
Disk identifier: 8AB61712-1941-4E0A-9241-11191D484CA0
     Start         End     Sectors  Size Type
sdc1   2048 31251757055 31251755008 14.6T Linux filesystem
Disk sdd: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0x61065840
     Boot Start        End    Sectors  Size Id Type
sdd2        2048 3907028991 3907026944  1.8T 83 Linux
Disk sde: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk identifier: 3060F17F-570D-674E-9C55-D9C4EF3A7762
     Start         End     Sectors  Size Type
sde1   2048 11721043967 11721041920  5.5T Linux filesystem
Disk sdf: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xee4427dc
     Boot   Start       End   Sectors   Size Id Type
sdf1  *       2048   1050623   1048576   512M  b W95 FAT32
sdf2       1052670 976771071 975718402 465.3G  5 Extended
sdf5       1052672 976771071 975718400 465.3G 83 Linux
Disk sdg: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xee4427dc
     Boot   Start        End    Sectors   Size Id Type
sdg1  *       2048    1050623    1048576   512M  c W95 FAT32 (LBA)
sdg2       1052670 1954039807 1952987138 931.3G  5 Extended
sdg5       1052672 1954039807 1952987136 931.3G 83 Linux
Disk sdh: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors

parted -lm (filtered): _________________________________________________________

sda:6001GB:scsi:512:4096:gpt:ATA ST6000NM021A-2R7:;
1:1049kB:6001GB:6001GB:ext4:Exos1:;
sdb:6001GB:scsi:512:4096:gpt:ATA ST6000NM019B-2TG:;
1:1049kB:6001GB:6001GB:ext4:Exos2:;
sdc:16.0TB:scsi:512:4096:gpt:ATA WDC WD161KRYZ-01:;
1:1049kB:16.0TB:16.0TB:ext4:Gold1:;
sdd:2000GB:scsi:512:512:msdos:ATA WDC WD2002FAEX-0:;
2:1049kB:2000GB:2000GB:ext4::;
sde:6001GB:scsi:512:4096:gpt:ATA WDC WD6001FZWX-0:;
1:1049kB:6001GB:6001GB:ext4:Fantec3:;
sdf:500GB:scsi:512:4096:msdos:ATA Crucial_CT500MX2:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:500GB:500GB:::;
5:539MB:500GB:500GB:ext4::;
sdg:2000GB:scsi:512:4096:msdos:ATA CT2000MX500SSD1:;
1:1049kB:538MB:537MB:fat32::boot, lba;
2:539MB:1000GB:1000GB:::;
5:539MB:1000GB:1000GB:ext4::;
sdh:6001GB:scsi:512:4096:loop:ATA WDC WD6003FZBX-0:;
1:0.00B:6001GB:6001GB:ext4::;

Free space >10MiB: ______________________________________________________________

sdg: 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     ac42d31d-43f2-4dc4-b2f1-b8bfdcd2d654 877c142d-dead-492c-a546-bbe928ebed85 Exos2     Exos2
sdc                                                                                                 
└─sdc1 ext4     65d8f5ba-a25a-41ce-8fe0-03a28dcf324c 9fb0be0a-87cf-47b8-b5cb-4f45280b0e93 Gold1     Gold1
sdd                                                                                                 
└─sdd2 ext4     a2b7cf71-48ba-48da-be47-e89b1cb1ea17 61065840-02                          Documents 
sde                                                                                                 
└─sde1 ext4     aad88602-bce5-4019-a4c4-42ef77d0380f f0185232-c83c-ce4b-a566-6ee64227b5b8 Fantec3   Fantec3
sdf                                                                                                 
├─sdf1 vfat     896D-A6A9                            ee4427dc-01                                    
├─sdf2                                               ee4427dc-02                                    
└─sdf5 ext4     c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 ee4427dc-05                          system    
sdg                                                                                                 
├─sdg1 vfat     CF8B-E567                            ee4427dc-01                                    
├─sdg2                                               ee4427dc-02                                    
└─sdg5 ext4     23d50c36-e9f4-47f9-a3a4-24e0a93a162b ee4427dc-05                                    
sdh    ext4     8de8473e-8d6c-40d1-8f37-0a3352dfb8cd                                      Fantec2   

Mount points (filtered): _______________________________________________________

                                Avail Use% Mounted on
/dev/sda1                        5.1T   0% /mnt/boot-sav/sda1
/dev/sdb1                        5.1T   0% /mnt/boot-sav/sdb1
/dev/sdc1                        2.9T  75% /mnt/Gold1
/dev/sdd2                        1.2T  30% /mnt/Documents
/dev/sde1                        2.6T  47% /mnt/Fantec3
/dev/sdf5                        165G  59% /
/dev/sdg1                      500.2M   2% /mnt/boot-sav/sdg1
/dev/sdg5                      859.6G   1% /mnt/boot-sav/sdg5
/dev/sdh                         4.5T  12% /mnt/Fantec2

Mount options (filtered): ______________________________________________________

/dev/sda1                      ext4            rw,relatime
/dev/sdb1                      ext4            rw,relatime
/dev/sdc1                      ext4            rw,nosuid,nodev,relatime
/dev/sdd2                      ext4            rw,nosuid,nodev,relatime,stripe=32751
/dev/sde1                      ext4            rw,nosuid,nodev,relatime
/dev/sdf5                      ext4            rw,relatime,errors=remount-ro
/dev/sdg1                      vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdg5                      ext4            rw,relatime
/dev/sdh                       ext4            rw,nosuid,nodev,relatime

===================== sdf1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid c27d0c7a-086b-4a0c-a11f-dcf9017d77a8 root hd5,msdos5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sdf5/boot/grub/grub.cfg (filtered) ======================

Ubuntu   c27d0c7a-086b-4a0c-a11f-dcf9017d77a8
Debian GNU/Linux 12 (bookworm) (on sdg5)   23d50c36-e9f4-47f9-a3a4-24e0a93a162b
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdf5/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

======================= sdf5/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=false

==================== sdf5/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"

==================== sdf5: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
   4,805240631 = 5,159587840    boot/grub/grub.cfg                             1
 253,678863525 = 272,385605632  boot/vmlinuz                                   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
 253,678863525 = 272,385605632  boot/vmlinuz-6.2.0-39-generic                  2
 269,330074310 = 289,190965248  boot/vmlinuz.old                               2
 295,372486115 = 317,153792000  boot/initrd.img                                1
 272,126365662 = 292,193460224  boot/initrd.img-5.15.0-91-generic              7
 272,251949310 = 292,328304640  boot/initrd.img-6.2.0-37-generic               9
 295,372486115 = 317,153792000  boot/initrd.img-6.2.0-39-generic               1
 272,126365662 = 292,193460224  boot/initrd.img.old                            7

===================== sdf5: 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

===================== sdg1/efi/Debian/grub.cfg (filtered) ======================

search.fs_uuid 23d50c36-e9f4-47f9-a3a4-24e0a93a162b root hd6,msdos5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sdg5/boot/grub/grub.cfg (filtered) ======================

Debian GNU/Linux   23d50c36-e9f4-47f9-a3a4-24e0a93a162b
Ubuntu 22.04.3 LTS (22.04) (on sdf5)   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>
UUID=CF8B-E567                            /boot/efi      vfat    defaults,noatime 0 2
UUID=23d50c36-e9f4-47f9-a3a4-24e0a93a162b /              ext4    defaults,noatime,discard 0 1
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

======================= sdg5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
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: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
  80,478527069 = 86,413160448   boot/grub/grub.cfg                             1
 372,636730194 = 400,115642368  boot/vmlinuz-6.1.0-15-amd64                    1
 372,636730194 = 400,115642368  vmlinuz                                        1
 800,384052277 = 859,405832192  boot/initrd.img-6.1.0-15-amd64                 2
 800,384052277 = 859,405832192  initrd.img                                     2

===================== sdg5: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 14123 oct.    2 16:11 10_linux
-rwxr-xr-x 1 root root 14180 oct.    2 16:11 20_linux_xen
-rwxr-xr-x 1 root root 12923 oct.    2 16:11 30_os-prober
-rwxr-xr-x 1 root root  1372 oct.    2 16:11 30_uefi-firmware
-rwxr-xr-x 1 root root   214 oct.    2 16:11 40_custom
-rwxr-xr-x 1 root root   215 oct.    2 16:11 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdf5,
using the following options:  sdf1/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 L'OS actuellement utilisé - Ubuntu 22.04.3 LTS entry (sdf1/efi/****/grub****.efi (**** will be updated in the final message) file) !

Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#58 Le 14/12/2023, à 23:06

geole

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonsoir.
Extrait de ton dernier boot-info.

BootCurrent: 000D
Timeout: 1 seconds
BootOrder: 000D,0000,0010,000B,000C
Boot0000* Debian	HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\DEBIAN\SHIMX64.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..NO..........W.D.C. .W.D.6.0.0.3.F.Z.B.X.-.0.0.K.5.W.B.0...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.8.V.6.J.N.X.R.D. . . . . . . . . . . . ........BO
Boot000D* ubuntu	HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)
Boot0010* debian	HD(1,MBR,0xee4427dc,0x800,0x100000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO

a1da253696a304dce6b4668b70151c0e   sdg1/boot/bootx64.efi (is grub)
ca0aa9ad51118a4a0b9026db28271163   sdg1/Debian/fbx64.efi
62ff1ee5b75b4565f609043c4b1da759   sdg1/Debian/grubx64.efi
1efa63a183a729b309c16267cbba5b67   sdg1/Debian/mmx64.efi
fe2090106517ccf680e12e538b4274db   sdg1/Debian/shimx64.efi
a1da253696a304dce6b4668b70151c0e   sdg1/ubuntu/grubx64.efi
==

Si tu souhaites booter avec refind, il faut l'installer et accepter qu'il s'installe dans la partition EFI.
Cette commande devrait faire le nécessaire.

sudo apt install refind

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#59 Le 17/12/2023, à 13:47

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonjour et bon Dimanche.
Je me bagarre toujours avec le multiboot, comme une partie de cartes avec des avancées et des reculades.

En installant une Fedora, j'ai eu une explication du conflit que soulevait Geole où l'installation des OS semblait être faite sur des disques USB. Le problème venait du clonage que j'avais fait auparavant et qui avait changé les lettres d'une part, mais aussi fusionné une UUID (?!).

Donc en Live-USB, j'ai suivi les conseils de PPdM en débranchant tous les disques et en montant en live un OS sur chaque SSD en ayant supprimé les partitions. J'ai installé Fedora sur un SSD de 550 G0 et Debian et Ubuntu sur l'autre SSD de 2 To. Je n'ai pas rebranché les autres disques, fait un Boot-repair en Live-USB. Je ne retrouve que Debian et Ubuntu (en sdb2 et 3). J'ai installé Refind sur l'EFI de Debian pour voir si Fedora (sda) apparaît, mais toujours pas de Refind visible. Je vais reprendre les commandes de Geole pour émuler tous les OS.

C'est comme réparer le bruit d'une voiture de collection, c'est rigolo, mais un peu ardu !  lol


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#60 Le 17/12/2023, à 14:01

geole

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonjour
Ce n'est pas facile de t'aider.   On ne sait même pas si refind te fait booter directement  ubuntu et debian ou si tu choisis toujours leur grub pour le faire et on ne voit pas le contenu du /boot de fedora.
Ce qui me fait penser que je ne sais pas si refind regarde à l'intérieur des partitions étendues.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#61 Le 17/12/2023, à 14:27

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonjour Geole,
je suis désolé de causer du souci J'essaie de me débrouiller, mais le système est récalcitrant

Refind n’apparaît pas, c'est toujours Grub qui se lance en proposant Debian et Ubuntu malgré la présence de Refind dans l'EFI de Debian. Fedora est pourtant visible.

efibootmgr -v
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0001,0017,0002,001B,001C,000C
Boot0000* debian	HD(1,GPT,3f795eda-5a4b-de4b-87d9-3a9b4aa9612c,0x800,0xa0000)/File(\EFI\DEBIAN\SHIMX64.EFI)
Boot0001* ubuntu	HD(1,GPT,3f795eda-5a4b-de4b-87d9-3a9b4aa9612c,0x800,0xa0000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0002* rEFInd Boot Manager	HD(1,GPT,3f795eda-5a4b-de4b-87d9-3a9b4aa9612c,0x800,0xa0000)/File(\EFI\REFIND\REFIND_X64.EFI)
Boot000C  Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..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..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
Boot0017* Fedora	HD(1,GPT,18c23c0f-4d61-404d-b528-c8e0b58ff840,0x800,0x12c000)/File(\EFI\FEDORA\SHIM.EFI)..BO
Boot001B* debian	HD(1,GPT,18c23c0f-4d61-404d-b528-c8e0b58ff840,0x800,0x12c000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO
Boot001C* debian	HD(1,GPT,3f795eda-5a4b-de4b-87d9-3a9b4aa9612c,0x800,0xa0000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO

C'est pourtant bien dans l'ordre : Debian, Ubuntu, Fedora. Mais Grub n'est pas dans l'EFI de Fedora, Fedora qui ne boote pas et reste invisible sous Debian (je la connaît mal, donc je maîtrise pas !), ainsi je ne peux pas monter son EFI pour y trifouiller (sauf en Live, j'y pense à l'instant ! ).

C'est la curiosité qui m'anime (découverte de distributions, d'OS...), donc nous avons le temps de trouver des solutions.


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#62 Le 17/12/2023, à 15:00

geole

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Je te propose déjà de mettre refind prioritaire.

sudo efibootmgr -o 2,0,1,17

Il me semble que tu as bien un disque interne de 6 To.
    Je t'avais suggéré de le rétrécir de 36 Mo et de créer une partition EFI et y mettre refind.
A mon avis même si la partition EFI est en fin d'un gros disque au lieu du début, cela ne doit pas empêcher le bios de booter.
    Par la suite, tu dis que le boot sur disque dur  interne est toujours prioritaire.
Si tu dois booter avec un disque externe,   tu passeras par refind pour  qu'il choisisse ce disque externe. C'est comme cela que je boote avec mes clés USB ventoy.     je ne modifie plus du tout le bios.

Peux-tu monter la partition fedora sur /mnt et donner le contenu de /mnt/boot et donne le retour

sudo fdisk -l /dev/sdX

pour le disque contenant fedora

Dernière modification par geole (Le 17/12/2023, à 15:04)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#63 Le 17/12/2023, à 20:12

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonsoir Geole,merci de te donner tant de mal ! trop sympa... wink

j'ai fait la commande

sudo efibootmgr -o 2,0,1,17

sans effet sur le reboot.

résultat de l'autre commande:

sudo fdisk -l /dev/sda1
[sudo] Mot de passe de lrdp : 
Disque /dev/sda1 : 600 MiB, 629145600 octets, 1228800 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0x00000000

L'EFI de Fedora est en sda1
son contenu, après montage :

ls /media/lrdp/4A74-8932/EFI/BOOT
bkpbootx64.efi  BOOTIA32.EFI  bootx64.efi  fbia32.efi  fbx64.efi

Pour ce qui est des autres disques, je les ai tous débranchés pour n'agir que sur sda et sdb qui sont les disques contenant les OS, en espérant qu'ils gardent leurs lettres après re-branchages des disques accessoires

je livre les aspects des disques branchés :

Capture-du-2023-12-17-18-50-46.png

Capture-du-2023-12-17-18-51-39.png

la deuxième partition de Fedora qui s'est créée à l'installation est :

sudo ls /media/lrdp/908738ae-dd63-42b4-88b0-9b3a5ab017a7
config-6.5.6-300.fc39.x86_64
config-6.6.6-200.fc39.x86_64
efi
grub2
initramfs-0-rescue-a6a5d08a90294181b3ae4475a9823922.img
initramfs-6.5.6-300.fc39.x86_64.img
initramfs-6.6.6-200.fc39.x86_64.img
loader
lost+found
symvers-6.5.6-300.fc39.x86_64.xz
symvers-6.6.6-200.fc39.x86_64.xz
System.map-6.5.6-300.fc39.x86_64
System.map-6.6.6-200.fc39.x86_64
vmlinuz-0-rescue-a6a5d08a90294181b3ae4475a9823922
vmlinuz-6.5.6-300.fc39.x86_64
vmlinuz-6.6.6-200.fc39.x86_64

la partie EFI de cette partition sda2 est vide, par contre on a :

sudo ls /media/lrdp/908738ae-dd63-42b4-88b0-9b3a5ab017a7/grub2
fonts  grub.cfg  grubenv

un nouveau Grub qui semble inactif, car Fedora n’apparaît pas à la fenêtre Grub de démarrage, qui boote donc sur Debian en sdb, alors qu'on voit vm-linuz-xxxx qui devrait apparaître dans une fenêtre Refind
Dois-je copier Refind dans l'EFI de Fedora aussi ou supprimer son contenu pour n'avoir que le Boot de Debian ? Ou l'inverse, laisser Fedora booter pour tout l’ordinateur par refind Installé dessus, en supprimant le efi/boot de Debian ?

Ah, c'est comique lol lol

Bonne soirée, bonne fin de WE !  wink


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#64 Le 17/12/2023, à 20:30

geole

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

J aurais préféré cette commande

sudo fdisk -l /dev/sda

Si tu bootes sur  des disque USN en méthoede USB, il faut mettre refind dans la structrure de boot
Cela peut se faire par ces commandes

sudo cp -v /boot/efi/EFI/refind/*  /boot/efi/EFI/Boot
sudo cp -v /boot/efi/EFI/refind/refind_x64.efi  /boot/efi/EFI/Boot/bootx64.efi

Pour fedora, j ai vu cela

initramfs-6.5.6-300.fc39.x86_64.img
initramfs-6.6.6-200.fc39.x86_64.img
vmlinuz-6.5.6-300.fc39.x86_64
vmlinuz-6.6.6-200.fc39.x86_64

Cela ne me semle pas tres standard    fc39    et pas de terminaison. A titre d exemple

112228 -rw-r--r-- 1 root root 114915658 déc.  17 15:13 initrd.img-5.15.0-91-generic
124340 -rw-r--r-- 1 root root 127316522 déc.  17 15:15 initrd.img-5.19.0-32-generic
 11348 -rw------- 1 root root  11615272 nov.  14 11:49 vmlinuz-5.15.0-91-generic
 11904 -rw------- 1 root root  12186376 janv. 30  2023 vmlinuz-5.19.0-32-generic

Dernière modification par geole (Le 17/12/2023, à 22:04)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#65 Le 17/12/2023, à 20:49

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Ok, voilà le résultat de fdisk:

sudo fdisk -l /dev/sda
[sudo] Mot de passe de lrdp : 
Disque /dev/sda : 465,78 GiB, 500107862016 octets, 976773168 secteurs
Disk model: Crucial_CT500MX2
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Type d'étiquette de disque : gpt
Identifiant de disque : 80EC851F-F03E-415F-AE9D-82072D444A64

Périphérique   Début       Fin  Secteurs Taille Type
/dev/sda1       2048   1230847   1228800   600M Système EFI
/dev/sda2    1230848   3327999   2097152     1G Système de fichiers Linux
/dev/sda3    3328000 976773119 973445120 464,2G Système de fichiers Linux

Les disques sont internes, aucun  périphériques de stockage USB en cours :

lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 056a:0011 Wacom Co., Ltd ET-0405A [Graphire2 (4x5)]
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 041e:324d Creative Technology, Ltd Sound Blaster Play! 3
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

il n'y a que les prises USB3 (hub), la souris, le clavier (Unifying), la carte son, la tablette graphique.

Fedora a, apparemment, un noyau particulier 6.5.6-300 et sa partition est en Btrfs, par défaut, cela bloque peut-être.

Tu indiques :

sudo cp -v /boot/efi/EFI/efind/*  /boot/efi/EFI/Boot

n'est-ce pas plutôt :

sudo cp -v /boot/efi/EFI/refind/*  /boot/efi/EFI/Boot

?


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#66 Le 17/12/2023, à 22:12

geole

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Oui.
Il y a un r qui s'est sauvé.

Si la partition fedora est formatée BTRFS, le grub sait pas faire.
Pour refind, c'est oui, à condition que son drivers btrfs soit présent, A vérifier..
A une époque, j'avais fait une demande d'installer le drivers même s'il n'existait de partition btrfs en disant que cela finira bien par arriver.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#67 Le 18/12/2023, à 14:48

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonjour Geole,
Il y a 5', j'étais sous Fedora en train de te faire un message, mais le système a "freezé" , ma carte graphique n'étant vraiment pas compatible avec tous les Kernels Linux 6.xxxxx. Ne sachant pas changé les pilotes graphique dans Fedora (pas de rubrique "pilotes additionnels") j'ai éteint l'ordi et débranché le disque Fedora, parce que son Grub qui démarre ce matin n'affiche pas Debian ou Ubuntu.

Hier, je ne pouvais voir Fedora et j'ai copié juste le dossier Refind de /boot/EFI de Debian dans le /boot/EFI de Fedora et, au reboot, c'est le Grub de Fedora qui s'est lancé, sans afficher roll Debian et Ubuntu. Je ne comprends pas que cette copie simple ait pu faire démarrer Fedora seul, alors que le dossier Refind est brut de décoffrage. Je pense que Grub prend la priorité sur Refind et que si je veux booter sur Refind, il faut inhiber Grub sur tous les /boot/EFI.

De toute façon, il faut que je modifie, en Live-USB, le /boot/EFI de Fedora pour afficher tout par Grub ou Refind pour pouvoir travailler, car je constate que les autres OS se bloquent à cause de leur Kernel 6.xxxx et que seul mon Ubuntu, revenu en 20.04.6 avec un pilote 5.15.xxxx fonctionne bien.


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#68 Le 18/12/2023, à 14:53

xubu1957

Re : Partition EFI et multiboot [REMIS À PLUS TARD]


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#69 Le 18/12/2023, à 16:02

geole

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonjour.
Pour la troisième fois
Un disque externe en EFI boote sur /EFI/Boot/Boot/Bootx64.efi
Les installateurs le savent sauf refind.

Je viens d'installer  fedora.
Son installateur   fabrique une partition de boot en EXT4 et refind  détecte parfaitement cette structure tant dans la partition de boot EXT4   de 1 Go que dans celle en EFI (3 ). L'icône associée est une éperluette bleue et blanche
Prend le temps de refaire un boot-info pour montrer ce qu'il y a dans la structure EFI de tes disques.
Il y faut refind dans la structure /EFI/Boot et le fichier refind_x64.efi copié dans Bootx64.efi.
Le rapport boot-info  en faisant des sha256sum,  permet de le vérifier.

Dernière modification par geole (Le 18/12/2023, à 16:17)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#70 Le 18/12/2023, à 18:31

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

@Xubu1957
Merci beaucoup Xubu pour l'info sur Fedora. Je n'avais pas moyen sur l'environnement de trouver l'endroit où se configurent les pilotes graphiques, et je n'avais peas eu le temps non plus pour faire des recherches pour cela, déjà que le booting est capricieux.

@Geole
Merci pour ton message, mais je ne peux pas booter sur un disque externe puisqu'il n'y en a plus : je tourne avec 2 SSD internes que j'ai formatés après avoir effacé les partitions puis installé sur le premier de 500Go Fedora et le deuxième Debian et Ubuntu. Tous les autres disques, que j'ai branchés en interne en SATA, sont actuellement débranchés pour ne pas entrer en conflit, au cas où les lettres ne seraient pas dans l’ordre

Voilà un pastebin de Boot-info . Il faut probablement purger Grub complètement pour exclure, si elle est toujours là, la notion de boot sur disque externe


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#71 Le 18/12/2023, à 18:32

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

j'oubliais que j'ai débranché aussi le disque de Fedora pour pouvoir booter Debian et Ubuntu et discuter sans le freeze rencontré sur Fedora, autant que sur Debian.


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#72 Le 18/12/2023, à 18:35

xubu1957

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Collage du Boot-info :

boot-info-4ppa2067                                              [20231218_1713]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/refind/refind.conf /efi/boot/bkpbootx64.efi 
                       /efi/boot/bootx64.efi /efi/boot/fbx64.efi 
                       /efi/boot/mmx64.efi /efi/boot/refind_x64.efi 
                       /efi/Debian/fbx64.efi /efi/Debian/grubx64.efi 
                       /efi/Debian/mmx64.efi /efi/Debian/shimx64.efi 
                       /efi/refind/refind_x64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/Debian/grub.cfg /efi/ubuntu/grub.cfg 
                       /efi/boot/drivers_x64/ext4_x64.efi 
                       /efi/refind/drivers_x64/ext4_x64.efi

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Debian GNU/Linux 12 (bookworm)
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/refind_linux.conf

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.6 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.6 LTS on sda3
OS#2:   Debian GNU/Linux 12 (bookworm) on sda2

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: GF116 [GeForce GTX 550 Ti] from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-91-generic root=UUID=4ca3abc8-b2d7-4ead-84bf-9c3f14d4ea6a ro quiet splash
df -Th / : /dev/sda3        ext4   875G     37G  794G   5% /

===================================== 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: 001A
Timeout: 1 seconds
BootOrder: 001A,001B,0018
Boot000C  Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..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..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
Boot0018  Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..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
Boot001A* debian	HD(1,GPT,3f795eda-5a4b-de4b-87d9-3a9b4aa9612c,0x800,0xa0000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO
Boot001B* ubuntu	HD(1,GPT,3f795eda-5a4b-de4b-87d9-3a9b4aa9612c,0x800,0xa0000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
Boot001C* debian	HD(1,GPT,3f795eda-5a4b-de4b-87d9-3a9b4aa9612c,0x800,0xa0000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO


============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda3	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

sda3	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda3	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda2	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 1.84 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: DC0FB47F-5226-674C-B723-0D43088671D8
          Start        End    Sectors   Size Type
sda1        2048     657407     655360   320M EFI System
sda2      657408 2041774079 2041116672 973.3G Linux filesystem
sda3  2041774080 3907028991 1865254912 889.4G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:2000GB:scsi:512:4096:gpt:ATA CT2000MX500SSD1:;
1:1049kB:337MB:336MB:fat32::boot, esp;
2:337MB:1045GB:1045GB:ext4:Debian:;
3:1045GB:2000GB:955GB:ext4:Ubuntu:;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL  PARTLABEL
sda                                                                                              
├─sda1 vfat     2D94-C552                            3f795eda-5a4b-de4b-87d9-3a9b4aa9612c        
├─sda2 ext4     7f38c7f6-63fe-4f9e-bd1f-5ad5885d405f 1e6c2997-2055-4a49-8b34-7c0ea499eeb8 Debian Debian
└─sda3 ext4     4ca3abc8-b2d7-4ead-84bf-9c3f14d4ea6a 0239699f-fad5-4ef5-9816-950977d15265 Ubuntu Ubuntu

Mount points (filtered): _______________________________________________________

             Avail Use% Mounted on
/dev/sda2   898.5G   1% /mnt/boot-sav/sda2
/dev/sda3   793.1G   4% /

Mount options (filtered): ______________________________________________________

/dev/sda2   ext4            rw,relatime
/dev/sda3   ext4            rw,relatime,errors=remount-ro

==================== sda1/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
}

===================== sda1/efi/Debian/grub.cfg (filtered) ======================

search.fs_uuid 7f38c7f6-63fe-4f9e-bd1f-5ad5885d405f root hd2,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid 4ca3abc8-b2d7-4ead-84bf-9c3f14d4ea6a root hd0,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sda2/boot/grub/grub.cfg (filtered) ======================

Debian GNU/Linux   7f38c7f6-63fe-4f9e-bd1f-5ad5885d405f
Ubuntu 20.04.6 LTS (20.04) (on sdb3)   4ca3abc8-b2d7-4ead-84bf-9c3f14d4ea6a
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda2/etc/fstab (filtered) ===========================

# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=7f38c7f6-63fe-4f9e-bd1f-5ad5885d405f /              ext4    defaults,noatime,discard 0 1
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
UUID=2D94-C552  /boot/efi       vfat    defaults      0       1

======================= sda2/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT=20
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

==================== sda2/boot/refind_linux.conf (filtered) ====================

"Boot with standard options"  "root=UUID=7f38c7f6-63fe-4f9e-bd1f-5ad5885d405f ro quiet splash"
"Boot to single-user mode"    "root=UUID=7f38c7f6-63fe-4f9e-bd1f-5ad5885d405f ro quiet splash single"
"Boot with minimal options"   "ro root=UUID=7f38c7f6-63fe-4f9e-bd1f-5ad5885d405f"

==================== sda2: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
   2,235424042 = 2,400268288    boot/grub/grub.cfg                             1
 180,448253632 = 193,754836992  boot/vmlinuz-6.1.0-15-amd64                    1
 338,262470245 = 363,206561792  boot/vmlinuz-6.1.0-16-amd64                    2
 338,262470245 = 363,206561792  vmlinuz                                        2
 180,448253632 = 193,754836992  vmlinuz.old                                    1
 800,211200714 = 859,220234240  boot/initrd.img-6.1.0-15-amd64                 2
 176,078384399 = 189,062725632  boot/initrd.img-6.1.0-16-amd64                 2
 176,078384399 = 189,062725632  initrd.img                                     2
 800,211200714 = 859,220234240  initrd.img.old                                 2

===================== sda2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 14123 Oct  2 16:11 10_linux
-rwxr-xr-x 1 root root 14180 Oct  2 16:11 20_linux_xen
-rwxr-xr-x 1 root root 12923 Oct  2 16:11 30_os-prober
-rwxr-xr-x 1 root root  1372 Oct  2 16:11 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct  2 16:11 40_custom
-rwxr-xr-x 1 root root   215 Oct  2 16:11 41_custom

====================== sda3/boot/grub/grub.cfg (filtered) ======================

Ubuntu   4ca3abc8-b2d7-4ead-84bf-9c3f14d4ea6a
Debian GNU/Linux 12 (bookworm) (sur sdb2)   7f38c7f6-63fe-4f9e-bd1f-5ad5885d405f
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda3/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda3 during installation
UUID=4ca3abc8-b2d7-4ead-84bf-9c3f14d4ea6a /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=2D94-C552  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda3/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=15
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

==================== sda3: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
1229,061344147 = 1319,694569472 boot/grub/grub.cfg                             3
1689,776348114 = 1814,383538176 boot/vmlinuz                                   1
1405,515621185 = 1509,160906752 boot/vmlinuz-5.15.0-46-generic                 2
1689,776348114 = 1814,383538176 boot/vmlinuz-5.15.0-91-generic                 1
1405,515621185 = 1509,160906752 boot/vmlinuz.old                               2
1325,023433685 = 1422,733078528 boot/initrd.img                                7
1693,953121185 = 1818,868314112 boot/initrd.img-5.15.0-46-generic              5
1325,023433685 = 1422,733078528 boot/initrd.img-5.15.0-91-generic              7
1693,953121185 = 1818,868314112 boot/initrd.img.old                            5

===================== sda3: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18224 Jan 11  2022 10_linux
-rwxr-xr-x 1 root root 42359 Jan 11  2022 10_linux_zfs
-rwxr-xr-x 1 root root 13101 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jan 11  2022 30_os-prober
-rwxr-xr-x 1 root root  1424 Jan 11  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Jan 11  2022 40_custom
-rwxr-xr-x 1 root root   216 Jan 11  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
using the following options:  sda1/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 L'OS actuellement utilisé - Ubuntu 20.04.6 LTS entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#73 Le 18/12/2023, à 18:46

geole

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

extraits du boot-info

===================================== 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: 001A
Timeout: 1 seconds
BootOrder: 001A,001B,0018
Boot000C  Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..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..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
Boot0018  Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..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
Boot001A* debian	HD(1,GPT,3f795eda-5a4b-de4b-87d9-3a9b4aa9612c,0x800,0xa0000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO
Boot001B* ubuntu	HD(1,GPT,3f795eda-5a4b-de4b-87d9-3a9b4aa9612c,0x800,0xa0000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
Boot001C* debian	HD(1,GPT,3f795eda-5a4b-de4b-87d9-3a9b4aa9612c,0x800,0xa0000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO

da1: __________________________________________________________________________

    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/fbx64.efi 
                       /efi/boot/mmx64.efi /efi/boot/refind_x64.efi 
                       /efi/Debian/fbx64.efi /efi/Debian/grubx64.efi 
                       /efi/Debian/mmx64.efi /efi/Debian/shimx64.efi 
                       /efi/refind/refind_x64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/Debian/grub.cfg /efi/ubuntu/grub.cfg 
                       /efi/boot/drivers_x64/ext4_x64.efi 
                       /efi/refind/drivers_x64/ext4_x64.efi

Pour booter avec refind depuis ce disque interne

sudo efibootmgr --create --disk /dev/sda --part 1 --label "refind-CT2000MX500SSD1" --loader "\EFI\refind\refind_x64.efi"

Dernière modification par geole (Le 18/12/2023, à 18: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

Hors ligne

#74 Le 22/12/2023, à 14:45

LRDP

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonjour Geole, bonjour Xubu.

Quelques nouvelles pour cette discussion:
Comme je n'arrivais pas, malgré toutes les commandes et les conseils avisés de Geole, à booter sur Refind et choisir entre les trois distributions, j'ai essayé de supprimer des fichiers tels que Grubx64.efi et d'autres, tout en purgeant Grub en ligne de commande.... en vain. Alors j'ai décidé de tout supprimer : les partitions, les disques qui contenaient les OS.. pour installer sur le disque système habituel (500Go) Ubuntu 20.04.6 qui n'a jamais posé de problème de freeze ou crash par le souci graphique (Bug #2045685 sur Launchpad que je me suis permis de déclarer) et comme je retrouvais ce problème avec les autres distributions, je préfère rester sur Ubuntu 20.04.

Je l'ai installé en Live-USB sur le disque qui était le seul branché. Une fois installé, la partition était en sda et j'ai installé Refind (Le disque 2 To est vierge maintenant), espérant booter enfin par ce système, mais le reboot ouvrait directement Ubuntu, ainsi j'ai conclu que Grub restait le boot-loader (ou boot-leader, je dirais). Et, après avoir rebranché tous les autres disques, le Système est redevenu sde et le 2To, non alloué, sans table de partition est sdf... J'ai réactivé le sda (disque interne de 6To) pour faire la commande indiquée par Geole et modifiée pour le disque 500Go:

sudo efibootmgr --create --disk /dev/sda --part 1 --label "refind-CT500MX200SSD1" --loader "\EFI\refind\refind_x64.efi"

Pas de Refind non plus, pas d'EFI sur sda malgré la commande. Je pense abandonner, car les autres OS ne m'ont pas apporté mieux sur le plan stabilité graphique.

Un grand Merci à toi, Geole, pour t'être donné tant de mal. Je me suis cassé la tête et je t'ai cassé les pieds !


Retour à Ubuntu Maté 20.04.6.
Config: maxi-tour avec 8 HD internes dont 2 SSD, 45 To de capacité
CM MSI B450, Ryzen5-1600, 32 Go de RAM, Nvidia Gforce Gtx 550Ti

Hors ligne

#75 Le 22/12/2023, à 16:54

geole

Re : Partition EFI et multiboot [REMIS À PLUS TARD]

Bonjour
Peut-être que ton bios est réglé pour booter en mode LEGACY.

[ -d /sys/firmware/efi ] && echo "Session EFI" || echo "Session non-EFI"

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne