Pages : 1
#1 Le 11/09/2022, à 17:03
- disepa55
Dual boot windows 10 Ubuntu
Bonjour,
J'ai fait l'installation de Windows 10 sur une autre partition près de Ubuntu seulement voilà
Après avoir sélectionné Ubuntu comme boot par défaut dans le BIOS, GRUB n'apparait au démarrage pour avoir le choix entre les 2 systèmes. Comment faire apparaitre GRUB svp au demarrage?
Ci-dessous les résultats de mon boot info
boot-info-4ppa200 [20220911_0239]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/10/11/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/fbx64.efi /efi/Boot/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/loadefi.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/UbuntuSecBoot.efi /efi/ubuntu/grub.cfg
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/10/11/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /efi/boot/bootx64.efi
/efi/boot/grubx64.efi
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda4: __________________________________________________________________________
File system: BitLocker
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
================================ 1 OS detected =================================
OS#1: The OS now in use - Ubuntu 20.04.3 LTS CurrentSession on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Intel Corporation from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.14.0-1027-oem root=UUID=65e0c2fe-3ab2-448f-a4c9-3e799a1ab645 ro quiet splash vt.handoff=7
df -Th / : /dev/sda3 ext4 290G 31G 244G 12% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 1.2.0(1.2) from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled but mokutil says: SecureBoot enabled - Please report this message to boot.repair@gmail.com.
BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0006,0002,0000,0003,0004,0005
Boot0000* UEFI ST1000LM035-1RK172 WKPJBJ2E PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,65535,0)/HD(1,GPT,587ac3fd-cd5d-4dff-9407-a928e7aa0e78,0x800,0x1b5800)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0002* Windows Boot Manager HD(1,GPT,587ac3fd-cd5d-4dff-9407-a928e7aa0e78,0x800,0x1b5800)/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.}...o................
Boot0003* UEFI ST1000LM035-1RK172 WKPJBJ2E 2 PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,65535,0)/HD(2,GPT,cb335912-4105-4a26-a4e5-f3a9311199b3,0x1b6000,0x1000000)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0004* ONBOARD NIC (IPV4) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(60189511eb4e,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.
Boot0005* ONBOARD NIC (IPV6) PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(60189511eb4e,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.
Boot0006* ubuntu HD(1,GPT,587ac3fd-cd5d-4dff-9407-a928e7aa0e78,0x800,0x1b5800)/File(\EFI\ubuntu\shimx64.efi)
85fa9d77b929ec4231aba29476574eb6 sda1/Boot/fbx64.efi
469e608783843a701d172242f016c79c sda1/Boot/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0 sda1/ubuntu/grubx64.efi
7d255c40e6466645db7f3776ca5806f9 sda1/ubuntu/loadefi.efi
469e608783843a701d172242f016c79c sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95 sda1/ubuntu/shimx64.efi
709423a7393b33b53a90f906c1e3976c sda1/ubuntu/UbuntuSecBoot.efi
660f0913319818720ae99c0004141daa sda1/Microsoft/Boot/bootmgfw.efi
f01c31a78f952b4115d1ddf977d0e108 sda1/Microsoft/Boot/bootmgr.efi
728124f6ec8e22fbdbe7034812c81b95 sda1/Boot/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda3 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda4 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda5 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: F56A6DF8-BAAF-4178-9065-B55D7D8A41E5
Start End Sectors Size Type
sda1 2048 1794047 1792000 875M EFI System
sda2 1794048 18571263 16777216 8G Microsoft reserved
sda3 18571264 637755391 619184128 295.3G Linux filesystem
sda4 637755392 929523711 291768320 139.1G Microsoft basic data
sda5 929523712 1953523711 1024000000 488.3G Microsoft basic data
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:gpt:ATA ST1000LM035-1RK1:;
1:1049kB:919MB:918MB:fat32:EFI system partition:boot, esp;
2:919MB:9508MB:8590MB:fat32:Basic data partition:msftres;
3:9508MB:327GB:317GB:ext4::;
4:327GB:476GB:149GB::Basic data partition:msftdata;
5:476GB:1000GB:524GB::Basic data partition:msftdata;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 4AEF-4749 587ac3fd-cd5d-4dff-9407-a928e7aa0e78 ESP EFI system partition
├─sda2 vfat E204-249C cb335912-4105-4a26-a4e5-f3a9311199b3 OS Basic data partition
├─sda3 ext4 65e0c2fe-3ab2-448f-a4c9-3e799a1ab645 366baaf7-881b-4ff4-afe6-d2cdfeede9cd UBUNTU
├─sda4 BitLocker ddaab141-3268-41dd-8e59-f8750d6015bb Basic data partition
└─sda5 0455412b-cc00-4f9c-bfe3-4bc4cde59a36 Basic data partition
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 826.9M 5% /mnt/boot-sav/sda1
/dev/sda3 244G 11% /
Mount options (filtered): ______________________________________________________
/dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3 ext4 rw,relatime,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 65e0c2fe-3ab2-448f-a4c9-3e799a1ab645 root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Install Complete, remove media and reboot.
Dell Recovery
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
====================== sda3/boot/grub/grub.cfg (filtered) ======================
Ubuntu 65e0c2fe-3ab2-448f-a4c9-3e799a1ab645
Ubuntu, with Linux 5.14.0-1031-oem 65e0c2fe-3ab2-448f-a4c9-3e799a1ab645
Ubuntu, with Linux 5.14.0-1027-oem 65e0c2fe-3ab2-448f-a4c9-3e799a1ab645
Ubuntu, with Linux 5.14.0-1024-oem 65e0c2fe-3ab2-448f-a4c9-3e799a1ab645
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
Restore OS to factory state
========================== sda3/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=65e0c2fe-3ab2-448f-a4c9-3e799a1ab645 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=4AEF-4749 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda3/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=true
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
17,687480927 = 18,991788032 boot/grub/grub.cfg 2
100,449703217 = 107,857047552 boot/vmlinuz 1
98,340328217 = 105,592123392 boot/vmlinuz-5.14.0-1024-oem 1
95,910640717 = 102,983266304 boot/vmlinuz-5.14.0-1027-oem 2
100,449703217 = 107,857047552 boot/vmlinuz-5.14.0-1031-oem 1
95,910640717 = 102,983266304 boot/vmlinuz.old 2
101,241855621 = 108,707614720 boot/initrd.img 3
98,448974609 = 105,708781568 boot/initrd.img-5.14.0-1024-oem 1
98,909805298 = 106,203594752 boot/initrd.img-5.14.0-1027-oem 9
101,241855621 = 108,707614720 boot/initrd.img-5.14.0-1031-oem 3
98,909805298 = 106,203594752 boot/initrd.img.old 9
===================== sda3: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18151 août 12 2021 10_linux
-rwxr-xr-x 1 root root 42359 août 17 2020 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 2020 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 2020 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 15 2020 40_custom
-rwxr-xr-x 1 root root 216 avril 15 2020 41_custom
-rwxr-xr-x 1 root root 1362 mars 25 2021 99_dell_recovery
======================= sda3/etc/grub.d/99_dell_recovery =======================
#!/bin/bash -e
source /usr/lib/grub/grub-mkconfig_lib
cat << EOF
menuentry "Restore OS to factory state" {
search --no-floppy --hint '(hd0,gpt2)' --set --fs-uuid E204-249C
set uuid_options="uuid=E204-249C"
if [ -s /factory/common.cfg ]; then
source /factory/common.cfg
else
set options="boot=casper automatic-ubiquity noprompt quiet splash nomodeset nopersistent"
fi
if [ -s /factory/post-rts-gfx.cfg ]; then
source /factory/post-rts-gfx.cfg
fi
if [ -s /factory/post-rts-wlan.cfg ]; then
source /factory/post-rts-wlan.cfg
fi
#Support starting from a loopback mount (Only support ubuntu.iso for filename)
if [ -f /ubuntu.iso ]; then
loopback loop /ubuntu.iso
set root=(loop)
set options="iso-scan/filename=/ubuntu.iso \$options"
fi
if [ -n "\${lang}" ]; then
set options="locale=\$lang \$options"
fi
if [ -s /factory/dual_enable ]; then
set options="dell-recovery/dual_boot=true \$options"
fi
kernel=/casper/vmlinuz
if [ ! -f $kernel ]; then
kernel=/casper/vmlinuz.efi
fi
linux \$kernel dell-recovery/recovery_type=hdd \$uuid_options \$options
initrd /casper/initrd
}
EOF
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda3,
using the following options: sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
Please use this software in a live-session (live-CD or live-USB). This will enable this feature.
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the The OS now in use - Ubuntu 20.04.3 LTS CurrentSession entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
Dernière modification par disepa55 (Le 11/09/2022, à 17:18)
Hors ligne
#2 Le 11/09/2022, à 17:04
- xubu1957
Re : Dual boot windows 10 Ubuntu
Bonjour,
Comme demandé dans le premier message du tutoriel Retour utilisable de commande
Pour ajouter toi-même les balises code à ton précédent message #1 : Merci
Cliquer sur le lien « Modifier » en bas à droite du message
Sélectionner le texte
Cliquer sur le <> de l'éditeur de message
Dernière modification par xubu1957 (Le 11/09/2022, à 17:21)
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
En ligne
#3 Le 11/09/2022, à 17:19
- disepa55
Re : Dual boot windows 10 Ubuntu
C'est fait.
Merci
Hors ligne
#4 Le 11/09/2022, à 18:37
- geole
Re : Dual boot windows 10 Ubuntu
Bonjour, Il faudra modifier des lignes du fichier /etc/default/grub
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=50
GRUB_DISABLE_OS_PROBER=false
Puis regénérer le grub
sudo update-grub
Dernière modification par geole (Le 11/09/2022, à 18:38)
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
En ligne
Pages : 1