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 19/07/2021, à 14:51

lapogne26

ordre des disques boot instable

Bonjour, je m’explique. l'ordinateur a deux disques un HD avec Windows et SSD avec Ubuntu que j'ai chargé à partir d'une clef USB de la boutique Ubuntu. au passage merci de la rapidité de la livraison.

Après l'installation c'était parfait, reboot sur un écran GRUB qui me propose le boot en Ubuntu ou en Windows.


mais depuis, le boot se fait sur Windows, dans le bios l'ordre des disques est 1 Windows et 2 Ubuntu, je corrige l'ordre et je fais F10 pour enregistrer les modifications. au redémarrage parfait j’éteins l'ordi et  lors du démarrage suivant de nouveau direct sur Windows, quand je retourne sur le bios l'ordre des disques a changé.


Ma question: comment rendre définitif l'ordre des disques dans le bios?

Merci de vos réponses, accessibles à un débutant.

ps le boot info

boot-info-4ppa130                                              [20210716_2105]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda3: __________________________________________________________________________

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

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:        /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/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

sdb2: __________________________________________________________________________

    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:        

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

    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:        

sdb5: __________________________________________________________________________

    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 /Windows/System32/winload.exe

sdb6: __________________________________________________________________________

    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:        


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on sda1
OS#2:   Windows 10 on sdb5

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.8.0-59-generic root=UUID=a6e0e97a-74bf-4a5f-b925-e264e3c52518 ro quiet splash vt.handoff=7


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

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0004,0003,0000,0001
Boot0000* P0: Crucial_CT240M500SSD1     	BBS(17,,0x0)
Boot0001* P4: HL-DT-ST DVD+/-RW GHB0N   	BBS(19,,0x0)
Boot0003* ubuntu	HD(1,GPT,66bbe42c-ebfe-48ff-87a2-f2048d9a8c28,0x800,0xfa000)/File(\EFI\Ubuntu\grubx64.efi)
Boot0004* Windows Boot Manager	HD(1,GPT,66bbe42c-ebfe-48ff-87a2-f2048d9a8c28,0x800,0xfa000)/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.}...9................

78415fb8fb9b909f8029858113f1335f   sdb1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   sdb1/Boot/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/Boot/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   sdb1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sdb1/ubuntu/shimx64.efi
958ceee3668f4eff01fb29d03518b49e   sdb1/Microsoft/Boot/bootmgfw.efi
2db5c324bad6a5740ca6d5b69d8feaf9   sdb1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sda2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb5	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sdb4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sdb5	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sdb6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda2	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb6	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: 4B018523-5B96-48F0-9BC0-7D7B0591F49C
          Start       End   Sectors   Size Type
sda1       2048  74219519  74217472  35.4G Linux filesystem
sda2   74219520 463003647 388784128 185.4G Linux filesystem
sda3  463003648 466909183   3905536   1.9G Linux swap
Disk sdb: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 67CFD447-83EE-471E-B493-99008A8AEEB2
          Start       End   Sectors   Size Type
sdb1       2048   1026047   1024000   500M EFI System
sdb2    1026048   1107967     81920    40M unknown
sdb3    1107968   1370111    262144   128M Microsoft reserved
sdb4    1370112   2906111   1536000   750M Windows recovery environment
sdb5    2906112 960137215 957231104 456.5G Microsoft basic data
sdb6  960137216 976771119  16633904     8G Windows recovery environment

parted -lm (filtered): _________________________________________________________

sda:240GB:scsi:512:4096:gpt:ATA Crucial_CT240M50:;
1:1049kB:38.0GB:38.0GB:ext4::;
2:38.0GB:237GB:199GB:ext4::;
3:237GB:239GB:2000MB:linux-swap(v1)::swap;
sdb:500GB:scsi:512:4096:gpt:ATA ST500DM002-1BD14:;
1:1049kB:525MB:524MB:fat32:EFI system partition:boot, esp;
2:525MB:567MB:41.9MB:fat32::hidden;
3:567MB:701MB:134MB::Microsoft reserved partition:msftres;
4:701MB:1488MB:786MB:ntfs:Basic data partition:hidden, diag;
5:1488MB:492GB:490GB:ntfs:Basic data partition:msftdata;
6:492GB:500GB:8517MB:ntfs:Microsoft recovery partition:hidden, diag;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL      PARTLABEL
sda                                                                                                  
├─sda1 ext4     a6e0e97a-74bf-4a5f-b925-e264e3c52518 d1d82ede-20e6-4274-a724-78c8fdf4dbb8            
├─sda2 ext4     c9b468fe-2bb3-442d-be68-1c3d3054a8da 561eadd5-9831-47b4-8842-49f285a1b06e            
└─sda3 swap     53d37b4b-ce21-4201-80d3-28c0b2554105 6ee2b710-f189-4837-a030-ffe6185c057f            
sdb                                                                                                  
├─sdb1 vfat     16D3-4E38                            66bbe42c-ebfe-48ff-87a2-f2048d9a8c28 ESP        EFI system partition
├─sdb2 vfat     30F7-CE44                            a46cb296-7587-4ed8-9350-918ab0fd0170 DIAGS      Basic data partition
├─sdb3                                               cc278913-630f-4d6c-b7c6-abc0fefed470            Microsoft reserved partition
├─sdb4 ntfs     8CB0FA4FB0FA3EF0                     720888b3-9406-4302-bcf6-03d024f104d4 WINRETOOLS Basic data partition
├─sdb5 ntfs     5A80FF8480FF6543                     20a19e73-9351-40f3-b8a0-4e297e4f43c9 OS         Basic data partition
└─sdb6 ntfs     6C9ABD739ABD3B02                     45e066e0-3894-43b3-9336-112598ba3d1f PBR Image  Microsoft recovery partition

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1               25.6G  21% /
sda2                172G   0% /home
sdb2                 36M   0% /mnt/boot-sav/sdb2
sdb4              473.7M  37% /mnt/boot-sav/sdb4
sdb5              387.8G  15% /mnt/boot-sav/sdb5
sdb6              756.2M  91% /mnt/boot-sav/sdb6

Mount options: __________________________________________________________________

sda1              rw,relatime,errors=remount-ro
sda2              rw,relatime
sdb2              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb4              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb5              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb6              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

Ubuntu   a6e0e97a-74bf-4a5f-b925-e264e3c52518
Ubuntu, avec Linux 5.8.0-59-generic   a6e0e97a-74bf-4a5f-b925-e264e3c52518
Ubuntu, avec Linux 5.8.0-43-generic   a6e0e97a-74bf-4a5f-b925-e264e3c52518
Windows Boot Manager (sur sdb1)   osprober-efi-16D3-4E38
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda1/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=a6e0e97a-74bf-4a5f-b925-e264e3c52518 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb1 during installation
UUID=16D3-4E38  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda2 during installation
UUID=c9b468fe-2bb3-442d-be68-1c3d3054a8da /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
UUID=53d37b4b-ce21-4201-80d3-28c0b2554105 none            swap    sw              0       0

======================= sda1/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=""

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

           GiB - GB             File                                 Fragment(s)
  34,284450531 = 36,812648448   boot/grub/grub.cfg                             2
  23,580413818 = 25,319276544   boot/vmlinuz                                   1
   2,985347748 = 3,205492736    boot/vmlinuz-5.8.0-43-generic                  2
  23,580413818 = 25,319276544   boot/vmlinuz-5.8.0-59-generic                  1
   2,985347748 = 3,205492736    boot/vmlinuz.old                               2
  26,766597748 = 28,740415488   boot/initrd.img                                4
  26,628646851 = 28,592291840   boot/initrd.img-5.8.0-43-generic               2
  26,766597748 = 28,740415488   boot/initrd.img-5.8.0-59-generic               4
  26,628646851 = 28,592291840   boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 17622 janv. 13  2021 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 13  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13  2021 40_custom
-rwxr-xr-x 1 root root   216 janv. 13  2021 41_custom

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

search.fs_uuid a6e0e97a-74bf-4a5f-b925-e264e3c52518 root hd0,gpt1 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg


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


/dev/sdb1: unknown GPT attributes
8000000000000000
Unknown GPT Partiton Type
d3ad6b79bf6b9f4db631466eb71a4965

/dev/sdb2: unknown GPT attributes
8000000000000001

/dev/sdb3: unknown GPT attributes
8000000000000000

/dev/sdb4: unknown GPT attributes
8000000000000001

/dev/sdb6: unknown GPT attributes
8000000000000001

========= Devices which don't seem to have a corresponding hard drive ==========

sdc 

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda1,
using the following options:        sdb1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file    

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession entry (sdb1/efi/****/shim****.efi (**** will be updated in the final message) 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\****\shim****.efi (**** will be updated in the final message)

Dernière modification par lapogne26 (Le 19/07/2021, à 17:31)

Hors ligne

#2 Le 19/07/2021, à 15:21

cqfd93

Re : ordre des disques boot instable

Modération

Bonjour,

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

  • 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

#3 Le 19/07/2021, à 17:32

lapogne26

Re : ordre des disques boot instable

j espère avoir bien compris la modération.

Hors ligne

#4 Le 19/07/2021, à 17:45

cqfd93

Re : ordre des disques boot instable

lapogne26 a écrit :

j espère avoir bien compris la modération.

C'est parfait smile


cqfd93

Hors ligne