Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 02/05/2020, à 19:54

pc31

[Résolu] Problème Dual Boot : seul W10 se lance

Bonjour,
j'ai déjà un peu d'expérience dans le domaine du dual boot Linux/Windows, sans en être du tout un spécialiste. Les fois assez nombreuses où j'ai déjà fait cela, tout s'est toujours bien passé et je n'ai pas eu à creuser davantage...
Mais là, si quelqu'un de plus calé que moi peut m'aider, ce serait volontiers !

J'ai un portable Toshiba Satellite pro neuf, livré avec Windows 10 préinstallé.
Un SSD 256 Go et un HDD 1To.

J'ai réduit (depuis Windows) les deux "principales" partitions windows à peu près d'un facteur 2 pour installer Ubuntu : OK.
Je ne parle plus que du SSD (pour le moment je n'ai rien fait de plus sur le HDD).

Quelques difficultés pour qu'il accepte de booter sur la clé USB, même en mettant dans le BIOS "USB" en premier. J'ai tourné un moment, essayé F12 au démarrage, le Boot Menu.

C'est en désactivant le Secure Boot que ça semble marcher le mieux.

J'ai réussi hier à installer XUbuntu 20.04 sans difficulté particulière.
J'ai d'ailleurs bossé dessus toute la journée, installé des logiciels, des comptes....
Il me semble (je finis par douter) que grub fonctionnait correctement.

Et aujourd'hui : l'ordi boote systématiquement sur Windows.
Je n'arrive absolument pas à le faire booter sur XUbuntu.

J'ai remis ma clé Live-USB.
Ai installé et effectué boot-repair. (j'ai fait la réparation "recommandée")

Le résultat est ici

boot-repair m'a conseillé de faire, sous windows :
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi

J'avoue que je n'ai pas osé car je comprends bien que là, je touche à ce qui fait démarrer windows.
Si quelqu'un de plus calé que moi peut me confirmer que c'est là ma solution, un grand merci !



Complément un peu plus tard : ce qui se passe est vraiment très très étrange, j'y perds mon latin.
Il m'est à peu près impossible de démarrer sur ma clé Live USB.
Enfin, j'y arrive... parfois.
Je pensais que désactiver le Secure Boot "marchait" mais non. Ca marche une seule fois. Impossible ensuite de rebooter sur la clé.
Par contre si je retourne dans le Bios et réactive le Secure Boot, là je peux à nouveau redémarrer sur ma clé (en Secure Boot, donc). Une seule fois !!!
Bon j'essaie d'y voir plus clair mais là je tourne un peu en bourrique.

Dernière modification par pc31 (Le 08/05/2020, à 22:59)

Hors ligne

#2 Le 03/05/2020, à 00:52

metalux

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Bonsoir,

Il faut que je recherche précisément ce que j'avais fais il y a quelques années sur un toshiba satellite, mais une modification avec efibootmgr se retrouvait écrasée à chaque redémarrage. Il me semble que tu es confronté à la même chose vu que ça fonctionne et quand tu redémarres, tu n'accèdes plus au grub.
Toshiba écrase tes modifications et rétabli le boot d'origine au redémarrage.
J'avais pour ma part supprimé l'entrée de boot windows avec efibootmgr puis recrée celle-ci en pointant non pas sur bootmgfw.efi mais sur grubx64.efi pour faire croire que ça démarre sur windows mais en fait ça démarre sur le grub . C'est de la bidouille mais ça fonctionne.

Une solution de contournement pour l'instant est de passer par F12, de choisir ton disque et ça devrait t'ouvrir un menu pour choisir entre Windows et XUbuntu.
Si tu arrives à démarrer comme ceci, regarde comment se fait le boot:

sudo efibootmgr -v

Dernière modification par metalux (Le 03/05/2020, à 01:40)

Hors ligne

#3 Le 03/05/2020, à 06:24

malbo

Re : [Résolu] Problème Dual Boot : seul W10 se lance

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

Dernière modification par malbo (Le 03/05/2020, à 08:44)

Hors ligne

#4 Le 03/05/2020, à 07:56

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

à Malbo :

ce doit être Dynabook Toshiba L50-G-11J (pris sur la facture)

Hors ligne

#5 Le 03/05/2020, à 08:06

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

à Metalux:
je n'ai en fait depuis hier pas réussi à redémarrer sur mon Linux installé une seule fois.

F12 n'y donne pas accès : j'ai seulement "Windows Boot Manager" (plus des entrées réseau je crois)

Le boot sur clé USB Live est difficile : ça fonctionne parfois, parfois non.
Il me semble avoir remarqué que ça fonctionne systématiquement une fois juste après avoir modifié le statu du Secure Boot, peu importe dans quel sens : de "Enabled" à "Disabled" ou l'inverse. Mais une seule fois.

Bref là je tourne en rond.

Ce que tu me dis correspond plus ou moins à ce que j'ai pu voir en ligne (voir sur le site ubuntu fr) mais ça a l'air pas simple et, n'étant pas spécialiste, je n'ai pas envie de faire une bêtise et de bousiller windows qui, jusque là, démarre toujours très bien.

J'ai après accès sur la clé Live Ubuntu réussi hier soir un grub-install (je passe tous les détails un peu scabreux) qui en apparence s'est passé normalement mais ça n'a strictement rien changé.

Merci en tous les cas pour ton aide.

Hors ligne

#6 Le 03/05/2020, à 09:14

malbo

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Ton modèle Satellite Pro L50-G-11J est détaillé sur cette page du site LDLC : https://www.ldlc.com/fiche/PB00285878.html

Hors ligne

#7 Le 03/05/2020, à 09:22

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

A Malbo : oui merci... mais je ne vois pas dans cette page ldlc la solution à mon problème.

J'ai trouvé dans les forums les discussions suivantes, qui semblent ressembler à mon problème :
https://forum.ubuntu-fr.org/viewtopic.php?id=1714981  (tu y es cité comme un "expert" dans ce domaine)
https://forum.ubuntu-fr.org/viewtopic.php?id=1578721
http://linuxontoshiba.blogspot.com/2014 … -from.html

Toutes ces discussions sont anciennes (6 ans) mais ça ressemble très fort.
J'essaie de bien comprendre les solutions proposées avant me lancer dans des manips potentiellement dangereuses.

Merci à tous pour votre aide.
Si j'avais su, je n'aurais pas acheté un Toshiba... c'est le premier que j'achète et la première fois que j'ai de tels problèmes.

Hors ligne

#8 Le 03/05/2020, à 09:24

ikewdu

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Salut,

Pour moi, boot-repair (dont le rapport est de moins en moins lisible, ceci dit au passage : "filtered", c'est bien joli, mais on ne voit plus grand chose pour certaines commandes) a fait n'importe quoi. Outre ses renommage foireux, ses entrées pourries dans GRUB.cfg qu'il ne propose plus en lecture), il a créé des fichiers efi dans la partition 5 alors qu'il existait une partition efi en 1.

Ça n'empêche pas ton BIOS/UEFI de continuer à booter sur Windows en priorité. Moi, tout ça me semble très bordélique, et je t'avoue qu'à ta place, je nettoierais toutes les traces de boot-repair, et je reinstallerais Ubuntu correctement pour repartir de quelque chose de propre. Quitte à réparer, autant éviter de traiter le fouillis créé par ce soft qui est de plus en plus intrusif. Il me semble même devenir dangereux pour  la santé du système en place.

Attends d'autres avis, car je suis de plus en plus critique sur ce que peut faire cet outil en uefi.

Dernière modification par ikewdu (Le 03/05/2020, à 09:29)

Hors ligne

#9 Le 03/05/2020, à 10:33

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Oui oui j'attends encore un peu.
Mais encore une fois je ne suis pas du tout spécialiste de l'UEFI et de grub.

"Nettoyer toutes les traces de boot-repair" je veux bien mais je ne suis pas sûr du tout de savoir faire.

Réinstaller totalement Ubuntu là je devrais être capable (j'y pense évidemment) et comme c'est le tout début avec cet ordi ce n'est pas si gênant mais :

*) pourquoi cela donnerait un résultat différent ?
*) si je n'ai pas nettoyé toutes les traces de boot-repair est-ce grave ? (sachant que dans ce cas je reformatte la partition linux sur le SSD - et aussi celle du HDD mais là ça n'a rien à voir)
*) incidemment quitte à tout recommencer je vois que vous êtes plusieurs à déconseiller /home sur une partition séparée - on sort du cadre de ce fil mais bref j'essaie de comprendre les arguments des pour et des contre

J'aimerais surtout réussir à faire fonctionner ce dual boot....

Encore merci pour vos aides/avis

Dernière modification par pc31 (Le 03/05/2020, à 10:39)

Hors ligne

#10 Le 03/05/2020, à 11:21

ikewdu

Re : [Résolu] Problème Dual Boot : seul W10 se lance

La première chose qui me déplaît est ici :

dev/nvme0n1p5 476287631 500118158  23830528  11.4G Windows recovery environment

Cette partition est probablement une partition spécifique à Toshiba puisqu'elle contenait ceci :

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

Maintenant, elle contient ça :

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

Certains fichiers y ont été bricolés par boot-repair :

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

Et bien sûr, boot-repair propose un rapport md5sum avant, mais pas après. Ensuite, il a ajouté son fichier pourri 25_custom, et seuls les habitués sauront qu'il est là, puisque le rapport n'affiche plus le contenu complet de GRUB.cfg

Add /mnt/boot-sav/nvme0n1p6/boot/efi efi entries in /mnt/boot-sav/nvme0n1p6/etc/grub.d/25_custom

Et au bout du compte, il n'a strictement rien réglé puisque le blocage vient très certainement de ton BIOS qui est  verrouillé sur "Window boot manager". Comme boot-repair a bidouillé le dossier /efi/boot/ de deux partitions, ça veut dire qu'il faut, par sécurité, remettre le fichiers initiaux, virer 25_custom, et enfin trouver comment contourner le blocage de base, soit en ajoutant une entrée depuis le BIOS, soit en détournant l'entrée Windows. Et pour être honnête, je ne me sens pas le courage de me lancer là-dedans.

Dernière modification par ikewdu (Le 03/05/2020, à 11:23)

Hors ligne

#11 Le 03/05/2020, à 12:20

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Le problème avec boot-repair (que je ne connaissais pas) c'est que dès que j'ai cliqué "réparation recommandée" il a tout fait sans aucun avertissement ni demande de confirmation (ce à quoi je m'attendais). Si j'avais vu qu'il procédait à de telles modifications j'y aurais sans doute réfléchi à deux fois...
Je continue de réfléchir....

Hors ligne

#12 Le 03/05/2020, à 12:45

malbo

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Moi aussi comme ikewdu j'ai du mal avec le rapport de Boot-repair que j'ai collé dans le post #3. Cet outil (Boot-repair) est en pleine évolution pour s'adapter aux versions les plus récentes de Ubuntu mais nous les experts, nous avons du mal à suivre. Je te prie de ne pas faire un Boot-repair mais seulement un Boot-info depuis une session live de Ubuntu 20.04 et de donner l'URL de ce Boot-info dans ta réponse.

Dernière modification par malbo (Le 03/05/2020, à 12:47)

Hors ligne

#13 Le 03/05/2020, à 15:24

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

(pour le boot-repair c'est trop tard en ce sens que j'en ai fait un hier - aucun autre depuis)

Je confirme déjà la méthode baroque que j'ai trouvée pour booter sur la clé USB : aller dans l'UEFI,
changer le Secure Boot d'état (disabled->enabled ou l'inverse, peu importe !) et quand je sors de l'UEFI en enregistrant les changements, ça démarre sur la clé USB sans problème... Étrange - est-ce que ça a un lien avec mon problème aucune idée mais ce BIOS/UEFI m'a tout de même l'air étrange

J'ai donc lancé Ubuntu sur la clé Live USB et voici le résultat :
https://paste.ubuntu.com/p/nMPvnHdWNJ/

Je m'y penche.
Merci de ton aide.

Hors ligne

#14 Le 03/05/2020, à 18:51

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Je suis en train de me pencher également sur
https://doc.ubuntu-fr.org/uefi#contourn … _windows_8

Il y a un paragraphe 6.7 consacré à Toshiba.

Mais comme le paragraphe commence par "La méthode Boot-Repair prend en charge ce cas-là mais n'explique pas ce qui se passe. " J'ai des doutes.....

Hors ligne

#15 Le 03/05/2020, à 19:31

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Et à Ikewdu :
merci de ton aide.
Je comprends ce que tu veux dire, mais remettre les fichiers d'origine dans nvme0n1p5 je ne m'en sens pas forcément. (et je ne sais pas à quoi sert cette partition et ces fichiers : c'est pour réinstaller Windows au besoin ?)
Quoique si... j'ai bien compris que le bootx64.efi d'origine a été sauvegardé dans bkpbootx64.efi avant d'être écrasé...
Annuler la ligne mv et les deux lignes cp je vois.... Je me sens peut-être de retrouver les trois fichiers initialement présents. Tu es sûr qu'elle ne contenait que ces trois fichiers là ?
Je ne comprends pas encore à la lecture du rapport de boot-repair comment sont arrivés les

                     /efi/ubuntu/grubx64.efi
                       /efi/ubuntu/shimx64.efi
                       /efi/microsoft/boot/memtest.efi /bootmgr /boot/bcd

(il faudrait les supprimer ??? j'hésite fort surtout pour la dernière ligne)

En gros ça te semblerait plus prudent d'annuler ce qu'a fait boot-repair, au cas où j'aurais à réinstaller Windows, c'est bien ça ?

Pourquoi dis-tu "Comme boot-repair a bidouillé le dossier /efi/boot/ de deux partitions,"
quelles deux partitions ? la 5 je vois la 6 je m'en moque si je réinstalle Xubuntu non ?
(idem pour 25_custom il est sur la 6)

Bon de toutes les façons j'attends encore.
Je vais voir aussi si malbo a une idée à la vue de mon boot-info.

Merci en tous les cas pour le temps passé !

Dernière modification par pc31 (Le 03/05/2020, à 19:31)

Hors ligne

#16 Le 03/05/2020, à 20:04

ikewdu

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Re,

Ici, on voit ce qui a été fait par boot-repair sur nvme0n1p5

085052c3fb68b401bb2e6a1dae0f26ee  /mnt/boot-sav/nvme0n1p5/efi/boot/bkpbootx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4  /mnt/boot-sav/nvme0n1p5/efi/boot/bootx64.efi
98bea152fadd26c4e9136916f6cc32a8  /mnt/boot-sav/nvme0n1p5/efi/boot/grubx64.efi
98bea152fadd26c4e9136916f6cc32a8  /mnt/boot-sav/nvme0n1p5/efi/ubuntu/grubx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4  /mnt/boot-sav/nvme0n1p5/efi/ubuntu/shimx64.efi
c50f8ba70eec397433e84904919e98ad  /mnt/boot-sav/nvme0n1p5/efi/microsoft/boot/cdboot.efi
22e9f2d2e920958952770ba68db0be28  /mnt/boot-sav/nvme0n1p5/efi/microsoft/boot/cdboot_noprompt.efi

Dans /efi/boot/, il a ajouté un grubx64.efi ; il a renommé bootx64.efi  en bkpbootx64.efi, et l'a remplacé par shimx64.efi qu'il a renommé en bootx64.efi. On se demande bien pourquoi dans la mesure où les PC bootant sur bootx64.efi sont de plus en plus rares, et que c'était surtout vrai avec les bios Toshiba livrés avec W8. Le reste semble d'origine.

Il a également ajouté ses entrées maison (qui ne fonctionnent jamais) dans grub.cfg

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" {

Et au final, il n'a pas réussi à faire passer en tête de liste (la seule chose importante dans ton cas) les entrées Ubuntu qui restent considérées comme lettre morte :

BootCurrent: 0007
Timeout: 0 seconds
BootOrder: 0007,2004,0004,2005,2001,2003
Boot0000* Linpus lite	HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(EFIBootgrubx64.efi)RC
Boot0001* ubuntu	HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(EFIubuntushimx64.efi)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(5,GPT,fdd7fd7e-4253-49ae-9793-4d447cefbcb8,0x1c63928f,0x16ba000)/File(EFIBootgrubx64.efi)RC
Boot0006* ubuntu	HD(5,GPT,fdd7fd7e-4253-49ae-9793-4d447cefbcb8,0x1c63928f,0x16ba000)/File(EFIubuntushimx64.efi)RC
Boot0007* Linpus lite	HD(1,GPT,0b7450ef-ecbd-45ea-b236-4745b2d059e7,0x800,0xef37df)/File(EFIBootgrubx64.efi)RC
Boot2001* EFI USB Device	RC
Boot2003* EFI Network	RC
Boot2004* HDD1/SSD1	RC
Boot2005* HDD2/SSD2	RC

Bref, il a ajouté du bazar, rien de plus. Quoi qu'il en soit, la première chose à faire de ton côté est de voir si ton Bios-uefi permet d'ajouter des entrées de boot, ou mieux encore, de déplacer celle qui correspond à "boot0001" en tête de liste. Elle pointe vers le bon chemin, alors que l'autre entrée Ubuntu pointe sur la partition nvme0n1p5 qui n'a pas à être utilisée comme partition efi. Si ça n'est pas possible, il faudra tenter des solutions plus "artificielles".

Quant au bazar ajouté par BP, on le verra plus tard, une fois que le problème de boot sur Ubuntu aura trouvé une solution.

Je me demande pourquoi tu as des traces de Linpus lite... peut-être as-tu une idée.

Hors ligne

#17 Le 03/05/2020, à 21:12

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Le Bios/UEFI ne permet strictement rien.
Il y a 4 entrées possibles pour le boot :
USB   HDD1   HDD2   LAN
et c'est absolument tout !
La seule chose que je peux faire c'est de changer l'ordre de ces 4 là, ce qui en l'occurrence ne sert pas à grand chose.
(Il existe bien une mise à jour du Bios qui est disponible mais aucune idée, absolument aucune de ce qu'elle contient, le site Toshiba n'en dit strictement rien. Je serais fort étonné toutefois si....

Je me dirige effectivement vers les solutions "artificielles".
Il y a un endroit où je pourrais déconseiller l'achat de ce modèle ?
Je m'étais un peu renseigné avant de l'acheter, mais, à l'évidence, pas assez...


Ah et Linpus Lite aucune idée je ne sais pas ce que c'est. Il m'a semblé le voir associé à ma clé USB, c'est flou dans mon esprit.

Dernière modification par pc31 (Le 03/05/2020, à 21:13)

Hors ligne

#18 Le 03/05/2020, à 21:55

metalux

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Tu peux tenter de modifier l'ordre avec efibootmgr en mettant 0001 en 1er comme préconisé par ikewdu , mais je doute que ça fonctionne, si ça démarre sur windows, la modification sera écrasée. Enfin tu ne risques rien à essayer.

sudo efibootmgr -o 0001,0007,2004,0004,2005,2001,2003

Si ça ne fonctionne pas, tu pourras supprimer et recréer l'entrée windows pour qu'elle pointe sur grubx64.efi (ou shimx64.efi en démarrage sécurisé)
Pour que je te donne la ligne de commande, j'ai simplement un doute car je suis sur une Ubuntu-mate 18.04 et je n'ai pas les mêmes noms que toi:
/File(\EFI\UBUNTU\GRUBX64.EFI) chez moi et /File(EFIBootgrubx64.efi) pour toi. peux-tu me confirmer qu'il n'y a pas eu de changement sur une 20.04?
Pour savoir:

sudo ls -l /boot/efi/EFI/ubuntu

Bon il y a certainement la réponse dans le boot-info mais j'ai la flemme de le lire roll Le ls donnera directement la réponse.

Hors ligne

#19 Le 03/05/2020, à 22:29

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Merci metalux pour ton aide.

Alors :
*) je boote sur ma clé USB live toujours avec ma méthode baroque
*) là je n'ai pas de efibootmgr !
*) je l'installe  (sudo apt install efibootmgr)
*) sudo efibootmgr -o 0001,0007,2004,0004,2005,2001,2003 comme suggéré : tout se passe bien ; 0001 est bien en tête
*) je reboote : sur windows !
*) je reviens sur ma clé usb live ; même manips que là haut (j'installe efibootmgr)
*) sudo efibootmgr -v : le 0001 en tête a disparu


Pour faire
sudo ls -l /boot/efi/EFI/ubuntu

je suppose qu'il faut déjà que je monte ma partition /dev/nvme0n1p1 ? (la partition "ESP") ?
J'essaie

*) sudo mkdir /media/test
*) sudo mount /dev/nvme0n1p1 /media/test
*) cd /media/test
*) sudo ls -l : deux répertoires seulement : EFI et grub Il n'y a pas de /boot
*) cd EFI
*) ls -l : 4 répertoires    Boot Microsoft toshiba ubuntu
*) dans ubuntu il y a : BOOTX64.CSV grub.cfg grubx64.efi mmx64.efi shimx64.efi

Si je suis au bon endroit les fichiers grubx64.efi et shimx64.efi sont donc dans /EFI/ubuntu/ (à partir de la racine de la partition)
Je ne sais pas si j'ai bien compris... je n'ai pas, ici, de /boot et de /efi en cascade

Hors ligne

#20 Le 03/05/2020, à 23:12

metalux

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Je préférais vérifier qu'avec un live j'ai la même chose, c'est bien le cas.
Du coup tu peux supprimer l'entrée windows:

sudo efibootmgr -b 0004 -B 

Et la recréer en pointant sur grubx64 (en désactivant le démarrage sécurisé sinon voir shimx64)

sudo efibootmgr -c -b 0004 -L "Windows Boot Manager" -l /EFI/ubuntu/grubx64.efi 

Attention, je me suis basé sur les indications du dernier message de ikewdu, en supposant qu'il n'y ait pas eu de modifications entre temps et que ton ubuntu soit bien opérationnel en réalité. Si ça ne fonctionnait pas, on remettra avec un live par défaut sur Windows en récréant l'entrée.

Hors ligne

#21 Le 03/05/2020, à 23:23

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

J'ai fait exactement ce que tu m'as demandé. (Mon ubuntu j'imagine qu'il est opérationnel il l'était hier).
Apparemment tout s'est passé correctement.

Shutdown : interminable.... J'attends.... Je vais finir par appuyer sur le bouton.

Je reboote (Secure Boot désactivé).
Sur Windows 10 !!!

Dernière modification par pc31 (Le 03/05/2020, à 23:26)

Hors ligne

#22 Le 03/05/2020, à 23:32

pc31

Re : [Résolu] Problème Dual Boot : seul W10 se lance

je viens de rebooter sur clé live usb

Résultat de efibootmgr -v :

BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0006,0007,2004,2005,2001,2003
Boot0000* Linpus lite	HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(\EFI\Boot\grubx64.efi)RC
Boot0001* ubuntu	HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)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* Linpus lite	HD(5,GPT,fdd7fd7e-4253-49ae-9793-4d447cefbcb8,0x1c63928f,0x16ba000)/File(\EFI\Boot\grubx64.efi)RC
Boot0005* ubuntu	HD(5,GPT,fdd7fd7e-4253-49ae-9793-4d447cefbcb8,0x1c63928f,0x16ba000)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0006* Linpus lite	HD(1,GPT,0b7450ef-ecbd-45ea-b236-4745b2d059e7,0x800,0xef37df)/File(\EFI\Boot\grubx64.efi)RC
Boot0007* Windows Boot Manager	HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot2001* EFI USB Device	RC
Boot2003* EFI Network	RC
Boot2004* HDD1/SSD1	RC
Boot2005* HDD2/SSD2	RC

Dernière modification par pc31 (Le 03/05/2020, à 23:37)

Hors ligne

#23 Le 03/05/2020, à 23:33

cqfd93

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Modération

Bonjour,

Pour ajouter toi-même les balises code à ton message #22 :

  • Cliquer sur le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message
    1471986854.png


cqfd93

Hors ligne

#24 Le 03/05/2020, à 23:44

metalux

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Es-tu sûr de bien avoir recrée l'entrée de boot de windows?
Et maintenant en 0004, on voit:

Boot0004* Linpus lite    HD(5,GPT,fdd7fd7e-4253-49ae-9793-4d447cefbcb8,0x1c63928f,0x16ba000)/File(\EFI\Boot\grubx64.efi)RC

alors que tu devrais avoir:

Boot0004* Windows Boot Manager	HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(\EFI\Boot\grubx64.efi)RC

Et on voit maintenant le windows en 007:

Boot0007* Windows Boot Manager    HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................

alors que tu l'as crée en 0004 en pointant sur grubx64.efi. Je n'y comprends rien hmm

Dans ton dossier EFI, tu as un dossier toshiba, peux-tu lister ce qu'il y a dedans?
On reprendra demain soir, ou malbo ou ikewdu prendront le relai entre temps, mais tout cela me parait bien obscure.

Dernière modification par metalux (Le 03/05/2020, à 23:50)

Hors ligne

#25 Le 04/05/2020, à 07:25

malbo

Re : [Résolu] Problème Dual Boot : seul W10 se lance

Avec retard, je colle ci-dessous le Boot-info dont tu as donné le lien ( https://paste.ubuntu.com/p/nMPvnHdWNJ/ ) dans le post #13 :

boot-info-4ppa95                                              [20200503_1318]


============================== Boot Info Summary ===============================

 => Grub2 (v2.00) is installed in the MBR of /dev/nvme0n1 and looks at sector 
    473919488 of the same hard drive for core.img. core.img is at this 
    location and looks for (,gpt1)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp fat part_gpt biosdisk
    ---------------------------------------------------------------------------
 => Windows 7/8/2012 is installed in the MBR of /dev/sda.
 => No known boot loader 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 /grub/i386-pc/core.img

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:  Windows 8/2012: FAT32
    Boot sector info:  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

============================ 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                   1 4,294,967,295 4,294,967,295  ee GPT

/dev/sdb1 ends after the last sector of /dev/sdb

GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1                 2,048    15,679,454    15,677,407 Data partition (Windows/Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

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        8473-2318                              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   /media/xubuntu/TIH0448500A fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/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   /media/xubuntu/cd839bd8-f907-46b5-9770-bd78544693ae ext4       (rw,nosuid,nodev,relatime,uhelper=udisks2)
/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
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             grub/i386-pc/core.img                          1

=================== 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)

 153.056751251 = 164.343435264  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

======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown MBR on /dev/sdb

00000000  41 4b 45 4f fc 31 c0 fa  8e d0 bc 00 7c fb 8e d8  |AKEO.1......|...|
00000010  bb 13 04 8b 07 83 e8 04  89 07 c1 e0 06 8e c0 b7  |................|
00000020  07 b8 7f 00 cd 10 31 db  31 c9 ba 4f 18 b8 00 06  |......1.1..O....|
00000030  cd 10 31 d2 b4 02 cd 10  b4 41 bb aa 55 cd 13 72  |..1......A..U..r|
00000040  27 81 fb 55 aa 75 21 f7  c1 01 00 74 1b 66 31 c0  |'..U.u!....t.f1.|
00000050  66 50 6a 22 06 66 50 6a  08 6a 10 89 e6 b4 42 cd  |fPj".fPj.j....B.|
00000060  13 9f 83 c4 10 9e eb 0d  b8 08 02 b9 23 00 ba 80  |............#...|
00000070  00 31 db cd 13 bb 07 00  72 0b 31 f6 8c c0 8e d8  |.1......r.1.....|
00000080  e8 3f 00 eb 06 be 17 7d  e8 37 00 31 c0 8e d8 be  |.?.....}.7.1....|
00000090  63 7d e8 2d 00 e8 1d 00  b4 01 cd 16 75 08 b4 02  |c}.-........u...|
000000a0  cd 16 24 04 74 f2 31 c0  8e d8 b8 34 12 a3 73 04  |..$.t.1....4..s.|
000000b0  ea 00 00 ff ff b4 01 cd  16 74 06 b4 00 cd 16 e2  |.........t......|
000000c0  f4 c3 ac 3c 00 74 4f 3c  0d 74 f7 3c 0a 75 10 53  |...<.tO<.t.<.u.S|
000000d0  b4 03 cd 10 fe c6 b2 00  b4 02 cd 10 5b eb e3 3c  |............[..<|
000000e0  5c 75 1c b1 02 ac 3c 46  7f d8 2c 30 3c 09 7e 02  |\u....<F..,0<.~.|
000000f0  2c 07 c0 e3 04 24 0f 08  c3 fe c9 75 e8 eb c3 b9  |,....$.....u....|
00000100  01 00 b4 09 cd 10 53 31  db b4 03 cd 10 fe c2 b4  |......S1........|
00000110  02 cd 10 5b eb ac c3 0d  0a 20 20 20 20 20 20 20  |...[.....       |
00000120  20 20 20 20 20 20 5c 30  34 2a 2a 2a 20 45 52 52  |      \04*** ERR|
00000130  4f 52 3a 20 54 48 49 53  20 4d 45 44 49 41 20 43  |OR: THIS MEDIA C|
00000140  41 4e 4e 4f 54 20 42 4f  4f 54 20 49 4e 20 4c 45  |ANNOT BOOT IN LE|
00000150  47 41 43 59 20 4d 4f 44  45 20 2a 2a 2a 5c 30 37  |GACY MODE ***\07|
00000160  0d 0a 00 0d 0a 0d 0a 20  20 20 20 20 20 20 20 20  |.......         |
00000170  20 20 20 20 5c 37 30 50  6c 65 61 73 65 20 72 65  |    \70Please re|
00000180  6d 6f 76 65 20 74 68 69  73 20 6d 65 64 69 61 20  |move this media |
00000190  61 6e 64 20 70 72 65 73  73 20 61 6e 79 20 6b 65  |and press any ke|
000001a0  79 20 74 6f 20 72 65 62  6f 6f 74 5c 30 37 00 00  |y to reboot\07..|
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001c0  02 00 ee fe ff cf 01 00  00 00 ff ff ff ff 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 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


============================ ADDITIONAL INFORMATION ============================

boot-info 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

== /media/xubuntu/cd839bd8-f907-46b5-9770-bd78544693ae/etc/grub.d/ (filtered) ==

drwxr-xr-x  3 root root    4096 May  2 17:10 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  1319 May  2 17:10 25_custom
-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/bkpbootx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4  /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
bed45d1c9554cea09924d3814cb7c446  /mnt/boot-sav/nvme0n1p1/efi/Boot/fbx64.efi
98bea152fadd26c4e9136916f6cc32a8  /mnt/boot-sav/nvme0n1p1/efi/Boot/grubx64.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/bkpbootx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4  /mnt/boot-sav/nvme0n1p5/efi/boot/bootx64.efi
98bea152fadd26c4e9136916f6cc32a8  /mnt/boot-sav/nvme0n1p5/efi/boot/grubx64.efi
98bea152fadd26c4e9136916f6cc32a8  /mnt/boot-sav/nvme0n1p5/efi/ubuntu/grubx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4  /mnt/boot-sav/nvme0n1p5/efi/ubuntu/shimx64.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/bkpbootx64.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/grubx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/nvme0n1p1/EFI/Boot/mmx64.efi
Presence of bkp file detected: /mnt/boot-sav/nvme0n1p1/EFI/Boot/bkpbootx64.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/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/nvme0n1p5/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/nvme0n1p5/EFI/Boot/grubx64.efi
Presence of bkp file detected: /mnt/boot-sav/nvme0n1p5/EFI/boot/bkpbootx64.efi
/usr/share/boot-sav/bs-cmd_terminal.sh: line 181: warning: command substitution: ignored null byte in input

================================ efibootmgr -v =================================

BootCurrent: 0007
Timeout: 0 seconds
BootOrder: 0007,2004,0004,2005,2001,2003
Boot0000* Linpus lite	HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(EFIBootgrubx64.efi)RC
Boot0001* ubuntu	HD(1,GPT,cd9ffab9-eec7-435f-a950-58de7321f15a,0x800,0x82000)/File(EFIubuntushimx64.efi)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(5,GPT,fdd7fd7e-4253-49ae-9793-4d447cefbcb8,0x1c63928f,0x16ba000)/File(EFIBootgrubx64.efi)RC
Boot0006* ubuntu	HD(5,GPT,fdd7fd7e-4253-49ae-9793-4d447cefbcb8,0x1c63928f,0x16ba000)/File(EFIubuntushimx64.efi)RC
Boot0007* Linpus lite	HD(1,GPT,0b7450ef-ecbd-45ea-b236-4745b2d059e7,0x800,0xef37df)/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,	grubenv-ok	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,	bootmgr,	is-winboot,	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, /media/xubuntu/TIH0448500A.
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, /media/xubuntu/cd839bd8-f907-46b5-9770-bd78544693ae.
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:gpt:Kingston DataTraveler 2.0:;
1:1049kB:8028MB:8027MB:fat32:Main Data Partition:msftdata;
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         /media/xubuntu/TIH0448500A
nvme0n1p4    0  0  0         /mnt/boot-sav/nvme0n1p4
nvme0n1p5    0  0  0         /mnt/boot-sav/nvme0n1p5
nvme0n1p6    0  0  0         /media/xubuntu/cd839bd8-f907-46b5-9770-bd78544693ae

=============================== 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/nvme0n1p3 on /media/xubuntu/TIH0448500A type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/nvme0n1p6 on /media/xubuntu/cd839bd8-f907-46b5-9770-bd78544693ae type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2)
/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/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/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  251M  3.6G   7% /
/dev/nvme0n1p3 fuseblk   113G   35G   78G  31% /media/xubuntu/TIH0448500A
/dev/nvme0n1p6 ext4      112G  8.1G   98G   8% /media/xubuntu/cd839bd8-f907-46b5-9770-bd78544693ae
/dev/nvme0n1p1 vfat      256M   69M  188M  27% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p4 fuseblk   990M  447M  544M  46% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5 vfat       12G   11G  995M  92% /mnt/boot-sav/nvme0n1p5
/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/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/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/sdb: 7.49 GiB, 8027897856 bytes, 15679488 sectors
Disk model: DataTraveler 2.0
Disklabel type: gpt
Device     Start      End  Sectors  Size Type
/dev/sdb1   2048 15679454 15677407  7.5G Microsoft basic data

=============================== Suggested repair ===============================

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of nvme0n1p6, using the following options:        nvme0n1p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s    use-standard-efi-file  restore-efi-backups


=================== Final advice in case of suggested repair ===================

Please do not forget to make your BIOS boot on nvme0n1p1/efi/.../grub*.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...grub*.efi

================================= User settings ================================

The settings chosen by the user will not act on the boot.


gawk  packages needed

Cela ne me donne pas plus d'idée sur ce qu'il faudrait faire.
Cependant, je te conseille de réaliser une LiveUSB Super Grub2 Disk suivant mon tuto : https://forum.ubuntu-fr.org/viewtopic.php?id=2017140
Avec cet outil, tu pourras démarrer sur Xubuntu. Attention : il faut désactiver Secure Boot pour que l'ordi accepte de booter sur la LiveUSB Super Grub2 Disk

Dernière modification par malbo (Le 04/05/2020, à 07:51)

Hors ligne