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 15/06/2024, à 09:14

Ratman88

windows et linux sur 2 disque different pas de grub

bonjour j'ai installé ubuntu 24 04 sur mon second disque dur et je n'ai pas le choix entre les deux os au démarrage je démarre systématiquement sur windows.
ubuntu fonctionne bien mais je doit passer par le bios pour le lancer.
j'ai essayer boot repair mais ca n'a pas fonctionné.

Hors ligne

#2 Le 15/06/2024, à 09:19

Ratman88

Re : windows et linux sur 2 disque different pas de grub

mince j'ai posté 2 fois le même message et je ne trouve pas pour le supprimer si un modérateur peut le faire svp.

Hors ligne

#3 Le 15/06/2024, à 09:20

xubu1957

Re : windows et linux sur 2 disque different pas de grub

Bonjour,

C'est un Acer > Dual Boot Windows10/Kubuntu sur Acer AspireF5-571G => problème de boot ?

Tu aurais dû fournir le lien du boot-repair.

Avec ton support d'installation, peux-tu faire un boot-info et poster l'URL qui sera générée ?

https://doc.ubuntu-fr.org/tutoriel/boot-info


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#4 Le 15/06/2024, à 09:21

Ratman88

Re : windows et linux sur 2 disque different pas de grub

non ce n'est pas un acer c'est une tour que j'ai montée la carte mère est une asus tuf gaming.

voici le lien du boot repair
https://paste.ubuntu.com/p/psTnDPtmRt/

maintenant ubuntu ne démarre plus quand je sélectionne  le second disque dans le bios ca affiche une erreur.

Dernière modification par Ratman88 (Le 15/06/2024, à 09:42)

Hors ligne

#5 Le 15/06/2024, à 09:55

xubu1957

Re : windows et linux sur 2 disque different pas de grub

Collage du Boot-repair, pour les spécialistes :

boot-repair-4ppa2075                                              [20240615_0759]

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






Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will purge (in order to fix packages) and reinstall the grub-efi of
sda2,
using the following options:  nvme0n1p1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups


/boot/efi added in sda2/fstab
rm /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/nvme0n1p1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
Created /dev/sda2/boot/efi
Mount /dev/nvme0n1p1 on /mnt/boot-sav/sda2/boot/efi
chroot /mnt/boot-sav/sda2 apt-get -y update
Running in chroot, ignoring command 'start'
Purge the GRUB of /dev/sda2
grub-efi available
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
efibootmgr grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
0 upgraded, 5 newly installed, 2 to remove and 40 not upgraded.
DEBCHECK debOK, grub-efi
DEBCHECK debOK
Please type: sudo chroot "/mnt/boot-sav/sda2" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda2" apt-get install -fynsudo chroot "/mnt/boot-sav/sda2" apt-get purge --allow-remove-essential -y grub-com*nsudo chroot "/mnt/boot-sav/sda2" apt-get purge --allow-remove-essential -y grub2-com*nsudo chroot "/mnt/boot-sav/sda2" apt-get purge --allow-remove-essential -y shim-signednsudo chroot "/mnt/boot-sav/sda2" apt-get purge --allow-remove-essential -y grub-common:*nsudo chroot "/mnt/boot-sav/sda2" apt-get purge --allow-remove-essential -y grub2-common:*n
GRUB is still present. Please try again. (purge grub* packages from /mnt/boot-sav/sda2)
Then type: sudo chroot "/mnt/boot-sav/sda2" apt-get install -y grub-efi

Unhide GRUB boot menu in sda2/etc/default/grub

===================== Reinstall the grub-efi of /dev/sda2 ======================

chroot /mnt/boot-sav/sda2 grub-install --version
grub-install (GRUB) 2.12-1ubuntu7
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.15.0-76-generic
chroot /mnt/boot-sav/sda2 modprobe efivars

chroot /mnt/boot-sav/sda2 efibootmgr -v before grub install
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0000,0004,0008,0009,0007
Boot0000* Windows Boot Manager	HD(1,GPT,873f3dd9-d4ca-4f71-aec4-c2c9cc4cf668,0x800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000050100000010000000040000007fff0400
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 03 00 00 00 00 00 d9 3d 3f 87 ca d4 71 4f ae c4 c2 c9 cc 4c f6 68 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 49 00 43 00 52 00 4f 00 53 00 4f 00 46 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 4d 00 47 00 46 00 57 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 00 05 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0004* Hard Drive	BBS(HD,,0x0)0000474f00004e4fa5000000010000007500430054003500300030004d005800350030003000530053004400310000000501090002000000007fff040002010c00d041030a0000000001010600020101010600010003120a000400ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce63100320034003000430032003700420030003400310030002000200020002000200020002000200000007fff04000000424f00004e4fad0000000100000073004b0049004e004700530054004f004e00200053004e005600320053003100300030003000470000000501090002000000007fff040002010c00d041030a0000000001010600010101010600000003171000010000000026b77856e224257fff040001043600ef47642dc93ba041ac194d51d01b4ce6350030003000320036004200370037003800350036004500320032003400320000007fff04000000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 47 4f 00 00 4e 4f a5 00 00 00 01 00 00 00 75 00 43 00 54 00 35 00 30 00 30 00 4d 00 58 00 35 00 30 00 30 00 53 00 53 00 44 00 31 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 02 01 01 01 06 00 01 00 03 12 0a 00 04 00 ff ff 00 00 7f ff 04 00 01 04 3e 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 31 00 32 00 34 00 30 00 43 00 32 00 37 00 42 00 30 00 34 00 31 00 30 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 00 00 7f ff 04 00 00 00 42 4f 00 00 4e 4f ad 00 00 00 01 00 00 00 73 00 4b 00 49 00 4e 00 47 00 53 00 54 00 4f 00 4e 00 20 00 53 00 4e 00 56 00 32 00 53 00 31 00 30 00 30 00 30 00 47 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 01 01 01 01 06 00 00 00 03 17 10 00 01 00 00 00 00 26 b7 78 56 e2 24 25 7f ff 04 00 01 04 36 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 35 00 30 00 30 00 32 00 36 00 42 00 37 00 37 00 38 00 35 00 36 00 45 00 32 00 32 00 34 00 32 00 00 00 7f ff 04 00 00 00 42 4f
Boot0007* ubuntu	HD(1,GPT,873f3dd9-d4ca-4f71-aec4-c2c9cc4cf668,0x800,0x32000)/File(EFIUBUNTUSHIMX64.EFI)0000424f
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 03 00 00 00 00 00 d9 3d 3f 87 ca d4 71 4f ae c4 c2 c9 cc 4c f6 68 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 55 00 42 00 55 00 4e 00 54 00 55 00 5c 00 53 00 48 00 49 00 4d 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot0008* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(10,0)/USB(1,0)/HD(1,MBR,0xc4357,0x800,0xe6c1d0)0000424f
dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 02 01 / 01 01 06 00 00 00 / 03 05 06 00 0a 00 / 03 05 06 00 01 00 / 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 d0 c1 e6 00 00 00 00 00 57 43 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 7f ff 04 00
data: 00 00 42 4f
Boot0009* USB	BBS(HD,,0x0)0000474f00004e4fa7000000010000006f00200055005300420020004400490053004b00200032002e003000200050004d004100500000000501090002000000007fff040002010c00d041030a00000000010106000201010106000000030506000a000305060001007fff040001043600ef47642dc93ba041ac194d51d01b4ce6300037004200430031004200300037004100410036004500440041004300440000007fff04000000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 47 4f 00 00 4e 4f a7 00 00 00 01 00 00 00 6f 00 20 00 55 00 53 00 42 00 20 00 44 00 49 00 53 00 4b 00 20 00 32 00 2e 00 30 00 20 00 50 00 4d 00 41 00 50 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 02 01 01 01 06 00 00 00 03 05 06 00 0a 00 03 05 06 00 01 00 7f ff 04 00 01 04 36 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 30 00 37 00 42 00 43 00 31 00 42 00 30 00 37 00 41 00 41 00 36 00 45 00 44 00 41 00 43 00 44 00 00 00 7f ff 04 00 00 00 42 4f

chroot /mnt/boot-sav/sda2 uname -r
5.15.0-76-generic

chroot /mnt/boot-sav/sda2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
df /dev/nvme0n1p1
mv /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda2/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi

chroot /mnt/boot-sav/sda2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.

chroot /mnt/boot-sav/sda2 efibootmgr -v after grub install
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0000,0004,0008,0009,0007
Boot0000* Windows Boot Manager	HD(1,GPT,873f3dd9-d4ca-4f71-aec4-c2c9cc4cf668,0x800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000050100000010000000040000007fff0400
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 03 00 00 00 00 00 d9 3d 3f 87 ca d4 71 4f ae c4 c2 c9 cc 4c f6 68 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 49 00 43 00 52 00 4f 00 53 00 4f 00 46 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 4d 00 47 00 46 00 57 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 00 05 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0004* Hard Drive	BBS(HD,,0x0)0000474f00004e4fa5000000010000007500430054003500300030004d005800350030003000530053004400310000000501090002000000007fff040002010c00d041030a0000000001010600020101010600010003120a000400ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce63100320034003000430032003700420030003400310030002000200020002000200020002000200000007fff04000000424f00004e4fad0000000100000073004b0049004e004700530054004f004e00200053004e005600320053003100300030003000470000000501090002000000007fff040002010c00d041030a0000000001010600010101010600000003171000010000000026b77856e224257fff040001043600ef47642dc93ba041ac194d51d01b4ce6350030003000320036004200370037003800350036004500320032003400320000007fff04000000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 47 4f 00 00 4e 4f a5 00 00 00 01 00 00 00 75 00 43 00 54 00 35 00 30 00 30 00 4d 00 58 00 35 00 30 00 30 00 53 00 53 00 44 00 31 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 02 01 01 01 06 00 01 00 03 12 0a 00 04 00 ff ff 00 00 7f ff 04 00 01 04 3e 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 31 00 32 00 34 00 30 00 43 00 32 00 37 00 42 00 30 00 34 00 31 00 30 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 00 00 7f ff 04 00 00 00 42 4f 00 00 4e 4f ad 00 00 00 01 00 00 00 73 00 4b 00 49 00 4e 00 47 00 53 00 54 00 4f 00 4e 00 20 00 53 00 4e 00 56 00 32 00 53 00 31 00 30 00 30 00 30 00 47 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 01 01 01 01 06 00 00 00 03 17 10 00 01 00 00 00 00 26 b7 78 56 e2 24 25 7f ff 04 00 01 04 36 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 35 00 30 00 30 00 32 00 36 00 42 00 37 00 37 00 38 00 35 00 36 00 45 00 32 00 32 00 34 00 32 00 00 00 7f ff 04 00 00 00 42 4f
Boot0007* ubuntu	HD(1,GPT,873f3dd9-d4ca-4f71-aec4-c2c9cc4cf668,0x800,0x32000)/File(EFIUBUNTUSHIMX64.EFI)0000424f
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 03 00 00 00 00 00 d9 3d 3f 87 ca d4 71 4f ae c4 c2 c9 cc 4c f6 68 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 55 00 42 00 55 00 4e 00 54 00 55 00 5c 00 53 00 48 00 49 00 4d 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot0008* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(10,0)/USB(1,0)/HD(1,MBR,0xc4357,0x800,0xe6c1d0)0000424f
dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 02 01 / 01 01 06 00 00 00 / 03 05 06 00 0a 00 / 03 05 06 00 01 00 / 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 d0 c1 e6 00 00 00 00 00 57 43 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 7f ff 04 00
data: 00 00 42 4f
Boot0009* USB	BBS(HD,,0x0)0000474f00004e4fa7000000010000006f00200055005300420020004400490053004b00200032002e003000200050004d004100500000000501090002000000007fff040002010c00d041030a00000000010106000201010106000000030506000a000305060001007fff040001043600ef47642dc93ba041ac194d51d01b4ce6300037004200430031004200300037004100410036004500440041004300440000007fff04000000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 47 4f 00 00 4e 4f a7 00 00 00 01 00 00 00 6f 00 20 00 55 00 53 00 42 00 20 00 44 00 49 00 53 00 4b 00 20 00 32 00 2e 00 30 00 20 00 50 00 4d 00 41 00 50 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 02 01 01 01 06 00 00 00 03 05 06 00 0a 00 03 05 06 00 01 00 7f ff 04 00 01 04 36 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 30 00 37 00 42 00 43 00 31 00 42 00 30 00 37 00 41 00 41 00 36 00 45 00 44 00 41 00 43 00 44 00 00 00 7f ff 04 00 00 00 42 4f
Warning: NVram was not modified.

chroot /mnt/boot-sav/sda2 update-grub
Sourcing file `/etc/default/grub'
Found linux image: /boot/vmlinuz-6.8.0-35-generic
Found initrd image: /boot/initrd.img-6.8.0-35-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 sda2/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Ubuntu 24.04 LTS entry (nvme0n1p1/efi/ubuntu/grubx64.efi file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware 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\grubx64.efi


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

 => Windows is installed in the MBR of /dev/nvme0n1.
 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt2)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  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/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
                       /efi/Microsoft/Boot/SecureBootRecovery.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

nvme0n1p4: _____________________________________________________________________

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

sda1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 24.04 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 32792 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/bootx64.efi /efi/boot/grubx64.efi 
                       /efi/boot/mmx64.efi /ldlinux.sys


================================ 2 OS detected =================================

OS#1:   Ubuntu 24.04 LTS on sda2
OS#2:   Windows 8 or 10 on nvme0n1p3

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Advanced Micro Devices, Inc. [AMD/ATI] EFI VGA from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Linuxmint 64-bit (Linux Mint 21.2, victoria, x86_64)

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

BIOS/UEFI firmware: 3404(5.17) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0000,0004,0008,0009,0007
Boot0000* Windows Boot Manager	HD(1,GPT,873f3dd9-d4ca-4f71-aec4-c2c9cc4cf668,0x800,0x32000)/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.}....................
Boot0004* Hard Drive	BBS(HD,,0x0)..GO..NO........u.C.T.5.0.0.M.X.5.0.0.S.S.D.1....................A.................................>..Gd-.;.A..MQ..L.1.2.4.0.C.2.7.B.0.4.1.0. . . . . . . . ........BO..NO........s.K.I.N.G.S.T.O.N. .S.N.V.2.S.1.0.0.0.G....................A...........................&.xV.$%.....6..Gd-.;.A..MQ..L.5.0.0.2.6.B.7.7.8.5.6.E.2.2.4.2........BO
Boot0007* ubuntu	HD(1,GPT,873f3dd9-d4ca-4f71-aec4-c2c9cc4cf668,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
Boot0008* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(10,0)/USB(1,0)/HD(1,MBR,0xc4357,0x800,0xe6c1d0)..BO
Boot0009* USB	BBS(HD,,0x0)..GO..NO........o. .U.S.B. .D.I.S.K. .2...0. .P.M.A.P....................A...................................6..Gd-.;.A..MQ..L.0.7.B.C.1.B.0.7.A.A.6.E.D.A.C.D........BO

66f69798ad23240e43b7ba0044a914c4   nvme0n1p1/Boot/bkpbootx64.efi
66f69798ad23240e43b7ba0044a914c4   nvme0n1p1/Boot/bootx64.efi
a9c517741ac31962d7feb152948ad1ee   nvme0n1p1/Boot/fbx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p1/Boot/mmx64.efi
66f69798ad23240e43b7ba0044a914c4   nvme0n1p1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   nvme0n1p1/ubuntu/shimx64.efi
23837e7f81b5b729c2cc673d3da56273   nvme0n1p1/Microsoft/Boot/SecureBootRecovery.efi
e34c4135d75ce5708a2939554a087183   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
3029d8cf512ca3d3dec4bf64c2d0d20c   nvme0n1p1/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

nvme0n1	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
sda	: is-GPT,	hasBIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

nvme0n1p1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p3	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
nvme0n1p4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sda2	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda2	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
sda2	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: F7264B55-A55E-46B0-A564-521C05C642E0
              Start        End    Sectors   Size Type
nvme0n1p1       2048     206847     204800   100M EFI System
nvme0n1p2     206848     239615      32768    16M Microsoft reserved
nvme0n1p3     239616 1952112639 1951873024 930.7G Microsoft basic data
nvme0n1p4 1952112640 1953521663    1409024   688M Windows recovery environment
Disk sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: AA70CC45-A45D-4AAD-A9CD-E6CF027CAF4F
     Start       End   Sectors   Size Type
sda1   2048      4095      2048     1M BIOS boot
sda2   4096 976771071 976766976 465.8G Linux filesystem
Disk sdb: 7.21 GiB, 7743995904 bytes, 15124992 sectors
Disk identifier: 0x000c4357
     Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 15124943 15122896  7.2G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:gpt:ATA CT500MX500SSD1:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:500GB:500GB:ext4::;
sdb:7744MB:scsi:512:512:msdos: USB DISK 2.0:;
1:1049kB:7744MB:7743MB:fat32::boot, lba;
nvme0n1:1000GB:nvme:512:512:gpt:KINGSTON SNV2S1000G:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:999GB:999GB:ntfs:Basic data partition:msftdata;
4:999GB:1000GB:721MB:ntfs::hidden, diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                        
├─sda1                                                    79dc3512-efe7-4093-a182-54ccc76b6101             
└─sda2      ext4     5e8b171c-a5f8-41e9-bc37-97632b440b57 8a75b648-5f8a-4dc9-8fe0-5b4741fa8e8e             
sdb                                                                                                        
└─sdb1      vfat     B2FA-7D5B                            000c4357-01                          BOOT-REPAIR 
nvme0n1                                                                                                    
├─nvme0n1p1 vfat     9A84-F653                            873f3dd9-d4ca-4f71-aec4-c2c9cc4cf668             EFI system partition
├─nvme0n1p2                                               92b79ebc-28e2-441d-9f86-fae0cc1441dd             Microsoft reserved partition
├─nvme0n1p3 ntfs     74E485DDE485A24A                     0ac5b376-bd67-4044-98f4-15a54d7a2254             Basic data partition
└─nvme0n1p4 ntfs     CE18702B18701525                     440e7194-71be-42ca-915f-65f64083e879             

Mount points (filtered): _______________________________________________________

                Avail Use% Mounted on
/dev/nvme0n1p1  59.3M  38% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3   417G  55% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4  89.7M  87% /mnt/boot-sav/nvme0n1p4
/dev/sda2      420.6G   3% /mnt/boot-sav/sda2
/dev/sdb1        4.7G  34% /cdrom

Mount options (filtered): ______________________________________________________

/dev/nvme0n1p1 vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p3 fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p4 fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2      ext4            rw,relatime
/dev/sdb1      vfat            ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid 5e8b171c-a5f8-41e9-bc37-97632b440b57 root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   5e8b171c-a5f8-41e9-bc37-97632b440b57
Windows Boot Manager (on nvme0n1p1)   osprober-efi-9A84-F653
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/5e8b171c-a5f8-41e9-bc37-97632b440b57 / ext4 defaults 0 1
/swap.img	none	swap	sw	0	0
UUID=9A84-F653  /boot/efi       vfat    defaults      0       1

======================= sda2/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1
 395.461174011 = 424.623202304  boot/vmlinuz                                   1
 395.461174011 = 424.623202304  boot/vmlinuz-6.8.0-35-generic                  1
 395.461174011 = 424.623202304  boot/vmlinuz.old                               1
 101.688133240 = 109.186801664  boot/initrd.img                                1
 101.688133240 = 109.186801664  boot/initrd.img-6.8.0-35-generic               1
 101.688133240 = 109.186801664  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18133 Apr  4 10:12 10_linux
-rwxr-xr-x 1 root root 43202 Apr  4 10:12 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Apr  4 10:12 20_linux_xen
-rwxr-xr-x 1 root root   786 Apr  4 10:12 25_bli
-rwxr-xr-x 1 root root 13120 Apr  4 10:12 30_os-prober
-rwxr-xr-x 1 root root  1174 Apr  4 10:12 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Apr  4 10:12 40_custom
-rwxr-xr-x 1 root root   215 Apr  4 10:12 41_custom

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

Start Boot-Repair-Disk 64-bit
Start Boot-Repair-Disk 64-bit (compatibility mode)
UEFI Firmware Settings
Test memory

========================= 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
sprunge.us ko ()

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#6 Le 15/06/2024, à 10:46

Ratman88

Re : windows et linux sur 2 disque different pas de grub

J'ai formaté mon second disque dur en NTFS avec gparted. Retour à la case départ, comment installer Ubuntu sur le second disque avec le GRUB ?

Hors ligne

#7 Le 15/06/2024, à 12:57

geole

Re : windows et linux sur 2 disque different pas de grub

Bonjour
Cela serait une énorme erreur d'installer UBUNTU sur un disque dur alors que tu peux l'installer dans un MVME.
Extraits du boot-repair

BIOS/UEFI firmware: 3404(5.17) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).

nvme0n1	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
sda	: is-GPT,	hasBIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes

Le bios supporte EFI. Les deux disques ont une table de partition GPT
Alors boote avec windows, et rétrécis le C; d'environ 50 Go en utilisant son gestionnaire d'espace disque. Cela devrait se faire difficultés car il y a plein de place
ount points (filtered): _______________________________________________________
                Avail Use% Mounted on
/dev/nvme0n1p1  59.3M  38% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3   417G  55% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4  89.7M  87% /mnt/boot-sav/nvme0n1p4
/dev/sda2      420.6G   3% /mnt/boot-sav
/sda2
/dev/sdb1        4.7G  34% /cdrom
Par la suite , lorsque ubuntu sera opérationnel,tu utiliseras le disque dur pour y stocker tes données personnelles.

Je ne comprends pas pourquoi ton dual boot n'a pas fonctionné, il faudrait que tu vérifies que le bios est bien positionné pour booter prioritairement EN EFI

BootOrder: 0000,0004,0008,0009,0007
Boot0000* Windows Boot Manager	HD(1,GPT,873f3dd9-d4ca-4f71-aec4-c2c9cc4cf668,0x800,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.
Boot0007* ubuntu	HD(1,GPT,873f3dd9-d4ca-4f71-aec4-c2c9cc4cf668,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO

Mais j'ai  l'impression que ce n'est pas le cas car il y a de la présence LEGACY

 => Windows is installed in the MBR of /dev/nvme0n1.
 => Grub2 (v2.00) is installed in the MBR of /dev/sda 

Dernière modification par geole (Le 15/06/2024, à 13:07)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#8 Le 15/06/2024, à 13:36

Ratman88

Re : windows et linux sur 2 disque different pas de grub

j'ai dit disque dur mais c'est un ssd en sata (celui de mon ancien pc portable, je l'ai récupéré avant de le jeter)
après formatage et réinstallation depuis le début en choisissant effacer le disque et sélectionné le second ssd ca marche sans problèmes j'avais du faire une fausse manipulation lors de la première installation.

Hors ligne