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 09/01/2024, à 16:16

francoiscasa

[Résolu] [tout seul] Pb au redemarrage apres install

Salut,

Je suis débutant et je viens de tenter une install de 22.04.3 LTS depuis un live usb.
Tout me semblait correct, mais, après l'installation, il ne trouve aucun OS sur le disque au redémarrage.
J'ai cru comprendre en parcourant le forum qu'il fallait faire un boot-info.
Voici l'URL :
https://paste.ubuntu.com/p/2qFKMpSzHM/

(et evidemment, je n'y comprend rien...)

Merci d'avance pour votre aide.

---
Résumé de la solution :
(désolé pour les imprécisions, je comprend à peine ce que j'écris)
Finalement, je me suis décidé à utiliser Boot-Repair, qui m'a demandé de modifier le démarrage du BIOS afin de passer en UEFI.
Après quelques minutes et beaucoup de sueurs froides, j'ai trouvé quelque chose qui ressemblait, effectué la modif, et mon ordi s'est lancé, tout seul, directement sous Ubuntu et sans la clé.
Voilà.
J'ai pas tout compris,mais ça marche.

Dernière modification par francoiscasa (Le 09/01/2024, à 19:51)

Hors ligne

#2 Le 09/01/2024, à 17:28

xubu1957

Re : [Résolu] [tout seul] Pb au redemarrage apres install

Bonjour,

Collage du Boot-info :

boot-info-4ppa2075                                              [20240109_1327]

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

 => 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 (,gpt3)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sda3: __________________________________________________________________________

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

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sdb and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.


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

OS#1:   Ubuntu 22.04.3 LTS on sda3

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

CPU architecture: 64-bit
Video: 3rd Gen Core processor Graphics Controller from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.3 LTS, jammy, x86_64)

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

BIOS/UEFI firmware: 68ICF Ver. F.42(15.66) from Hewlett-Packard
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).


a9c517741ac31962d7feb152948ad1ee   sda2/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc   sda2/BOOT/mmx64.efi
a1da253696a304dce6b4668b70151c0e   sda2/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   sda2/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   sda2/ubuntu/shimx64.efi
64349b3622c65f495a99dbf6102496e3   sda2/BOOT/BOOTX64.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 298.09 GiB, 320072933376 bytes, 625142448 sectors
Disk identifier: FE8AE84E-D808-43C1-AB79-3EB3FC7E4A0A
       Start       End   Sectors   Size Type
sda1     2048      4095      2048     1M BIOS boot
sda2     4096   1054719   1050624   513M EFI System
sda3  1054720 625141759 624087040 297.6G Linux filesystem
Disk sdb: 28.85 GiB, 30979129344 bytes, 60506112 sectors
Disk identifier: F45E2FA1-C5A6-4D79-876F-C8245AF921E0
       Start      End  Sectors  Size Type
sdb1       64  9828451  9828388  4.7G Microsoft basic data
sdb2  9828452  9838519    10068  4.9M EFI System
sdb3  9838520  9839119      600  300K Microsoft basic data
sdb4  9842688 60506048 50663361 24.2G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:320GB:scsi:512:4096:gpt:ATA ST320LT007-9ZV14:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:540MB:538MB:fat32:EFI System Partition:boot, esp;
3:540MB:320GB:320GB:ext4::;
sdb:31.0GB:scsi:512:512:gpt:Verbatim STORE N GO:;
1:32.8kB:5032MB:5032MB::ISO9660:hidden, msftdata;
2:5032MB:5037MB:5155kB::Appended2:boot, esp;
3:5037MB:5038MB:307kB::Gap1:hidden, msftdata;
4:5039MB:31.0GB:25.9GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda                                                                                                                
├─sda1                                               fb4b35b5-7873-4839-82e1-58791f641825                          
├─sda2 vfat     7EA1-0310                            29b7ca04-8732-4800-9138-a521faf0d27d                          EFI System Partition
└─sda3 ext4     9dac66a3-f73d-40b9-b211-d5f0319e58db 44b0d054-6542-4663-801b-fde2de106ef3                          
sdb    iso9660  2023-08-08-01-19-05-00                                                    Ubuntu 22.04.3 LTS amd64 
├─sdb1 iso9660  2023-08-08-01-19-05-00               f45e2fa1-c5a6-4d79-876e-c8245af921e0 Ubuntu 22.04.3 LTS amd64 ISO9660
├─sdb2 vfat     F7DB-4D56                            f45e2fa1-c5a6-4d79-876d-c8245af921e0 ESP                      Appended2
├─sdb3                                               f45e2fa1-c5a6-4d79-876c-c8245af921e0                          Gap1
└─sdb4 ext4     a51c1915-a4b0-4d59-8234-d2733c50fe17 c28a2229-7a06-104f-af77-1978d0827cf0 writable                 

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/sda2                                                     505.9M   1% /mnt/boot-sav/sda2
/dev/sda3                                                     262.8G   5% /mnt/boot-sav/sda3
/dev/sdb1                                                          0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/sda2                                                     vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3                                                     ext4            rw,relatime
/dev/sdb1                                                     iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

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

search.fs_uuid 9dac66a3-f73d-40b9-b211-d5f0319e58db root hd0,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   9dac66a3-f73d-40b9-b211-d5f0319e58db
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda3/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda3 during installation
UUID=9dac66a3-f73d-40b9-b211-d5f0319e58db /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=7EA1-0310  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
 242.909549713 = 260.822142976  boot/grub/grub.cfg                             1
 243.219699860 = 261.155164160  boot/grub/i386-pc/core.img                     1
  11.578277588 = 12.432080896   boot/vmlinuz                                   1
  10.500125885 = 11.274424320   boot/vmlinuz-6.2.0-26-generic                  1
  11.578277588 = 12.432080896   boot/vmlinuz-6.2.0-39-generic                  1
  10.500125885 = 11.274424320   boot/vmlinuz.old                               1
  13.309535980 = 14.291005440   boot/initrd.img                                1
  13.027221680 = 13.987872768   boot/initrd.img-6.2.0-26-generic               1
  13.309535980 = 14.291005440   boot/initrd.img-6.2.0-39-generic               1
  13.027221680 = 13.987872768   boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec 18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 May 17  2023 35_fwupd
-rwxr-xr-x 1 root root   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
using the following options:  sda2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Blockers in case of suggested repair: __________________________________________

 The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.3 LTS entry (sda2/efi/****/grub****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.

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

En ligne

#3 Le 09/01/2024, à 18:41

francoiscasa

Re : [Résolu] [tout seul] Pb au redemarrage apres install

En attendant vos avis, je vais essayer de comprendre qque chose à Boot-Repair...


Modération : merci de respecter la langue du forum qui est le français, pas le SMS.

Dernière modification par cqfd93 (Le 09/01/2024, à 18:54)

Hors ligne

#4 Le 09/01/2024, à 19:30

francoiscasa

Re : [Résolu] [tout seul] Pb au redemarrage apres install

euh, ok, désolé.
Bon, Boot-Repair me demande de passer en UEFI.
Je suis dans la configuration du BIOS, il me propose du
- UEFI natif (sans CSM)
- UEFI Hybride (avec CSM)

ça vous parle ?
J'attends 10 mn et je tente natif, au hasard.

Hors ligne

#5 Le 09/01/2024, à 19:39

francoiscasa

Re : [Résolu] [tout seul] Pb au redemarrage apres install

ça marche !
Je comprends à peine ce que j'ai fait, mais je vais tenter un petit résumé et mettre "résolu".
Voila, désolé pour le dérangement, en persévérant sur les forums, on arrive à faire plus que ce qu'on croyait au début.
(mais bon, c'est flippant).

Hors ligne