J'ai donc entrepris de fabriquer une clé bootable pour ma fille, en suivant le [doc]/tutoriel/installation_sur_disque_usb[/doc].
Par habitude, je l'ai fait sur ma machine, La clé bootait sur mon ordi, mais pas sur le sien.
En voulant me remettre au travail, je découvre avec stupéfaction que ma machine affiche au reboot le même message d'erreur que chez ma fille: minimal BASH...
Je me dis alors: et si c'était un virus ou une saleté du genre qui serait passé du laptop de ma fille au mien, par une des deux clés USB qui ont été branchées successivement sur les deux machine? Le problème serait alors de d'ordre logiciel, et on pourrait s'en débarrasser par simple réinstallation du système. Et c'est ce que j'ai tenté. (Par chance, ma fille avait une sauvegarde des données importantes).
L'install s'est déroulée sans aucun accroc. Le nouveau systéme tourne bien depuis une journée déjà.
Je remets le boot-info
Boot Info Script 71f6c5c + Boot-Repair extra info [Boot-Info 16mar2020]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/grub.cfg /efi/BOOT/fbx64.efi
/efi/ubuntu/fwupx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/grub.cfg
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 113 GiB, 121332826112 bytes, 236978176 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 1,050,623 1,050,623 ee GPT
/dev/sda2 * 1,050,624 236,976,127 235,925,504 83 Linux
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
/dev/sda2 1,050,624 236,976,127 235,925,504 Data partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/loop1 squashfs
/dev/loop2 squashfs
/dev/loop3 squashfs
/dev/loop4 squashfs
/dev/sda1 0E74-91F3 vfat
/dev/sda2 204e6385-c1db-48ab-91ae-5a1a926122c6 ext4
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Apr 8 22:20 ata-APPLE_SSD_TS128E_729S148OT06Y -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 8 22:20 ata-APPLE_SSD_TS128E_729S148OT06Y-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 8 22:20 ata-APPLE_SSD_TS128E_729S148OT06Y-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Apr 8 16:07 usb-APPLE_SD_Card_Reader_000000000310-0:0 -> ../../sdb
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 /boot/efi vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
========================== sda1/EFI/ubuntu/grub.cfg: ===========================
--------------------------------------------------------------------------------
search.fs_uuid 204e6385-c1db-48ab-91ae-5a1a926122c6 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------
========================== sda1/efi/ubuntu/grub.cfg: ===========================
--------------------------------------------------------------------------------
search.fs_uuid 204e6385-c1db-48ab-91ae-5a1a926122c6 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------
=========================== sda2/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 [ "${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 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 204e6385-c1db-48ab-91ae-5a1a926122c6
else
search --no-floppy --fs-uuid --set=root 204e6385-c1db-48ab-91ae-5a1a926122c6
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_CH
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=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; 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=1
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 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-204e6385-c1db-48ab-91ae-5a1a926122c6' {
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 204e6385-c1db-48ab-91ae-5a1a926122c6
else
search --no-floppy --fs-uuid --set=root 204e6385-c1db-48ab-91ae-5a1a926122c6
fi
linux /boot/vmlinuz-4.15.0-96-generic root=UUID=204e6385-c1db-48ab-91ae-5a1a926122c6 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-96-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-204e6385-c1db-48ab-91ae-5a1a926122c6' {
menuentry 'Ubuntu, avec Linux 4.15.0-96-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-96-generic-advanced-204e6385-c1db-48ab-91ae-5a1a926122c6' {
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 204e6385-c1db-48ab-91ae-5a1a926122c6
else
search --no-floppy --fs-uuid --set=root 204e6385-c1db-48ab-91ae-5a1a926122c6
fi
echo 'Chargement de Linux 4.15.0-96-generic…'
linux /boot/vmlinuz-4.15.0-96-generic root=UUID=204e6385-c1db-48ab-91ae-5a1a926122c6 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-96-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-96-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-96-generic-recovery-204e6385-c1db-48ab-91ae-5a1a926122c6' {
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 204e6385-c1db-48ab-91ae-5a1a926122c6
else
search --no-floppy --fs-uuid --set=root 204e6385-c1db-48ab-91ae-5a1a926122c6
fi
echo 'Chargement de Linux 4.15.0-96-generic…'
linux /boot/vmlinuz-4.15.0-96-generic root=UUID=204e6385-c1db-48ab-91ae-5a1a926122c6 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-96-generic
}
menuentry 'Ubuntu, avec Linux 4.15.0-20-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-20-generic-advanced-204e6385-c1db-48ab-91ae-5a1a926122c6' {
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 204e6385-c1db-48ab-91ae-5a1a926122c6
else
search --no-floppy --fs-uuid --set=root 204e6385-c1db-48ab-91ae-5a1a926122c6
fi
echo 'Chargement de Linux 4.15.0-20-generic…'
linux /boot/vmlinuz-4.15.0-20-generic root=UUID=204e6385-c1db-48ab-91ae-5a1a926122c6 ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-20-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-20-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-20-generic-recovery-204e6385-c1db-48ab-91ae-5a1a926122c6' {
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 204e6385-c1db-48ab-91ae-5a1a926122c6
else
search --no-floppy --fs-uuid --set=root 204e6385-c1db-48ab-91ae-5a1a926122c6
fi
echo 'Chargement de Linux 4.15.0-20-generic…'
linux /boot/vmlinuz-4.15.0-20-generic root=UUID=204e6385-c1db-48ab-91ae-5a1a926122c6 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-20-generic
}
}
### END /etc/grub.d/10_linux ###
### 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 ###
### 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 ###
--------------------------------------------------------------------------------
=============================== sda2/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=204e6385-c1db-48ab-91ae-5a1a926122c6 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=0E74-91F3 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
22.649852753 = 24.320094208 boot/grub/grub.cfg 3
22.641815186 = 24.311463936 boot/vmlinuz-4.15.0-20-generic 1
17.915019989 = 19.236106240 boot/vmlinuz-4.15.0-96-generic 1
22.641815186 = 24.311463936 vmlinuz 1
18.360347748 = 19.714273280 boot/initrd.img-4.15.0-20-generic 2
5.257690430 = 5.645402112 boot/initrd.img-4.15.0-96-generic 5
18.360347748 = 19.714273280 initrd.img 2
18.360347748 = 19.714273280 initrd.img.old 2
========= Devices which don't seem to have a corresponding hard drive: =========
sdb
ADDITIONAL INFORMATION:
=================== log of boot-info 20200408_2220 ===================
boot-info version : 4ppa81
boot-sav version : 4ppa81
boot-sav-extra version : 4ppa81
glade2script version : 3.2.4~ppa7
boot-info is executed in installed-session (Ubuntu 18.04 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.15.0-96-generic root=UUID=204e6385-c1db-48ab-91ae-5a1a926122c6 ro quiet splash vt.handoff=1
=================== os-prober:
/dev/sda2:L'OS actuellement utilisé - Ubuntu 18.04 LTS CurrentSession:linux
=================== blkid:
/dev/sda2: UUID="204e6385-c1db-48ab-91ae-5a1a926122c6" TYPE="ext4" PARTUUID="6ee69977-3746-4336-8d81-33ea76e100a2"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/sda1: UUID="0E74-91F3" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="42078f50-1192-477c-8b80-0f94393862b3"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 avr 8 02:50 grub.d
total 80
-rwxr-xr-x 1 root root 10046 mar 11 21:57 00_header
-rwxr-xr-x 1 root root 6258 mar 4 2018 05_debian_theme
-rwxr-xr-x 1 root root 12693 mar 4 2018 10_linux
-rwxr-xr-x 1 root root 11298 mar 4 2018 20_linux_xen
-rwxr-xr-x 1 root root 1992 jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 mar 4 2018 30_os-prober
-rwxr-xr-x 1 root root 1418 mar 4 2018 30_uefi-firmware
-rwxr-xr-x 1 root root 214 mar 4 2018 40_custom
-rwxr-xr-x 1 root root 216 mar 4 2018 41_custom
-rw-r--r-- 1 root root 483 mar 4 2018 README
=================== /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=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"
/boot/efi detected in the fstab of sda2: UUID=0E74-91F3 (sda1)
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/fbx64.efi
ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,SSN-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,SetupDefaults-05299c28-3953-4a5f-b7d8-f6c6a7150b2a,Setup-4dfbbaab-1392-4fde-abb8-c41cc5ad7d5d,SaPegData-c4975200-64f1-4fb6-9773-f6a9f89d985e,ROM-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,PchS3Peim-e6c2f70a-b604-4877-85ba-deec89e117eb,PchInit-e6c2f70a-b604-4877-85ba-deec89e117eb,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MLB-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,MemoryConfig-8be4df61-93ca-11d2-aa0d-00e098032b8c,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,FirmwareFeaturesMask-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,FirmwareFeatures-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,epid_provisioned-8be4df61-93ca-11d2-aa0d-00e098032b8c,del_var,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootFFFF-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0080-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e,
Veuillez indiquer ce message à boot.repair@gmail.com
=================== efibootmgr -v
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000,0080
Boot0000* ubuntu HD(1,GPT,42078f50-1192-477c-8b80-0f94393862b3,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0080* PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(1,GPT,71ec1a89-b951-4519-9699-eb101a83c403,0x800,0x100000)/File(EFIBOOTBOOTX64.efi)
BootFFFF* PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(1,GPT,71ec1a89-b951-4519-9699-eb101a83c403,0x800,0x100000)/File(EFIBOOTBOOTX64.efi)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot maybe enabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)
=================== PARTITIONS & DISKS:
sda2 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, .
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /boot/efi.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:121GB:scsi:512:4096:gpt:ATA APPLE SSD TS128E:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:121GB:121GB:ext4::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
loop0 loop squashfs 93.8M
loop1 loop squashfs 55M
loop2 loop squashfs 48.3M
loop3 loop squashfs 202.9M
loop4 loop squashfs 173.7M
sda disk 113G
sda1 part vfat 512M
sda2 part ext4 112.5G
KNAME ROTA RO RM STATE MOUNTPOINT
loop0 1 1 0 /snap/core/8935
loop1 1 1 0 /snap/core18/1705
loop2 1 1 0 /snap/gtk-common-themes/1474
loop3 1 1 0 /snap/vlc/1397
loop4 1 1 0 /snap/musescore/137
sda 0 0 0 running
sda1 0 0 0 /boot/efi
sda2 0 0 0 /
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4005088k,nr_inodes=1001272,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=807256k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1331)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=807252k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/var/lib/snapd/snaps/core_8935.snap on /snap/core/8935 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1705.snap on /snap/core18/1705 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1474.snap on /snap/gtk-common-themes/1474 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/vlc_1397.snap on /snap/vlc/1397 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/musescore_137.snap on /snap/musescore/137 type squashfs (ro,nodev,relatime,x-gdu.hide)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sda1 sda2 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 iio:device0 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sdb sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 00 10 00 00 04 00 00 00 00 00 00 02 00 00 00 |................|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 f3 91 74 0e 4e 4f 20 4e 41 4d 45 20 20 |..)..t.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
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
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 789M 1.5M 787M 1% /run
/dev/sda2 ext4 111G 18G 87G 17% /
tmpfs tmpfs 3.9G 164M 3.7G 5% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda1 vfat 511M 6.1M 505M 2% /boot/efi
tmpfs tmpfs 789M 24K 789M 1% /run/user/1000
/dev/loop0 squashfs 94M 94M 0 100% /snap/core/8935
/dev/loop1 squashfs 55M 55M 0 100% /snap/core18/1705
/dev/loop2 squashfs 49M 49M 0 100% /snap/gtk-common-themes/1474
/dev/loop3 squashfs 203M 203M 0 100% /snap/vlc/1397
/dev/loop4 squashfs 174M 174M 0 100% /snap/musescore/137
=================== fdisk -l:
Disk /dev/loop0: 93.8 MiB, 98336768 bytes, 192064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 55 MiB, 57614336 bytes, 112528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 48.3 MiB, 50642944 bytes, 98912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 202.9 MiB, 212758528 bytes, 415544 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 173.7 MiB, 182165504 bytes, 355792 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 113 GiB, 121332826112 bytes, 236978176 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 57813894-1B70-44A3-A2FD-F067A786D0AE
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 236976127 235925504 112.5G Linux filesystem
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda1/efi/.../grub*.efi !
=================== User settings
The settings chosen by the user will not act on the boot.
Je n'y vois rien d'anormal
Voici aussi les données smart. Cette fois smart a fonctionné 😛
marij@marij-MacBookAir:~$ sudo smartctl -s on -a /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-96-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Apple MacBook Air SSD
Device Model: APPLE SSD TS128E
Serial Number: 729S148OT06Y
LU WWN Device Id: 0 000000 000000000
Firmware Version: TQAABBF0
User Capacity: 121'332'826'112 bytes [121 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS, ACS-2 T13/2015-D revision 3
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Apr 8 22:30:58 2020 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 48) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x0001) SCT Status supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000a 100 100 000 Old_age Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0007 100 100 050 Pre-fail Always - 0
5 Reallocated_Sector_Ct 0x0012 100 100 050 Old_age Always - 0
7 Unknown_SSD_Attribute 0x000b 100 100 050 Pre-fail Always - 0
8 Unknown_SSD_Attribute 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 1292
10 Unknown_SSD_Attribute 0x0013 100 100 050 Pre-fail Always - 0
12 Power_Cycle_Count 0x0012 090 090 000 Old_age Always - 10986
167 Unknown_Attribute 0x0012 100 100 000 Old_age Always - 0
168 Unknown_Attribute 0x0012 200 200 000 Old_age Always - 0
169 Unknown_Attribute 0x0013 100 100 010 Pre-fail Always - 876337497903
170 Unknown_Attribute 0x0013 100 100 010 Pre-fail Always - 0
171 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
173 Wear_Leveling_Count 0x0013 185 185 100 Pre-fail Always - 429526417618
175 Program_Fail_Count_Chip 0x0013 100 100 010 Pre-fail Always - 0
177 Wear_Leveling_Count 0x0000 000 000 000 Old_age Offline - 13
181 Program_Fail_Cnt_Total 0x0032 000 000 000 Old_age Always - 0
182 Erase_Fail_Count_Total 0x0032 000 000 000 Old_age Always - 0
187 Reported_Uncorrect 0x0012 100 100 000 Old_age Always - 3915
192 Power-Off_Retract_Count 0x0012 000 000 000 Old_age Always - 225
194 Temperature_Celsius 0x0023 046 036 000 Pre-fail Always - 54 (Min/Max 0/64)
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x0012 200 200 000 Old_age Always - 0
233 Media_Wearout_Indicator 0x0000 000 000 000 Old_age Offline - 22626
240 Unknown_SSD_Attribute 0x0013 100 100 050 Pre-fail Always - 0
241 Host_Writes_GiB 0x0032 000 000 000 Old_age Always - 8236
242 Host_Reades_GiB 0x0032 000 000 000 Old_age Always - 5986
SMART Error Log not supported
SMART Self-test Log not supported
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
marij@marij-MacBookAir:~$
Le disque a fonctionné 1292 h, ça n'est pas énorme.
Mais il a été allumé/éteint beaucoup trop souvent,
Power_Cycle_Count : 10986
Ça donne un durée de session moyenne de 5 min :o
La réinstall sur ma propre machine s'est aussi déroulée sans histoire.
Je suis bien content d'être sorti de la gonfle. Mais des questions restent.
Pensant aux choses inhabituelles qui ont précédé ce double crash, je retiens:
Sur les 2 machines:
-Utilisation de Zoom, qui nous permet de donner nos cours pendant le confinement.
Sur le Macbook Air de ma fille:
-batterie pas fiable du tout
Sur ma propre machine:
- 4-5 gels du système exigeant un reboot par les touches magiques.
- Craquement au boot, qui a disparu après réinstall
- Système "gonflé" à 19 Gio alors que d'habitude, il en fait 7 ou 8.
Je m'en suis rendu compte en réinstallant (j'ai un /home séparé sur cette machine)
Je passe en [résolu].
Mais si jamais tu as une idée d'où le problème est venu, Ça m'intéresse.