Ecran noir après la MAJ Ubuntu Studio 20.04

Fermé
lr1703 - Modifié le 17 nov. 2020 à 12:02
mamiemando
Messages postés
31301
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
10 août 2022
- 27 nov. 2020 à 20:24
Bonjour,

Je sollicite de l'aide sur ce forum, voici mon problème : après la MAJ Ubuntu Studio 20.04, mon écran est noir dès le début. Je peux redémarrer avec le CD live et j'ai pu faire un rapport Boot repair dont voici le contenu :

1

boot-repair-4ppa125 [20201117_0832]

============================= Boot Repair Summary ==============================




Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub2 of
sda5 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair will be performed: unhide-bootmenu-10s


Fixed file rights of /media/ubuntu-studio/ce37a413-81c4-4f63-b9bd-87c4164b34f1/etc/grub.d/10_linux

==> Reinstall the GRUB of sda5 into MBRs of all disks (except live-disks and removable disks without OS)

========================= Reinstall the grub2 of sda5 ==========================

grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.6

==> Reinstall the GRUB of sda5 into the MBR of sdb

grub-install /dev/sdb
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: error: embedding is not possible, but this is required for cross-disk install.
Exit code: 1

========================= Reinstall the grub2 of sda5 ==========================

grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.6

==> Reinstall the GRUB of sda5 into the MBR of sda

grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

chroot /media/ubuntu-studio/ce37a413-81c4-4f63-b9bd-87c4164b34f1 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-52-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-52-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-52-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-52-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-48-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-48-lowlatency
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin

Unhide GRUB boot menu in sda5/boot/grub/grub.cfg

Le démarrage de l'ordinateur a été correctement réparé.

Vous pouvez maintenant redémarrer votre ordinateur.

N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sda (ATA Samsung SSD 850) !

============================ Boot Info After Repair ============================

=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub. It also embeds following components:

modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

File system: ntfs
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sda5 and looks at sector 26634472 of the same hard
drive for core.img, but core.img can not be found at
this location.
Operating System: Ubuntu 20.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img

sdb1: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:


================================ 1 OS detected =================================

OS#1: Ubuntu 20.04.1 LTS on sda5

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04 LTS, focal, x86_64)


===================================== UEFI =====================================

This live-session is not in EFI-mode.



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

Disks info: ____________________________________________________________________

sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios

Partitions info (2/3): _________________________________________________________

sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, fstab-without-efi, 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

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0xfa3598de
Boot Start End Sectors Size Id Type
sda1 * 2048 1050623 1048576 512M 7 HPFS/NTFS/exFAT
sda2 1052670 488396799 487344130 232.4G 5 Extended
sda5 1052672 488396799 487344128 232.4G 83 Linux
Disk sdb: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: CD091944-DA78-4BE4-A7C1-CDAB5560F376
Start End Sectors Size Type
sdb1 2048 1953523711 1953521664 931.5G Microsoft basic data

parted -lm (filtered): _________________________________________________________

sda:250GB:scsi:512:512:msdos:ATA Samsung SSD 850:;
1:1049kB:538MB:537MB:ntfs::boot;
2:539MB:250GB:250GB:::;
5:539MB:250GB:250GB:ext4::;
sdb:1000GB:scsi:512:4096:gpt:ATA WDC WD10EZEX-00B:;
1:1049kB:1000GB:1000GB:ntfs::msftdata;
sr0:3591MB:scsi:2048:2048:mac:ASUS DRW-24F1MT:;
1:2048B:6143B:4096B::Apple:;
2:3566MB:3571MB:4063kB::EFI:;

blkid (filtered): ______________________________________________________________

NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 75BFEC6C2B0DE880 fa3598de-01
├─sda2 fa3598de-02
└─sda5 ext4 ce37a413-81c4-4f63-b9bd-87c4164b34f1 fa3598de-05
sdb
└─sdb1 ntfs 29F45A86684B539B c9f2b4b4-9fb5-4b78-83a4-0d42c8d588d6

df (filtered): _________________________________________________________________

Avail Use% Mounted on
sda1 509M 1% /mnt/boot-sav/sda1
sda5 141.9G 33% /media/ubuntu-studio/ce37a413-81c4-4f63-b9bd-87c4164b34f1
sdb1 614.2G 34% /mnt/boot-sav/sdb1

Mount options: __________________________________________________________________

sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5 rw,nosuid,nodev,relatime
sdb1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

Ubuntu (lowlatency) ce37a413-81c4-4f63-b9bd-87c4164b34f1
Ubuntu, with Linux 5.4.0-52-lowlatency ce37a413-81c4-4f63-b9bd-87c4164b34f1
Ubuntu, with Linux 5.4.0-48-lowlatency ce37a413-81c4-4f63-b9bd-87c4164b34f1
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=ce37a413-81c4-4f63-b9bd-87c4164b34f1 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
/swapfile none swap sw 0 0

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

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

GiB - GB File Fragment(s)
0.501960754 = 0.538976256 boot/grub/grub.cfg 1
194.713298798 = 209.071812608 boot/grub/i386-pc/core.img 1
226.395690918 = 243.090522112 boot/vmlinuz 1
70.348812103 = 75.536461824 boot/vmlinuz-5.4.0-48-lowlatency 1
226.395690918 = 243.090522112 boot/vmlinuz-5.4.0-52-lowlatency 1
70.348812103 = 75.536461824 boot/vmlinuz.old 1
60.028228760 = 64.454819840 boot/initrd.img 3
228.009025574 = 244.822827008 boot/initrd.img-5.4.0-48-lowlatency 2
60.028228760 = 64.454819840 boot/initrd.img-5.4.0-52-lowlatency 3
228.009025574 = 244.822827008 boot/initrd.img.old 2

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

-rwxr-xr-x 1 root root 15823 mars 29 2020 09_lowlatency
-rw-r--r-- 1 root root 17622 sept. 8 10:24 10_linux
-rwxr-xr-x 1 root root 42359 sept. 8 10:24 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 2020 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 2020 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 15 2020 40_custom
-rwxr-xr-x 1 root root 216 avril 15 2020 41_custom

======================== sda5/etc/grub.d/09_lowlatency =========================

#! /bin/sh
set -e
# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
#
# Ubuntustudio customization that keeps the latest lowlatency kernel
# as the first menu item and default boot even if there is a newer
# generic or other kernel. Often the updated generic kernel is
# released a few days earlier than the lowlatency kernel
prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"
ubuntu_recovery="1"
quiet_boot="1"
quick_boot="1"
gfxpayload_dynamic="1"
vt_handoff="1"
. "$pkgdatadir/grub-mkconfig_lib"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
# only 09_lowlatency or 10_linux should run, since we got this far
# 10_linux should not run next
if [ -x /etc/grub.d/10_linux ]; then
chmod -x /etc/grub.d/10_linux
fi
CLASS="--class gnu-linux --class gnu --class os"
SUPPORTED_INITS="sysvinit:/lib/sysvinit/init systemd:/lib/systemd/systemd upstart:/sbin/upstart"
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux
else
case ${GRUB_DISTRIBUTOR} in
Ubuntu|Kubuntu)
OS="${GRUB_DISTRIBUTOR}"
;;
  • ) OS="${GRUB_DISTRIBUTOR} GNU/Linux" ;; esac CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"fi# loop-AES arranges things so that /dev/loop/X can be our root device, but# the initrds that Linux uses don't like that.case ${GRUB_DEVICE} in /dev/loop/*|/dev/loop[0-9]) GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"` # We can't cope with devices loop-mounted from files here. case ${GRUB_DEVICE} in /dev/*) ;; *) exit 0 ;; esac ;;esac# btrfs may reside on multiple devices. We cannot pass them as value of root= parameter# and mounting btrfs requires user space scanning, so force UUID in this case.if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \ || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \ || ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then LINUX_ROOT_DEVICE=${GRUB_DEVICE}else LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}ficase x"$GRUB_FS" in xbtrfs) rootsubvol="`make_system_path_relative_to_its_root /`" rootsubvol="${rootsubvol#/}" if [ "x${rootsubvol}" != x ]; then GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}" fi;; xzfs) rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true` bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`" LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs%/}" ;;esactitle_correction_code=if [ -x /lib/recovery-mode/recovery-menu ]; then GRUB_CMDLINE_LINUX_RECOVERY=recoveryelse GRUB_CMDLINE_LINUX_RECOVERY=singlefiif [ "$ubuntu_recovery" = 1 ]; then GRUB_CMDLINE_LINUX_RECOVERY="$GRUB_CMDLINE_LINUX_RECOVERY nomodeset"fiif [ "$vt_handoff" = 1 ]; then for word in $GRUB_CMDLINE_LINUX_DEFAULT; do if [ "$word" = splash ]; then GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff" fi donefiif [ x"$GRUB_FORCE_PARTUUID" != x ]; then echo "set partuuid=${GRUB_FORCE_PARTUUID}"filinux_entry (){ os="$1" version="$2" type="$3" args="$4" if [ -z "$boot_device_id" ]; then boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")" fi if [ x$type != xsimple ] ; then case $type in recovery) title="$(gettext_printf "%s, with Linux %s (%s)" "${os}" "${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")" ;; init-*) title="$(gettext_printf "%s, with Linux %s (%s)" "${os}" "${version}" "${type#init-}")" ;; *) title="$(gettext_printf "%s, with Linux %s" "${os}" "${version}")" ;; esac if [ x"$title" = x"$GRUB_ACTUAL_DEFAULT" ] || [ x"Previous Linux versions>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')" quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)" title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;" grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")" fi echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/" else echo "menuentry '$(echo "$os" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/" fi if [ "$quick_boot" = 1 ]; then echo " recordfail" | sed "s/^/$submenu_indentation/" fi if [ x$type != xrecovery ] ; then save_default_entry | grub_add_tab fi # Use ELILO's generic "efifb" when it's known to be available. # FIXME: We need an interface to select vesafb in case efifb can't be used. if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then echo " load_video" | sed "s/^/$submenu_indentation/" else if [ "x$GRUB_GFXPAYLOAD_LINUX" != xtext ]; then echo " load_video" | sed "s/^/$submenu_indentation/" fi fi if ([ "$ubuntu_recovery" = 0 ] || [ x$type != xrecovery ]) && \ ([ "x$GRUB_GFXPAYLOAD_LINUX" != x ] || [ "$gfxpayload_dynamic" = 1 ]); then echo " gfxmode \$linux_gfx_mode" | sed "s/^/$submenu_indentation/" fi echo " insmod gzio" | sed "s/^/$submenu_indentation/" echo " if [ x\$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi" | sed "s/^/$submenu_indentation/" if [ x$dirname = x/ ]; then if [ -z "${prepare_root_cache}" ]; then prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | grub_add_tab)" fi printf '%s\n' "${prepare_root_cache}" | sed "s/^/$submenu_indentation/" else if [ -z "${prepare_boot_cache}" ]; then prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)" fi printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/" fi if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then message="$(gettext_printf "Loading Linux %s ..." ${version})" sed "s/^/$submenu_indentation/" << EOF echo '$(echo "$message" | grub_quote)'EOF fi if test -d /sys/firmware/efi && test -e "${linux}.efi.signed"; then sed "s/^/$submenu_indentation/" << EOF linux ${rel_dirname}/${basename}.efi.signed root=${linux_root_device_thisversion} ro ${args}EOF else # We have initrd and PARTUUID is set - we try to boot without initrd, and fallback to using it # if it fails. # "panic=-1" means "on panic reboot immediately". "panic=0" disables the reboot behavior. if [ x"$GRUB_FORCE_PARTUUID" != x ]; then linux_root_device_thisversion="PARTUUID=${GRUB_FORCE_PARTUUID}" fi message="$(gettext_printf "Loading initial ramdisk ...")" if test -n "${initrd}" && [ x"$GRUB_FORCE_PARTUUID" != x ]; then sed "s/^/$submenu_indentation/" << EOF if [ "\${initrdfail}" = 1 ]; then linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}EOF if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then sed "s/^/$submenu_indentation/" << EOF echo '$(echo "$message" | grub_quote)'EOF fi sed "s/^/$submenu_indentation/" << EOF initrd ${rel_dirname}/${initrd} else linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args} panic=-1 fi initrdfailEOF else # We don't have initrd or we don't want to set PARTUUID. Don't try initrd-less boot with fallback. sed "s/^/$submenu_indentation/" << EOF linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}EOF if test -n "${initrd}"; then # We do have initrd - let's use it at boot. # TRANSLATORS: ramdisk isn't identifier. Should be translated. if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then sed "s/^/$submenu_indentation/" << EOF echo '$(echo "$message" | grub_quote)'EOF fi sed "s/^/$submenu_indentation/" << EOF initrd ${rel_dirname}/${initrd}EOF fi fi fi sed "s/^/$submenu_indentation/" << EOF}EOF}machine=`uname -m`case "x$machine" in xi?86 | xx86_64) list= for i in /boot/vmlinuz-*lowlatency /vmlinuz-*lowlatency /boot/kernel-*lowlatency ; do if grub_file_is_not_garbage "$i" ; then list="$list $i" ; fi done list2= for i in /boot/vmlinuz-*generic /vmlinuz-*generic /boot/kernel-*generic ; do if grub_file_is_not_garbage "$i" ; then list2="$list2 $i" ; fi done ;; *) list= for i in /boot/vmlinuz-*lowlatency /boot/vmlinux-*lowlatency /vmlinuz-*lowlatency /vmlinux-*lowlatency /boot/kernel-*lowlatency ; do if grub_file_is_not_garbage "$i" ; then list="$list $i" ; fi done list2= for i in /boot/vmlinuz-*generic /boot/vmlinux-*generic /vmlinuz-*generic /vmlinux-*generic /boot/kernel-*generic ; do if grub_file_is_not_garbage "$i" ; then list2="$list2 $i" ; fi done ;;esaccase "$machine" in i?86) GENKERNEL_ARCH="x86" ;; mips|mips64) GENKERNEL_ARCH="mips" ;; mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;; arm*) GENKERNEL_ARCH="arm" ;; *) GENKERNEL_ARCH="$machine" ;;esacprepare_boot_cache=prepare_root_cache=boot_device_id=title_correction_code=cat << 'EOF'function gfxmode { set gfxpayload="${1}"EOFif [ "$vt_handoff" = 1 ]; then cat << 'EOF' if [ "${1}" = "keep" ]; then set vt_handoff=vt.handoff=1 else set vt_handoff= fiEOFficat << EOF}EOF# Use ELILO's generic "efifb" when it's known to be available.# FIXME: We need an interface to select vesafb in case efifb can't be used.if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ] || [ "$gfxpayload_dynamic" = 0 ]; then echo "set linux_gfx_mode=$GRUB_GFXPAYLOAD_LINUX"else cat << EOFif [ "\${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 fielse set linux_gfx_mode=textfiEOFficat << EOFexport linux_gfx_modeEOF# Extra indentation to add to menu entries in a submenu. We're not in a submenu# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).submenu_indentation=""is_top_level=trueis_generic_top=trueif [ "x$list" = "x" ]; then is_top_level=false generic_is_default=truefiif [ "x$list2" = "x" ]; then is_generic_top=falsefiwhile [ "x$list $list2" != "x" ] ; do if [ "x$is_generic_top" = xtrue ] && [ "x$is_top_level" != xtrue ]; then linux=`version_find_latest $list2` case $linux in *.efi.signed) # We handle these in linux_entry. list2=`echo $list2 | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '` continue ;; esac else linux=`version_find_latest $list` if [ "x$linux" = "x" ]; then break fi case $linux in *.efi.signed) # We handle these in linux_entry. list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '` continue ;; esac fi gettext_printf "Found linux image: %s\n" "$linux" >&2 basename=`basename $linux` dirname=`dirname $linux` rel_dirname=`make_system_path_relative_to_its_root $dirname` version=`echo $basename | sed -e "s,^[^0-9]*-,,g"` alt_version=`echo $version | sed -e "s,\.old$,,g"` linux_root_device_thisversion="${LINUX_ROOT_DEVICE}" initrd= for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \ "initrd-${version}" "initramfs-${version}.img" \ "initrd.img-${alt_version}" "initrd-${alt_version}.img" \ "initrd-${alt_version}" "initramfs-${alt_version}.img" \ "initramfs-genkernel-${version}" \ "initramfs-genkernel-${alt_version}" \ "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \ "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do if test -e "${dirname}/${i}" ; then initrd="$i" break fi done config= for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do if test -e "${i}" ; then config="${i}" break fi done initramfs= if test -n "${config}" ; then initramfs=`grep CONFIG_INITRAMFS_SOURCE= "${config}" | cut -f2 -d= | tr -d \"` fi if test -n "${initrd}" ; then gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2 elif test -z "${initramfs}" ; then # "UUID=" and "ZFS=" magic is parsed by initrd or initramfs. Since there's # no initrd or builtin initramfs, it can't work here. linux_root_device_thisversion=${GRUB_DEVICE} fi if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then linux_entry "${OS} (lowlatency)" "${version}" simple \ "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" if [ -z "$boot_device_id" ]; then boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")" fi if [ "x$is_generic_top" != xtrue ]; then submenu_indentation="$grub_tab" # TRANSLATORS: %s is replaced with an OS name echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {" fi is_top_level=false continue fi if [ "x$is_generic_top" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then linux_entry "${OS} (generic)" "${version}" simple \ "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" submenu_indentation="$grub_tab" list="$list $list2" if [ -z "$boot_device_id" ]; then boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")" fi # TRANSLATORS: %s is replaced with an OS name echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {" is_generic_top=false continue fi linux_entry "${OS}" "${version}" advanced \ "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" for supported_init in ${SUPPORTED_INITS}; do init_path="${supported_init#*:}" if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" != "$(readlink -f "${init_path}")" ]; then linux_entry "${OS}" "${version}" "init-${supported_init%%:*}" \ "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT} init=${init_path}" fi done if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then linux_entry "${OS}" "${version}" recovery \ "${GRUB_CMDLINE_LINUX_RECOVERY} ${GRUB_CMDLINE_LINUX}" fi list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`done# If at least one kernel was found, then we need to# add a closing '}' for the submenu command.if [ x"$is_top_level" != xtrue ]; then echo '}'fiecho "$title_correction_code"======================== Unknown MBRs/Boot Sectors/etc =========================Unknown BootLoader on sda100000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|00000020 00 00 00 00 80 00 80 00 ff ff 0f 00 00 00 00 00 |................|00000030 04 00 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 |................|00000040 f6 00 00 00 01 00 00 00 80 e8 0d 2b 6c ec bf 75 |...........+l..u|00000050 00 00 00 00 0e 1f be 71 7c ac 22 c0 74 0b 56 b4 |.......q|.".t.V.|00000060 0e bb 07 00 cd 10 5e eb f0 32 e4 cd 16 cd 19 eb |......^..2......|00000070 fe 54 68 69 73 20 69 73 20 6e 6f 74 20 61 20 62 |.This is not a b|00000080 6f 6f 74 61 62 6c 65 20 64 69 73 6b 2e 20 50 6c |ootable disk. Pl|00000090 65 61 73 65 20 69 6e 73 65 72 74 20 61 20 62 6f |ease insert a bo|000000a0 6f 74 61 62 6c 65 20 66 6c 6f 70 70 79 20 61 6e |otable floppy an|000000b0 64 0d 0a 70 72 65 73 73 20 61 6e 79 20 6b 65 79 |d..press any key|000000c0 20 74 6f 20 74 72 79 20 61 67 61 69 6e 20 2e 2e | to try again ..|000000d0 2e 20 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 |. ..............|000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|*000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|00000200


Je ne sais pas comment résoudre ce problème : je devine qu'il y a un problème de boot mais comment changer cela ? Cela marchait bien avant la MAJ.
Merci d'avance.

10 réponses

mamiemando
Messages postés
31301
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
10 août 2022
7 393
Modifié le 23 nov. 2020 à 02:09
Bonjour,

Vue la description du problème, je suspecte un problème de pilote de carte vidéo plus qu'un boot cassé.

Est-ce que tu vois apparaître grub au démarrage ? Si oui, est-ce démarrer "recovery mode" donne quelque chose (dans grub, tu peux démarrer en mode sans échec via le sous menu "Options avancées" ?

Est-ce qu'il se passe quelque chose si tu fais la combinaison de touche ctrl alt f1 ou ctrl alt f2 ? Si oui, cela signifie que le problème vient du pilote de la carte vidéo, et non de ton installation linux. Dans ce cas, peux-tu t'indentifier sur la console qui s'affiche (tape ton login, entrée, puis ton mot de passe en aveugle, puis entrée). Tu devrais alors voir une invite de commande apparaître. Derrière, lance les commandes suivantes, et indique-nous leur résultat (tu peux prendre une photo et la joindre à ton prochain message)

lspci | grep -i VGA
lspci | grep -i 3D
grep EE /var/log/Xorg.0.log


Bonne chance
0