#26 Le 02/07/2023, à 07:42
- geole
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Bonjour
On voit bien le NVME dans la quatrième ligne de cet onglet https://postlmg.cc/XrvfXR65
Il dit qu'il ne supporte pas les passwds
On le voit aussi dans cet onglet https://postlmg.cc/sBNwVVB1 sous le nom de HDD0 avec une taille de 128 Go
Pour booter avec windows, il faut tu change l'ordre de boot en utilisant les touches de déplacement dans cet onglet https://postlmg.cc/87nhvZT0 afin de le mettre devant ubuntu
Dans cet onglet, https://postlmg.cc/sBNwVVB1 on voit bien que le mode optane with RAID est positionné
C'est pourquoi ubuntu ne sait pas traiter. il ne connaît pas ce type RAID. il ne connaît que le raid logiciel. Mais je ne vois pas comment faire. cependant
Dans cet onglet https://postlmg.cc/XrvfXR65. on voit que l'administrateur n'a pas de mot de passe.
Il faut en mettre un. Attention, il ne faut jamais l'oublier. Mais, un seul caractère devrait être accepté. Evite les caractères dont la frappe est différente entre le querty et l'azerty du style azqwm
Après cette action, tu devrais avoir probablement d'autres grilles..
Ces discussions en parlent
https://forum.ubuntu-fr.org/viewtopic.php?id=2053562 qui est quasiment pour le même modèle que le tien
https://forum.ubuntu-fr.org/viewtopic.php?id=2046895
https://forum.ubuntu-fr.org/viewtopic.php?id=2062272
et plus généralement, la liste du forum
Dernière modification par geole (Le 02/07/2023, à 07:49)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#27 Le 02/07/2023, à 07:52
- iznobe
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Salut , alors sur la 1ere photo , on voit bien , que le bon mode SATA n' est pas selectionné : optane without RAID . il faut que tu aies AHCI .
les ordis de marque ACER ont des specificités que je ne connais pas bien au niveau du BIOS . Mais je pense que @geole a donné la bonne procédure avec ses liens , il les connaît mieux que moi .
Pour le mot de passe , il faut vraiment un truc simple et comme l' a precisé geole , un seul caractere facile a se rappeler , et identique selon les configs de clavier c ' est mieux , sait on jamais .
il ne sert qu ' a debloquer la fonction de reglage qui te permettra de changer le fameux parametre dont on a besoin et pouvoir selectionner le bon fichier de demarrage il me semble .
Dernière modification par iznobe (Le 02/07/2023, à 08:02)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#28 Le 02/07/2023, à 08:46
- Koma96
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
J'ai mis en place un mot de passe supervisor.
J'ai réussi à passer en SATA.
J'ai fait la manip' sur Windows comme indiquée : https://forum.ubuntu-fr.org/viewtopic.php?id=2053562
bcdedit /set "{current}" safeboot minimal
bcdedit /deletevalue "{current}" safeboot
Malgré cela, le GRUB ne me propose pas Windows. Peut-être faut-il que je fasse quelque chose ici :
Hors ligne
#29 Le 02/07/2023, à 09:03
- iznobe
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
logiquement , pour que le GRUB tepropose windobz , il faut deja qu ' il soit parametré pour .
1ere chose verifier que os-prober est bien activé , donc donne :
cat /etc/default/grub
Dans le BIOS , il n ' y a pas un onglet dans lequel tu peux selectionner les peripheriques de demarrage ? j ' aurais aussi bien vu ca dans BOOT , mais sur l' image on ne voit pas ca ... donc le bon fichier a l' air selectionné .
il faut aussi qu ' on verifie avec
lsblk -fe7
ou ca en est ( demarrage sur NVME ou SDA ? + apparition des partitions du NVME ou pas dans ubuntu suite au changement du mode SATA ).
Dernière modification par iznobe (Le 02/07/2023, à 09:04)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#30 Le 02/07/2023, à 09:14
- Koma96
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Résultat :
cat /etc/default/grub
:
maciej@maciej:~$ cat /etc/default/grub
# 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=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"
Résultat
lsblk -fe7
:
maciej@maciej:~$ lsblk -fe7
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1
│ ntfs Data 46ECE2BBECE2A501
└─sda2
ext4 1.0 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 83,4G 28% /var/snap/firefox/common/host-hunspell
/
sr0
nvme0n1
│
├─nvme0n1p1
│ vfat FAT32 ESP 74DD-1A22
├─nvme0n1p2
│
├─nvme0n1p3
│ ntfs Acer 86C4DE1EC4DE1073
└─nvme0n1p4
ntfs Recovery
DA0ADEFA0ADED31D
Je ne sais pas si NVME ou SDA. En revanche, sur Ubuntu, je vois bien la partition Acer comme avant ces dysfonctionnements
Un ami s'est intéressé à mon problème et m'a demandé de saisir ces commandes :
cat /boot/grub/grub.cfg
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_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
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 [ ${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-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
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
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
linux /boot/vmlinuz-5.19.0-46-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.19.0-46-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
menuentry 'Ubuntu, with Linux 5.19.0-46-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-46-generic-advanced-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
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
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.19.0-46-generic ...'
linux /boot/vmlinuz-5.19.0-46-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.19.0-46-generic
}
menuentry 'Ubuntu, with Linux 5.19.0-46-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-46-generic-recovery-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.19.0-46-generic ...'
linux /boot/vmlinuz-5.19.0-46-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.19.0-46-generic
}
menuentry 'Ubuntu, with Linux 5.19.0-45-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-45-generic-advanced-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
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
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.19.0-45-generic ...'
linux /boot/vmlinuz-5.19.0-45-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.19.0-45-generic
}
menuentry 'Ubuntu, with Linux 5.19.0-45-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-45-generic-recovery-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.19.0-45-generic ...'
linux /boot/vmlinuz-5.19.0-45-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.19.0-45-generic
}
menuentry 'Ubuntu, with Linux 5.15.0-76-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-76-generic-advanced-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
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
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.15.0-76-generic ...'
linux /boot/vmlinuz-5.15.0-76-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-76-generic
}
menuentry 'Ubuntu, with Linux 5.15.0-76-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-76-generic-recovery-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.15.0-76-generic ...'
linux /boot/vmlinuz-5.15.0-76-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-76-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/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### 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 ###
grub-mkconfig
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
#
# 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_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
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 [ ${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
Found linux image: /boot/vmlinuz-5.19.0-46-generic
Found initrd image: /boot/initrd.img-5.19.0-46-generic
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
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
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
linux /boot/vmlinuz-5.19.0-46-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.19.0-46-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
menuentry 'Ubuntu, with Linux 5.19.0-46-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-46-generic-advanced-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
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
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.19.0-46-generic ...'
linux /boot/vmlinuz-5.19.0-46-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.19.0-46-generic
}
menuentry 'Ubuntu, with Linux 5.19.0-46-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-46-generic-recovery-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.19.0-46-generic ...'
linux /boot/vmlinuz-5.19.0-46-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.19.0-46-generic
}
Found linux image: /boot/vmlinuz-5.19.0-45-generic
Found initrd image: /boot/initrd.img-5.19.0-45-generic
menuentry 'Ubuntu, with Linux 5.19.0-45-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-45-generic-advanced-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
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
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.19.0-45-generic ...'
linux /boot/vmlinuz-5.19.0-45-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.19.0-45-generic
}
menuentry 'Ubuntu, with Linux 5.19.0-45-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-45-generic-recovery-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.19.0-45-generic ...'
linux /boot/vmlinuz-5.19.0-45-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.19.0-45-generic
}
Found linux image: /boot/vmlinuz-5.15.0-76-generic
Found initrd image: /boot/initrd.img-5.15.0-76-generic
menuentry 'Ubuntu, with Linux 5.15.0-76-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-76-generic-advanced-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
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
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.15.0-76-generic ...'
linux /boot/vmlinuz-5.15.0-76-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-76-generic
}
menuentry 'Ubuntu, with Linux 5.15.0-76-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-76-generic-recovery-e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
else
search --no-floppy --fs-uuid --set=root e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8
fi
echo 'Loading Linux 5.15.0-76-generic ...'
linux /boot/vmlinuz-5.15.0-76-generic root=UUID=e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-76-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+ ###
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
Adding boot menu entry for UEFI Firmware Settings ...
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### 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 ###
done
Il pense que la parittion EFI n'est pas detecté par le GRUB.
Il m'a demandé aussi de faire
efibootmgr
maciej@maciej:~$ efibootmgr
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0003,2001,2002,2003
Boot0000* ubuntu
Boot0003* Windows Boot Manager
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
maciej@maciej:~$
Il a conclu que c'est le grub qui ne détécte pas Windaube.
Il propose cette solution
sudo -s
cat > /etc/grub.d/40_custom << EOF
menuentry 'Windows' {
search --fs-uuid --no-floppy --set=root 74DD-1A22
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
EOF
update-grub
Qu'en pensez-vous ?
Dernière modification par Koma96 (Le 02/07/2023, à 13:18)
Hors ligne
#31 Le 02/07/2023, à 15:05
- geole
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Bonjour
Je pense que la codification est bonne
Mas si le grub ne détecte pas windows parcequil ne peut pas accéder à la partition, cela risque d être pareil au boot
On voit bien que ubuntu liste le NVME, donc que donne ce retour
sudo os-prober
Avec gparted, regarde si la partition ├─nvme0n1p1 a toujours un drapeau de boot ESP
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
#32 Le 02/07/2023, à 18:34
- Koma96
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Voici le retour de la commande :
maciej@maciej:~$ sudo os-prober
[sudo] Mot de passe de maciej :
/dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
maciej@maciej:~$
Quant à Gparted, je vois bien une étiquette ESP :
Hors ligne
#33 Le 02/07/2023, à 19:26
- iznobe
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
le principal probleme est maintenant resolu et c' etait la visibilité du disque NVME ( comme le supposait geole ) .
Maintenant que le disque est visible , ( avec ses partitions forcément ) , ca va etre relativement simple .
1ere chose , ne garder qu ' une seule partition EFI , la decalerer par defaut dans le BIOS acer en tant que fichier je sais pas trop quoi ( voir les liens donnés par @geole ) ... et evidemment , supprimer l' autre ( celle sur SDA ) .
ensuite il faudra mettre a jour le GRUB ( donc la partition EFI ) afin que ca demarre sur ubuntu qui offrira alors le choix .
enbtre temps il faut aussi a nouveau editer ton fichier /etc/fstab , verifier que l' UUID de la partition EFI est correct , ( si oui simplement decommenté la ligne précédemment commentée ) si non mettre l' UUID correspondant .
Laisser le BIOS en mode CSM ( si c' est le cas , c' est pas une bonne idée , meme si dans le cas present ( avec une multitude de facteurs ) ca a pu te sauver la mise ... c' est en fait plus un gros coup de chance du fait que tu as copier la partiotion NVME sur le disque SDA sans changer son UUID , d' ailleurs je me demande comment ca a pu fonctionner sans mettre la panique a bord avant ...
L ' ajout d ' un menu personnalisé ( comme l ' a conseillé ton ami ) n' est utile que dans le contexte ou tout est bien configuré au niveau du BIOS et de la partiiton EFI + GRUB , ce qui n' est actuellement pas le cas a cause du au reset des parametres du BIOS , cela dit ca peut etre utile , lorsque tout est conforme et clair .
Dernière modification par iznobe (Le 02/07/2023, à 19:32)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#34 Le 02/07/2023, à 19:40
- Koma96
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Je viens de relire les liens des posts mais je ne trouve pas de solution pour paramétrer le démarrage du bios contenant la partition EFI.
Je viens de regarder sur Gparted et sur la partition SDA, il n'y a pas d'EFI
Je suis perdu
Hors ligne
#35 Le 02/07/2023, à 20:01
- iznobe
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
la partition EFI n ' etait presente que sur le NVME ( je me suis perdu moi-meme ... )
par contre on a eté obligé de la commenté dans le fichier /etc/fstab de la partition systeme du disque SDA que tu as dupliqué ( a partir du NVME ) pour que tu puisses demarrrer au debut de la discussion .
Maintenant , ce qu ' il faut faire , c' est :
+ demarrer sur la partition du disque NVME ( s ' en assurer avec
lsblk -fe7 | cat
) , mettre a jour le GRUB et verifier que os prober est bien activé dans le fichier /etcdefault/grub ( de la partition systeme NVME ) .
+ logiquement , la duplication de la partition systeme du disque NVME sur le disque SDA ne devrait pas avoir le meme UUID de partition ( ca met la pagaille ) . il faut doncchanger l' UUID de ta partition SDA2 ? via gparted .
+ verifier l ' UUID de la partition EFI et retablir le fichier /etc/fstab du disque NVME et SDA en accordance de façon a ce que , que ce soit l ' une ou l' autre qui demarre , tu puisses modifier la gestion EFI .
il y a de grande chances qu ' il faille passer par le BIOS ( pour mettre tout ca en concordance ) , car les ordis ACER sont très casse kou...ille a ce niveau là , mais là , je ne serais pas utile , je ne connais pas les ordis de cette marque ...
Dernière modification par iznobe (Le 02/07/2023, à 20:05)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#36 Le 02/07/2023, à 20:18
- Koma96
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Je viens de regarder. Il n'a pas l'air de démarrer en NVME
maciej@maciej:~$ lsblk -fe7
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1
│ ntfs Data 46ECE2BBECE2A501 689,2G 14% /media/maciej/Data1
└─sda2
ext4 1.0 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 84,5G 27% /var/snap/firefox/common/host-hunspell
/
sr0
nvme0n1
│
├─nvme0n1p1
│ vfat FAT32 ESP 74DD-1A22
├─nvme0n1p2
│
├─nvme0n1p3
│ ntfs Acer 86C4DE1EC4DE1073
└─nvme0n1p4
ntfs Recovery
DA0ADEFA0ADED31D
maciej@maciej:~$
Pour la mise du GRUB, est-ce que la procédure est sur cette page ?
Si j'ai bien compris, il faut que je duplique la partition EFi sur le disque SDA ?
Merci pour ton aide mais je suis perdu
Hors ligne
#37 Le 02/07/2023, à 20:24
- iznobe
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Effectivement , actuellement la partition systeme est là :
└─sda2
ext4 1.0 e6e9b7f3-25d2-4f5a-8982-1b38d62e5bc8 84,5G 27% /var/snap/firefox/common/host-hunspell
/
donc situé sur le disque SDA partition numero 2 .
donc pour le moment ( ca pourrait le faire fonctionnelement parlant ) mais quel dommage d ' avoir un disque NVME et de ne pas profiter de ses performances .
De plus comme windobz est installé dessus , il n ' y a pas 50 solutions ... faut trouver le moyen de demarrer ton GRUB du disque NVME .
donne voir ( a tout hasard ) :
efibootmgr -v
Mais avec un ordi de marque ACER , je doute que ce soit par là qu ' il faille passer . c ' est pourtant par là qu ' on choisit l' ordre de demarrage en mode EFI .
c ' est là que les liens de @geoles sont utiles . un truc du genre trusted machin bidule .
Sinon pour plus de precisions attend le passage de @geole ou de@malbo . comme je l' ais deja dis , je ne connais absolument pas les bios des ACER ...
Dernière modification par iznobe (Le 02/07/2023, à 20:26)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#38 Le 02/07/2023, à 20:44
- Koma96
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
maciej@maciej:~$ efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0003,2001,2002,2003
Boot0000* ubuntu HD(1,GPT,c8669cd5-ffed-413b-9a3e-faf3e358f4f7,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0003* Windows Boot Manager HD(1,GPT,c8669cd5-ffed-413b-9a3e-faf3e358f4f7,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...&................
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
maciej@maciej:~$
Hors ligne
#39 Le 02/07/2023, à 21:43
- geole
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Voici le retour de la commande :
maciej@maciej:~$ sudo os-prober [sudo] Mot de passe de maciej : /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows
Fais donc la mise à jour.
sudo update-grub
Reboote et dit si le menu grub s'affiche, ( j'ai vu le mot hiden qui ne me plaît pas). Je préfère le mot menu
GRUB_TIMEOUT_STYLE=hidden
Si tu n'as pas le choix au boot, fais un Boot-info
Cela permet de mieux voir.
Dernière modification par geole (Le 02/07/2023, à 21:46)
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
#40 Le 03/07/2023, à 04:47
- Koma96
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
J'ai fait la mise à jour.
Voici ce qu'il m'a écrit :
maciej@maciej:~$ sudo update-grub
[sudo] Mot de passe de maciej :
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-46-generic
Found initrd image: /boot/initrd.img-5.19.0-46-generic
Found linux image: /boot/vmlinuz-5.19.0-45-generic
Found initrd image: /boot/initrd.img-5.19.0-45-generic
Found linux image: /boot/vmlinuz-5.15.0-76-generic
Found initrd image: /boot/initrd.img-5.15.0-76-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
maciej@maciej:~$
J'ai fait un reboot mais c'est la même chose.
Quant au boot-info, voici le rapport.
Merci encore pour l'aide et bonne journée.
Dernière modification par Koma96 (Le 03/07/2023, à 04:57)
Hors ligne
#41 Le 03/07/2023, à 04:55
- nany
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Bonjour,
Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry.
Il faut mettre la variable GRUB_DISABLE_OS_PROBER à false dans le fichier /etc/default/grub.
Pour ce faire, donne le retour de :
sudo sed -i '/^GRUB_CMDLINE_LINUX=/a\GRUB_DISABLE_OS_PROBER=false' /etc/default/grub && sudo update-grub
En ligne
#42 Le 03/07/2023, à 04:58
- Koma96
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Bonjour,
Le voici :
maciej@maciej:~$ sudo sed -i '/^GRUB_CMDLINE_LINUX=/a\GRUB_DISABLE_OS_PROBER=false' /etc/default/grub && sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-46-generic
Found initrd image: /boot/initrd.img-5.19.0-46-generic
Found linux image: /boot/vmlinuz-5.19.0-45-generic
Found initrd image: /boot/initrd.img-5.19.0-45-generic
Found linux image: /boot/vmlinuz-5.15.0-76-generic
Found initrd image: /boot/initrd.img-5.15.0-76-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
maciej@maciej:~$
Bonne journée
Hors ligne
#43 Le 03/07/2023, à 05:06
- nany
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Parfait ! Il te reste à redémarrer pour voir si le menu de GRUB s’affiche et propose Windows.
En ligne
#44 Le 03/07/2023, à 05:21
- Koma96
Re : [Résolu]Impossibilité de lancer Ubuntu en dualboot après un hard reset
Ça fonctionne.
Merci beaucoup à tous
Bonne journée !
Hors ligne