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 20/11/2020, à 09:25

karabouya

Boot normal impossible : seul recovery fonctionne [RESOLU]

Bonjour,
Je suis en dual boot avec Xubuntu 20.04.1 et Windows 10.
Depuis quelque temps, le système ne veut plus démarrer sur Xubuntu.
Je dois donc soit :
- démarrer sur windows et de là, via les paramètres je peux faire redémarrer sur xubuntu
- démarrer xubuntu en mode recovery et là lancer boot-repair, puis redémarrer normalement du xubuntu.
Pour info, voici le lien donné par boot-repair : https://paste.ubuntu.com/p/6Xyg3wgjJb/
Merci d'avance pour vos conseils.

Dernière modification par karabouya (Le 15/12/2020, à 15:14)


Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#2 Le 20/11/2020, à 10:36

malbo

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Bonjour,
Ton Boot-info est là :

boot-repair-4ppa125                                              [20201120_0813]

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




Advices: _______________________________________________________________________
Le démarrage de votre ordinateur est en mode Secure. Vous voudrez peut-être réessayer après l'avoir changé en mode non-Secure.
Êtes-vous sûr de vouloir continuer quand même ? yes

Recommended repair: ____________________________________________________________

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


/boot/efi added in sdb5/fstab
rm /boot/efi/efi/Boot/bootx64.efi
mv /boot/efi/efi/Boot/bkpbootx64.efi /boot/efi/efi/Boot/bootx64.efi
Quantity of real Windows: 1
sdb5/boot/efi not empty

================= Reinstall the grub-efi-amd64-signed of sdb5 ==================

grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.6

efibootmgr -v from chroot before grub install
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager	HD(1,GPT,32f98f43-ce51-430f-be47-d64987bd30d4,0x800,0x32000)/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.}...S................
Boot0001* ubuntu	HD(1,GPT,32f98f43-ce51-430f-be47-d64987bd30d4,0x800,0x32000)/File(EFIUBUNTUSHIMX64.EFI)

uname -r
5.4.0-54-generic

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sdb1
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.

efibootmgr -v from chroot after grub install
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager	HD(1,GPT,32f98f43-ce51-430f-be47-d64987bd30d4,0x800,0x32000)/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.}...S................
Boot0001* ubuntu	HD(1,GPT,32f98f43-ce51-430f-be47-d64987bd30d4,0x800,0x32000)/File(EFIubuntushimx64.efi)

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-54-generic
Found initrd image: /boot/initrd.img-5.4.0-54-generic
Found Windows Boot Manager on /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings

Unhide GRUB boot menu in sdb5/boot/grub/grub.cfg

Le démarrage de l'ordinateur a été correctement réparé.

Vous pouvez maintenant redémarrer votre ordinateur.

N'oubliez pas de faire démarrer votre firmware UEFI sur l'entrée L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession (fichier sdb1/EFI/ubuntu/shimx64.efi) !
Si votre ordinateur redémarre directement dans Windows, essayez de changer l'ordre de démarrage dans votre firmware UEFI.

Si votre firmware UEFI ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi

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

 => 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:  
    Boot files:        

sda2: __________________________________________________________________________

    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:        

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/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

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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

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:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb6: __________________________________________________________________________

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

sdb7: __________________________________________________________________________

    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 /boot/bcd


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sdb5
OS#2:   Windows 8 or 10 on sdb3

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-54-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro recovery nomodeset dis_ucode_ldr


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

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

efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager	HD(1,GPT,32f98f43-ce51-430f-be47-d64987bd30d4,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.}...S................
Boot0001* ubuntu	HD(1,GPT,32f98f43-ce51-430f-be47-d64987bd30d4,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)

78415fb8fb9b909f8029858113f1335f   sdb1/Boot/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f   sdb1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   sdb1/Boot/fbx64.efi
114bd85eec32e3162958ea034020821d   sdb1/Boot/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/Boot/mmx64.efi
d8b4b9ae3018b1f4612611be7f42507a   sdb1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sdb1/ubuntu/shimx64.efi
15ba29cdd4054fd936a6e6acbd791336   sdb1/Microsoft/Boot/bootmgfw.efi
425b3cd6722f65838d3196ec7c39d9a4   sdb1/Microsoft/Boot/bootmgr.efi
92be7aa505b7ccc713bf1682c2af708a   sdb7/Boot/bootx64.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb3	: is-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
sdb7	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sdb5	: isnotESP,	fstab-has-goodEFI,	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
sdb3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sdb4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sdb7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	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

Partitions info (3/3): _________________________________________________________

sdb5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb3	: 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
sdb7	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sda1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sdb: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: B3EB0455-0053-49D7-BF17-399DC8753300
          Start       End   Sectors  Size Type
sdb1       2048    206847    204800  100M EFI System
sdb2     206848    239615     32768   16M Microsoft reserved
sdb3     239616 122286740 122047125 58.2G Microsoft basic data
sdb4  122288128 123496447   1208320  590M Windows recovery environment
sdb5  123496448 234532863 111036416   53G Linux filesystem
sdb6  234532864 246949887  12417024  5.9G Linux swap
sdb7  247971840 250068991   2097152    1G unknown
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: DA7BA1FA-83EA-4B02-B6FE-A0E0CE7FF0E3
           Start        End    Sectors   Size Type
sda1        2048 1827694591 1827692544 871.5G Linux filesystem
sda2  1827694592 1953523711  125829120    60G Microsoft basic data

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABD1:;
1:1049kB:936GB:936GB:ext4::;
2:936GB:1000GB:64.4GB:ntfs:Basic data partition:msftdata;
sdb:128GB:scsi:512:512:gpt:ATA SSD PHISON 128GB:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:62.6GB:62.5GB:ntfs:Basic data partition:msftdata;
4:62.6GB:63.2GB:619MB:ntfs::hidden, diag;
5:63.2GB:120GB:56.9GB:ext4::;
6:120GB:126GB:6358MB:linux-swap(v1)::swap;
7:127GB:128GB:1074MB:fat32:Basic data partition:hidden;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL    PARTLABEL
sda                                                                                                
├─sda1 ext4     90d68e74-5ac6-4967-9562-5fc179b3840f 3c8f087b-acc3-49fd-8065-b5b658426135 MesDatas 
└─sda2 ntfs     B0FAF1D1FAF193B6                     4b5ab66f-f24d-474e-a9c2-7644bbc5474e Recover  Basic data partition
sdb                                                                                                
├─sdb1 vfat     9A2E-1698                            32f98f43-ce51-430f-be47-d64987bd30d4          EFI system partition
├─sdb2                                               0808ef68-6c92-471d-b81f-d50d007e3dc7          Microsoft reserved partition
├─sdb3 ntfs     BC242D3D242CFBD0                     b28a6ad5-0fb1-4064-9484-6993cb11f8af Boot     Basic data partition
├─sdb4 ntfs     5A5016D75016BA29                     9d5d12cc-714e-4af1-bb7c-d34a7755fd53          
├─sdb5 ext4     dba84388-3238-4640-a8a3-26dbbe9a88e5 8d126014-8246-41ad-9f5f-43a324b5cc28          
├─sdb6 swap     261a8d70-0d84-42b3-a691-b1affc40d588 a07fe4a1-2ce3-496b-b5fb-0dd32dbd1daf          
└─sdb7 vfat     6A21-E7F9                            7c3d6bbc-32a1-45fd-95be-857eea54f766 PRC_RP   Basic data partition

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sda1   256.5G  65% /media/MesDatas
sda2    23.4G  61% /mnt/boot-sav/sda2
sdb3     9.4G  84% /mnt/boot-sav/sdb3
sdb4    88.8M  85% /mnt/boot-sav/sdb4
sdb5    31.6G  34% /
sdb7   767.1M  25% /mnt/boot-sav/sdb7

Mount options: __________________________________________________________________

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

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

search.fs_uuid dba84388-3238-4640-a8a3-26dbbe9a88e5 root hd1,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   dba84388-3238-4640-a8a3-26dbbe9a88e5
Ubuntu, with Linux 5.4.0-54-generic   dba84388-3238-4640-a8a3-26dbbe9a88e5
Windows Boot Manager (on sdb1)   osprober-efi-9A2E-1698
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb5 during installation
UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb1 during installation
/swapfile                                 none            swap    sw              0       0
LABEL=MesDatas /media/MesDatas auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-id/wwn-0x50014ee20b324a3a-part1 /mnt/wwn-0x50014ee20b324a3a-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=9A2E-1698  /boot/efi       vfat    defaults      0       1

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

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

           GiB - GB             File                                 Fragment(s)
  71,012989044 = 76,249616384   boot/grub/grub.cfg                             1
  64,387691498 = 69,135757312   boot/vmlinuz                                   2
  64,387691498 = 69,135757312   boot/vmlinuz-5.4.0-54-generic                  2
  64,387691498 = 69,135757312   boot/vmlinuz.old                               2
  67,011421204 = 71,952965632   boot/initrd.img                                6
  67,011421204 = 71,952965632   boot/initrd.img-5.4.0-54-generic               6
  67,011421204 = 71,952965632   boot/initrd.img.old                            6

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

-rwxr-xr-x 1 root root 17622 aoû 17 16:04 10_linux
-rwxr-xr-x 1 root root 42359 aoû 17 16:04 10_linux_zfs
-rwxr-xr-x 1 root root 12894 jui 31 02:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 jui 31 02:34 30_os-prober
-rwxr-xr-x 1 root root  1424 jui 31 02:34 30_uefi-firmware
-rwxr-xr-x 1 root root   214 jui 31 02:34 40_custom
-rwxr-xr-x 1 root root   216 jui 31 02:34 41_custom


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

Unknown GPT Partiton Type
c60c7f8d9e87f647a7670ed8fd3b0659

Il y a une anomalie dans le fichier fstab :

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb5 during installation
UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb1 during installation
/swapfile                                 none            swap    sw              0       0
LABEL=MesDatas /media/MesDatas auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-id/wwn-0x50014ee20b324a3a-part1 /mnt/wwn-0x50014ee20b324a3a-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=9A2E-1698  /boot/efi       vfat    defaults      0       1

Il faudrait commenter la ligne suivante parce que wwn-0x50014ee20b324a3a n'existe pas :
/dev/disk/by-id/wwn-0x50014ee20b324a3a-part1 /mnt/wwn-0x50014ee20b324a3a-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0

EDIT : J'ai rayé ce qui précède parce que je crois bien que j'allais proposer une connerie.
Je te prie de passer la commande suivante et d'en donner le retour complet dans ta réponse :

ls -l /dev/disk/by-id | grep -v part 

Dernière modification par malbo (Le 20/11/2020, à 12:16)

Hors ligne

#3 Le 20/11/2020, à 16:56

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Merci Malbo, j'étais absent toute la journée. Voici le retour demandé :

phi@phi-P7641-MD99855:~$ ls -l /dev/disk/by-id | grep -v part 
total 0
lrwxrwxrwx 1 root root  9 nov 20 15:45 ata-HL-DT-ST_DVDRAM_GUD0N_KZJG1685219 -> ../../sr0
lrwxrwxrwx 1 root root  9 nov 20 15:45 ata-SSD_PHISON_128GB_PS3109-S9_8EFA07610FE703482604 -> ../../sdb
lrwxrwxrwx 1 root root  9 nov 20 15:45 ata-TOSHIBA_MQ01ABD100_169DSKFVS -> ../../sda
lrwxrwxrwx 1 root root  9 nov 20 15:45 wwn-0x50000396c5c017bb -> ../../sda
lrwxrwxrwx 1 root root  9 nov 20 15:45 wwn-0x5001480000000000 -> ../../sr0

Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#4 Le 20/11/2020, à 19:10

malbo

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Le résultat qu'on peut voir dans le post #3 ne contient pas la mention wwn-0x50014ee20b324a3a. J'ai pensé que j'avais merdouillé dans mon post précédent mais en fait j'avais raison : il faut que tu commentes la lignes suivante de ton fstab :

/dev/disk/by-id/wwn-0x50014ee20b324a3a-part1 /mnt/wwn-0x50014ee20b324a3a-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0

Hors ligne

#5 Le 20/11/2020, à 20:25

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Sorry mais je ne maîtrise pas ça : comment "commenter" ?

J'ai dû redémarrer 3 fois et chaque fois demandé le rapport boot info si ça peut t'être utile.


https://paste.ubuntu.com/p/qS75GRw9N3/

https://paste.ubuntu.com/p/nBs3MBKJ48/

https://paste.ubuntu.com/p/bRP6FzPx2S/

Merci pour le temps consacré à mes petits soucis wink


Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#6 Le 20/11/2020, à 21:40

malbo

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

karabouya a écrit :

Sorry mais je ne maîtrise pas ça : comment "commenter" ?

Il faut ajouter le caractère # en tête de la ligne pour qu'elle soit considérée comme un commentaire. Ainsi, elle ne sera pas prise en compte par le système.
Etat actuel :

/dev/disk/by-id/wwn-0x50014ee20b324a3a-part1 /mnt/wwn-0x50014ee20b324a3a-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0

Et ça doit devenir :

#/dev/disk/by-id/wwn-0x50014ee20b324a3a-part1 /mnt/wwn-0x50014ee20b324a3a-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0

Hors ligne

#7 Le 21/11/2020, à 10:28

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Je suis en mode recovery car démarrage mode normal impossible.
J'ai fait un chown sur /etc
Je constate dans "propriétés" que j'ai accès en lecture et écriture mais par sur fstab.
Comment obtenir la permission de modifier fstab ?
Très compliqué ces permissions pour l'utilisateur lambda...
Merci

Dernière modification par karabouya (Le 21/11/2020, à 11:21)


Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#8 Le 21/11/2020, à 16:04

malbo

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

karabouya a écrit :

Comment obtenir la permission de modifier fstab ?

Le principe est présenté dans le paragraphe 5. Sous Xubuntu (Xfce) de la doc "Comment modifier un fichier ?".
Adaptée à ton cas, la commande à passer pour modifier le fichier fstab avec l'éditeur de texte Mousepad est la suivante :

pkexec mousepad /etc/fstab

Ton mot de passe sera demandé juste après.
Après que tu auras "commenté" la ligne en question, il ne faudra pas oublier d'enregistrer avant de quitter l'éditeur de texte.

Dernière modification par malbo (Le 21/11/2020, à 16:08)

Hors ligne

#9 Le 21/11/2020, à 16:22

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

fstab a bien été modifié et enregistré mais toujours pas de démarrage en mode normal, seul fonctionne le recovery
Voici ce que donne boot-info :  https://paste.ubuntu.com/p/5Yw5HDnVNZ/


Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#10 Le 21/11/2020, à 18:07

malbo

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Je colle ton dernier Boot-info :

boot-info-4ppa125                                              [20201121_1519]

============================== 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:  
    Boot files:        

sda2: __________________________________________________________________________

    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:        

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/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

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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

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:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb6: __________________________________________________________________________

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

sdb7: __________________________________________________________________________

    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 /boot/bcd


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sdb5
OS#2:   Windows 8 or 10 on sdb3

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-54-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro recovery nomodeset dis_ucode_ldr


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

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

efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager	HD(1,GPT,32f98f43-ce51-430f-be47-d64987bd30d4,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.}...S................
Boot0001* ubuntu	HD(1,GPT,32f98f43-ce51-430f-be47-d64987bd30d4,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)

78415fb8fb9b909f8029858113f1335f   sdb1/Boot/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f   sdb1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   sdb1/Boot/fbx64.efi
114bd85eec32e3162958ea034020821d   sdb1/Boot/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/Boot/mmx64.efi
d8b4b9ae3018b1f4612611be7f42507a   sdb1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sdb1/ubuntu/shimx64.efi
15ba29cdd4054fd936a6e6acbd791336   sdb1/Microsoft/Boot/bootmgfw.efi
425b3cd6722f65838d3196ec7c39d9a4   sdb1/Microsoft/Boot/bootmgr.efi
92be7aa505b7ccc713bf1682c2af708a   sdb7/Boot/bootx64.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb3	: is-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
sdb7	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sdb5	: isnotESP,	fstab-has-goodEFI,	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
sdb3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sdb4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sdb7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	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

Partitions info (3/3): _________________________________________________________

sdb5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb3	: 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
sdb7	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sda1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sdb: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: B3EB0455-0053-49D7-BF17-399DC8753300
          Start       End   Sectors  Size Type
sdb1       2048    206847    204800  100M EFI System
sdb2     206848    239615     32768   16M Microsoft reserved
sdb3     239616 122286740 122047125 58.2G Microsoft basic data
sdb4  122288128 123496447   1208320  590M Windows recovery environment
sdb5  123496448 234532863 111036416   53G Linux filesystem
sdb6  234532864 246949887  12417024  5.9G Linux swap
sdb7  247971840 250068991   2097152    1G unknown
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: DA7BA1FA-83EA-4B02-B6FE-A0E0CE7FF0E3
           Start        End    Sectors   Size Type
sda1        2048 1827694591 1827692544 871.5G Linux filesystem
sda2  1827694592 1953523711  125829120    60G Microsoft basic data

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABD1:;
1:1049kB:936GB:936GB:ext4::;
2:936GB:1000GB:64.4GB:ntfs:Basic data partition:msftdata;
sdb:128GB:scsi:512:512:gpt:ATA SSD PHISON 128GB:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:62.6GB:62.5GB:ntfs:Basic data partition:msftdata;
4:62.6GB:63.2GB:619MB:ntfs::hidden, diag;
5:63.2GB:120GB:56.9GB:ext4::;
6:120GB:126GB:6358MB:linux-swap(v1)::swap;
7:127GB:128GB:1074MB:fat32:Basic data partition:hidden;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL    PARTLABEL
sda                                                                                                
├─sda1 ext4     90d68e74-5ac6-4967-9562-5fc179b3840f 3c8f087b-acc3-49fd-8065-b5b658426135 MesDatas 
└─sda2 ntfs     B0FAF1D1FAF193B6                     4b5ab66f-f24d-474e-a9c2-7644bbc5474e Recover  Basic data partition
sdb                                                                                                
├─sdb1 vfat     9A2E-1698                            32f98f43-ce51-430f-be47-d64987bd30d4          EFI system partition
├─sdb2                                               0808ef68-6c92-471d-b81f-d50d007e3dc7          Microsoft reserved partition
├─sdb3 ntfs     BC242D3D242CFBD0                     b28a6ad5-0fb1-4064-9484-6993cb11f8af Boot     Basic data partition
├─sdb4 ntfs     5A5016D75016BA29                     9d5d12cc-714e-4af1-bb7c-d34a7755fd53          
├─sdb5 ext4     dba84388-3238-4640-a8a3-26dbbe9a88e5 8d126014-8246-41ad-9f5f-43a324b5cc28          
├─sdb6 swap     261a8d70-0d84-42b3-a691-b1affc40d588 a07fe4a1-2ce3-496b-b5fb-0dd32dbd1daf          
└─sdb7 vfat     6A21-E7F9                            7c3d6bbc-32a1-45fd-95be-857eea54f766 PRC_RP   Basic data partition

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sda1   256.3G  65% /media/MesDatas
sda2    23.4G  61% /mnt/boot-sav/sda2
sdb3     8.8G  85% /mnt/boot-sav/sdb3
sdb4    88.8M  85% /mnt/boot-sav/sdb4
sdb5    31.3G  35% /
sdb7   767.1M  25% /mnt/boot-sav/sdb7

Mount options: __________________________________________________________________

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

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

search.fs_uuid dba84388-3238-4640-a8a3-26dbbe9a88e5 root hd1,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   dba84388-3238-4640-a8a3-26dbbe9a88e5
Ubuntu, avec Linux 5.4.0-54-generic   dba84388-3238-4640-a8a3-26dbbe9a88e5
Windows Boot Manager (sur sdb1)   osprober-efi-9A2E-1698
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb5 during installation
UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb1 during installation
/swapfile                                 none            swap    sw              0       0
LABEL=MesDatas /media/MesDatas auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=9A2E-1698  /boot/efi       vfat    defaults      0       1

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

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

           GiB - GB             File                                 Fragment(s)
  62,329101562 = 66,925363200   boot/grub/grub.cfg                             2
  64,387691498 = 69,135757312   boot/vmlinuz                                   2
  64,387691498 = 69,135757312   boot/vmlinuz-5.4.0-54-generic                  2
  64,387691498 = 69,135757312   boot/vmlinuz.old                               2
  67,011421204 = 71,952965632   boot/initrd.img                                6
  67,011421204 = 71,952965632   boot/initrd.img-5.4.0-54-generic               6
  67,011421204 = 71,952965632   boot/initrd.img.old                            6

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

-rwxr-xr-x 1 root root 17622 aoû 17 16:04 10_linux
-rwxr-xr-x 1 root root 42359 aoû 17 16:04 10_linux_zfs
-rwxr-xr-x 1 root root 12894 jui 31 02:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 jui 31 02:34 30_os-prober
-rwxr-xr-x 1 root root  1424 jui 31 02:34 30_uefi-firmware
-rwxr-xr-x 1 root root   214 jui 31 02:34 40_custom
-rwxr-xr-x 1 root root   216 jui 31 02:34 41_custom


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

Unknown GPT Partiton Type
c60c7f8d9e87f647a7670ed8fd3b0659

Suggested repair: ______________________________________________________________

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

Confirmation request before suggested repair: __________________________________

The boot of your PC is in Secure mode. You may want to retry after changing it to non-Secure mode.
Are you sure you want to continue anyway?

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.1 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)

On voit que tu as supprimé la ligne indésirable dans le fichier fstab. Je note que ça ne règle pas ton problème. Je ne sais pas quoi te proposer pour résoudre ça.

Dernière modification par malbo (Le 21/11/2020, à 18:28)

Hors ligne

#11 Le 21/11/2020, à 18:18

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Je ne suis pas assez compétent pour me lancer dans ce qui est indiqué là : https://doc.ubuntu-fr.org/grub-pc?redirect=1
Tout ça a commencé juste après une mise-à-jour de Thunderbird. Bizarre quand même.
Le boot-repair ne fonctionne donc pas ici. Naufrage en vue...
D'après toi, faudrait-il que je lance une nouvelle bouteille à la mer ?

Ajout
J'ai tenté et réussi un redémarrage "normal" via les paramètres de windows et ça a fonctionné !
Fait ensuite un boot-info. Cela pourrait t'éclairer ? https://paste.ubuntu.com/p/ZBKJzRRQCw/

Dernière modification par karabouya (Le 21/11/2020, à 20:58)


Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#12 Le 22/11/2020, à 09:52

malbo

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Je colle ci-dessous le contenu de ton dernier Boot-info :

boot-info-4ppa125                                              [20201121_1954]

============================== 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:  
    Boot files:        

sda2: __________________________________________________________________________

    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:        

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/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

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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

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:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb6: __________________________________________________________________________

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

sdb7: __________________________________________________________________________

    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 /boot/bcd


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on sdb5
OS#2:   Windows 8 or 10 on sdb3

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-54-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7


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

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

efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager	HD(1,GPT,32f98f43-ce51-430f-be47-d64987bd30d4,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.}...S................
Boot0001* ubuntu	HD(1,GPT,32f98f43-ce51-430f-be47-d64987bd30d4,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)

78415fb8fb9b909f8029858113f1335f   sdb1/Boot/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f   sdb1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   sdb1/Boot/fbx64.efi
114bd85eec32e3162958ea034020821d   sdb1/Boot/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/Boot/mmx64.efi
d8b4b9ae3018b1f4612611be7f42507a   sdb1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sdb1/ubuntu/shimx64.efi
15ba29cdd4054fd936a6e6acbd791336   sdb1/Microsoft/Boot/bootmgfw.efi
425b3cd6722f65838d3196ec7c39d9a4   sdb1/Microsoft/Boot/bootmgr.efi
92be7aa505b7ccc713bf1682c2af708a   sdb7/Boot/bootx64.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
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
sdb3	: is-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
sdb7	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sdb5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	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
sdb3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sdb4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sdb7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sda1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	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
sdb3	: 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
sdb7	: 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: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: DA7BA1FA-83EA-4B02-B6FE-A0E0CE7FF0E3
           Start        End    Sectors   Size Type
sda1        2048 1827694591 1827692544 871.5G Linux filesystem
sda2  1827694592 1953523711  125829120    60G Microsoft basic data
Disk sdb: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: B3EB0455-0053-49D7-BF17-399DC8753300
          Start       End   Sectors  Size Type
sdb1       2048    206847    204800  100M EFI System
sdb2     206848    239615     32768   16M Microsoft reserved
sdb3     239616 122286740 122047125 58.2G Microsoft basic data
sdb4  122288128 123496447   1208320  590M Windows recovery environment
sdb5  123496448 234532863 111036416   53G Linux filesystem
sdb6  234532864 246949887  12417024  5.9G Linux swap
sdb7  247971840 250068991   2097152    1G unknown

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABD1:;
1:1049kB:936GB:936GB:ext4::;
2:936GB:1000GB:64.4GB:ntfs:Basic data partition:msftdata;
sdb:128GB:scsi:512:512:gpt:ATA SSD PHISON 128GB:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:62.6GB:62.5GB:ntfs:Basic data partition:msftdata;
4:62.6GB:63.2GB:619MB:ntfs::hidden, diag;
5:63.2GB:120GB:56.9GB:ext4::;
6:120GB:126GB:6358MB:linux-swap(v1)::swap;
7:127GB:128GB:1074MB:fat32:Basic data partition:hidden;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL    PARTLABEL
sda                                                                                                
├─sda1 ext4     90d68e74-5ac6-4967-9562-5fc179b3840f 3c8f087b-acc3-49fd-8065-b5b658426135 MesDatas 
└─sda2 ntfs     B0FAF1D1FAF193B6                     4b5ab66f-f24d-474e-a9c2-7644bbc5474e Recover  Basic data partition
sdb                                                                                                
├─sdb1 vfat     9A2E-1698                            32f98f43-ce51-430f-be47-d64987bd30d4          EFI system partition
├─sdb2                                               0808ef68-6c92-471d-b81f-d50d007e3dc7          Microsoft reserved partition
├─sdb3 ntfs     BC242D3D242CFBD0                     b28a6ad5-0fb1-4064-9484-6993cb11f8af Boot     Basic data partition
├─sdb4 ntfs     5A5016D75016BA29                     9d5d12cc-714e-4af1-bb7c-d34a7755fd53          
├─sdb5 ext4     dba84388-3238-4640-a8a3-26dbbe9a88e5 8d126014-8246-41ad-9f5f-43a324b5cc28          
├─sdb6 swap     261a8d70-0d84-42b3-a691-b1affc40d588 a07fe4a1-2ce3-496b-b5fb-0dd32dbd1daf          
└─sdb7 vfat     6A21-E7F9                            7c3d6bbc-32a1-45fd-95be-857eea54f766 PRC_RP   Basic data partition

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sda1   260.5G  65% /media/MesDatas
sda2    23.4G  61% /mnt/boot-sav/sda2
sdb3     7.2G  88% /mnt/boot-sav/sdb3
sdb4    88.8M  85% /mnt/boot-sav/sdb4
sdb5    31.3G  35% /
sdb7   767.1M  25% /mnt/boot-sav/sdb7

Mount options: __________________________________________________________________

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

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

search.fs_uuid dba84388-3238-4640-a8a3-26dbbe9a88e5 root hd1,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   dba84388-3238-4640-a8a3-26dbbe9a88e5
Ubuntu, avec Linux 5.4.0-54-generic   dba84388-3238-4640-a8a3-26dbbe9a88e5
Windows Boot Manager (sur sdb1)   osprober-efi-9A2E-1698
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb5 during installation
UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb1 during installation
/swapfile                                 none            swap    sw              0       0
LABEL=MesDatas /media/MesDatas auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=9A2E-1698  /boot/efi       vfat    defaults      0       1

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

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

           GiB - GB             File                                 Fragment(s)
  73,065444946 = 78,453424128   boot/grub/grub.cfg                             2
  64,387691498 = 69,135757312   boot/vmlinuz                                   2
  64,387691498 = 69,135757312   boot/vmlinuz-5.4.0-54-generic                  2
  64,387691498 = 69,135757312   boot/vmlinuz.old                               2
  67,011421204 = 71,952965632   boot/initrd.img                                6
  67,011421204 = 71,952965632   boot/initrd.img-5.4.0-54-generic               6
  67,011421204 = 71,952965632   boot/initrd.img.old                            6

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

-rwxr-xr-x 1 root root 17622 aoû 17 16:04 10_linux
-rwxr-xr-x 1 root root 42359 aoû 17 16:04 10_linux_zfs
-rwxr-xr-x 1 root root 12894 jui 31 02:34 20_linux_xen
-rwxr-xr-x 1 root root 12059 jui 31 02:34 30_os-prober
-rwxr-xr-x 1 root root  1424 jui 31 02:34 30_uefi-firmware
-rwxr-xr-x 1 root root   214 jui 31 02:34 40_custom
-rwxr-xr-x 1 root root   216 jui 31 02:34 41_custom


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

Unknown GPT Partiton Type
c60c7f8d9e87f647a7670ed8fd3b0659

Suggested repair: ______________________________________________________________

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

Confirmation request before suggested repair: __________________________________

The boot of your PC is in Secure mode. You may want to retry after changing it to non-Secure mode.
Are you sure you want to continue anyway?

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.1 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)

On y voit cette ligne issue de la partie "Architecture/Host Info" qui montre bien que tu as démarré en mode normal (et non pas en mode recovery) :

/boot/vmlinuz-5.4.0-54-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7

En effet, la ligne correspondante dans le Boot-info du post #10 contenait les paramètres "recovery nomodeset dis_ucode_ldr" caractéristiques du mode recovery :

/boot/vmlinuz-5.4.0-54-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro recovery nomodeset dis_ucode_ldr

D'autre part, on peut voir dans la partie "fdisk -l (filtered)" que sda est traité en premier :

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors

alors que dans le Boot-info précédent - celui que j'ai collé dans le post #10 - c'est sdb qui était traité en premier :

fdisk -l (filtered): ___________________________________________________________

Disk sdb: 119.25 GiB, 128035676160 bytes, 250069680 sectors

Je ne suis pas assez futé pour savoir si ça peut servir à expliquer tes soucis ou bien si c'est insignifiant.

Dernière modification par malbo (Le 22/11/2020, à 10:02)

Hors ligne

#13 Le 22/11/2020, à 10:27

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Merci,
Ce qui me préoccupe c'est pourquoi une fois ça démarre normalement (c'est le cas ce matin) et pourquoi souvent pas .
Tant que ça continue de façon semble-t-il aléatoire je ne ferme pas la discussion. A+ sans doute.  Merci


Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#14 Le 22/11/2020, à 10:41

malbo

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Je ne suis pas du tout sûr que ce soit le cas pour ton modèle mais j'ai vu que pour certains portables du fabricant Medion, il est possible d'accéder au Boot Menu en pressant (ou en tapotant, je ne sais pas) la touche F8 au démarrage de l'ordi. Cela permet d'avoir plusieurs possibilités de démarrage et parmi les choix proposés par le Boot Menu, tu devrais trouver "Windows Boot Manager" et "ubuntu". J'ai écrit "tu devrais" parce que dans les ordis dont le Bios est verrouillé par le fabricant, l'option "ubuntu" n’apparaît pas et seul le choix pour Windows est proposé. Peux-tu essayer cette astuce avec F8 et raconter si tu parviens ou pas à démarrer sur Ubuntu par ce moyen ?

Dernière modification par malbo (Le 22/11/2020, à 10:44)

Hors ligne

#15 Le 22/11/2020, à 11:01

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Dès l'allumage, sans actionner de touche, dans le boot menu j'ai le choix :
-ubuntu
-options avancées (ubuntu recovery)
-windows.
Depuis le  début des ces problèmes, la plupart du temps, choisir ubuntu ne donne rien : écran noir
Quand je choisis recovery, je prends l'option "restaurer grub" et je demande le redémarrage normal. Parfois ça va, parfois pas et ça revient en recovery...
Quand je choisis Windows > paramètres > sécurité > réparer > choix de redémarrer via ubuntu. Idem, parfois ça va, parfois pas...
Je n'ose relancer le PC maintenant car j'en ai besoin toute la journée, on verra demain matin. 
Merci et bon dimanche Malbo


Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#16 Le 24/11/2020, à 11:08

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Bonjour Malbo,
Je suis toujours dans la panade avec Grub bien qu'hier j'ai enfin eu un démarrage normal après de nombreux essais. Bizarre.
Je suis en mode recovery donc limité.
CI-dessous quelques infos fournies lors du passage en mode recovery.

1606208636.jpg

1606208994.jpg

1606209040.jpg

Et enfin ce que donne le boot-repair du jour : https://paste.ubuntu.com/p/GVF3q5Fhsx/

Ces infos peuvent-elles t'aider à  résoudre mon problème ou faut-il d'après toi relancer le sujet en faisant appel à un "Docteur Grub" ?
Merci

Dernière modification par cqfd93 (Le 24/11/2020, à 13:30)


Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#17 Le 24/11/2020, à 14:26

malbo

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

karabouya a écrit :

Quand je choisis recovery, je prends l'option "restaurer grub"

Dans les photos de ton post précédents, je ne vois pas l'option "restaurer grub". je vois seulement "Mettre à jour le chargeur d'amorçage Grub" dans cette vue :
1606208636.jpg
Peux-tu expliquer ?

Hors ligne

#18 Le 24/11/2020, à 14:38

geole

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

karabouya a écrit :

Bonjour,
Depuis quelque temps, le système ne veut plus démarrer sur Xubuntu.
Je dois donc soit :
- démarrer sur windows et de là, via les paramètres je peux faire redémarrer sur xubuntu
- démarrer xubuntu en mode recovery et là lancer boot-repair, puis redémarrer normalement du xubuntu.
Merci d'avance pour vos conseils.

Bonjour
En lisant bien ce que tu décris, il me semble que toute la partie de boot déclarée EFI fonctionne parfaitement bien
Peux-tu confirmer qu'à chaque fois, tu as le menu dual-bot te proposant soit de booter windows soit de booter ubuntu.

Second point,  Je comprends que tu lances le boot-repair  sous le contrôle de recovery.

Troisième point, A part dire:  "cela ne marche pas",  il n'y a pas tellement d'explication de ce qui se passe ou ne se passe pas

1) En mode recovery, lorsque tu choisis resume, que se passe-t-il ?
2)  Comment se fait-il que tu ne disposes que d'un seul noyau et pas de la version moins 1 ?

==================== sdb5: Location of files loaded by Grub ====================
           GiB - GB             File                                 Fragment(s)
  73,065444946 = 78,453424128   boot/grub/grub.cfg                             2
  64,387691498 = 69,135757312   boot/vmlinuz                                   2
  64,387691498 = 69,135757312   boot/vmlinuz-5.4.0-54-generic                  2
  64,387691498 = 69,135757312   boot/vmlinuz.old                               2
  67,011421204 = 71,952965632   boot/initrd.img                                6
  67,011421204 = 71,952965632   boot/initrd.img-5.4.0-54-generic               6
  67,011421204 = 71,952965632   boot/initrd.img.old                            6

3) Lorsque tu bootes normalement , que se passe-t-il ou ne se passe-t-il pas
      Blocage de l'écran qui n'affiche rien ?
      Plantage du grub?  avec un message ? sans message?
      Plantage de initramfs?

4)    Lorsque tu  tentes de booter, essaie de modifier la ligne qui boote si tu peux afin de supprimer
   les mots quiet splash     afin de faire bavarder l'écran un peu plus .
   Si tu n'y arrives pas, ce n'est pas trop grave,     Mais solution de secours au point 5.

5) Lors d'un boot réussi, modifie cette ligne

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

du fichier /etc/default/grub
afin de mettre

######   GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset  "

et prise en charge avec

sudo update-grub

     ===> c'est suite à cette remarque "la plupart du temps, choisir ubuntu ne donne rien : écran noir"

=> à noter que tu peux utiliser boot-repair pour mettre facilement cette option
===> Cela me semble être la priorité.

6) Pour un peu, je te ferais installer la version moins 1 car il me semble avoir vu des problèmes sur un noyau récent.   Mais je n'ai pas noté lequel.

7) Bien que rien ne semble le  justifier, à part la remarque de malbo disant que les disques ne sont pas toujours dans le même ordre, tu vas quand même donner l'état du disque, soit avec la session installée soit avec le support d'installation . https://doc.ubuntu-fr.org/smartmontools

sudo apt-get install --no-install-recommends smartmontools 

et publication de ce résultat
sudo smartmontools   -s  on  -a  /dev/sdb

sudo smartctl  -s  on  -a  /dev/sdb

Dernière modification par geole (Le 24/11/2020, à 16:37)


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

#19 Le 24/11/2020, à 15:19

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

D'abord merci à vous.

réponse à Malbo

Dans les photos de ton post précédents, je ne vois pas l'option "restaurer grub". je vois seulement "Mettre à jour le chargeur d'amorçage Grub" dans cette vue :
1606208636.jpg
Peux-tu expliquer ?

Sorry, je n'avais plus l'écran des options sous les yeux en rédigeant le post en question. Impardonnable approximation !

réponse à Geode
1. oui, j'ai toujours le menu dual-bot proposant soit de booter windows soit de booter ubuntu et soit en mode avancé recovery

2.

2)  Comment se fait-il que tu ne disposes que d'un seul noyau et pas de la version moins 1 ?

ça je l'ignore. Suis utilisateur lambda mais de bonne volonté

3.

3) Lorsque tu bootes normalement , que se passe-t-il ou ne se passe-t-il pas
      Blocage de l'écran qui n'affiche rien ?

Ecran noir et tout est bloqué. Ne se passe rien

Je vais appliquer les commandes indiquées en 5 et 6 puis je redémarrerai.

Enfin, smartmontools 7.1-1 est bien installé

phi@phi-P7641-MD99855:~$ sudo apt-get install --no-install-recommends smartmontools 
[sudo] Mot de passe de phi : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
smartmontools est déjà la version la plus récente (7.1-1build1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 10 non mis à jour.
phi@phi-P7641-MD99855:~$ 

mais

phi@phi-P7641-MD99855:~$ sudo smartmontools   -s  on  -a  /dev/sdb
[sudo] Mot de passe de phi : 
sudo: smartmontools : commande introuvable
phi@phi-P7641-MD99855:~$ 

Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#20 Le 24/11/2020, à 15:51

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Essai démarrage mode normal après application des commandes 5 et 6.
Ecran noir et message :  EFI stub : UEFI Secure boot is enabled

Je redémarre ensuite en mode recovery
j'active l'option "réparer les paquets cassés"
Des tas d'actions se déroulent très rapidement, sans que je puisse bien sûr analyser.
puis j'active  l'option "mettre à jour le chargeur d'amorçage grub"
Et ensuite l'option "reprendre le démarrage normal"

Redémarrage effectué mais je reste encore mode mode recovery limité


Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#21 Le 24/11/2020, à 16:36

geole

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

je me fais trop souvant avoir

 sudo smartctl    -s  on  -a  /dev/sdb

Peux-tu aussi donner ce retour

journalctl | grep vmlinuz | grep 50

Dernière modification par geole (Le 24/11/2020, à 16:43)


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

#22 Le 24/11/2020, à 16:46

geole

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Au prochain ennui, peux-tu faire simplement
Je redémarre ensuite en mode recovery
et
Et ensuite l'option "reprendre le démarrage normal"

Cela est l'option du test nomodeset

Avec l'option permanente de réparer les paquets cassés, on part sur l'idée que le disque ne va pas bien.


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

#23 Le 24/11/2020, à 16:55

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

phi@phi-P7641-MD99855:~$  sudo smartctl    -s  on  -a  /dev/sdb
[sudo] Mot de passe de phi : 
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-54-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     SSD PHISON 128GB PS3109-S9
Serial Number:    8EFA07610FE703482604
Firmware Version: S9FM02.6
User Capacity:    128.035.676.160 bytes [128 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      M.2
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 (minor revision not indicated)
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Tue Nov 24 15:49:50 2020 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(   30) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (   2) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000a   100   100   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       15474
 12 Power_Cycle_Count       0x0012   100   100   000    Old_age   Always       -       4394
168 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       0
170 Unknown_Attribute       0x0013   100   100   010    Pre-fail  Always       -       22
173 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       119472202
192 Power-Off_Retract_Count 0x0012   100   100   000    Old_age   Always       -       5
194 Temperature_Celsius     0x0023   070   070   000    Pre-fail  Always       -       30
196 Reallocated_Event_Count 0x0000   100   100   000    Old_age   Offline      -       0
218 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       0
241 Total_LBAs_Written      0x0012   100   100   000    Old_age   Always       -       3995360

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

phi@phi-P7641-MD99855:~$ 

et voilà le journal !

phi@phi-P7641-MD99855:~$ journalctl | grep vmlinuz | grep 50
aoû 29 08:07:50 phi-P7641-MD99855 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
aoû 29 08:07:50 phi-P7641-MD99855 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
sep 10 16:56:50 phi-P7641-MD99855 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-47-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
sep 10 16:56:50 phi-P7641-MD99855 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-47-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
sep 15 17:11:50 phi-P7641-MD99855 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-47-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
sep 15 17:11:50 phi-P7641-MD99855 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-47-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
oct 11 08:50:23 phi-P7641-MD99855 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
oct 11 08:50:23 phi-P7641-MD99855 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
oct 25 08:09:50 phi-P7641-MD99855 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
oct 25 08:09:50 phi-P7641-MD99855 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
oct 29 07:40:50 phi-P7641-MD99855 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
oct 29 07:40:50 phi-P7641-MD99855 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash vt.handoff=7
nov 11 08:50:10 phi-P7641-MD99855 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-53-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash
nov 11 08:50:10 phi-P7641-MD99855 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-53-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro quiet splash
nov 21 16:50:08 phi-P7641-MD99855 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-54-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro recovery nomodeset dis_ucode_ldr
nov 21 16:50:08 phi-P7641-MD99855 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-54-generic root=UUID=dba84388-3238-4640-a8a3-26dbbe9a88e5 ro recovery nomodeset dis_ucode_ldr
phi@phi-P7641-MD99855:~$ 

et avant ces 2 commandes j'avais donc fait ceci

Au prochain ennui, peux-tu faire simplement
Je redémarre ensuite en mode recovery
et
Et ensuite l'option "reprendre le démarrage normal"

Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne

#24 Le 24/11/2020, à 17:28

geole

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

Lors d'un boot réussi, modifie cette ligne

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

du fichier /etc/default/grub
afin de mettre

######   GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset dis_ucode_ldr "

et prise en charge avec

sudo update-grub

Si le problème est résolu, il restera deux autres essais
un avec la seule option nomodeset
un autre avec la seule option dis_ucode_ldr  => https://bugs.launchpad.net/ubuntu/+sour … ug/1831789

Dernière modification par geole (Le 24/11/2020, à 17:30)


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

#25 Le 24/11/2020, à 17:35

karabouya

Re : Boot normal impossible : seul recovery fonctionne [RESOLU]

En mode normal ou mode recovery ? Parce que le mode normal ne fonctionne plus pour le moment.

Dernière modification par karabouya (Le 25/11/2020, à 09:30)


Xubuntu 22.04.4 LTS en dual boot avec Windows 11 sur Dell Latitude E5580 i5 16Gb 1To SSD
Un immense merci à celles et ceux qui répondent et qui sans souvent ménager leur temps, consacrent savoir, énergie et patience à aider les désemparés.

Hors ligne