#1 Le 21/02/2021, à 16:31
- walker
RESOLU_Ordre de démarrage dual-boot
Bonjour à tous,
Pour des raisons personnelles j'ai chargé en dual boot 2 distributions linux, toutes les deux variantes d'ubuntu: Xubuntu et LinuxMint.
C'est Xubuntu qui monte en premier, or je me sers plus souvent de LinuxMint.
J'ai cherché de la doc à ce propos, mais c'est toujours un dual boot Ubuntu/ Windows, avec le problème important du grub.
S'agissant dans mon cas de 2 ubuntu, il n'y a peut-être pas cette difficulté.
J'ai regardé dans mon bios, il n'y a apparemment pas 2 types de boot, je n'ai que Ubuntu.
Ci-dessous le retour de commandes que j'ai copié dans des posts relatifs au sujet.
gerard@gerard-MS-7B79:~$ ls /etc/grub.d/
00_header 10_linux 20_linux_xen 30_uefi-firmware 41_custom
05_debian_theme 10_linux_zfs 30_os-prober 40_custom README
gerard@gerard-MS-7B79:~$ grub-install -V
grub-install (GRUB) 2.04-1ubuntu26.8
Ceci étant, comment je peux inverser l'ordre ?
Dernière modification par walker (Le 23/02/2021, à 20:33)
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#2 Le 21/02/2021, à 16:43
- jpoc
Re : RESOLU_Ordre de démarrage dual-boot
modifier le fichier de config de GRUB
/etc/default/grub
la ligne indique le premier système à demarrer
GRUB_DEFAULT=0
0 le premier
1 le suivant
2 et.
modifier ce chiffre et faire
sudo update-grub
Dernière modification par jpoc (Le 21/02/2021, à 16:44)
Hors ligne
#3 Le 21/02/2021, à 16:46
- geole
Re : RESOLU_Ordre de démarrage dual-boot
Bonjour
Il suffit de modifier " GRUB_DEFAULT=0" par probablement " GRUB_DEFAULT=1"
du fichier /etc/default/grub
puis valider avec la commande
sudo update-grub
Plus de détails dans https://doc.ubuntu-fr.org/tutoriel/grub … age_manuel
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
#4 Le 21/02/2021, à 17:24
- walker
Re : RESOLU_Ordre de démarrage dual-boot
Salut geole
J'ai ce retour sur la commande:
gerard@gerard-MS-7B79:~$ /etc/default/grub
bash: /etc/default/grub: Permission non accordée
gerard@gerard-MS-7B79:~$ sudo/etc/default/grub
bash: sudo/etc/default/grub: Aucun fichier ou dossier de ce type
Je suis allé voir dans le gestionnaire de fichier et dans etc je n'ai pas "grub" mais "grub.d"
Est-ce que je peux remplacer grub par grub.d dans la commande ?
Et voilà ce qu'il y a dans grub.d:
Dernière modification par walker (Le 21/02/2021, à 17:51)
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#5 Le 21/02/2021, à 18:06
- geole
Re : RESOLU_Ordre de démarrage dual-boot
gedit admin:///etc/default/grub
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
#6 Le 21/02/2021, à 18:24
- walker
Re : RESOLU_Ordre de démarrage dual-boot
Voilà ce que j'ai en retour:
gerard@gerard-MS-7B79:~$ gedit admin:///etc/default/grub
** (gedit:11960): WARNING **: 17:16:20.693: Loading metadata failed: L’emplacement indiqué n’est pas monté
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#7 Le 21/02/2021, à 18:41
- geole
Re : RESOLU_Ordre de démarrage dual-boot
C'est la première ligne non commentée
GRUB_DEFAULT=0
Il faut remplacer le 0 par 1 pour booter automatiquement sur la première ligne
Nota
Pour cette ligne
GRUB_TIMEOUT=0
la valeur par défaut est 10 avec une valeur de zero tu es dans l'impossibilité de choisir.....
N'oublie pas de sauver avant de quitter...
Dernière modification par geole (Le 21/02/2021, à 18:43)
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
#8 Le 21/02/2021, à 18:52
- walker
Re : RESOLU_Ordre de démarrage dual-boot
ça n'a malheureusement rien changé:(
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=1
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#9 Le 21/02/2021, à 19:09
- geole
Re : RESOLU_Ordre de démarrage dual-boot
As-tu bien pensé à cette commande
sudo update-grub
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
#10 Le 21/02/2021, à 19:16
- walker
Re : RESOLU_Ordre de démarrage dual-boot
Je viens de la refaire par acquis de conscience, mais c'est toujours Xubuntu puis LinuxMint
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#11 Le 21/02/2021, à 20:01
- geole
Re : RESOLU_Ordre de démarrage dual-boot
Donne ce retour
cat /etc/grub/grub.cfg
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
#12 Le 21/02/2021, à 20:33
- walker
Re : RESOLU_Ordre de démarrage dual-boot
gerard@gerard-MS-7B79:~$ cat /etc/grub/grub.cfg
cat: /etc/grub/grub.cfg: Aucun fichier ou dossier de ce type
gerard@gerard-MS-7B79:~$
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#13 Le 21/02/2021, à 20:38
- geole
Re : RESOLU_Ordre de démarrage dual-boot
Erreur de ma part
cat /boot/grub/grub.cfg
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
#14 Le 21/02/2021, à 20:47
- walker
Re : RESOLU_Ordre de démarrage dual-boot
gerard@gerard-MS-7B79:~$ 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="1"
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_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
else
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
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=hidden
set timeout=10
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 10 ; then
set timeout=0
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
### 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 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 'Linux Mint 20.1 Cinnamon' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e374bb5f-2e15-4f99-a7b6-09ac89de3fe0' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
else
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
fi
linux /boot/vmlinuz-5.4.0-65-generic root=UUID=e374bb5f-2e15-4f99-a7b6-09ac89de3fe0 ro quiet splash
initrd /boot/initrd.img-5.4.0-65-generic
}
submenu 'Options avancées pour Linux Mint 20.1 Cinnamon' $menuentry_id_option 'gnulinux-advanced-e374bb5f-2e15-4f99-a7b6-09ac89de3fe0' {
menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.4.0-65-generic' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-65-generic-advanced-e374bb5f-2e15-4f99-a7b6-09ac89de3fe0' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
else
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
fi
echo 'Chargement de Linux 5.4.0-65-generic…'
linux /boot/vmlinuz-5.4.0-65-generic root=UUID=e374bb5f-2e15-4f99-a7b6-09ac89de3fe0 ro quiet splash
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-5.4.0-65-generic
}
menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.4.0-65-generic (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-65-generic-recovery-e374bb5f-2e15-4f99-a7b6-09ac89de3fe0' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
else
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
fi
echo 'Chargement de Linux 5.4.0-65-generic…'
linux /boot/vmlinuz-5.4.0-65-generic root=UUID=e374bb5f-2e15-4f99-a7b6-09ac89de3fe0 ro recovery nomodeset dis_ucode_ldr
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-5.4.0-65-generic
}
menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.4.0-58-generic' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-58-generic-advanced-e374bb5f-2e15-4f99-a7b6-09ac89de3fe0' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
else
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
fi
echo 'Chargement de Linux 5.4.0-58-generic…'
linux /boot/vmlinuz-5.4.0-58-generic root=UUID=e374bb5f-2e15-4f99-a7b6-09ac89de3fe0 ro quiet splash
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-5.4.0-58-generic
}
menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.4.0-58-generic (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-58-generic-recovery-e374bb5f-2e15-4f99-a7b6-09ac89de3fe0' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
else
search --no-floppy --fs-uuid --set=root e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
fi
echo 'Chargement de Linux 5.4.0-58-generic…'
linux /boot/vmlinuz-5.4.0-58-generic root=UUID=e374bb5f-2e15-4f99-a7b6-09ac89de3fe0 ro recovery nomodeset dis_ucode_ldr
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-5.4.0-58-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/30_os-prober ###
menuentry 'Ubuntu 20.04.2 LTS (20.04) (sur /dev/nvme0n1p5)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-b5d23b96-a6d4-482f-a33f-beff5b7309f5' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
else
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
fi
linux /boot/vmlinuz-5.8.0-43-generic root=UUID=b5d23b96-a6d4-482f-a33f-beff5b7309f5 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.8.0-43-generic
}
submenu 'Options avancées pour Ubuntu 20.04.2 LTS (20.04) (sur /dev/nvme0n1p5)' $menuentry_id_option 'osprober-gnulinux-advanced-b5d23b96-a6d4-482f-a33f-beff5b7309f5' {
menuentry 'Ubuntu (sur /dev/nvme0n1p5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-43-generic--b5d23b96-a6d4-482f-a33f-beff5b7309f5' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
else
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
fi
linux /boot/vmlinuz-5.8.0-43-generic root=UUID=b5d23b96-a6d4-482f-a33f-beff5b7309f5 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.8.0-43-generic
}
menuentry 'Ubuntu, avec Linux 5.8.0-43-generic (sur /dev/nvme0n1p5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-43-generic--b5d23b96-a6d4-482f-a33f-beff5b7309f5' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
else
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
fi
linux /boot/vmlinuz-5.8.0-43-generic root=UUID=b5d23b96-a6d4-482f-a33f-beff5b7309f5 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.8.0-43-generic
}
menuentry 'Ubuntu, avec Linux 5.8.0-43-generic (recovery mode) (sur /dev/nvme0n1p5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-43-generic-root=UUID=b5d23b96-a6d4-482f-a33f-beff5b7309f5 ro recovery nomodeset dis_ucode_ldr-b5d23b96-a6d4-482f-a33f-beff5b7309f5' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
else
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
fi
linux /boot/vmlinuz-5.8.0-43-generic root=UUID=b5d23b96-a6d4-482f-a33f-beff5b7309f5 ro recovery nomodeset dis_ucode_ldr
initrd /boot/initrd.img-5.8.0-43-generic
}
menuentry 'Ubuntu, avec Linux 5.8.0-41-generic (sur /dev/nvme0n1p5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-41-generic--b5d23b96-a6d4-482f-a33f-beff5b7309f5' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
else
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
fi
linux /boot/vmlinuz-5.8.0-41-generic root=UUID=b5d23b96-a6d4-482f-a33f-beff5b7309f5 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.8.0-41-generic
}
menuentry 'Ubuntu, avec Linux 5.8.0-41-generic (recovery mode) (sur /dev/nvme0n1p5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-41-generic-root=UUID=b5d23b96-a6d4-482f-a33f-beff5b7309f5 ro recovery nomodeset dis_ucode_ldr-b5d23b96-a6d4-482f-a33f-beff5b7309f5' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
else
search --no-floppy --fs-uuid --set=root b5d23b96-a6d4-482f-a33f-beff5b7309f5
fi
linux /boot/vmlinuz-5.8.0-41-generic root=UUID=b5d23b96-a6d4-482f-a33f-beff5b7309f5 ro recovery nomodeset dis_ucode_ldr
initrd /boot/initrd.img-5.8.0-41-generic
}
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### 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 ###
gerard@gerard-MS-7B79:~$
Dernière modification par walker (Le 21/02/2021, à 20:50)
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#15 Le 21/02/2021, à 22:07
- geole
Re : RESOLU_Ordre de démarrage dual-boot
J'ai du mal à comprendre
Peux-tu faire un boot-info et poster l'URL qui sera générée (je ne regarderais que demain)
https://doc.ubuntu-fr.org/tutoriel/boot-info
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
#16 Le 21/02/2021, à 23:43
- walker
Re : RESOLU_Ordre de démarrage dual-boot
Voila le lien, à demain
https://paste2.org/
Dernière modification par walker (Le 21/02/2021, à 23:53)
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#17 Le 22/02/2021, à 19:21
- geole
Re : RESOLU_Ordre de démarrage dual-boot
Bonjour
Extraits du fichier /boot/grub/grub.cfg
menuentry 'Linux Mint 20.1 Cinnamon' --class linuxmint --class gnu-linux --class gnu --class os
menuentry_id_option 'gnulinux-simple-e374bb5f-2e15-4f99-a7b6-09ac89de3fe0'
menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.4.0-65-generic (recovery mode)' --class linuxmint -
Donc la valeur 1 n'était pas bonne, il faut 2
Il suffit de modifier " GRUB_DEFAULT=0" par " GRUB_DEFAULT=2"
puis valider avec la commande
sudo update-grub
Mais je n'ai pas compris si le menu de sélection de ce choix s'affiche ou ne s'affiche pas.
Dernière modification par geole (Le 22/02/2021, à 19:22)
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
#18 Le 22/02/2021, à 20:12
- walker
Re : RESOLU_Ordre de démarrage dual-boot
Désolé,rien n'y fait, c'est toujours Xubuntu qui arrive en premier.
Je viens de regarder dans le boot-info, je n'y ai pas compris grand-chose, sauf que LinuxMint est l'OS1 est Ubuntu le n°2.
J'ai vu quelque part que dans l'ordre pour le grub la numérotation commence à 0.
Ce qui était le cas tout au début, mais qui ne faisait pas monter LinuxMint au démarrage.
Depuis j'ai mis les valeurs 1 puis 2 à GRUB_DEFAULT, pour un résultat identique.
Je viens de remettre 0 et dans le retour de sudo update-grub je ne vois que Ubuntu, c'est normal qu'il n'y ait pas Linuxmint?
gerard@gerard-MS-7B79:~$ gedit admin:///etc/default/grub
** (gedit:4642): WARNING **: 19:04:13.594: Loading metadata failed: L’emplacement indiqué n’est pas monté
gerard@gerard-MS-7B79:~$ sudo update-grub
[sudo] Mot de passe de gerard :
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.4.0-65-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-65-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-58-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-58-generic
/dev/sda: open failed: Aucun support trouvé
/dev/sda: open failed: Aucun support trouvé
Ubuntu 20.04.2 LTS (20.04) trouvé sur /dev/nvme0n1p5
Adding boot menu entry for UEFI Firmware Settings
fait
En fait quelle que soit la valeur, rien ne change, il semblerait que le système ne prenne pas en compte les modifications.
Dernière modification par walker (Le 22/02/2021, à 20:35)
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#19 Le 23/02/2021, à 09:18
- walker
Re : RESOLU_Ordre de démarrage dual-boot
Je remarque que sur l'écran de démarrage, il y a une ligne "UEFI Firmware Settings".
En validant j'ai atterri direct dans le bios.
Dans la partie "boot", il y a 13 options (?) toutes débutent par "UEFI Hardisk : Ubuntu (Samsung SSD 970 EVO).
Aucune trace de Linux Mint.
Y aurait-il quelque chose à faire de ce côté là ?
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#20 Le 23/02/2021, à 11:22
- geole
Re : RESOLU_Ordre de démarrage dual-boot
Bonjour.
Je n'ai pas tellement compris ton problème.....
"C'est Xubuntu qui monte en premier,"
Pour un peu, je comprend que tu n'acceptes pas que dans l'écran de choix des O.S. proposés au boot
l'ordre de listage soit ubuntu avant mint...
Nous t'avons proposé des modifications pour que, lorsque tu ne fais rien du tout, cela boote automatiquement sur mint....
La famille ubuntu, y compris mint, n'a qu'un seul logiciel de boot standard qui s'appelle grub. Donc le dernier installé, tue la structure de précédant en le mettant sous sa coupe.., Car mint se fait certainement passer pour ubuntu.
Si tu veux que ta liste commence par la description de mint, lorsque tu seras dans mint, tu réinstalles sa structure de boot avec ces commandes
sudo grub-install
sudo update-grub
Dernière modification par geole (Le 23/02/2021, à 11:24)
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
#21 Le 23/02/2021, à 12:00
- walker
Re : RESOLU_Ordre de démarrage dual-boot
Pour un peu, je comprend que tu n'acceptes pas que dans l'écran de choix des O.S. proposés au boot
l'ordre de listage soit ubuntu avant mint...
C'est tout à fait ça, le problème n'est pas très grave, mais je voulais comprendre pourquoi les règles "normales" du dual-boot ne s'appliquaient pas (grub-default)
Nous t'avons proposé des modifications pour que, lorsque tu ne fais rien du tout, cela boote automatiquement sur mint....
Et je t'en remercie, mais toutes les manip n'ont rien changé à la situation de départ.
Ton dernier post me donne l'explication que je cherchais:
La famille ubuntu, y compris mint, n'a qu'un seul logiciel de boot standard qui s'appelle grub. Donc le dernier installé, tue la structure de précédant en le mettant sous sa coupe.., Car mint se fait certainement passer pour ubuntu.
sudo grub-install me renvoie un message d'erreur
gerard@gerard-MS-7B79:~$ sudo grub-install
[sudo] Mot de passe de gerard :
Installation pour la plate-forme i386-pc.
grub-install : erreur : le périphérique d'installation n'est pas indiqué.
Je pense que je vais contourner le (petit) problème en désinstallant Xubuntu, le plus proprement possible, et en l'installant sur une machine virtuelle, ce que j'aurai du faire depuis le début.
Merci en tous cas d'avoir passé du temps à m'aider.
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#22 Le 23/02/2021, à 12:24
- geole
Re : RESOLU_Ordre de démarrage dual-boot
Je pensais que tu avais fait une installation efi! "Dans la partie "boot", il y a 13 options (?) toutes débutent par "UEFI Hardisk "
En legacy, il faut préciser le disque qui va recevoir, Pour obtenir la liste
lsblk -e7 -o +size | grep -v "─"
donc probablement l'une de ces deux commandes
sudo grub-install /dev/sda
sudo grub-install /dev/nvme0n1
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
#23 Le 23/02/2021, à 12:35
- walker
Re : RESOLU_Ordre de démarrage dual-boot
Décidément quand ça veut pas, ça veut pas...
gerard@gerard-MS-7B79:~$ sudo grub-install /dev/nvme0n1
[sudo] Mot de passe de gerard :
Installation pour la plate-forme i386-pc.
grub-install : attention : cette étiquette de partition GPT ne contient pas de partition d'amorçage BIOS ; l'embarquage ne sera pas possible.
grub-install : attention : L'embarquage est impossible. GRUB ne peut être installé sur cette configuration qu'en utilisant les listes de blocs. Cependant, les listes de blocs ne sont PAS fiables et leur utilisation est déconseillée..
grub-install : erreur : refus de continuer avec les listes de blocs.
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne
#24 Le 23/02/2021, à 12:47
- geole
Re : RESOLU_Ordre de démarrage dual-boot
Voila le lien, à demain
https://paste2.org/
je pense que tu n'as pas cliqué sur le lien
Refais un boot-info, choisis de faire une production en mode local, puis fais un copier/coller de ce qui sera affiché.
Pour réparer, il faudrait d'abord que tu fabriques une partition de 1 Mo ( n'importe quel type) et que tu lui colles un drapeau bios_grub. l'application gparted convient bien.
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
#25 Le 23/02/2021, à 12:52
- walker
Re : RESOLU_Ordre de démarrage dual-boot
boot-info-4ppa125 [20210223_1150]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/nvme0n1 and looks at sector
1050624 of the same hard drive for core.img. core.img is at this location
and looks for (,gpt4)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
nvme0n1p2: _____________________________________________________________________
File system:
Boot sector type: Grub2's core.img
Boot sector info:
nvme0n1p3: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
nvme0n1p4: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 20.1
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
nvme0n1p5: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Linux Mint 20.1 CurrentSession on nvme0n1p4
OS#2: Ubuntu 20.04.2 LTS on nvme0n1p5
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-65-generic root=UUID=e374bb5f-2e15-4f99-a7b6-09ac89de3fe0 ro quiet splash
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0001
Boot0000* ubuntu HD(1,GPT,ce156db2-86fe-4582-a2fa-0712168afcea,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0001* Hard Drive BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........S.a.m.s.u.n.g. .S.S.D. .9.7.0. .E.V.O. .5.0.0.G.B...................\.,.@.r.d.=.X..........A...........................%8Z.D.......4..Gd-.;.A..MQ..L.S.5.H.7.N.S.0.N.A.8.1.7.2.7.N........BO
2895d47544fd587b26c7e29be1295c27 nvme0n1p1/BOOT/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 nvme0n1p1/BOOT/mmx64.efi
637fa7fabc8a2f70312edf2f15e275ff nvme0n1p1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 nvme0n1p1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f nvme0n1p1/ubuntu/shimx64.efi
78415fb8fb9b909f8029858113f1335f nvme0n1p1/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p4 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
nvme0n1p1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p5 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
nvme0n1p2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
nvme0n1p4 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
nvme0n1p4 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
nvme0n1p1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p5 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
nvme0n1p2 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 30692AE3-3AEC-419E-B0C5-C266DB4B4D9C
Start End Sectors Size Type
nvme0n1p1 2048 1050623 1048576 512M EFI System
nvme0n1p2 1050624 1052671 2048 1M Linux filesystem
nvme0n1p3 1052672 2103295 1050624 513M Microsoft basic data
nvme0n1p4 2103296 505124983 503021688 239.9G Linux filesystem
nvme0n1p5 505126912 976771071 471644160 224.9G Linux filesystem
parted -lm (filtered): _________________________________________________________
nvme0n1:500GB:nvme:512:512:gpt:Samsung SSD 970 EVO 500GB:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:539MB:1049kB:::;
3:539MB:1077MB:538MB:fat32::msftdata;
4:1077MB:259GB:258GB:ext4::;
5:259GB:500GB:241GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
nvme0n1
├─nvme0n1p1 vfat 1CAC-C881 ce156db2-86fe-4582-a2fa-0712168afcea EFI System Partition
├─nvme0n1p2 451aafee-bcd3-40c1-bcf4-4c5245e8996b
├─nvme0n1p3 vfat 2940-4D32 ec8d516c-4ccf-4735-a74b-44979e6dbe4b
├─nvme0n1p4 ext4 e374bb5f-2e15-4f99-a7b6-09ac89de3fe0 0756dc1d-90f8-4abd-b8fc-91f13cb16226
└─nvme0n1p5 ext4 b5d23b96-a6d4-482f-a33f-beff5b7309f5 328a2a2a-6736-49ea-a193-29e64342e255
df (filtered): _________________________________________________________________
Avail Use% Mounted on
nvme0n1p1 503.2M 2% /mnt/boot-sav/nvme0n1p1
nvme0n1p4 105.9G 50% /
nvme0n1p5 93.4G 53% /run/timeshift/backup
Mount options: __________________________________________________________________
nvme0n1p1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
nvme0n1p4 rw,relatime,errors=remount-ro
nvme0n1p5 rw,relatime
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid b5d23b96-a6d4-482f-a33f-beff5b7309f5 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p4/boot/grub/grub.cfg (filtered) ====================
Ubuntu e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
Ubuntu, avec Linux 5.4.0-65-generic e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
Ubuntu, avec Linux 5.4.0-58-generic e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
Ubuntu 20.04.2 LTS (20.04) (sur nvme0n1p5) b5d23b96-a6d4-482f-a33f-beff5b7309f5
Ubuntu (sur nvme0n1p5) b5d23b96-a6d4-482f-a33f-beff5b7309f5
Ubuntu, avec Linux 5.8.0-43-generic (sur nvme0n1p5) b5d23b96-a6d4-482f-a33f-beff5b7309f5
Ubuntu, avec Linux 5.8.0-41-generic (sur nvme0n1p5) b5d23b96-a6d4-482f-a33f-beff5b7309f5
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p4/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p4 during installation
UUID=e374bb5f-2e15-4f99-a7b6-09ac89de3fe0 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p3 during installation
UUID=2940-4D32 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
==================== nvme0n1p4/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
================= nvme0n1p4: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
127.689723969 = 137.105797120 boot/grub/grub.cfg 3
99.331924438 = 106.656841728 boot/grub/i386-pc/core.img 1
14.552875519 = 15.626031104 boot/vmlinuz 1
5.396621704 = 5.794578432 boot/vmlinuz-5.4.0-58-generic 1
14.552875519 = 15.626031104 boot/vmlinuz-5.4.0-65-generic 1
5.396621704 = 5.794578432 boot/vmlinuz.old 1
104.808528900 = 112.537300992 boot/initrd.img 8
80.932613373 = 86.900731904 boot/initrd.img-5.4.0-58-generic 5
104.808528900 = 112.537300992 boot/initrd.img-5.4.0-65-generic 8
80.932613373 = 86.900731904 boot/initrd.img.old 5
=================== nvme0n1p4: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 17622 nov. 13 00:15 10_linux
-rwxr-xr-x 1 root root 42359 nov. 13 00:15 10_linux_zfs
-rwxr-xr-x 1 root root 12894 nov. 13 00:15 20_linux_xen
-rwxr-xr-x 1 root root 12059 nov. 13 00:15 30_os-prober
-rwxr-xr-x 1 root root 1424 nov. 13 00:15 30_uefi-firmware
-rwxr-xr-x 1 root root 214 nov. 13 00:15 40_custom
-rwxr-xr-x 1 root root 216 nov. 13 00:15 41_custom
=================== nvme0n1p5/boot/grub/grub.cfg (filtered) ====================
Ubuntu b5d23b96-a6d4-482f-a33f-beff5b7309f5
Ubuntu, avec Linux 5.8.0-43-generic b5d23b96-a6d4-482f-a33f-beff5b7309f5
Ubuntu, avec Linux 5.8.0-41-generic b5d23b96-a6d4-482f-a33f-beff5b7309f5
Linux Mint 20.1 Ulyssa (20.1) (sur nvme0n1p4) e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
Linux Mint 20.1 Cinnamon (sur nvme0n1p4) e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
Linux Mint 20.1 Cinnamon, avec Linux 5.4.0-65-generic (sur nvme0n1p4) e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
Linux Mint 20.1 Cinnamon, avec Linux 5.4.0-58-generic (sur nvme0n1p4) e374bb5f-2e15-4f99-a7b6-09ac89de3fe0
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p5/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=b5d23b96-a6d4-482f-a33f-beff5b7309f5 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=1CAC-C881 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
==================== nvme0n1p5/etc/default/grub (filtered) =====================
GRUB_DEFAULT=1
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
================= nvme0n1p5: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
418.621200562 = 449.491091456 boot/grub/grub.cfg 2
281.216079712 = 301.953466368 boot/vmlinuz 1
244.848892212 = 262.904496128 boot/vmlinuz-5.8.0-41-generic 1
281.216079712 = 301.953466368 boot/vmlinuz-5.8.0-43-generic 1
244.848892212 = 262.904496128 boot/vmlinuz.old 1
418.124343872 = 448.957595648 boot/initrd.img 2
246.423458099 = 264.595173376 boot/initrd.img-5.8.0-41-generic 2
418.124343872 = 448.957595648 boot/initrd.img-5.8.0-43-generic 2
246.423458099 = 264.595173376 boot/initrd.img.old 2
=================== nvme0n1p5: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 17622 janv. 13 15:12 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13 15:12 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13 15:12 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13 15:12 30_os-prober
-rwxr-xr-x 1 root root 1424 janv. 13 15:12 30_uefi-firmware
-rwxr-xr-x 1 root root 214 janv. 13 15:12 40_custom
-rwxr-xr-x 1 root root 216 janv. 13 15:12 41_custom
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[544027]) leaked on lvs invocation. Parent PID 21707: /bin/bash
Error code 12
mount -r /dev/nvme0n1p2 /mnt/boot-sav/nvme0n1p2
mount -r /dev/nvme0n1p2 : Error code 12
Error code 12
mount -r /dev/nvme0n1p2 /mnt/boot-sav/nvme0n1p2
mount -r /dev/nvme0n1p2 : Error code 12
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
nvme0n1p4,
using the following options: nvme0n1p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Linux Mint 20.1 CurrentSession entry (nvme0n1p1/efi/****/shim****.efi (**** will be updated in the final message) file) !
Dernière modification par walker (Le 23/02/2021, à 16:02)
LinuxMint 20.1
MSI X470 Gaming Plus MAX / Ryzen 3 3100 / SSD Samsung EVO 970 / HDD 1To /RAM Corsair Vengeance 2*8 Go
Hors ligne