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.

#26 Le 14/11/2022, à 11:52

jpl-bz

Re : [résolu] plus de m. à j. 21.10, passer en 22.04 LTS, + boot-repair?

bonjour,

suivant les éléments d'une discussion plus générale https://forum.ubuntu-fr.org/viewtopic.php?id=2075598, dans un premier temps, pour démarrer par une opération à priori simple, j'ai supprimé la partition sda6 512 Mb Fat32 avec clé ubuntu22.04 . Ubuntu est donc passé de sda7 à sda6 . Au reboot ... pb ... suggestion grub-rescue ... je démarre sur boot-repair (le présent accès au forum) ... je lance "réparation recommandée" ... à suivre.

voila le rapport boot-repair après réparation automatique:

boot-repair-4ppa200                                              [20221114_1042]

============================= 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 reinstall the grub2 of
sda6 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 win-legacy-basic-fix


/boot/efi removed in sda6/fstab
Quantity of real Windows: 1
WinSE in sda3
Copied Win boot files from sda2 to sda3

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

========================= Reinstall the grub2 of sda6 ==========================

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

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

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

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

Unhide GRUB boot menu in sda6/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 (,msdos6)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 7/2008: FAT32
    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:  
    Boot files:        /bootmgr /Boot/BCD

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.1 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:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 4 OS detected =================================

OS#1:   Windows Recovery Environment (boot) on sda1
OS#2:   Windows 10 (boot) on sda2
OS#3:   Ubuntu 22.04.1 LTS on sda6
OS#4:   Windows 8 or 10 on sda3

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

CPU architecture: 64-bit
Video: G96M [GeForce GT 120M] from NVIDIA Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: 210     from American Megatrends Inc.
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,	63 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda6	: isnotESP,	fstab-has-bad-efi,	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,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda6	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0x97646c29
      Boot     Start       End   Sectors   Size Id Type
sda1              63  24579449  24579387  11.7G 1c Hidden W95 FAT32 (LBA)
sda2  *     24580096  24784895    204800   100M  7 HPFS/NTFS/exFAT
sda3        24784896 512954367 488169472 232.8G  7 HPFS/NTFS/exFAT
sda4       512955511 976771071 463815561 221.2G  f W95 Ext'd (LBA)
sda5       512955513 801369955 288414443 137.5G  7 HPFS/NTFS/exFAT
sda6       802422784 976771071 174348288  83.1G 83 Linux
Disk sdb: 3.8 GiB, 4026531840 bytes, 7864320 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: 983.9 MiB, 1031671808 bytes, 251873 sectors
Disk zram1: 983.9 MiB, 1031671808 bytes, 251873 sectors

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:msdos:ATA ST9500325AS:;
1:32.3kB:12.6GB:12.6GB:fat32::hidden, lba;
2:12.6GB:12.7GB:105MB:ntfs::boot;
3:12.7GB:263GB:250GB:ntfs::;
4:263GB:500GB:237GB:::lba;
5:263GB:410GB:148GB:ntfs::;
6:411GB:500GB:89.3GB:ext4::;
sdb:4027MB:scsi:512:512:msdos:Generic Flash Disk:;
2:494kB:3017kB:2523kB:::esp;

Free space >10MiB: ______________________________________________________________

sda: 391294MiB:391804MiB:510MiB
sdb: 2.88MiB:3840MiB:3837MiB

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 vfat     3C98-AC5D                            97646c29-01                          RECOVERY               
├─sda2 ntfs     A86072D66072AB28                     97646c29-02                                                 
├─sda3 ntfs     36846EBA846E7BED                     97646c29-03                                                 
├─sda4                                               97646c29-04                                                 
├─sda5 ntfs     43BE01CA27B8FFA3                     97646c29-05                          DATA                   
└─sda6 ext4     d1921748-3146-4e90-8a53-31557c44e71e 97646c29-06                                                 
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     4.1G  65% /mnt/boot-sav/sda1
/dev/sda2    69.5M  30% /mnt/boot-sav/sda2
/dev/sda3   166.5G  28% /mnt/boot-sav/sda3
/dev/sda5    80.1G  42% /mnt/boot-sav/sda5
/dev/sda6    46.1G  38% /mnt/boot-sav/sda6
/dev/sdb         0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/sda1   vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda2   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda3   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda6   ext4            rw,relatime
/dev/sdb    iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048

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

Ubuntu   d1921748-3146-4e90-8a53-31557c44e71e
Ubuntu, with Linux 5.15.0-52-generic   d1921748-3146-4e90-8a53-31557c44e71e
Ubuntu, with Linux 5.13.0-52-generic   d1921748-3146-4e90-8a53-31557c44e71e
Windows Recovery Environment (on sda1)   3C98-AC5D
Windows 10 (on sda2)   A86072D66072AB28
Windows 10 (on sda3)   36846EBA846E7BED
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=d1921748-3146-4e90-8a53-31557c44e71e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda6 during installation
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 382.625007629 = 410.840473600  boot/grub/grub.cfg                             1
 406.784084320 = 436.781084672  boot/grub/i386-pc/core.img                     1
 407.549812317 = 437.603278848  boot/vmlinuz                                   1
 410.337665558 = 440.596713472  boot/vmlinuz-5.13.0-52-generic                 1
 407.549812317 = 437.603278848  boot/vmlinuz-5.15.0-52-generic                 1
 410.337665558 = 440.596713472  boot/vmlinuz.old                               1
 441.519950867 = 474.078437376  boot/initrd.img                                3
 396.195030212 = 425.411174400  boot/initrd.img-5.13.0-52-generic              3
 441.519950867 = 474.078437376  boot/initrd.img-5.15.0-52-generic              3
 396.195030212 = 425.411174400  boot/initrd.img.old                            3

===================== sda6: 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 Sep  2  2021 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 21  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Apr 15  2020 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom

=========================== sda6/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi

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

00000000  81 0e 00 00 82 0e 00 00  83 0e 00 00 ff ff ff 0f  |................|
00000010  85 0e 00 00 86 0e 00 00  87 0e 00 00 88 0e 00 00  |................|
00000020  89 0e 00 00 8a 0e 00 00  8b 0e 00 00 8c 0e 00 00  |................|
00000030  8d 0e 00 00 8e 0e 00 00  8f 0e 00 00 90 0e 00 00  |................|
00000040  91 0e 00 00 92 0e 00 00  93 0e 00 00 94 0e 00 00  |................|
00000050  95 0e 00 00 96 0e 00 00  97 0e 00 00 98 0e 00 00  |................|
00000060  99 0e 00 00 9a 0e 00 00  9b 0e 00 00 9c 0e 00 00  |................|
00000070  9d 0e 00 00 9e 0e 00 00  9f 0e 00 00 a0 0e 00 00  |................|
00000080  a1 0e 00 00 a2 0e 00 00  a3 0e 00 00 ff ff ff 0f  |................|
00000090  ff ff ff 0f a6 0e 00 00  a7 0e 00 00 a8 0e 00 00  |................|
000000a0  ff ff ff 0f aa 0e 00 00  ab 0e 00 00 ac 0e 00 00  |................|
000000b0  ad 0e 00 00 ae 0e 00 00  af 0e 00 00 b0 0e 00 00  |................|
000000c0  b1 0e 00 00 b2 0e 00 00  b3 0e 00 00 b4 0e 00 00  |................|
000000d0  b5 0e 00 00 b6 0e 00 00  b7 0e 00 00 b8 0e 00 00  |................|
000000e0  b9 0e 00 00 ba 0e 00 00  bb 0e 00 00 bc 0e 00 00  |................|
000000f0  bd 0e 00 00 ff ff ff 0f  bf 0e 00 00 c0 0e 00 00  |................|
00000100  c1 0e 00 00 c2 0e 00 00  c3 0e 00 00 c4 0e 00 00  |................|
00000110  c5 0e 00 00 c6 0e 00 00  c7 0e 00 00 c8 0e 00 00  |................|
00000120  c9 0e 00 00 ca 0e 00 00  cb 0e 00 00 cc 0e 00 00  |................|
00000130  cd 0e 00 00 ce 0e 00 00  cf 0e 00 00 d0 0e 00 00  |................|
00000140  d1 0e 00 00 d2 0e 00 00  d3 0e 00 00 d4 0e 00 00  |................|
00000150  d5 0e 00 00 d6 0e 00 00  d7 0e 00 00 d8 0e 00 00  |................|
00000160  d9 0e 00 00 da 0e 00 00  db 0e 00 00 dc 0e 00 00  |................|
00000170  dd 0e 00 00 de 0e 00 00  df 0e 00 00 e0 0e 00 00  |................|
00000180  e1 0e 00 00 e2 0e 00 00  e3 0e 00 00 e4 0e 00 00  |................|
00000190  e5 0e 00 00 e6 0e 00 00  e7 0e 00 00 e8 0e 00 00  |................|
000001a0  e9 0e 00 00 ea 0e 00 00  eb 0e 00 00 ec 0e 00 00  |................|
000001b0  ed 0e 00 00 ee 0e 00 00  ef 0e 00 00 ff ff 00 fe  |................|
000001c0  ff ff 07 fe ff ff 02 00  00 00 eb da 30 11 00 fe  |............0...|
000001d0  ff ff 05 fe ff ff a5 cb  40 11 e4 77 64 0a 00 00  |........@..wd...|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Unknown BootLoader on sdb

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  04 17 00 00 00 00 00 00  26 40 53 2c 00 00 80 00  |........&@S,....|
000001c0  01 00 00 3f e0 6f 00 00  00 00 00 80 1b 00 00 fe  |...?.o..........|
000001d0  ff ff ef fe ff ff c4 03  00 00 40 13 00 00 00 00  |..........@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Resterait à réduire les 2 partitions NTFS à un peu plus que leur espace occupé, erreur rencontrée avec gparted dans un premier essai avec la clé usb ubuntu22.04.

Vérifier auparavant que boot-repair a bien rétabli le boot sur sda6 ubuntu 22.04

cordialement

Dernière modification par jpl-bz (Le 14/11/2022, à 12:04)

En ligne

#27 Le 14/11/2022, à 12:25

geole

Re : [résolu] plus de m. à j. 21.10, passer en 22.04 LTS, + boot-repair?

Bonjour
On voit bien que le MBR pointe maintenant sur SDA6
========================== 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 (,msdos6)/boot/grub.

disk -l (filtered): ___________________________________________________________
Disk sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
      Boot     Start       End   Sectors   Size Id Type
sda3        24784896 512954367 488169472 232.8G  7 HPFS/NTFS/exFAT
sda5       512955513 801369955 288414443 137.5G  7 HPFS/NTFS/exFAT
sda6       802422784 976771071 174348288  83.1G 83 Linux

Mount points (filtered): _______________________________________________________
            Avail Use% Mounted on
/dev/sda3   166.5G  28% /mnt/boot-sav/sda3
/dev/sda5    80.1G  42% /mnt/boot-sav/sda5
/dev/sda6    46.1G  38% /mnt/boot-sav/sda6

lkid (filtered): ______________________________________________________________
NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL                                                                                                                                                          
├─sda5 ntfs     43BE01CA27B8FFA3                     97646c29-05                          DATA         

En dual boot,  une taille de 83 Go pour ubuntu   est très importante puisque, normalement tu vas faite le nécessaire pour que les données aillent dans la partition DATA.  De même, le C;   est resté énorme. Tes données windows ne sont certainement pas migrées dans la partition DATA
https://doc.ubuntu-fr.org/tutoriel/part … ows_ubuntu

NOTA: Je conseille de réduire le C: avec l'outil de gestion disque de windows. Ne pas descendre au-dessous de 64 Go pour rester compatible avec la mise à jour windows11. En revanche, agrandir la partition DATA se fera avec  gparted
et le rétrécissement de UBUNTU, ne peut se faire qu'avec une live-USB. Il sera par la gauche.

Dernière modification par geole (Le 14/11/2022, à 12:31)


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

En ligne