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 08/06/2023, à 19:18

Onypsis

Démarrage impossible après installation

Bonjour, Bonsoir,

je suis désolé si le topic a déjà été aborder dans d'autres discussions, mais la recherche est compliqué lorsque le problème est lié à un démarrage.

Je vous explique la situation, après la récupération d'un poste informatique Fujitsu de 2007 (il semblerait), un Windows 7 puis qui est passé sous 10, j'envisage une distribution Linux après lenteur.
Après essai, je décide de supprimer Windows 10 et d'installer uniquement Ubuntu via clé USB.

Tout se passe comme prévu avec l'installation classique.
A la fin de l'installation, je redémarre et là écran noir, quelques infos classiques du BIOS puis rien.
En appuyant sur "Entrée", il s'actualise en me proposant les différents disques de démarrage, en lancçant le HDD, il revient constamment à cet écran.

J'ai réessayé plusieurs fois. Le BIOS n'a pas de mode UEFI, et c'est là que j'ai remarqué qu'il semblait s'installer en boot/uefi tout de même.

Je lance alors une clé USB avec "Boot Repair", en effet le UEFI est bien séparé (partition /boot/efi séparée sda2) (alors que Ubuntu est sur sda3), je demande que GRUB se réinstalle en mode BIOS.
Malheureusement le problème est toujours là.
Que puis-je essayer d'autres ? Une autre distribution ?

Je ne peux pas joindre de captures d'écran à l'heure actuelle, excusez-moi.

Je vous remercie pour votre aide.

Hors ligne

#2 Le 08/06/2023, à 19:29

geole

Re : Démarrage impossible après installation

Bonjour.
Tu devrais faire un boot-info et publier l'URL générée afin de partager cette  installation.
As-tu essayé le mode recovery?

Dernière modification par geole (Le 08/06/2023, à 19:32)


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

#3 Le 09/06/2023, à 16:00

Onypsis

Re : Démarrage impossible après installation

Bonjour,

d'accord j'essaierai en recovery.
Pour le moment, j'ai réinstallé manuellement en créant une partition "BIOS" pour le GRUB, et une ext4 pour Ubuntu.
Sans succès. J'ai lancé "Boot Repair" qui semble avoir fait le nécessaire, mais pareil..

Je vous partage l'URL : https://pastebin.ubuntu.com/p/9tQfWrw3jP/

Et c'est peut-être grâce à cette fiche informative que l'on peut remarquer que la carte mère serait compatible EFI ? Donc si Windows avant était en EFI, je devrai mettre Ubuntu dans le même mode ? (Mais dans ce cas, ma première installation normale était en EFI).

Dans le BIOS, en dehors d'un mode USB Legacy, je n'ai aucune autre option de disponible. Et je ne sais pas si cela peut-être une piste, habituellement à chaque installation d'Ubuntu après le redémarrage, l'interface nous demande de retirer la clé USB et d'appuyer sur Entrer", ce n'est jamais apparu dans mes différentes tentatives sur ce poste, j'ai à chaque fois un écran noir avec un "_" en haut à gauche qui réagit dès que je touche le clavier (qui apparait 5 secondes après avoir cliquer sur le "redémarrer maintenant").

Merci encore.

EDIT : J'ai essayé d'accéder au menu recovery avec la touche "echap" au démarrage, aucune mention d'Ubuntu, j'ai la liste des supports, d'une manière différente, donc avec le HDD et le lecteur DVD.
EDIT 2 : A ma grande surprise, en installant la dernière distribution KDE neon, ça fonctionne... Je pense que je vais rester sur cette distribution.

Dernière modification par Onypsis (Le 09/06/2023, à 16:40)

Hors ligne

#4 Le 09/06/2023, à 18:50

geole

Re : Démarrage impossible après installation

Bonjour
Puisque cela fonctionne, on va en rester là si tu es d'accord.
Comme tu as supprimé windows; on se saura pas s'il était EFI ou LEGACY.
Comme ton bios supporte EFI,  si tu as demandé d'installer sur tout le disque, il convertit le disque au format GPT.
Tu viens de refaire une installation  en mode légacy, je ne sais pas comment elle s'est terminée, mais effectivement tu aurais du avoir un message disant de débrancher la clé USB d'installation.
Mais le boot-repair que tu as fait, est correct.

============================ Boot Info After Repair ============================
 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048  of the same hard drive for core.img. core.img is at this location and looks for (,gpt2)/boot/grub. 

 sda2: __________________________________________________________________________
           Boot files:                            /boot/grub/i386-pc/core.img
 

A mon avis, le problème serait  lié au driver de la carte graphique, car la structure de boot est présente

Video: GF108M [GeForce GT 525M] 2nd Generation Core Processor Family Integrated Graphics Controller from NVIDIA Corporation Intel Corporation



====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu   76b9eaa8-57cc-4e8d-b72c-527df2328c47
Ubuntu, with Linux 5.15.0-25-generic   76b9eaa8-57cc-4e8d-b72c-527df2328c47

il est  probable que  NEON ne possède pas le même.
Collage du bootrepair

boot-repair-4ppa203                                              [20230609_1336]

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






Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub2 of
sda2 into the MBR of sda.
Grub-efi will not be selected by default because no ESP detected.
Additional repair will be performed: unhide-bootmenu-10s



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

========================= Reinstall the grub2 of sda2 ==========================

chroot /mnt/boot-sav/sda2 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7

==> Reinstall the GRUB of sda2 into the MBR of sda

chroot /mnt/boot-sav/sda2 grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

chroot /mnt/boot-sav/sda2 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.15.0-25-generic
Found initrd image: /boot/initrd.img-5.15.0-25-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.

Unhide GRUB boot menu in sda2/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 régler votre BIOS pour qu'il amorce sur le disque sda (ATA WDC WD5000BEVT-1) !


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

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

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03
    Boot sector info:  Syslinux looks at sector 32800 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /ldlinux.sys

sdb2: __________________________________________________________________________

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


================================ 1 OS detected =================================

OS#1:   Ubuntu 22.04 LTS on sda2

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

CPU architecture: 64-bit
Video: GF108M [GeForce GT 525M] 2nd Generation Core Processor Family Integrated Graphics Controller from NVIDIA Corporation Intel Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: 1.22 from FUJITSU // Phoenix Technologies Ltd.
The firmware seems EFI-compatible, but this live-session is in Legacy/BIOS/CSM mode (not in EFI mode).



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

Disks info: ____________________________________________________________________

sda	: is-GPT,	hasBIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	usb-disk,	not-mmc, no-os,	no-wind,	128 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda2	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sdb2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda2	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 52EEC207-1958-49EB-B017-CF76EA0747B8
        Start       End   Sectors   Size Type
sda1     2048   6445055   6443008   3.1G BIOS boot
sda2  6445056 976771071 970326016 462.7G Linux filesystem
Disk sdb: 15.2 GiB, 16357785600 bytes, 31948800 sectors
Disk identifier: 0x956d4efc
      Boot    Start      End  Sectors  Size Id Type
sdb1  *         128 31948687 31948560 15.2G  c W95 FAT32 (LBA)
sdb2       31948688 31948750       63 31.5K ea Rufus alignment
Disk zram0: 473.2 MiB, 496177152 bytes, 121137 sectors
Disk zram1: 473.2 MiB, 496177152 bytes, 121137 sectors
Disk zram2: 473.2 MiB, 496177152 bytes, 121137 sectors
Disk zram3: 473.2 MiB, 496177152 bytes, 121137 sectors

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:gpt:ATA WDC WD5000BEVT-1:;
1:1049kB:3300MB:3299MB:::bios_grub;
2:3300MB:500GB:497GB:ext4::;
sdb:16.4GB:scsi:512:512:msdos:Intenso Rainbow Line:;
1:65.5kB:16.4GB:16.4GB:fat32::boot, lba;
2:16.4GB:16.4GB:32.3kB:::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda1                                               08eab24d-74cb-47a1-9f53-8b0a37882168             
└─sda2 ext4     76b9eaa8-57cc-4e8d-b72c-527df2328c47 b1436636-0948-4a4b-89dd-676bc6b6239a             
sdb                                                                                                   
├─sdb1 vfat     5ABF-DD72                            956d4efc-01                          BOOT-REPAIR 
└─sdb2                                               956d4efc-02                                      

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda2   423.2G   2% /mnt/boot-sav/sda2
/dev/sdb1    14.4G   6% /cdrom

Mount options (filtered): ______________________________________________________


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

Ubuntu   76b9eaa8-57cc-4e8d-b72c-527df2328c47
Ubuntu, with Linux 5.15.0-25-generic   76b9eaa8-57cc-4e8d-b72c-527df2328c47
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=76b9eaa8-57cc-4e8d-b72c-527df2328c47 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB             File                                 Fragment(s)
   3.073246002 = 3.299872768    boot/grub/grub.cfg                             1
 391.210487366 = 420.059062272  boot/grub/i386-pc/core.img                     1
   8.211277008 = 8.816791552    boot/vmlinuz                                   2
   8.211277008 = 8.816791552    boot/vmlinuz-5.15.0-25-generic                 2
   9.373157501 = 10.064351232   boot/initrd.img                                1
   9.373157501 = 10.064351232   boot/initrd.img-5.15.0-25-generic              1
   9.373157501 = 10.064351232   boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Apr 15  2022 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 19  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Apr 15  2022 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom

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

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

========================= sdb1/syslinux.cfg (filtered) =========================

DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

================== sdb1: Location of files loaded by Syslinux ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

Dernière modification par geole (Le 09/06/2023, à 18:52)


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