pc31 a écrit
J'ai un portable Toshiba Satellite pro
Bonjour,
Je te pris de donner le nom complet du modèle de ce portable.
EDIT : je colle ci-dessous le contenu du rapport de Boot-repair dont tu as donné le lien (
http://paste.ubuntu.com/p/jp4rf5QFZt/ ) dans le post #1 :
boot-repair-4ppa95 [20200502_1710]
============================== Boot Repair Summary ===============================
boot-repair is executed in live-session (Ubuntu 20.04 LTS, focal, 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 ---
Warning: failed to translate partition name
Windows not detected by os-prober on nvme0n1p3.
================================ 2 OS detected =================================
OS#1: Ubuntu 20.04 LTS on nvme0n1p6
OS#2: Windows on nvme0n1p3
======================= nvme0n1p6/etc/grub.d/ (filtered) =======================
drwxr-xr-x 3 root root 4096 May 1 17:09 grub.d
-rwxr-xr-x 1 root root 10627 Apr 15 11:31 00_header
-rwxr-xr-x 1 root root 6258 Apr 15 11:31 05_debian_theme
-rwxr-xr-x 1 root root 17123 Apr 15 11:31 10_linux
-rwxr-xr-x 1 root root 42128 Apr 15 11:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Apr 15 11:31 20_linux_xen
-rwxr-xr-x 1 root root 1992 Feb 13 23:09 20_memtest86+
-rwxr-xr-x 1 root root 12059 Apr 15 11:31 30_os-prober
-rwxr-xr-x 1 root root 1424 Apr 15 11:31 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Apr 15 11:31 40_custom
-rwxr-xr-x 1 root root 216 Apr 15 11:31 41_custom
drwxr-xr-x 4 root root 4096 May 1 17:09 backup
=================== /boot/efi detected in the fstab of nvme0n1p6: UUID=62FA-3933 (nvme0n1p1)
================================== m5sum efi ===================================
f7a57b08bc7c1c85417ae4cea582d1d4 /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
bed45d1c9554cea09924d3814cb7c446 /mnt/boot-sav/nvme0n1p1/efi/Boot/fbx64.efi
4487628005555bfd4a4c0a47211e0700 /mnt/boot-sav/nvme0n1p1/efi/Boot/mmx64.efi
98bea152fadd26c4e9136916f6cc32a8 /mnt/boot-sav/nvme0n1p1/efi/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 /mnt/boot-sav/nvme0n1p1/efi/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 /mnt/boot-sav/nvme0n1p1/efi/ubuntu/shimx64.efi
cb8e4284804d56f058c0e1cf111eeedd /mnt/boot-sav/nvme0n1p1/efi/Microsoft/Boot/bootmgfw.efi
3df357ffd0654bb80f2a575485e6e0cc /mnt/boot-sav/nvme0n1p1/efi/Microsoft/Boot/bootmgr.efi
ceae0e7d3961a8b1ddee52a2975a462a /mnt/boot-sav/nvme0n1p1/efi/toshiba/Boot/bootmgfw.efi
3bae112c64bea7f4882c4f60a18de2f9 /mnt/boot-sav/nvme0n1p1/efi/toshiba/Boot/bootmgr.efi
085052c3fb68b401bb2e6a1dae0f26ee /mnt/boot-sav/nvme0n1p5/efi/boot/bootx64.efi
c50f8ba70eec397433e84904919e98ad /mnt/boot-sav/nvme0n1p5/efi/microsoft/boot/cdboot.efi
22e9f2d2e920958952770ba68db0be28 /mnt/boot-sav/nvme0n1p5/efi/microsoft/boot/cdboot_noprompt.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/nvme0n1p1/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/nvme0n1p1/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/nvme0n1p1/EFI/Boot/fbx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/nvme0n1p1/EFI/Boot/mmx64.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/nvme0n1p5/EFI/Microsoft/boot/cdboot.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/nvme0n1p5/EFI/Microsoft/boot/cdboot_noprompt.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/nvme0n1p5/EFI/Boot/bootx64.efi
/usr/share/boot-sav/bs-cmd_terminal.sh: line 181: warning: command substitution: ignored null byte in input
================================ efibootmgr -v =================================
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,2004,0004,2005,2001,2003
Boot0000* ubuntu HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(EFIubuntushimx64.efi)RC
Boot0001* EFI Hard Drive (KBG40ZNV256G TOSHIBA MEMORY) PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,8C-E3-8E-04-00-53-88-F7)/HD(5,GPT,fdd7fd7e-4253-49ae-9793-4d447cefbcb8,0x1c63928f,0x16ba000)RC
Boot0002* EFI PXE 0 for IPv4 (7C-D3-0A-90-78-E2) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9078e2,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0003* EFI PXE 0 for IPv6 (7C-D3-0A-90-78-E2) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9078e2,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0004* Windows Boot Manager HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0005* Linpus lite HD(1,MBR,0x27acbd,0x800,0xef3800)/File(EFIBootgrubx64.efi)RC
Boot2001* EFI USB Device RC
Boot2003* EFI Network RC
Boot2004* HDD1/SSD1 RC
Boot2005* HDD2/SSD2 RC
=============================== UEFI/Legacy mode ===============================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session. SecureBoot disabled.
=============================== PARTITIONS (1/3) ===============================
nvme0n1p1 : nvme0n1, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is---ESP, part-has-no-fstab
nvme0n1p3 : nvme0n1, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, isnotESP, part-has-no-fstab
nvme0n1p4 : nvme0n1, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, isnotESP, part-has-no-fstab
nvme0n1p5 : nvme0n1, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, isnotESP, part-has-no-fstab
nvme0n1p6 : nvme0n1, not-sepboot, grubenv-ok grub2, signed grub-pc grub-efi , update-grub, 64, with-boot, is-os, isnotESP, fstab-without-boot
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, isnotESP, part-has-no-fstab
sda2 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, isnotESP, part-has-no-fstab
=============================== PARTITIONS (2/3) ===============================
nvme0n1p1 : part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall
nvme0n1p3 : part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall
nvme0n1p4 : part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, nopakmgr, nogrubinstall
nvme0n1p5 : part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot, nopakmgr, nogrubinstall
nvme0n1p6 : fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install
sda1 : part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall
sda2 : part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall
=============================== PARTITIONS (3/3) ===============================
nvme0n1p1 : no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, notbiosboot, /mnt/boot-sav/nvme0n1p1.
nvme0n1p3 : no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/nvme0n1p3.
nvme0n1p4 : no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/nvme0n1p4.
nvme0n1p5 : no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/nvme0n1p5.
nvme0n1p6 : with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/nvme0n1p6.
sda1 : no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda1.
sda2 : no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda2.
==================================== DISKS =====================================
nvme0n1 : GPT, no-BIOS_boot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sda : not-GPT, BIOSboot-not-needed, has-noESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
================================== parted -lm ==================================
BYT;
/dev/sda:1000GB:scsi:512:4096:msdos:ATA WDC WD10SPZX-26Z:;
1:1049kB:371GB:371GB:ntfs::;
2:371GB:1000GB:629GB:ext4::;
BYT;
/dev/sdb:8028MB:scsi:512:512:msdos:Kingston DataTraveler 2.0:;
1:1049kB:8028MB:8027MB:fat32::boot, lba;
BYT;
/dev/nvme0n1:256GB:nvme:512:512:gpt:KBG40ZNV256G TOSHIBA MEMORY:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:121GB:121GB:ntfs:Basic data partition:msftdata;
6:121GB:243GB:122GB:ext4::;
4:243GB:244GB:1038MB:ntfs:Basic data partition:hidden, diag;
5:244GB:256GB:12.2GB:fat32::hidden, diag;
=============== lsblk -o KNAME,TYPE,FSTYPE,SIZE,LABEL (filtered) ===============
KNAME TYPE FSTYPE SIZE LABEL
sda disk 931.5G
sda1 part ntfs 345.6G
sda2 part ext4 586G
sdb disk 7.5G
sdb1 part vfat 7.5G XUBUNTU 20_
nvme0n1 disk 238.5G
nvme0n1p1 part vfat 260M ESP
nvme0n1p2 part 16M
nvme0n1p3 part ntfs 112.6G TIH0448500A
nvme0n1p4 part ntfs 990M WinRE
nvme0n1p5 part vfat 11.4G HDDR
nvme0n1p6 part ext4 113.3G
============ lsblk -o KNAME,ROTA,RO,RM,STATE,MOUNTPOINT (filtered) =============
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /mnt/boot-sav/sda2
sdb 1 0 1 running
sdb1 1 0 1 /cdrom
nvme0n1 0 0 0 live
nvme0n1p1 0 0 0 /mnt/boot-sav/nvme0n1p1
nvme0n1p2 0 0 0
nvme0n1p3 0 0 0 /mnt/boot-sav/nvme0n1p3
nvme0n1p4 0 0 0 /mnt/boot-sav/nvme0n1p4
nvme0n1p5 0 0 0 /mnt/boot-sav/nvme0n1p5
nvme0n1p6 0 0 0 /mnt/boot-sav/nvme0n1p6
=============================== mount (filtered) ===============================
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/dev/nvme0n1p1 on /mnt/boot-sav/nvme0n1p1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme0n1p3 on /mnt/boot-sav/nvme0n1p3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/nvme0n1p4 on /mnt/boot-sav/nvme0n1p4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/nvme0n1p5 on /mnt/boot-sav/nvme0n1p5 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme0n1p6 on /mnt/boot-sav/nvme0n1p6 type ext4 (rw,relatime)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime)
================================ ls (filtered) =================================
/sys/block/nvme0n1: alignment_offset bdi capability dev device discard_alignment eui events events_async events_poll_msecs ext_range hidden holders inflight integrity lightnvm mq nguid nsid nvme0n1p1 nvme0n1p2 nvme0n1p3 nvme0n1p4 nvme0n1p5 nvme0n1p6 power queue range removable ro size slaves stat subsystem trace uevent uuid wwid
/sys/block/sda: 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 size slaves stat subsystem trace uevent
/sys/block/sdb: 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 size slaves stat subsystem trace uevent
/dev: autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hpet hugepages hwrng initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem mqueue net null nvme0 nvme0n1 nvme0n1p1 nvme0n1p2 nvme0n1p3 nvme0n1p4 nvme0n1p5 nvme0n1p6 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout tpm0 tpmrm0 udmabuf uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero zfs
============================== df -Th (filtered) ===============================
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb1 vfat 7.5G 1.6G 6.0G 21% /cdrom
/cow overlay 3.9G 293M 3.6G 8% /
/dev/nvme0n1p1 vfat 256M 62M 195M 24% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3 fuseblk 113G 36G 78G 32% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4 fuseblk 990M 447M 544M 46% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5 vfat 12G 11G 1000M 92% /mnt/boot-sav/nvme0n1p5
/dev/nvme0n1p6 ext4 112G 8.1G 98G 8% /mnt/boot-sav/nvme0n1p6
/dev/sda1 fuseblk 346G 111M 346G 1% /mnt/boot-sav/sda1
/dev/sda2 ext4 576G 43G 505G 8% /mnt/boot-sav/sda2
============================= fdisk -l (filtered) ==============================
Disk /dev/nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: KBG40ZNV256G TOSHIBA MEMORY
Disklabel type: gpt
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
/dev/nvme0n1p3 567296 236692110 236124815 112.6G Microsoft basic data
/dev/nvme0n1p4 474260111 476287630 2027520 990M Windows recovery environment
/dev/nvme0n1p5 476287631 500118158 23830528 11.4G Windows recovery environment
/dev/nvme0n1p6 236693504 474259455 237565952 113.3G Linux filesystem
Partition table entries are not in disk order.
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-26Z
Disklabel type: dos
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 724721663 724719616 345.6G 7 HPFS/NTFS/exFAT
/dev/sda2 724721664 1953523711 1228802048 586G 83 Linux
Disk /dev/sdb: 7.49 GiB, 8027897856 bytes, 15679488 sectors
Disk model: DataTraveler 2.0
Disklabel type: dos
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 15679487 15677440 7.5G c W95 FAT32 (LBA)
============================== Recommended repair ==============================The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of nvme0n1p6, using the following options: nvme0n1p1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file
/boot/efi added in nvme0n1p6/fstab
Quantity of real Windows: 1
WinSE in nvme0n1p3
Copied Win boot files from nvme0n1p5 to nvme0n1p3
Mount nvme0n1p1 on /mnt/boot-sav/nvme0n1p6/boot/efi
f7a57b08bc7c1c85417ae4cea582d1d4 /mnt/boot-sav/nvme0n1p6/boot/efi/efi/Boot/bootx64.efi
bed45d1c9554cea09924d3814cb7c446 /mnt/boot-sav/nvme0n1p6/boot/efi/efi/Boot/fbx64.efi
4487628005555bfd4a4c0a47211e0700 /mnt/boot-sav/nvme0n1p6/boot/efi/efi/Boot/mmx64.efi
98bea152fadd26c4e9136916f6cc32a8 /mnt/boot-sav/nvme0n1p6/boot/efi/efi/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 /mnt/boot-sav/nvme0n1p6/boot/efi/efi/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 /mnt/boot-sav/nvme0n1p6/boot/efi/efi/ubuntu/shimx64.efi
cb8e4284804d56f058c0e1cf111eeedd /mnt/boot-sav/nvme0n1p6/boot/efi/efi/Microsoft/Boot/bootmgfw.efi
3df357ffd0654bb80f2a575485e6e0cc /mnt/boot-sav/nvme0n1p6/boot/efi/efi/Microsoft/Boot/bootmgr.efi
ceae0e7d3961a8b1ddee52a2975a462a /mnt/boot-sav/nvme0n1p6/boot/efi/efi/toshiba/Boot/bootmgfw.efi
3bae112c64bea7f4882c4f60a18de2f9 /mnt/boot-sav/nvme0n1p6/boot/efi/efi/toshiba/Boot/bootmgr.efi
Unhide GRUB boot menu in nvme0n1p6/etc/default/grub
========================== lspci -nnk | grep -iA3 vga ==========================
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics [8086:9b41] (rev 02)
Subsystem: Device [3100:0002]
Kernel driver in use: i915
Kernel modules: i915
============================ grub-install --version ============================
grub-install (GRUB) 2.04-1ubuntu26,grub-install (GRUB) 2.
=================== chroot /mnt/boot-sav/nvme0n1p6 efibootmgr -v
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,2004,0004,2005,2001,2003
Boot0000* ubuntu HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(EFIubuntushimx64.efi)RC
Boot0001* EFI Hard Drive (KBG40ZNV256G TOSHIBA MEMORY) PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,8C-E3-8E-04-00-53-88-F7)/HD(5,GPT,fdd7fd7e-4253-49ae-9793-4d447cefbcb8,0x1c63928f,0x16ba000)RC
Boot0002* EFI PXE 0 for IPv4 (7C-D3-0A-90-78-E2) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9078e2,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0003* EFI PXE 0 for IPv6 (7C-D3-0A-90-78-E2) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9078e2,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0004* Windows Boot Manager HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0005* Linpus lite HD(1,MBR,0x27acbd,0x800,0xef3800)/File(EFIBootgrubx64.efi)RC
Boot2001* EFI USB Device RC
Boot2003* EFI Network RC
Boot2004* HDD1/SSD1 RC
Boot2005* HDD2/SSD2 RC
=================== chroot /mnt/boot-sav/nvme0n1p6 uname -r
Kernel: 5.4.0-26-generic
=============== Reinstall the grub-efi-amd64-signed of nvme0n1p6 ===============
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
cp /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/nvme0n1p5/efi/ubuntu/shimx64.efi
cp /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p5/efi/ubuntu/
df /dev/nvme0n1p1
mv /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/Boot/bootx64.efi
cp /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/Boot/
Add /mnt/boot-sav/nvme0n1p6/boot/efi efi entries in /mnt/boot-sav/nvme0n1p6/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Adding custom /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/Boot/bkpbootx64.efi
Adding custom /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/Boot/fbx64.efi
Adding custom /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/Boot/mmx64.efi
nvme0n1p1/bkpbootx64.efi already added
nvme0n1p1/fbx64.efi already added
nvme0n1p1/mmx64.efi already added
Adding custom /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/ubuntu/mmx64.efi
nvme0n1p1/bootmgfw.efi already added
Adding custom /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/toshiba/Boot/bootmgfw.efi
df /dev/nvme0n1p5
mv /mnt/boot-sav/nvme0n1p5/efi/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p5/efi/Boot/bkpbootx64.efi
cp /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/nvme0n1p5/efi/Boot/bootx64.efi
cp /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p5/efi/Boot/
Add /mnt/boot-sav/nvme0n1p5 efi entries in /mnt/boot-sav/nvme0n1p6/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/nvme0n1p5/efi/boot/bkpbootx64.efi
Adding custom /mnt/boot-sav/nvme0n1p5/efi/microsoft/boot/cdboot.efi
Adding custom /mnt/boot-sav/nvme0n1p5/efi/microsoft/boot/cdboot_noprompt.efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
=================== chroot /mnt/boot-sav/nvme0n1p6 efibootmgr -v
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0000,0005,2004,0004,2005,2001,2003
Boot0000* ubuntu HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(EFIubuntushimx64.efi)
Boot0001* EFI Hard Drive (KBG40ZNV256G TOSHIBA MEMORY) PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,8C-E3-8E-04-00-53-88-F7)/HD(5,GPT,fdd7fd7e-4253-49ae-9793-4d447cefbcb8,0x1c63928f,0x16ba000)RC
Boot0002* EFI PXE 0 for IPv4 (7C-D3-0A-90-78-E2) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9078e2,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0003* EFI PXE 0 for IPv6 (7C-D3-0A-90-78-E2) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(7cd30a9078e2,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0004* Windows Boot Manager HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0005* Linpus lite HD(1,MBR,0x27acbd,0x800,0xef3800)/File(EFIBootgrubx64.efi)RC
Boot2001* EFI USB Device RC
Boot2003* EFI Network RC
Boot2004* HDD1/SSD1 RC
Boot2005* HDD2/SSD2 RC
chroot /mnt/boot-sav/nvme0n1p6 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-28-generic
Found initrd image: /boot/initrd.img-5.4.0-28-generic
Found linux image: /boot/vmlinuz-5.4.0-26-generic
Found initrd image: /boot/initrd.img-5.4.0-26-generic
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings
Unhide GRUB boot menu in nvme0n1p6/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on nvme0n1p1/EFI/ubuntu/shimx64.efi file!
If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
gawk packages needed
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi
/efi/Boot/fbx64.efi /efi/Boot/grubx64.efi
/efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/memtest.efi
/efi/toshiba/Boot/bootmgfw.efi
/efi/toshiba/Boot/bootmgr.efi
/efi/toshiba/Boot/memtest.efi
nvme0n1p2: _____________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
nvme0n1p3: _____________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10
Boot files: /bootmgr /boot/bcd /Windows/System32/winload.exe
nvme0n1p4: _____________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
nvme0n1p5: _____________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/boot/bkpbootx64.efi /efi/boot/bootx64.efi
/efi/boot/grubx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/shimx64.efi /efi/microsoft/boot/cdboot.efi
/efi/microsoft/boot/cdboot_noprompt.efi
/efi/microsoft/boot/memtest.efi /bootmgr /boot/bcd
nvme0n1p6: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.04
Boot sector info: Syslinux looks at sector 32784 of /dev/sdb1 for its
second stage. The integrity check of Syslinux failed.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg
/efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys
============================ Drive/Partition Info ==============================
Drive: nvme0n1 _____________________________________________________________________
Disk /dev/nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: KBG40ZNV256G TOSHIBA MEMORY
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/nvme0n1p1 1 500,118,191 500,118,191 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/nvme0n1p1 2,048 534,527 532,480 EFI System partition
/dev/nvme0n1p2 534,528 567,295 32,768 Microsoft Reserved Partition (Windows)
/dev/nvme0n1p3 567,296 236,692,110 236,124,815 Data partition (Windows/Linux)
/dev/nvme0n1p4 R 474,260,111 476,287,630 2,027,520 Windows Recovery Environment (Windows)
/dev/nvme0n1p5 R 476,287,631 500,118,158 23,830,528 Windows Recovery Environment (Windows)
/dev/nvme0n1p6 236,693,504 474,259,455 237,565,952 Data partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-26Z
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 2,048 724,721,663 724,719,616 7 NTFS / exFAT / HPFS
/dev/sda2 724,721,664 1,953,523,711 1,228,802,048 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 7.49 GiB, 8027897856 bytes, 15679488 sectors
Disk model: DataTraveler 2.0
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 * 2,048 15,679,487 15,677,440 c W95 FAT32 (LBA)
blkid (filtered): ______________________________________________________________
Device UUID TYPE LABEL
/dev/nvme0n1p1 62FA-3933 vfat ESP
/dev/nvme0n1p2
/dev/nvme0n1p3 38E8FAE7E8FAA1F4 ntfs TIH0448500A
/dev/nvme0n1p4 361EBE621EBE1B37 ntfs WinRE
/dev/nvme0n1p5 06C0-B7BF vfat HDDR
/dev/nvme0n1p6 cd839bd8-f907-46b5-9770-bd78544693ae ext4
/dev/sda1 EC00242E0023FE68 ntfs
/dev/sda2 8587a77e-b87a-4453-8b2c-145b02422c5d ext4
/dev/sdb1 549E-7E82 vfat XUBUNTU 20_
================================= Mount points =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/nvme0n1p1 /mnt/boot-sav/nvme0n1p1 vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme0n1p3 /mnt/boot-sav/nvme0n1p3 fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/nvme0n1p4 /mnt/boot-sav/nvme0n1p4 fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/nvme0n1p5 /mnt/boot-sav/nvme0n1p5 vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme0n1p6 /mnt/boot-sav/nvme0n1p6 ext4 (rw,relatime)
/dev/sda1 /mnt/boot-sav/sda1 fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda2 /mnt/boot-sav/sda2 ext4 (rw,relatime)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
======================== nvme0n1p1/efi/ubuntu/grub.cfg =========================
--------------------------------------------------------------------------------
search.fs_uuid cd839bd8-f907-46b5-9770-bd78544693ae root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------
=================== nvme0n1p6/boot/grub/grub.cfg (filtered) ====================
Ubuntu
Ubuntu, with Linux 5.4.0-28-generic
Ubuntu, with Linux 5.4.0-26-generic
menuentry "Windows UEFI bootmgfw.efi" {
menuentry "Windows Boot UEFI loader" {
menuentry "Windows Boot UEFI fbx64.efi" {
menuentry "Windows Boot UEFI mmx64.efi" {
menuentry "EFI/ubuntu/mmx64.efi" {
menuentry "EFI/toshiba/Boot/bootmgfw.efi" {
menuentry "efi/boot/bkpbootx64.efi" {
menuentry "efi/microsoft/boot/cdboot.efi" {
menuentry "efi/microsoft/boot/cdboot_noprompt.efi" {
Windows Boot Manager (on /dev/nvme0n1p1)
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p6/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p6 during installation
UUID=cd839bd8-f907-46b5-9770-bd78544693ae / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
# /home was on /dev/sda2 during installation
UUID=8587a77e-b87a-4453-8b2c-145b02422c5d /home ext4 defaults 0 2
/swapfile none swap sw 0 0
UUID=62FA-3933 /boot/efi vfat defaults 0 1
==================== nvme0n1p6/etc/default/grub (filtered) =====================
GRUB_DEFAULT="0"
GRUB_TIMEOUT_STYLE="hidden"
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
#GRUB_TERMINAL="console"
#GRUB_GFXMODE="640x480"
#GRUB_DISABLE_LINUX_UUID="true"
#GRUB_DISABLE_RECOVERY="true"
#GRUB_INIT_TUNE="480 440 1"
================= nvme0n1p6: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
112.864265442 = 121.187082240 boot/grub/grub.cfg 1
180.250114441 = 193.542086656 boot/vmlinuz 1
116.703239441 = 125.309149184 boot/vmlinuz-5.4.0-26-generic 1
180.250114441 = 193.542086656 boot/vmlinuz-5.4.0-28-generic 1
116.703239441 = 125.309149184 boot/vmlinuz.old 1
180.496250153 = 193.806372864 boot/initrd.img 2
180.053707123 = 193.331195904 boot/initrd.img-5.4.0-26-generic 3
180.496250153 = 193.806372864 boot/initrd.img-5.4.0-28-generic 2
180.053707123 = 193.331195904 boot/initrd.img.old 3
====================== sdb1/boot/grub/grub.cfg (filtered) ======================
menuentry "Try Xubuntu without installing" {
menuentry "Try Xubuntu without installing (safe graphics)" {
menuentry "Install Xubuntu" {
menuentry "Install Xubuntu (safe graphics)" {
menuentry "OEM install (for manufacturers)" {
Boot from next volume' {
UEFI Firmware Settings' {
========================= sdb1/syslinux.cfg (filtered) =========================
DEFAULT loadconfig
LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
==================== sdb1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================== sdb1: Location of files loaded by Syslinux ==================
GiB - GB File Fragment(s)
?? = ?? syslinux.cfg 1
?? = ?? ldlinux.sys 1