#1 Le 11/12/2019, à 22:01
- pando25
(Résolu) Echec reinstallation grub, pblm avec boot repair
Bonjour,
Je suis malheureusement l'une de ces utilisatrices d'un dual boot qui effacent la partition contenant Windows et son boot loader pour faire plus de place à Xubuntu.
J'ai tenté plusieurs moyens de réinstaller le grub :
- un premier, inutile, qui fut d'installer debian pour tout recommencer, suivi de la réinstallation de xubuntu nouvelle version.
- le Boot Repair en mode usb bootable n'a pas été détecté pour démarrer dessus, je ne sais pourquoi.
- le Boot Repair sur une session live de xubuntu produit un message d'erreur qui me renvoie au problème précédent (quand je lance la reparation "Please use this software in a live session, live-cd or live-usb. This will enable this feature")
- la méthode update-grub, puis la méthode chroot :
xubuntu@xubuntu:~$ sudo os-prober
/dev/sdc2:Ubuntu 19.10 (19.10):Ubuntu:linux
xubuntu@xubuntu:~$ sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.
xubuntu@xubuntu:~$ man mkdir
xubuntu@xubuntu:~$ man mount
xubuntu@xubuntu:~$ sudo -s
root@xubuntu:/home/xubuntu# mkdir -p /tmp/newroot
root@xubuntu:/home/xubuntu# mount -t ext4 /dev/sdc2 /tmp/newroot
root@xubuntu:/home/xubuntu# mount --bind /proc /tmp/newroot/proc
root@xubuntu:/home/xubuntu# mount --bind /dev /tmp/newroot/dev
root@xubuntu:/home/xubuntu# mount --bind /sys /tmp/newroot/sys
root@xubuntu:/home/xubuntu# chroot /tmp/newroot/
root@xubuntu:/# /usr/sbin/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.3.0-24-generic
Found initrd image: /boot/initrd.img-5.3.0-24-generic
Found linux image: /boot/vmlinuz-5.3.0-18-generic
Found initrd image: /boot/initrd.img-5.3.0-18-generic
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Adding boot menu entry for EFI firmware configuration
done
root@xubuntu:/# /usr/sbin/grub-install /dev/sda
Installing for x86_64-efi platform.
/usr/sbin/grub-install: error: cannot find EFI directory.
root@xubuntu:/# /usr/sbin/grub-install /dev/sdc
Installing for x86_64-efi platform.
/usr/sbin/grub-install: error: cannot find EFI directory.
root@xubuntu:/#
Voilà, je ne sais quoi changer dans ces méthodes pour que l'installation fonctionne. Mon ordi est un Acer aspire E5-774G de 2016/12/16
Voici le rapport du Boot Info actuel c-a-dire après le chroot.
Merci pour votre temps!
Dernière modification par pando25 (Le 17/12/2019, à 00:23)
Hors ligne
#2 Le 12/12/2019, à 08:28
- malbo
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Bonjour,
Je colle le Boot-info dont tu as donné le lien dans ton post :
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No known boot loader is installed in the MBR of /dev/sdb.
=> No boot loader is installed in the MBR of /dev/sdc.
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/BOOT/mmx64.efi /EFI/ubuntu/grubx64.efi
/EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi
sda2: __________________________________________________________________________
File system: ext2
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda3: __________________________________________________________________________
File system: crypto_LUKS
Boot sector type: Unknown
Boot sector info:
sdb1: __________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
sdb2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sdb2 starts
at sector 0. But according to the info from fdisk,
sdb2 starts at sector 3198136. According to the info
in the boot sector, sdb2 has 0 sectors.
Operating System:
Boot files: /efi/boot/bootx64.efi /efi/boot/grubx64.efi
/efi/boot/mmx64.efi
sdb3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdc1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/debian/fbx64.efi /EFI/debian/grubx64.efi
/EFI/debian/mmx64.efi /EFI/debian/shimx64.efi
sdc2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 19.10
Boot files: /boot/grub/grub.cfg /etc/fstab
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ01ABD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
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 2,050,047 999,424 Data partition (Linux)
/dev/sda3 2,050,048 1,953,523,711 1,951,473,664 Data partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 3.75 GiB, 4008706048 bytes, 7829504 sectors
Disk model: USB Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 0 3,218,687 3,218,688 0 Empty
/dev/sdb2 3,198,136 3,206,071 7,936 ef EFI (FAT-12/16/32)
/dev/sdb3 3,219,456 7,829,503 4,610,048 83 Linux
/dev/sdb1 overlaps with /dev/sdb2
GUID Partition Table detected, but does not seem to be used.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdb1 + R 0 3,218,631 3,218,632 Data partition (Windows/Linux)
/dev/sdb2 + R 3,198,136 3,206,071 7,936 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk model: KINGSTON RBUSNS8
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdc1 1 250,069,679 250,069,679 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdc1 2,048 1,050,623 1,048,576 EFI System partition
/dev/sdc2 1,050,624 250,068,991 249,018,368 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/sda1 A6DB-27DB vfat
/dev/sda2 cf4f1933-0cc0-4e8d-aecc-09a2538a3c79 ext2
/dev/sda3 d6292404-b6e5-4283-8d15-b23c3beefb6f crypto_LUKS
/dev/sdb1 2019-10-17-12-50-28-00 iso9660 Xubuntu 19.10 amd64
/dev/sdb2 866D-0A62 vfat
/dev/sdb3 d7507443-f243-4a17-91a7-bd816db66663 ext4 casper-rw
/dev/sdc1 1FA0-985E vfat
/dev/sdc2 fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa ext4
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Dec 11 15:45 ata-KINGSTON_RBUSNS8280S3128GH2_50026B736B01E54F -> ../../sdc
lrwxrwxrwx 1 root root 10 Dec 11 15:45 ata-KINGSTON_RBUSNS8280S3128GH2_50026B736B01E54F-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Dec 11 15:45 ata-KINGSTON_RBUSNS8280S3128GH2_50026B736B01E54F-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 9 Dec 11 12:29 ata-Slimtype_DVD_A_DA8AESH_0080F01164719651F101 -> ../../sr0
lrwxrwxrwx 1 root root 9 Dec 11 15:45 ata-TOSHIBA_MQ01ABD100_Z62ZP0W9T -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 11 15:45 ata-TOSHIBA_MQ01ABD100_Z62ZP0W9T-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 11 15:45 ata-TOSHIBA_MQ01ABD100_Z62ZP0W9T-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 11 15:45 ata-TOSHIBA_MQ01ABD100_Z62ZP0W9T-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Dec 11 15:45 usb-General_USB_Flash_Disk_0000000000000B17-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 11 15:45 usb-General_USB_Flash_Disk_0000000000000B17-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 11 15:45 usb-General_USB_Flash_Disk_0000000000000B17-0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Dec 11 15:45 usb-General_USB_Flash_Disk_0000000000000B17-0:0-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 9 Dec 11 15:45 wwn-0x5000039773282608 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 11 15:45 wwn-0x5000039773282608-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 11 15:45 wwn-0x5000039773282608-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 11 15:45 wwn-0x5000039773282608-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Dec 11 15:45 wwn-0x502b2a201d1c1b1a -> ../../sdc
lrwxrwxrwx 1 root root 10 Dec 11 15:45 wwn-0x502b2a201d1c1b1a-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Dec 11 15:45 wwn-0x502b2a201d1c1b1a-part2 -> ../../sdc2
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/sdb3 /var/crash ext4 (rw,relatime)
/dev/sdb3 /var/log ext4 (rw,relatime)
/dev/sdc2 /media/xubuntu/fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2)
/dev/sdc2 /tmp/newroot ext4 (rw,relatime)
========================== sda1/EFI/ubuntu/grub.cfg: ===========================
--------------------------------------------------------------------------------
search.fs_uuid fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa root hd2,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
0.534996033 = 0.574447616 vmlinuz-4.4.0-119-generic 15
0.581974983 = 0.624890880 initrd.img-4.4.0-119-generic 17
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
set timeout=5
menuentry "Try Xubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/xubuntu.seed quiet splash ---
initrd /casper/initrd
}
menuentry "Try Xubuntu without installing (safe graphics)" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/xubuntu.seed quiet splash nomodeset ---
initrd /casper/initrd
}
menuentry "Install Xubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/xubuntu.seed only-ubiquity quiet splash ---
initrd /casper/initrd
}
menuentry "Install Xubuntu (safe graphics)" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/xubuntu.seed only-ubiquity quiet splash nomodeset ---
initrd /casper/initrd
}
menuentry "OEM install (for manufacturers)" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/xubuntu.seed only-ubiquity quiet splash oem-config/enable=true ---
initrd /casper/initrd
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz integrity-check quiet splash ---
initrd /casper/initrd
}
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
=========================== sdc2/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='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
else
search --no-floppy --fs-uuid --set=root fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
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=C
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=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa' {
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='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
else
search --no-floppy --fs-uuid --set=root fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
fi
linux /boot/vmlinuz-5.3.0-24-generic root=UUID=fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.3.0-24-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa' {
menuentry 'Ubuntu, with Linux 5.3.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-24-generic-advanced-fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa' {
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='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
else
search --no-floppy --fs-uuid --set=root fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
fi
echo 'Loading Linux 5.3.0-24-generic ...'
linux /boot/vmlinuz-5.3.0-24-generic root=UUID=fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.3.0-24-generic
}
menuentry 'Ubuntu, with Linux 5.3.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-24-generic-recovery-fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
else
search --no-floppy --fs-uuid --set=root fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
fi
echo 'Loading Linux 5.3.0-24-generic ...'
linux /boot/vmlinuz-5.3.0-24-generic root=UUID=fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.3.0-24-generic
}
menuentry 'Ubuntu, with Linux 5.3.0-18-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-18-generic-advanced-fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa' {
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='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
else
search --no-floppy --fs-uuid --set=root fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
fi
echo 'Loading Linux 5.3.0-18-generic ...'
linux /boot/vmlinuz-5.3.0-18-generic root=UUID=fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.3.0-18-generic
}
menuentry 'Ubuntu, with Linux 5.3.0-18-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-18-generic-recovery-fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
else
search --no-floppy --fs-uuid --set=root fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa
fi
echo 'Loading Linux 5.3.0-18-generic ...'
linux /boot/vmlinuz-5.3.0-18-generic root=UUID=fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.3.0-18-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 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sdc2/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/sdc2 during installation
UUID=fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=A6DB-27DB /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
--------------------------------------------------------------------------------
=================== sdc2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
48.649414062 = 52.236910592 boot/grub/grub.cfg 3
4.831897736 = 5.188210688 boot/vmlinuz 1
4.831897736 = 5.188210688 boot/vmlinuz-5.3.0-18-generic 1
6.027217865 = 6.471675904 boot/vmlinuz-5.3.0-24-generic 1
6.409709930 = 6.882373632 boot/initrd.img 4
6.409709930 = 6.882373632 boot/initrd.img-5.3.0-18-generic 4
6.318439484 = 6.784372736 boot/initrd.img-5.3.0-24-generic 4
6.409709930 = 6.882373632 boot/initrd.img.old 4
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown MBR on /dev/sdb
00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |..D.....f@.....f|
000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |.....<.u........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 d0 03 00 00 00 00 00 00 94 0c 46 6e 00 00 80 00 |..........Fn....|
000001c0 01 00 00 62 e0 f7 00 00 00 00 00 1d 31 00 00 fe |...b........1...|
000001d0 ff ff ef fe ff ff b8 cc 30 00 00 1f 00 00 00 66 |........0......f|
000001e0 1f c8 83 5c 75 e7 00 20 31 00 00 58 46 00 00 00 |...\u.. 1..XF...|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
/dev/sdb1: unknown GPT attributes
1000000000000001
/dev/sdb2: unknown GPT attributes
1000000000000001
Unknown BootLoader on sda3
00000000 4c 55 4b 53 ba be 00 01 61 65 73 00 00 00 00 00 |LUKS....aes.....|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 78 74 73 2d 70 6c 61 69 |........xts-plai|
00000030 6e 36 34 00 00 00 00 00 00 00 00 00 00 00 00 00 |n64.............|
00000040 00 00 00 00 00 00 00 00 73 68 61 32 35 36 00 00 |........sha256..|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 40 |...............@|
00000070 5c 93 a7 e6 c2 8f 32 81 a4 5d 3a ad e6 5b 66 15 |\.....2..]:..[f.|
00000080 2e ec 9b a9 7c ab b7 78 5f e5 d8 b3 3c bf 10 93 |....|..x_...<...|
00000090 43 2c ee a3 c1 34 41 b0 fd 8b fd af 78 3b fd 50 |C,...4A.....x;.P|
000000a0 61 0d cd e3 00 01 59 37 64 36 32 39 32 34 30 34 |a.....Y7d6292404|
000000b0 2d 62 36 65 35 2d 34 32 38 33 2d 38 64 31 35 2d |-b6e5-4283-8d15-|
000000c0 62 32 33 63 33 62 65 65 66 62 36 66 00 00 00 00 |b23c3beefb6f....|
000000d0 00 ac 71 f3 00 05 74 a5 59 1a 5c a9 59 e7 18 4d |..q...t.Y.\.Y..M|
000000e0 8d 27 78 8e df 76 1d 0f c8 ec 7a 86 09 ca 07 f2 |.'x..v....z.....|
000000f0 5d 5c 9a 17 63 30 b2 8b 00 00 00 08 00 00 0f a0 |]\..c0..........|
00000100 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000120 00 00 00 00 00 00 00 00 00 00 02 00 00 00 0f a0 |................|
00000130 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000150 00 00 00 00 00 00 00 00 00 00 03 f8 00 00 0f a0 |................|
00000160 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 05 f0 00 00 0f a0 |................|
00000190 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 07 e8 00 00 0f a0 |................|
000001c0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 09 e0 00 00 0f a0 |................|
000001f0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000200
Unknown BootLoader on sdb1
00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |..D.....f@.....f|
000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |.....<.u........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 d0 03 00 00 00 00 00 00 94 0c 46 6e 00 00 80 00 |..........Fn....|
000001c0 01 00 00 62 e0 f7 00 00 00 00 00 1d 31 00 00 fe |...b........1...|
000001d0 ff ff ef fe ff ff b8 cc 30 00 00 1f 00 00 00 66 |........0......f|
000001e0 1f c8 83 5c 75 e7 00 20 31 00 00 58 46 00 00 00 |...\u.. 1..XF...|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/28045/mountinfo) leaked on lvs invocation. Parent PID 7504: bash
ADDITIONAL INFORMATION :
=================== log of boot-info 20191211_1545 ===================
boot-info version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-info is executed in installed-session (Ubuntu 19.10, eoan, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed quiet splash ---
mount: /mnt/boot-sav/sda3: unknown filesystem type 'crypto_LUKS'.
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: /mnt/boot-sav/sda3: unknown filesystem type 'crypto_LUKS'.
mount -r /dev/sda3 : Error code 32
=================== os-prober:
/dev/:The OS now in use - Ubuntu 19.10 CurrentSession:linux
/dev/sdc2:Ubuntu 19.10 (19.10):Ubuntu:linux
=================== blkid:
/dev/sda1: UUID="A6DB-27DB" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="b3c6b6e6-f49e-4b79-b771-513694459c9c"
/dev/sda2: UUID="cf4f1933-0cc0-4e8d-aecc-09a2538a3c79" TYPE="ext2" PARTUUID="6099bd1b-9c16-47cd-a649-1882e6ead2aa"
/dev/sdb1: UUID="2019-10-17-12-50-28-00" LABEL="Xubuntu 19.10 amd64" TYPE="iso9660" PTUUID="6e460c94" PTTYPE="dos" PARTUUID="6e460c94-01"
/dev/loop0: TYPE="squashfs"
/dev/sda3: UUID="d6292404-b6e5-4283-8d15-b23c3beefb6f" TYPE="crypto_LUKS" PARTUUID="da1c088c-33dc-4037-a355-f11e5f74e4f9"
/dev/sdb2: SEC_TYPE="msdos" UUID="866D-0A62" TYPE="vfat" PARTUUID="6e460c94-02"
/dev/sdb3: LABEL="casper-rw" UUID="d7507443-f243-4a17-91a7-bd816db66663" TYPE="ext4" PARTUUID="6e460c94-03"
/dev/sdc1: UUID="1FA0-985E" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="7dd02adb-c430-4aa2-b286-66991a415a1b"
/dev/sdc2: UUID="fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa" TYPE="ext4" PARTUUID="7d610a04-8312-4bd5-9a5d-4b5cb7e1308a"
(sda) has unknown type. Please report this message to boot.repair@gmail.com
2 disks with OS, 2 OS : 2 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
mount: /mnt/boot-sav/sda3: unknown filesystem type 'crypto_LUKS'.
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: /mnt/boot-sav/sda3: unknown filesystem type 'crypto_LUKS'.
mount -r /dev/sda3 : Error code 32
dd: invalid number: ‘0’
Warning: /var/log/boot-info/20191211_154517/sdb/current_mbr.img could not be created. Please report this message to boot.repair@gmail.com
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/fbx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/mmx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sdb2/EFI/Boot/grubx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sdb2/EFI/Boot/mmx64.efi
=================== /media/xubuntu/fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Dec 11 11:48 grub.d
total 128
-rwxr-xr-x 1 root root 10627 Oct 11 13:57 00_header
-rwxr-xr-x 1 root root 6258 Oct 11 13:57 05_debian_theme
-rwxr-xr-x 1 root root 17123 Oct 11 13:57 10_linux
-rwxr-xr-x 1 root root 37613 Oct 11 13:57 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Oct 11 13:57 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 Oct 11 13:57 30_os-prober
-rwxr-xr-x 1 root root 1418 Oct 11 13:57 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Oct 11 13:57 40_custom
-rwxr-xr-x 1 root root 216 Oct 11 13:57 41_custom
-rw-r--r-- 1 root root 483 Oct 11 13:57 README
=================== /media/xubuntu/fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa/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 sdc2: UUID=A6DB-27DB (sda1)
=================== efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0002,2001,2002,2003
Boot0000* Unknown Device: HD(1,GPT,b3c6b6e6-f49e-4b79-b771-513694459c9c,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
Boot0001* Linux HD(1,MBR,0x6e460c94,0x30ccb8,0x1f00)/File(EFIBootgrubx64.efi)RC
Boot0002* ubuntu PciRoot(0x0)/Pci(0x17,0x0)/Sata(2,0,0)/HD(1,GPT,38c8e40d-2718-4dbb-8a36-fb924d4801f9,0x800,0x32000)/File(EFIubuntugrubx64.efi)A01 ..
Boot0003* debian PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,GPT,aebc4d98-19ea-44b4-8dc8-1ecbc420737a,0x800,0x100000)/File(EFIbootbootx64.efi)A01 ..
Boot0004* Unknown Device: HD(1,GPT,38c8e40d-2718-4dbb-8a36-fb924d4801f9,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.
=================== PARTITIONS & DISKS:
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, /mnt/boot-sav/sda1.
sda2 : sda, is-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-maybe-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, /mnt/boot-sav/sda2.
sda3 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, 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, farbios, notbiosboot, /mnt/boot-sav/sda3.
sdb2 : sdb, 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, /mnt/boot-sav/sdb2.
sdb3 : sdb, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, 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, /var/log.
sdc1 : sdc, 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, /mnt/boot-sav/sdc1.
sdc2 : sdc, not-sepboot, grubenv-ok grub2, signed grub-pc 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, /media/xubuntu/fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
sdb : not-GPT, BIOSboot-not-needed, has-correctEFI, usb-disk, not-mmc, no-os, 0 sectors * 512 bytes
sdc : GPT, no-BIOS_boot, has-correctEFI, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABD1:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:1050MB:512MB:ext2::;
3:1050MB:1000GB:999GB:::;
BYT;
/dev/sdb:4009MB:scsi:512:512:unknown:General USB Flash Disk:;
BYT;
/dev/sdc:128GB:scsi:512:512:gpt:ATA KINGSTON RBUSNS8:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:128GB:127GB:ext4::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
loop0 loop squashfs 1.4G
sda disk 931.5G
sda1 part vfat 512M
sda2 part ext2 488M
sda3 part crypto_LUKS 930.5G
sdb disk iso9660 3.8G Xubuntu 19.10 amd64
sdb1 part iso9660 1.5G Xubuntu 19.10 amd64
sdb2 part vfat 3.9M Xubuntu 19.10 amd64
sdb3 part ext4 2.2G casper-rw
sdc disk 119.2G
sdc1 part vfat 512M
sdc2 part ext4 118.8G
sr0 rom 1024M
KNAME ROTA RO RM STATE MOUNTPOINT
loop0 1 1 0 /rofs
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /mnt/boot-sav/sda2
sda3 1 0 0
sdb 1 0 1 running
sdb1 1 0 1 /cdrom
sdb2 1 0 1 /mnt/boot-sav/sdb2
sdb3 1 0 1 /var/crash
sdc 0 0 0 running
sdc1 0 0 0 /mnt/boot-sav/sdc1
sdc2 0 0 0 /tmp/newroot
sr0 1 0 1 running
=================== 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=1901648k,nr_inodes=475412,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=389456k,mode=755)
/dev/sdb1 on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
/dev/sdb3 on /var/log type ext4 (rw,relatime)
/dev/sdb3 on /var/crash type ext4 (rw,relatime)
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)
cgroup2 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)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=36,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=17011)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=389452k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sdc2 on /media/xubuntu/fbd6cf91-d73f-4b97-8a9f-4cdaaac6c2fa type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2)
/dev/sdc2 on /tmp/newroot type ext4 (rw,relatime)
proc on /tmp/newroot/proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /tmp/newroot/dev type devtmpfs (rw,nosuid,relatime,size=1901648k,nr_inodes=475412,mode=755)
sysfs on /tmp/newroot/sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2 on /mnt/boot-sav/sda2 type ext2 (rw,relatime,stripe=4)
/dev/sdb2 on /mnt/boot-sav/sdb2 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sdc1 on /mnt/boot-sav/sdc1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=================== 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 mq power queue range removable ro sda1 sda2 sda3 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 mq power queue range removable ro sdb1 sdb2 sdb3 size slaves stat subsystem trace uevent
/sys/block/sdc (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sdc1 sdc2 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 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 sda3 sdb sdb1 sdb2 sdb3 sdc sdc1 sdc2 sg0 sg1 sg2 sg3 shm snapshot snd sr0 stderr stdin stdout tpm0 tpmrm0 udmabuf uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero zfs
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 fe 03 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 db 27 db a6 4e 4f 20 4e 41 4d 45 20 20 |..).'..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
=================== hexdump -n512 -C /dev/sdb2
00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
00000010 02 00 02 00 1f f8 06 00 20 00 40 00 00 00 00 00 |........ .@.....|
00000020 00 00 00 00 80 01 29 62 0a 6d 86 4e 4f 20 4e 41 |......)b.m.NO NA|
00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
000000c0 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
=================== hexdump -n512 -C /dev/sdc1
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 5e 98 a0 1f 4e 4f 20 4e 41 4d 45 20 20 |..)^...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 1.9G 0 1.9G 0% /dev
tmpfs tmpfs 381M 11M 370M 3% /run
/dev/sdb1 iso9660 1.6G 1.6G 0 100% /cdrom
/dev/loop0 squashfs 1.5G 1.5G 0 100% /rofs
/cow overlay 1.9G 286M 1.6G 16% /
/dev/disk/by-label/casper-rw ext4 2.2G 31M 2.0G 2% /var/log
tmpfs tmpfs 1.9G 109M 1.8G 6% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
tmpfs tmpfs 1.9G 720K 1.9G 1% /tmp
tmpfs tmpfs 381M 20K 381M 1% /run/user/999
/dev/sdc2 ext4 117G 7.8G 103G 8% /tmp/newroot
/dev/sda1 vfat 511M 7.8M 504M 2% /mnt/boot-sav/sda1
/dev/sda2 ext2 473M 48M 401M 11% /mnt/boot-sav/sda2
/dev/sdb2 vfat 3.9M 3.9M 22K 100% /mnt/boot-sav/sdb2
/dev/sdc1 vfat 511M 5.1M 506M 1% /mnt/boot-sav/sdc1
=================== fdisk -l:
Disk /dev/loop0: 1.44 GiB, 1530642432 bytes, 2989536 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: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ01ABD1
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: 78566375-1BD9-43FD-94EC-E229306D14E3
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 2050047 999424 488M Linux filesystem
/dev/sda3 2050048 1953523711 1951473664 930.5G Linux filesystem
Disk /dev/sdb: 3.75 GiB, 4008706048 bytes, 7829504 sectors
Disk model: USB Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6e460c94
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 3218687 3218688 1.5G 0 Empty
/dev/sdb2 3198136 3206071 7936 3.9M ef EFI (FAT-12/16/32)
/dev/sdb3 3219456 7829503 4610048 2.2G 83 Linux
Disk /dev/sdc: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk model: KINGSTON RBUSNS8
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 6A13EFDB-20AE-4177-8B99-156CB615138D
Device Start End Sectors Size Type
/dev/sdc1 2048 1050623 1048576 512M EFI System
/dev/sdc2 1050624 250068991 249018368 118.8G Linux filesystem
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sdc2, using the following options: sdc1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
=================== Blockers in case of suggested repair
Please use this software in a live-session (live-CD or live-USB). This will enable this feature.
=================== Advice in case of suggested repair
You may want to retry after decrypting your partitions. (https://help.ubuntu.com/community/EncryptedPrivateDirectory)
Do you want to continue?
=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sdc1/efi/.../grub*.efi file!
=================== User settings
The settings chosen by the user will not act on the boot.
On y voit ceci :
sda3: __________________________________________________________________________
File system: crypto_LUKS
Boot sector type: Unknown
Boot sector info:
Je pense que tu as fait une installation chiffrée sur le disque dur sda (c'est la mention "crypto_LUKS" qui l'indique). Il y a combien de temps que tu as fait cette installation chiffrée (à la louche) ? Est-ce qu'elle contient des données précieuses pour lesquelles tu n'as pas de sauvegarde ?
Dernière modification par malbo (Le 12/12/2019, à 08:38)
Hors ligne
#3 Le 12/12/2019, à 10:46
- pando25
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Bonjour,
Oui c'est en fait l'installation d'une autre distribution Trisquel que j'avais essaye apres debian, je pensais qu'il installerait le menu de demarrage en meme temps, mais justement l'installation s'est arretee a ce moment la, donc je ne pensais pas qu'il y etait.
sda
├─sda1
│ vfat A6DB-27DB
├─sda2
│ ext2 cf4f1933-0cc0-4e8d-aecc-09a2538a3c79
└─sda3
crypto d6292404-b6e5-4283-8d15-b23c3beefb6f
└─luks-d6292404-b6e5-4283-8d15-b23c3beefb6f
LVM2_m Zlmitf-AUNv-oJOg-Ac4N-Jzt2-gNvx-sPdflG
├─trisquel--vg-root
│ ext4 f5b0d9e6-8629-49dd-8078-28f3a8dc67eb 863.2G 0% /media/xub
└─trisquel--vg-swap_1
swap 6cdaf1ac-5418-4acc-8345-fb451af3458c
Donc non pas de donnees importantes a conserver.
Hors ligne
#4 Le 12/12/2019, à 12:49
- malbo
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
La première phrase de ton post #1 me laisse dans le doute. Est-ce que tu as l'intention de refaire un dual-boot Windows/Xubuntu dans cet ordi ou bien est-ce que tu as renoncé à Windows et que tu souhaites Xubuntu tout seul ?
Hors ligne
#5 Le 12/12/2019, à 12:53
- pando25
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
C'est ça je voudrais Xubuntu tout seul.
Hors ligne
#6 Le 12/12/2019, à 13:50
- malbo
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
A mon avis, il faudrait virer tout ce que tu as dans le SSD et le disque dur pour faire une install toute propre. Mais je laisse l'opportunité à un autre aidant de proposer une solution plus conservatrice. Moi je n'ai pas le courage.
Hors ligne
#7 Le 13/12/2019, à 21:30
- pando25
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Merci malbo, je ne sais pas du tout comment faire ca, mais s'il y a un moyen sans risque de le faire, ca m'intéresse.
Avant j'aimerais essayer de comprendre les résultats de mes tentatives pour installer le grub car je me suis peut-etre trompée dans les formules.
Par exemple, post#1 quand j'ai essayé le chroot pour le sdc2, quand j'écris < /usr/sbin/update-grub >il y a une premiere erreur :
root@xubuntu:/# /usr/sbin/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.3.0-24-generic
Found initrd image: /boot/initrd.img-5.3.0-24-generic
Found linux image: /boot/vmlinuz-5.3.0-18-generic
Found initrd image: /boot/initrd.img-5.3.0-18-generic
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Adding boot menu entry for EFI firmware configuration
done
pourquoi sort-il /sdb1 ? c'est juste l'emplacement de la cle usb qui fait tourner la session live pourtant, est-ce parce qu'il veut utiliser le grub du xubuntu live pour l'installer sur l'ordi ?
dans ce cas, ca coince p-etre parce que le xubuntu 19.10 que j'ai installé apres l'erreur n'a jamais été démarré? (je ne crois qu'a moitié a mes hypotheses car évidemment je debute totalement dans la lecture de ce language..)
Ou bien serait-ce parce que j'aurais du commencer le chroot en écrivant sdc2 au lieu de sdc1, car 'Suggested repair' parle aussi d'utiliser sdc1/boot/efi :
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sdc2, using the following options: sdc1/boot/efi,
Additional repai
et aussi la :
=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sdc1/efi/.../grub*.efi file!
Sinon, je vais aussi essayer d'effacer juste la partition cryptée luks comme suggéré dans le boot-info, + retenter de booter avec une cle usb boot repair pour voir si celui-ci accepterait cette fois de m'aider.
Bon je vous tiens au courant de mon cas! >M<
Hors ligne
#8 Le 14/12/2019, à 08:27
- malbo
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Merci malbo, je ne sais pas du tout comment faire ca, mais s'il y a un moyen sans risque de le faire, ca m'intéresse.
risque de quoi ?
Hors ligne
#9 Le 14/12/2019, à 11:33
- pando25
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Que les installations de distributions futures ne fonctionnent toujours pas...?
Il est possible de faire le formatage des 2 disques durs simplement avec une live session et le logiciel Disks, écraser toutes les données et que le système d'exploitation linux installé ensuite soit assez complet pour trouver ses marques et installer son grub etc sur la machine ? J'espere ne pas avoir a utiliser un cd de recuperation windows..
Hors ligne
#10 Le 14/12/2019, à 11:52
- malbo
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Tu as indiqué dans le post #1 que ton ordi est un "E5-774G". Si tu fais une recherche dans la Liste des portables « Acer, tu trouveras 5 modèles dont le nom contient "E5-774G". Par conséquent, je suis certain que Ubuntu ou une de ces variante est bien compatible avec ton modèle d'ordi.
Hors ligne
#11 Le 14/12/2019, à 15:06
- pando25
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
D'accord, j'avais mal compris pourquoi tu disais ne pas avoir le courage! Je pensais que c'etait par rapport aux "risques" de virer tout et faire une install toute propre.
Du coup, si je vire tout et installe xubuntu qui marchait bien, cette fois c'est 100% sur que le grub s'installe correctement ?
Hors ligne
#12 Le 14/12/2019, à 15:08
- malbo
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Je n'avais pas le courage de t'aider à réparer le bordel que tu avais créé dans ton ordi. Par contre, j'ai le courage de t'aider à tout virer et tout réinstaller à neuf.
Hors ligne
#13 Le 14/12/2019, à 19:03
- pando25
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Super! Merci! Est ce que tu utiliserais cette méthode avec le logiciel disks ? https://lecrabeinfo.net/effacer-complet … linux.html
Hors ligne
#14 Le 14/12/2019, à 21:29
- malbo
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Non. Il suffit d'utiliser Gparted depuis une session live de Xubuntu. Avec Gparted, tu peux créer une nouvelle table de partition GPT (*) sur le disque dur et créer dedans une seule partition (**) au format EXT4 destinée à devenir la partition /home. Toujours avec Gparted, tu peux créer une nouvelle table de partition GPT sur le SSD et tu peux créer dedans :
une partition EFI : voir 2.6 Créer une partition EFI
une partition EXT4 destinée à devenir la partition racine (lui allouer tout l'espace restant sur le SSD)
Quand ce sera fait, tu pourras lancer l'installation de Xubuntu en sélectionnant "Autre chose" à l'étape "Type de partitionnement" et en affectant les partitions préparées d'avance avec Gparted en t'appuyant sur la doc "Installation d'Ubuntu : partitionnement manuel"
(*) voir Création d’une nouvelle table de partitions
(**) voir Création d’une nouvelle partition
Dernière modification par malbo (Le 14/12/2019, à 21:39)
Hors ligne
#15 Le 17/12/2019, à 00:22
- pando25
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Enfin ça démarre ! Trop contente !
Après l'installation, il a fallu encore aller chercher le fichier de boot shimx64.efi dans 'Select an uefi file as trusted for executng', comme expliqué ici.
En tous cas merci Malbo!
Hors ligne
#16 Le 17/12/2019, à 07:13
- malbo
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Après l'installation, il a fallu encore aller chercher le fichier de boot shimx64.efi dans 'Select an uefi file as trusted for executng'
Oui, c'est bien ce qu'il fallait faire.
Je te suggère de faire un Boot-info depuis une session de ton Xubuntu fraîchement installé et de donner l'URL de ce Boot-info dans ta réponse. Je pourrai voir si tout est correct.
Hors ligne
#17 Le 17/12/2019, à 12:19
- pando25
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Yes! voici
je ne sais pas pourquoi il y a toujours un debian qui s'affiche dans la liste, faut-il faire quelque chose comme update-grub? L'ordi met un petit peu plus de temps à démarrer qu'avant (mais tant que ça démarre ça ne me dérange pas!)
=================== efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0000,2001,0001,2002,2003
Boot0000* ubuntu PciRoot(0x0)/Pci(0x17,0x0)/Sata(2,0,0)/HD(1,GPT,38c8e40d-2718-4dbb-8a36-fb924d4801f9,0x800,0x32000)/File(EFIubuntugrubx64.efi)A01 ..
Boot0001* shimx PciRoot(0x0)/Pci(0x17,0x0)/Sata(2,0,0)/HD(1,GPT,4643c00b-df03-4b62-8526-cc7857194130,0x800,0x4b000)/File(EFIubuntushimx64.efi)A01 ).
Boot0002* Unknown Device: HD(1,GPT,4643c00b-df03-4b62-8526-cc7857194130,0x800,0x4b000)/File(EFIubuntushimx64.efi)RC
Boot0003* debian PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,GPT,aebc4d98-19ea-44b4-8dc8-1ecbc420737a,0x800,0x100000)/File(EFIbootbootx64.efi)A01 ..
Boot0004* Unknown Device: HD(1,GPT,38c8e40d-2718-4dbb-8a36-fb924d4801f9,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
Hors ligne
#18 Le 17/12/2019, à 12:43
- malbo
Re : (Résolu) Echec reinstallation grub, pblm avec boot repair
Ton Boot-info est là :
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
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/BOOT/mmx64.efi /EFI/ubuntu/grubx64.efi
/EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi
sdb2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 19.10
Boot files: /boot/grub/grub.cfg /etc/fstab
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ01ABD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 2,048 1,953,525,134 1,953,523,087 Data partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk model: KINGSTON RBUSNS8
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 1 250,069,679 250,069,679 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdb1 2,048 309,247 307,200 EFI System partition
/dev/sdb2 309,248 250,069,013 249,759,766 Data partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 6620b092-2447-4f8c-8fd7-691bf0dfc333 ext4
/dev/sdb1 73E4-2A1C vfat BOOT
/dev/sdb2 ef497191-c773-4975-b545-8a3d5378e112 ext4
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Dec 17 10:57 ata-KINGSTON_RBUSNS8280S3128GH2_50026B736B01E54F -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 17 10:57 ata-KINGSTON_RBUSNS8280S3128GH2_50026B736B01E54F-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 17 10:57 ata-KINGSTON_RBUSNS8280S3128GH2_50026B736B01E54F-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Dec 17 10:48 ata-Slimtype_DVD_A_DA8AESH_0080F01164719651F101 -> ../../sr0
lrwxrwxrwx 1 root root 9 Dec 17 10:57 ata-TOSHIBA_MQ01ABD100_Z62ZP0W9T -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 17 10:57 ata-TOSHIBA_MQ01ABD100_Z62ZP0W9T-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Dec 17 10:57 wwn-0x5000039773282608 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 17 10:57 wwn-0x5000039773282608-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Dec 17 10:57 wwn-0x502b2a201d1c1b1a -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 17 10:57 wwn-0x502b2a201d1c1b1a-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 17 10:57 wwn-0x502b2a201d1c1b1a-part2 -> ../../sdb2
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 /home ext4 (rw,relatime)
/dev/sdb1 /boot/efi vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sdb2 / ext4 (rw,relatime,errors=remount-ro)
========================== sdb1/EFI/ubuntu/grub.cfg: ===========================
--------------------------------------------------------------------------------
search.fs_uuid ef497191-c773-4975-b545-8a3d5378e112 root hd2,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------
=========================== sdb2/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='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 ef497191-c773-4975-b545-8a3d5378e112
else
search --no-floppy --fs-uuid --set=root ef497191-c773-4975-b545-8a3d5378e112
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=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=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ef497191-c773-4975-b545-8a3d5378e112' {
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='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 ef497191-c773-4975-b545-8a3d5378e112
else
search --no-floppy --fs-uuid --set=root ef497191-c773-4975-b545-8a3d5378e112
fi
linux /boot/vmlinuz-5.3.0-24-generic root=UUID=ef497191-c773-4975-b545-8a3d5378e112 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.3.0-24-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-ef497191-c773-4975-b545-8a3d5378e112' {
menuentry 'Ubuntu, with Linux 5.3.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-24-generic-advanced-ef497191-c773-4975-b545-8a3d5378e112' {
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='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 ef497191-c773-4975-b545-8a3d5378e112
else
search --no-floppy --fs-uuid --set=root ef497191-c773-4975-b545-8a3d5378e112
fi
echo 'Loading Linux 5.3.0-24-generic ...'
linux /boot/vmlinuz-5.3.0-24-generic root=UUID=ef497191-c773-4975-b545-8a3d5378e112 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.3.0-24-generic
}
menuentry 'Ubuntu, with Linux 5.3.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-24-generic-recovery-ef497191-c773-4975-b545-8a3d5378e112' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 ef497191-c773-4975-b545-8a3d5378e112
else
search --no-floppy --fs-uuid --set=root ef497191-c773-4975-b545-8a3d5378e112
fi
echo 'Loading Linux 5.3.0-24-generic ...'
linux /boot/vmlinuz-5.3.0-24-generic root=UUID=ef497191-c773-4975-b545-8a3d5378e112 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.3.0-24-generic
}
menuentry 'Ubuntu, with Linux 5.3.0-18-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-18-generic-advanced-ef497191-c773-4975-b545-8a3d5378e112' {
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='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 ef497191-c773-4975-b545-8a3d5378e112
else
search --no-floppy --fs-uuid --set=root ef497191-c773-4975-b545-8a3d5378e112
fi
echo 'Loading Linux 5.3.0-18-generic ...'
linux /boot/vmlinuz-5.3.0-18-generic root=UUID=ef497191-c773-4975-b545-8a3d5378e112 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.3.0-18-generic
}
menuentry 'Ubuntu, with Linux 5.3.0-18-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-18-generic-recovery-ef497191-c773-4975-b545-8a3d5378e112' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd2,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2 ef497191-c773-4975-b545-8a3d5378e112
else
search --no-floppy --fs-uuid --set=root ef497191-c773-4975-b545-8a3d5378e112
fi
echo 'Loading Linux 5.3.0-18-generic ...'
linux /boot/vmlinuz-5.3.0-18-generic root=UUID=ef497191-c773-4975-b545-8a3d5378e112 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.3.0-18-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 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sdb2/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/sdc2 during installation
UUID=ef497191-c773-4975-b545-8a3d5378e112 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdc1 during installation
UUID=73E4-2A1C /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda1 during installation
UUID=6620b092-2447-4f8c-8fd7-691bf0dfc333 /home ext4 defaults 0 2
/swapfile none swap sw 0 0
--------------------------------------------------------------------------------
=================== sdb2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
38.370574951 = 41.200091136 boot/grub/grub.cfg 2
4.181632996 = 4.489994240 boot/vmlinuz 2
4.181632996 = 4.489994240 boot/vmlinuz-5.3.0-18-generic 2
113.439327240 = 121.804550144 boot/vmlinuz-5.3.0-24-generic 1
114.629489899 = 123.082477568 boot/initrd.img 1
114.629489899 = 123.082477568 boot/initrd.img-5.3.0-18-generic 1
114.185153961 = 122.605375488 boot/initrd.img-5.3.0-24-generic 2
114.629489899 = 123.082477568 boot/initrd.img.old 1
ADDITIONAL INFORMATION :
=================== log of boot-info 20191217_1057 ===================
boot-info version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 19.10, eoan, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
BOOT_IMAGE=/boot/vmlinuz-5.3.0-24-generic root=UUID=ef497191-c773-4975-b545-8a3d5378e112 ro quiet splash vt.handoff=7
=================== os-prober:
/dev/sdb2:L'OS actuellement utilisé - Ubuntu 19.10 CurrentSession:linux
=================== blkid:
/dev/sdb2: UUID="ef497191-c773-4975-b545-8a3d5378e112" TYPE="ext4" PARTUUID="14219aa4-744c-480b-9637-94afde39a79c"
/dev/sda1: UUID="6620b092-2447-4f8c-8fd7-691bf0dfc333" TYPE="ext4" PARTLABEL="/home" PARTUUID="07f7a545-a465-4499-bf4e-188c50d54aed"
/dev/sdb1: LABEL_FATBOOT="BOOT" LABEL="BOOT" UUID="73E4-2A1C" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="4643c00b-df03-4b62-8526-cc7857194130"
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 Dez 16 14:31 grub.d
total 128
-rwxr-xr-x 1 root root 10627 Okt 11 15:57 00_header
-rwxr-xr-x 1 root root 6258 Okt 11 15:57 05_debian_theme
-rwxr-xr-x 1 root root 17123 Okt 11 15:57 10_linux
-rwxr-xr-x 1 root root 37613 Okt 11 15:57 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Okt 11 15:57 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 Okt 11 15:57 30_os-prober
-rwxr-xr-x 1 root root 1418 Okt 11 15:57 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Okt 11 15:57 40_custom
-rwxr-xr-x 1 root root 216 Okt 11 15:57 41_custom
-rw-r--r-- 1 root root 483 Okt 11 15:57 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 sdb2: UUID=73E4-2A1C (sdb1)
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/fbx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/mmx64.efi
=================== efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0000,2001,0001,2002,2003
Boot0000* ubuntu PciRoot(0x0)/Pci(0x17,0x0)/Sata(2,0,0)/HD(1,GPT,38c8e40d-2718-4dbb-8a36-fb924d4801f9,0x800,0x32000)/File(EFIubuntugrubx64.efi)A01 ..
Boot0001* shimx PciRoot(0x0)/Pci(0x17,0x0)/Sata(2,0,0)/HD(1,GPT,4643c00b-df03-4b62-8526-cc7857194130,0x800,0x4b000)/File(EFIubuntushimx64.efi)A01 ).
Boot0002* Unknown Device: HD(1,GPT,4643c00b-df03-4b62-8526-cc7857194130,0x800,0x4b000)/File(EFIubuntushimx64.efi)RC
Boot0003* debian PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,GPT,aebc4d98-19ea-44b4-8dc8-1ecbc420737a,0x800,0x100000)/File(EFIbootbootx64.efi)A01 ..
Boot0004* Unknown Device: HD(1,GPT,38c8e40d-2718-4dbb-8a36-fb924d4801f9,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot enabled.
=================== PARTITIONS & DISKS:
sdb2 : sdb, not-sepboot, grubenv-ok grub2, signed grub-pc 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, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, 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, farbios, notbiosboot, /home.
sdb1 : sdb, 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.
sdb : GPT, no-BIOS_boot, has-correctEFI, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sda : GPT, no-BIOS_boot, has-no-EFIpart, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABD1:;
1:1049kB:1000GB:1000GB:ext4:/home:;
BYT;
/dev/sdb:128GB:scsi:512:512:gpt:ATA KINGSTON RBUSNS8:;
1:1049kB:158MB:157MB:fat32:EFI System Partition:boot, esp;
2:158MB:128GB:128GB:ext4::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 931,5G
sda1 part ext4 931,5G
sdb disk 119,2G
sdb1 part vfat 150M BOOT
sdb2 part ext4 119,1G
sr0 rom 1024M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /home
sdb 0 0 0 running
sdb1 0 0 0 /boot/efi
sdb2 0 0 0 /
sr0 1 0 1 running
=================== 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=1920124k,nr_inodes=480031,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=389456k,mode=755)
/dev/sdb2 on / type ext4 (rw,relatime,errors=remount-ro)
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)
cgroup2 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)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
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/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
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=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15545)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/dev/sdb1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda1 on /home type ext4 (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=389452k,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)
=================== 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 mq power queue range removable ro sda1 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 mq power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 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 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout tpm0 tpmrm0 udmabuf uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero zfs
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sdb1
00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 01 20 00 |.X.mkfs.fat... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 b0 04 00 3b 09 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 1c 2a e4 73 42 4f 4f 54 20 20 20 20 20 |..).*.sBOOT |
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 1.9G 0 1.9G 0% /dev
tmpfs tmpfs 381M 1.4M 379M 1% /run
/dev/sdb2 ext4 117G 7.7G 104G 7% /
tmpfs tmpfs 1.9G 36M 1.9G 2% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sdb1 vfat 148M 7.8M 140M 6% /boot/efi
/dev/sda1 ext4 916G 137M 870G 1% /home
tmpfs tmpfs 381M 12K 381M 1% /run/user/1000
=================== fdisk -l:
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ01ABD1
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: F80FCB7A-0EB3-4D73-A9EB-8B4B67311164
Device Start End Sectors Size Type
/dev/sda1 2048 1953525134 1953523087 931.5G Linux filesystem
Disk /dev/sdb: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk model: KINGSTON RBUSNS8
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0C9268C4-7B80-43B3-ADCB-D501DA2EC53F
Device Start End Sectors Size Type
/dev/sdb1 2048 309247 307200 150M EFI System
/dev/sdb2 309248 250069013 249759766 119.1G Linux filesystem
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sdb2, using the following options: sdb1/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 sdb1/efi/.../grub*.efi !
=================== User settings
The settings chosen by the user will not act on the boot.
Pour moi, l'install est presque parfaite sauf que la ligne suivante :
BootOrder: 0000,2001,0001,2002,2003
révèle que l'entrée 0001 (*) n'est pas en priorité de démarrage. Il faut rectifier cela (tu peux t'appuyer sur la fin de la procédure fnx)
(*) il s'agit de l'entrée que tu as créée en suivant la procédure de Gesbuklu
Dernière modification par malbo (Le 17/12/2019, à 12:48)
Hors ligne