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 07/12/2022, à 14:20

Radikolibr

Problème mise à niveau Ubuntu 22.04

Bonjour,

Je viens ici pour un souci suite à la mise à niveau d'Ubuntu 20.04 à la 22.04.
J'ai créé un premier rapport Boot Info, puis fait la réparation recommandée (qui a procédé à une réinstallation de Grub2), puis un nouveau Boot Info... Mais rien n'y fait, j'ai le même problème dès le démarrage :

IMG-20221205-085038.jpg

Voilà le dernier rapport :

Ici : https://pastebin.ubuntu.com/p/j6kYfPyR8z/

Ou là :
Pour info la partition Ubuntu se trouve sur sda3

boot-repair-4ppa203                                              [20221207_1119]

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





grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will purge (in order to reset grubenv) and reinstall the grub2 of
sda3 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


chroot /mnt/boot-sav/sda3 apt-get -y update
Purge the GRUB of sda3
grub-pc available
Lecture des listes de paquets…
Construction de l'arbre des dépendances…SET@_progressbar1.pulse()

Lecture des informations d'état…
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
hddtemp libboost-date-time1.71.0 libcinnamon-desktop4 libcurl3-gnutls:i386
libcvc0 libdav1d5:i386 libfwupdplugin1 libgdk-pixbuf-xlib-2.0-0:i386
libgtkspell0 libhandy-0.0-0 libhttrack2 libimgscalr-java libisl22
libkf5auth5 libmalcontent-0-0 libmetrics-any-perl libpanel-applet3
libpciaccess0:i386 libpoppler97 libref-util-perl libtype-tiny-xs-perl
libva-x11-2:i386 libvdpau1:i386 libwrap0:i386 libx264-163:i386 libxmlb1
mysql-common nextcloud-desktop-doc node-array-uniq node-bluebird
node-cli-boxes node-concat-map node-detect-newline node-esutils
node-har-schema node-import-lazy node-is-extglob node-is-number
node-is-stream node-isstream node-js-tokens node-jsesc node-json5
node-lockfile node-make-dir node-merge-stream node-p-limit node-p-locate
node-to-fast-properties node-tunnel-agent
node-unicode-match-property-value-ecmascript node-uri-js node-url-to-options
perl-modules-5.30 python3-xapp scour webhttrack-common
Veuillez utiliser « apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 346 non mis à jour.
Il est nécessaire de prendre 132 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Réception de :1 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 grub-pc amd64 2.06-2ubuntu7 [132 kB]
132 ko réceptionnés en 0s (738 ko/s)
Téléchargement achevé et dans le mode téléchargement uniquement
DEBCHECK debOK, grub-pc
DEBCHECK debOK
Please type: sudo chroot "/mnt/boot-sav/sda3" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda3" apt-get install -fynsudo chroot "/mnt/boot-sav/sda3" apt-get purge --allow-remove-essential -y grub-com*nsudo chroot "/mnt/boot-sav/sda3" apt-get purge --allow-remove-essential -y grub2-com*nsudo chroot "/mnt/boot-sav/sda3" apt-get purge --allow-remove-essential -y shim-signednsudo chroot "/mnt/boot-sav/sda3" apt-get purge --allow-remove-essential -y grub-common:*nsudo chroot "/mnt/boot-sav/sda3" apt-get purge --allow-remove-essential -y grub2-common:*n
Then type: sudo chroot "/mnt/boot-sav/sda3" apt-get install -y grub-pc

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

======================== Reinstall the grub-pc of sda3 =========================

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

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

chroot /mnt/boot-sav/sda3 grub-install /dev/sda
Installing for i386-pc platform.
grub-install: warning: Sector 32 is already in use by the program `FlexNet'; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
Installation finished. No error reported.
dd if=/dev/sda of=/var/log/boot-repair/20221207_111912/sda/before_wiping.img bs=512 count=2047 seek=1
WIPE sda : 2047 sectors * 512 bytes
dd if=/dev/zero of=/dev/sda bs=512 count=2047 seek=1

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

chroot /mnt/boot-sav/sda3 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-46-generic
Found initrd image: /boot/initrd.img-5.15.0-46-generic
Found linux image: /boot/vmlinuz-5.4.0-124-generic
Found initrd image: /boot/initrd.img-5.4.0-124-generic
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.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Found Windows 10 on /dev/sda1
Found Windows 10 on /dev/sda2

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

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

Vous pouvez maintenant redémarrer votre ordinateur.


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

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

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sda3 and looks at sector 467283704 of the same hard 
                       drive for core.img, but core.img can not be found at 
                       this location.
    Operating System:  Ubuntu 22.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 3 OS detected =================================

OS#1:   Windows 10 (boot) on sda1
OS#2:   Windows 10 on sda2
OS#3:   Ubuntu 22.04.1 LTS on sda3

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

CPU architecture: 64-bit
Video: Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: P2.60 from American Megatrends Inc.
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	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda3	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
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
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xaf3a8911
      Boot     Start        End    Sectors   Size Id Type
sda1  *         2048    1126399    1124352   549M  7 HPFS/NTFS/exFAT
sda2         1126400  349286399  348160000   166G  7 HPFS/NTFS/exFAT
sda3       349286400  595046399  245760000 117.2G 83 Linux
sda4       595046400 1953523711 1358477312 647.8G  7 HPFS/NTFS/exFAT
Disk sdb: 7.5 GiB, 8015282176 bytes, 15654848 sectors
Disk identifier: 0x2c534026
      Boot Start     End Sectors  Size Id Type
sdb1  *        0 1802239 1802240  880M  0 Empty
sdb2         964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 484.4 MiB, 507936768 bytes, 124008 sectors
Disk zram1: 484.4 MiB, 507936768 bytes, 124008 sectors
Disk zram2: 484.4 MiB, 507936768 bytes, 124008 sectors
Disk zram3: 484.4 MiB, 507936768 bytes, 124008 sectors

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:msdos:ATA WDC WD1003FZEX-0:;
1:1049kB:577MB:576MB:ntfs::boot;
2:577MB:179GB:178GB:ntfs::;
3:179GB:305GB:126GB:ext4::;
4:305GB:1000GB:696GB:ntfs::;
sdb:8015MB:scsi:512:512:msdos: USB Flash Memory:;
2:494kB:3017kB:2523kB:::esp;

Free space >10MiB: ______________________________________________________________

sdb: 2.88MiB:7644MiB:7641MiB

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 ntfs     82B8820DB881FFC1                     af3a8911-01                          Réservé au système     
├─sda2 ntfs     287283D27283A364                     af3a8911-02                                                 
├─sda3 ext4     6b777b40-3545-4d22-8ab7-9f9774b385ce af3a8911-03                                                 
└─sda4 ntfs     2AC52B5C736FC626                     af3a8911-04                          Alexandrie             
sdb    iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 
├─sdb1 iso9660  2020-06-13-00-42-55-00               2c534026-01                          Boot-Repair-Disk 64bit 
└─sdb2 vfat     D055-8513                            2c534026-02                          Boot-Repair-Disk 64bit 

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda1   518.1M   6% /mnt/boot-sav/sda1
/dev/sda2      17G  90% /mnt/boot-sav/sda2
/dev/sda3    33.7G  66% /mnt/boot-sav/sda3
/dev/sda4   264.6G  59% /mnt/boot-sav/sda4
/dev/sdb         0 100% /cdrom

Mount options (filtered): ______________________________________________________


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

Ubuntu   6b777b40-3545-4d22-8ab7-9f9774b385ce
Ubuntu, with Linux 5.15.0-46-generic   6b777b40-3545-4d22-8ab7-9f9774b385ce
Ubuntu, with Linux 5.4.0-124-generic   6b777b40-3545-4d22-8ab7-9f9774b385ce
Windows 10 (on sda1)   82B8820DB881FFC1
Windows 10 (on sda2)   287283D27283A364
### 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=6b777b40-3545-4d22-8ab7-9f9774b385ce /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
UUID=2AC52B5C736FC626 /media/2AC52B5C736FC626 auto rwx,permissions 1 1 1
192.168.1.82:/home/marie/Vidéos   /media/2AC52B5C736FC626/1-FICHIERS M   nfs    user,noauto    0   0

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

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

           GiB - GB             File                                 Fragment(s)
 166.552742004 = 178.834644992  boot/grub/grub.cfg                             1
 180.684673309 = 194.008690688  boot/grub/i386-pc/core.img                     1
 251.868160248 = 270.441377792  boot/vmlinuz                                   1
 251.868160248 = 270.441377792  boot/vmlinuz-5.15.0-46-generic                 1
 232.081081390 = 249.195163648  boot/vmlinuz-5.4.0-124-generic                 2
 232.081081390 = 249.195163648  boot/vmlinuz.old                               2
 258.432010651 = 277.489258496  boot/initrd.img                                7
 258.432010651 = 277.489258496  boot/initrd.img-5.15.0-46-generic              7
 253.941932678 = 272.668073984  boot/initrd.img-5.4.0-124-generic              3
 253.941932678 = 272.668073984  boot/initrd.img.old                            3

===================== sda3: 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   214 Apr 15  2022 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom

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

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

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

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

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

Unknown BootLoader on sda4

Unknown BootLoader on sdb

Dernière modification par Radikolibr (Le 12/12/2022, à 11:42)

Hors ligne

#2 Le 07/12/2022, à 18:10

lucmars

Re : Problème mise à niveau Ubuntu 22.04

Ton disque a p'tete pris une claque ? Depuis ta clef/dvd audites-le avec smartmontools (voir doc).


Gaulois Matter !

Hors ligne

#3 Le 12/12/2022, à 11:41

Radikolibr

Re : Problème mise à niveau Ubuntu 22.04

lucmars a écrit :

Ton disque a p'tete pris une claque ? Depuis ta clef/dvd audites-le avec smartmontools (voir doc).

Non, "malheureusement" ce n'est pas ça, d'ailleurs j'ai un dual boot avec Windows qui fonctionne très bien

Hors ligne