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 23/03/2023, à 11:59

xubu1957

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Bonjour,

Collage du Boot-info (lien au #25) :

boot-info-4ppa203                                              [20230323_0947]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => No known boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/refind/refind.conf 
                       /efi/Boot/Bootx64-2019-01-17-22-38-43.efi 
                       /efi/Boot/bootmgfw.efi /efi/Boot/bootx64.efi 
                       /efi/Boot/fbx64.efi /efi/Boot/grubx64.efi 
                       /efi/Boot/mmx64.efi /efi/Boot/refind_x64.efi 
                       /efi/Boot/shimx64.efi /efi/refind/refind_x64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/Boot/grub.cfg 
                       /efi/ubuntu/grub.cfg /efi/Boot/ubuntu/grubx64.efi 
                       /efi/Boot/ubuntu/mmx64.efi 
                       /efi/Boot/ubuntu/shimx64.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Boot/ubuntu/grub.cfg

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.5 LTS
    Boot files:        /etc/fstab /etc/default/grub

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /efi/BOOT/grubx64.efi


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

OS#1:   Ubuntu 18.04.5 LTS on sda2
OS#2:   Windows 8 or 10 on sda4

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

CPU architecture: 64-bit
Video: Intel Corporation from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 18.04.5 LTS, bionic, x86_64)

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

BIOS/UEFI firmware: V1.04 from Insyde Corp.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0005,0000,0002,2001,2002,2003
Boot0000* Linux	HD(1,GPT,a27ccf8f-ee83-4f53-8d68-99359e5228b1,0x800,0x100000)/File(\EFI\Boot\grubx64.efi)RC
Boot0001* Unknown Device: 	HD(1,GPT,a27ccf8f-ee83-4f53-8d68-99359e5228b1,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0002* Linux	HD(1,GPT,e2ce7bb3-8f26-4bd1-92c8-991c3e1efa55,0x800,0xf3b7df)/File(\EFI\Boot\grubx64.efi)RC
Boot0005* Windows Boot Manager	HD(1,GPT,a27ccf8f-ee83-4f53-8d68-99359e5228b1,0x800,0x100000)/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.}...a................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

3aef9c72ad50faa8db576c01f85a0915   sda1/Boot/Bootx64-2019-01-17-22-38-43.efi
c433f4e31830c0bd000936e25896cfd3   sda1/Boot/bootmgfw.efi
f06d36ba95d450130f39b545ac58d4d0   sda1/Boot/bootx64.efi
5dabe049a4dad758d975dc2e60a7f00e   sda1/Boot/fbx64.efi
f06d36ba95d450130f39b545ac58d4d0   sda1/Boot/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda1/Boot/mmx64.efi
f022c38d7ca7c9b7420940ff9a816fd7   sda1/Boot/refind_x64.efi
f06d36ba95d450130f39b545ac58d4d0   sda1/Boot/shimx64.efi
f022c38d7ca7c9b7420940ff9a816fd7   sda1/refind/refind_x64.efi
9f3328f5beb12c4c94da626ae68eb5bc   sda1/ubuntu/grubx64.efi
f243a42f3bd3164872e792dbc2610270   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
9f3328f5beb12c4c94da626ae68eb5bc   sda1/Boot/ubuntu/grubx64.efi
f243a42f3bd3164872e792dbc2610270   sda1/Boot/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/ubuntu/shimx64.efi
f8f28244c9551657b9eef41e1b3d66fb   sda1/Microsoft/Boot/bootmgfw.efi
c6c359c5c1795a32695cd68607fd9d82   sda1/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	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,	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: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 7E22C3D5-6E51-48C3-A897-A6A6022F2C4E
          Start       End   Sectors  Size Type
sda1       2048   1050623   1048576  512M EFI System
sda2    1050624  68159487  67108864   32G Linux filesystem
sda3   68159488  68192255     32768   16M Microsoft reserved
sda4  128126976 230526975 102400000 48.8G Microsoft basic data
Disk sdb: 7.6 GiB, 8178892800 bytes, 15974400 sectors
Disk identifier: 70C5125C-AA3A-4A7F-91C6-8DC5C5F6DC7E
      Start      End  Sectors  Size Type
sdb1   2048 15974366 15972319  7.6G Microsoft basic data
Disk zram0: 452.9 MiB, 474832896 bytes, 115926 sectors
Disk zram1: 452.9 MiB, 474832896 bytes, 115926 sectors

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:gpt:ATA WDC WD5000LPCX-2:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:34.9GB:34.4GB:ext4:Micosoft reserved:;
3:34.9GB:34.9GB:16.8MB::Microsoft reserved partition:msftres;
4:65.6GB:118GB:52.4GB:ntfs:Windows 10:msftdata;
sdb:8179MB:scsi:512:512:gpt:General UDisk:;
1:1049kB:8179MB:8178MB:fat32:Main Data Partition:msftdata;

Free space >10MiB: ______________________________________________________________

sda: 33297MiB:62562MiB:29265MiB
sda: 112562MiB:476940MiB:364378MiB

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda1 vfat     DFB9-6EDC                            a27ccf8f-ee83-4f53-8d68-99359e5228b1             EFI System Partition
├─sda2 ext4     dac2aa3a-26b7-4c60-8cf8-74f877197293 7ee7f750-f61e-4a45-bd8b-f401c248bb54             Micosoft reserved
├─sda3                                               40e183c9-f4cb-4ec2-aa9c-ad01c9ab728e             Microsoft reserved partition
└─sda4 ntfs     1B6914FC000A7840                     1e391a97-1285-4167-9096-dfde6f8b4ad4 Windows 10  Windows 10
sdb                                                                                                   
└─sdb1 vfat     988E-774E                            e2ce7bb3-8f26-4bd1-92c8-991c3e1efa55 LUBUNTU 18_ Main Data Partition

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda1   470.8M   8% /mnt/boot-sav/sda1
/dev/sda2    23.5G  18% /mnt/boot-sav/sda2
/dev/sda4    37.5G  23% /mnt/boot-sav/sda4
/dev/sdb1     6.5G  15% /cdrom

Mount options (filtered): ______________________________________________________


==================== sda1/EFI/refind/refind.conf (filtered) ====================

timeout 20
menuentry Linux {
    icon EFI/refind/icons/os_linux.png
    volume 904404F8-B481-440C-A1E3-11A5A954E601
    loader bzImage-3.3.0-rc7
    initrd initrd-3.3.0.img
    options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
    disabled
}
menuentry "Arch Linux" {
    icon     /EFI/refind/icons/os_arch.png
    volume   "Arch Linux"
    loader   /boot/vmlinuz-linux
    initrd   /boot/initramfs-linux.img
    options  "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
    submenuentry "Boot using fallback initramfs" {
        initrd /boot/initramfs-linux-fallback.img
    }
    submenuentry "Boot to terminal" {
        add_options "systemd.unit=multi-user.target"
    }
    disabled
}
menuentry Ubuntu {
    loader /EFI/ubuntu/grubx64.efi
    icon /EFI/refind/icons/os_linux.png
    disabled
}
menuentry "ELILO" {
    loader \EFI\elilo\elilo.efi
    disabled
}
menuentry "Windows 7" {
    loader \EFI\Microsoft\Boot\bootmgfw.efi
    disabled
}
menuentry "Windows via shell script" {
    icon \EFI\refind\icons\os_win.png
    loader \EFI\tools\shell.efi
    options "fs0:\EFI\tools\launch_windows.nsh"
    disabled
}
menuentry "My macOS" {
    icon \EFI\refind\icons\os_mac.png
    volume "macOS boot"
    loader \System\Library\CoreServices\boot.efi
    disabled
}

====================== sda1/efi/Boot/grub.cfg (filtered) =======================

search.fs_uuid 3eb4c745-20dc-4886-b17b-5a89b3f5fb52 root hd0,gpt6 
set prefix=($root)'/boot/grub'

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

search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2 
set prefix=($root)'/@/boot/grub'

=================== sda1/efi/Boot/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid d2eb5633-8612-49e5-9d41-4a3debbf9a18 root hd0,gpt4 
set prefix=($root)'/@/boot/grub'

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=dac2aa3a-26b7-4c60-8cf8-74f877197293 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=DFB9-6EDC  /boot/efi       vfat    umask=0077      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)
   4.024410248 = 4.321177600    boot/vmlinuz-5.4.0-42-generic                  2
   4.024410248 = 4.321177600    vmlinuz                                        2
   4.274307251 = 4.589502464    boot/initrd.img-5.4.0-42-generic               3
   4.274307251 = 4.589502464    initrd.img                                     3
   4.274307251 = 4.589502464    initrd.img.old                                 3

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

-rwxr-xr-x 1 root root 12693 Jul 31  2020 10_linux
-rwxr-xr-x 1 root root 11298 Jul 31  2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jul 31  2020 30_os-prober
-rwxr-xr-x 1 root root  1418 Jul 31  2020 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jul 31  2020 40_custom
-rwxr-xr-x 1 root root   216 Jul 31  2020 41_custom

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

Try Lubuntu without installing
Install Lubuntu
OEM install (for manufacturers)
Check disc for defects

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



Suggested repair: ______________________________________________________________

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

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.5 LTS entry (sda1/efi/****/grub****.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\****\grub****.efi (**** will be updated in the final message)

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

#27 Le 23/03/2023, à 12:44

geole

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Le boot-info montre que le fichier contient maintenant cela
====================== sda1/efi/Boot/grub.cfg (filtered) =======================
search.fs_uuid 3eb4c745-20dc-4886-b17b-5a89b3f5fb52 root hd0,gpt6
set prefix=($root)'/boot/grub'

Il n y a pas de partition avec cet UUID ni avec ce numéro.
Je mets  en gras, celle que je crois bonne
blkid (filtered): ______________________________________________________________
NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda1 vfat     DFB9-6EDC                            a27ccf8f-ee83-4f53-8d68-99359e5228b1             EFI System Partition
├─sda2 ext4     dac2aa3a-26b7-4c60-8cf8-74f877197293 7ee7f750-f61e-4a45-bd8b-f401c248bb54             Micosoft reserved
├─sda3                                               40e183c9-f4cb-4ec2-aa9c-ad01c9ab728e             Microsoft reserved partition
└─sda4 ntfs     1B6914FC000A7840                     1e391a97-1285-4167-9096-dfde6f8b4ad4 Windows 10  Windows 10

Dernière modification par geole (Le 23/03/2023, à 12:45)


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

#28 Le 23/03/2023, à 18:51

bouhq

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

On fait quoi alors?

Hors ligne

#29 Le 23/03/2023, à 18:59

geole

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Tu relis  l échange N° 10
Je ne sais pas comment tu as pu revenir à cette situation.
Ce qui devrait donc donner comme réparation
1) Booter en live USB
2) Monter la partition de boot EFI  avec cette commande.

sudo mount  -v /dev/sda1 /mnt

3) Ouvrir le fichier à réparer.

sudo nano /mnt/efi/ubuntu/grub.cfg 

4) Rectifier la ligne
search.fs_uuid 3eb4c745-20dc-4886-b17b-5a89b3f5fb52 root hd0,gpt6
Pour qu'elle devienne
search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2
5) Sauver la modification et quitter nano ainsi que le support d'installation.
6) Tester en rebootant. ( Je n'ai pas vérifié la suite).

Dernière modification par geole (Le 23/03/2023, à 19:02)


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

#30 Le 24/03/2023, à 01:38

bouhq

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Bonjour
la commnde du fichier nano:

sudo nano /mnt/efi/ubuntu/grub.cfg 

donne ceci

https://ibb.co/QpMKfpN

dont voici la transcription  de son cotenu dans le cas où il n'est pas lisible dans la capture d'écran:

[b]search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2[/b]
set prefix=($root)'/@/boot/grub'

C'est à dire  qu'il ne fait pas apparaître :

uuid 3eb4c745-20dc-4886-b17b-5a89b3f5fb52 root hd0,gpt6

Mais plutôt la ligne dans sa version rectifiée.:

search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2 

Et dans le nouveau boot info,

https://pastebin.ubuntu.com/p/j6chcz5yrv/

on retrouve toujours la ligne inchangée:

search.fs_uuid 3eb4c745-20dc-4886-b17b-5a89b3f5fb52 root hd0,gpt6 
set prefix=($root)'/boot/grub'

C'est de quoi perdre son latin:mad:

Dernière modification par bouhq (Le 24/03/2023, à 01:46)

Hors ligne

#31 Le 24/03/2023, à 08:04

xubu1957

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Bonjour,

Collage du Boot-info (lien au #30) :

boot-info-4ppa203                                              [20230323_2301]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => No known boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/refind/refind.conf 
                       /efi/Boot/Bootx64-2019-01-17-22-38-43.efi 
                       /efi/Boot/bootmgfw.efi /efi/Boot/bootx64.efi 
                       /efi/Boot/fbx64.efi /efi/Boot/grubx64.efi 
                       /efi/Boot/mmx64.efi /efi/Boot/refind_x64.efi 
                       /efi/Boot/shimx64.efi /efi/refind/refind_x64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/Boot/grub.cfg 
                       /efi/ubuntu/grub.cfg /efi/Boot/ubuntu/grubx64.efi 
                       /efi/Boot/ubuntu/mmx64.efi 
                       /efi/Boot/ubuntu/shimx64.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Boot/ubuntu/grub.cfg

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.5 LTS
    Boot files:        

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /efi/BOOT/grubx64.efi


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

OS#1:   Ubuntu 18.04.5 LTS on sda2
OS#2:   Windows 8 or 10 on sda4

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

CPU architecture: 64-bit
Video: Intel Corporation from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 18.04.5 LTS, bionic, x86_64)

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

BIOS/UEFI firmware: V1.04 from Insyde Corp.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0005,0000,0002,2001,2002,2003
Boot0000* Linux	HD(1,GPT,a27ccf8f-ee83-4f53-8d68-99359e5228b1,0x800,0x100000)/File(\EFI\Boot\grubx64.efi)RC
Boot0001* Unknown Device: 	HD(1,GPT,a27ccf8f-ee83-4f53-8d68-99359e5228b1,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0002* Linux	HD(1,GPT,e2ce7bb3-8f26-4bd1-92c8-991c3e1efa55,0x800,0xf3b7df)/File(\EFI\Boot\grubx64.efi)RC
Boot0005* Windows Boot Manager	HD(1,GPT,a27ccf8f-ee83-4f53-8d68-99359e5228b1,0x800,0x100000)/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.}...a................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

3aef9c72ad50faa8db576c01f85a0915   sda1/Boot/Bootx64-2019-01-17-22-38-43.efi
c433f4e31830c0bd000936e25896cfd3   sda1/Boot/bootmgfw.efi
f06d36ba95d450130f39b545ac58d4d0   sda1/Boot/bootx64.efi
5dabe049a4dad758d975dc2e60a7f00e   sda1/Boot/fbx64.efi
f06d36ba95d450130f39b545ac58d4d0   sda1/Boot/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda1/Boot/mmx64.efi
f022c38d7ca7c9b7420940ff9a816fd7   sda1/Boot/refind_x64.efi
f06d36ba95d450130f39b545ac58d4d0   sda1/Boot/shimx64.efi
f022c38d7ca7c9b7420940ff9a816fd7   sda1/refind/refind_x64.efi
9f3328f5beb12c4c94da626ae68eb5bc   sda1/ubuntu/grubx64.efi
f243a42f3bd3164872e792dbc2610270   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
9f3328f5beb12c4c94da626ae68eb5bc   sda1/Boot/ubuntu/grubx64.efi
f243a42f3bd3164872e792dbc2610270   sda1/Boot/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/ubuntu/shimx64.efi
f8f28244c9551657b9eef41e1b3d66fb   sda1/Microsoft/Boot/bootmgfw.efi
c6c359c5c1795a32695cd68607fd9d82   sda1/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	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,	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: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 7E22C3D5-6E51-48C3-A897-A6A6022F2C4E
          Start       End   Sectors  Size Type
sda1       2048   1050623   1048576  512M EFI System
sda2    1050624  68159487  67108864   32G Linux filesystem
sda3   68159488  68192255     32768   16M Microsoft reserved
sda4  128126976 230526975 102400000 48.8G Microsoft basic data
Disk sdb: 7.6 GiB, 8178892800 bytes, 15974400 sectors
Disk identifier: 70C5125C-AA3A-4A7F-91C6-8DC5C5F6DC7E
      Start      End  Sectors  Size Type
sdb1   2048 15974366 15972319  7.6G Microsoft basic data
Disk zram0: 452.9 MiB, 474832896 bytes, 115926 sectors
Disk zram1: 452.9 MiB, 474832896 bytes, 115926 sectors

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:gpt:ATA WDC WD5000LPCX-2:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:34.9GB:34.4GB:ext4:Micosoft reserved:;
3:34.9GB:34.9GB:16.8MB::Microsoft reserved partition:msftres;
4:65.6GB:118GB:52.4GB:ntfs:Windows 10:msftdata;
sdb:8179MB:scsi:512:512:gpt:General UDisk:;
1:1049kB:8179MB:8178MB:fat32:Main Data Partition:msftdata;

Free space >10MiB: ______________________________________________________________

sda: 33297MiB:62562MiB:29265MiB
sda: 112562MiB:476940MiB:364378MiB

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda1 vfat     DFB9-6EDC                            a27ccf8f-ee83-4f53-8d68-99359e5228b1             EFI System Partition
├─sda2 ext4     dac2aa3a-26b7-4c60-8cf8-74f877197293 7ee7f750-f61e-4a45-bd8b-f401c248bb54             Micosoft reserved
├─sda3                                               40e183c9-f4cb-4ec2-aa9c-ad01c9ab728e             Microsoft reserved partition
└─sda4 ntfs     1B6914FC000A7840                     1e391a97-1285-4167-9096-dfde6f8b4ad4 Windows 10  Windows 10
sdb                                                                                                   
└─sdb1 vfat     988E-774E                            e2ce7bb3-8f26-4bd1-92c8-991c3e1efa55 LUBUNTU 18_ Main Data Partition

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda1   470.8M   8% /mnt
/dev/sda2    23.5G  18% /mnt/boot-sav/sda2
/dev/sda4    33.3G  32% /mnt/boot-sav/sda4
/dev/sdb1     6.5G  15% /cdrom

Mount options (filtered): ______________________________________________________


==================== sda1/EFI/refind/refind.conf (filtered) ====================

timeout 20
menuentry Linux {
    icon EFI/refind/icons/os_linux.png
    volume 904404F8-B481-440C-A1E3-11A5A954E601
    loader bzImage-3.3.0-rc7
    initrd initrd-3.3.0.img
    options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
    disabled
}
menuentry "Arch Linux" {
    icon     /EFI/refind/icons/os_arch.png
    volume   "Arch Linux"
    loader   /boot/vmlinuz-linux
    initrd   /boot/initramfs-linux.img
    options  "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
    submenuentry "Boot using fallback initramfs" {
        initrd /boot/initramfs-linux-fallback.img
    }
    submenuentry "Boot to terminal" {
        add_options "systemd.unit=multi-user.target"
    }
    disabled
}
menuentry Ubuntu {
    loader /EFI/ubuntu/grubx64.efi
    icon /EFI/refind/icons/os_linux.png
    disabled
}
menuentry "ELILO" {
    loader \EFI\elilo\elilo.efi
    disabled
}
menuentry "Windows 7" {
    loader \EFI\Microsoft\Boot\bootmgfw.efi
    disabled
}
menuentry "Windows via shell script" {
    icon \EFI\refind\icons\os_win.png
    loader \EFI\tools\shell.efi
    options "fs0:\EFI\tools\launch_windows.nsh"
    disabled
}
menuentry "My macOS" {
    icon \EFI\refind\icons\os_mac.png
    volume "macOS boot"
    loader \System\Library\CoreServices\boot.efi
    disabled
}

====================== sda1/efi/Boot/grub.cfg (filtered) =======================

search.fs_uuid 3eb4c745-20dc-4886-b17b-5a89b3f5fb52 root hd0,gpt6 
set prefix=($root)'/boot/grub'

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

search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2 
set prefix=($root)'/@/boot/grub'

=================== sda1/efi/Boot/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid d2eb5633-8612-49e5-9d41-4a3debbf9a18 root hd0,gpt4 
set prefix=($root)'/@/boot/grub'

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

-rwxr-xr-x 1 root root 12693 Jul 31  2020 10_linux
-rwxr-xr-x 1 root root 11298 Jul 31  2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jul 31  2020 30_os-prober
-rwxr-xr-x 1 root root  1418 Jul 31  2020 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jul 31  2020 40_custom
-rwxr-xr-x 1 root root   216 Jul 31  2020 41_custom

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

Try Lubuntu without installing
Install Lubuntu
OEM install (for manufacturers)
Check disc for defects

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



Suggested repair: ______________________________________________________________

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

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.5 LTS entry (sda1/efi/****/grub****.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\****\grub****.efi (**** will be updated in the final message)

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

#32 Le 24/03/2023, à 09:12

geole

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Bonjour
Je n avais pas fais bien attention

====================== sda1/efi/Boot/grub.cfg (filtered) =======================
search.fs_uuid 3eb4c745-20dc-4886-b17b-5a89b3f5fb52 root hd0,gpt6 
set prefix=($root)'/boot/grub'

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2 
set prefix=($root)'/@/boot/grub'

=================== sda1/efi/Boot/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid d2eb5633-8612-49e5-9d41-4a3debbf9a18 root hd0,gpt4 
set prefix=($root)'/@/boot/grub'

C est bien réparé, mais il est probable que ce fichier ne soit pas utilisé. Donc on va le dupliquer
1) Booter en live USB
2) Monter la partition de boot EFI  avec cette commande.

sudo mount  -v /dev/sda1 /mnt

et écraser les deux autres fichiers

sudo cp -v /mnt/efi/ubuntu/grub.cfg  /mnt/efi/Boot/grub.cfg
sudo cp -v /mnt/efi/ubuntu/grub.cfg  /mnt/efi/Boot/ubuntu/grub.cfg

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

#33 Le 24/03/2023, à 12:34

bouhq

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Bonjour
Le nouveau bootinfo

http://paste.ubuntu.com/p/fj9Pzh6BkP/

ne fait apparaître qu'un seul fichier ( gpt2) après l'écrasement  des deux autres ( les gpt4 et gpt6)

search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2 
set prefix=($root)'/@/boot/grub

Mais je ne sais pas pourquoi il est répété 3 fois

Dernière modification par bouhq (Le 24/03/2023, à 13:24)

Hors ligne

#34 Le 24/03/2023, à 12:48

geole

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Parce que ton boot n'est pas totalement standard.
On sait  depuis longtemps qu'il ne boote pas sur ce que ubuntu prévoit.    efi/ubuntu/grubx64.efi
Mais sur une autre structure    non exactement identifiée qu'on a écrasé  pour y mettre le fichier de boot créé par ubuntu et dans ce contexte, je ne sais pas où grubx64.efi va chercher le fichier grub.cfg:   Sous le répertoire où il démarre? ou sous le répertoire prévu par ubuntu. Il faudrait faire quelques essais pour identifier.
Mais le plus important est de savoir si maintenant le boot fonctionne.


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

#35 Le 24/03/2023, à 13:26

bouhq

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Je viens de faire le test en rebootant  mais ça renvoie toujours à:

Error= no such partition
Entering rescue mode...
grub rescue

Hors ligne

#36 Le 24/03/2023, à 16:20

geole

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Je ne comprends pas très bien le message, mais on sait maintenant que toutes les solutions de boot  EFI renvoient à cette commande.

search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2

Mais la partition existe bien et est bien en N° 2

├─sda2 ext4     dac2aa3a-26b7-4c60-8cf8-74f877197293 7ee7f750-f61e-4a45-bd8b-f401c248bb54             Micosoft reserved

Voila son contenu

sda2: __________________________________________________________________________
    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.5 LTS
    Boot files:        /etc/fstab /etc/default/grub

On voit bien que le fichier /boot/grub/grub.cfg est absent.   Est-ce la cause de ce message d'erreur? je ne sais pas dire.

En tout cas, il me semble, qu'il faudrait que tu postes le résultat de la réparation  avancée de boot-repair en demandant la réinstallation du grub. Paragraphe 3.1.


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

#37 Le 25/03/2023, à 15:52

bouhq

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Bonjour
J'ai lancé trois fois bootrepair, dont deux en mode avancé et une en mode réparation recommandée, et à chaque fois, le système plante au moment de la réinstallation du GRUB.

Hors ligne

#38 Le 25/03/2023, à 15:55

geole

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Il faut que je retrouve dans une ancienne discussion.   On avait certainement fait en chroot. ==> https://forum.ubuntu-fr.org/viewtopic.p … #p22543155

Donc maintenant
Démarre sur la session live usb, ouvre un terminal, clavier fr :

setxkbmap fr
sudo mount /dev/sda2           /mnt
sudo mount --bind /dev /mnt/dev
sudo mount -t proc  /proc              /mnt/proc
sudo mount -t sysfs /sys               /mnt/sys
sudo mount --bind   /run               /mnt/run
sudo mount --bind   /sys               /mnt/sys
sudo modprobe efivars  
sudo chroot /mnt

Quelques contrôles seront à faire par exemple

mount -t devpts devpts /dev/pts 
ping -c4 google.fr
ls   -ls /home

==> Cette réponse doit te donner ton nom d'utilisateur et pas ubuntu
Puis les réparations. Comme on va avoir  besoin de toucher à l'EFI

sudo mount  -v /dev/sda1  /boot/efi

Comme réparation, je propose

sudo apt-mark  hold   secureboot-db   
sudo apt-mark  hold   fwupdate-signed
sudo apt-mark  hold   grub-efi-amd64-signed
sudo apt-mark  hold   shim-signed
sudo dpkg --configure -a
sudo apt-get install --reinstall grub-efi
sudo grub-install /dev/sda --no-nvram --efi-directory=/boot/efi  --target=x86_64-efi  --no-uefi-secure-boot 
sudo update-grub 
sudo update-initramfs -c -k all

Cela fera un bon début...          Si cela ne reboote toujours pas, il faut un nouveau boot-info

Dernière modification par geole (Le 27/03/2023, à 10:08)


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

#39 Le 25/03/2023, à 22:46

bouhq

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Bonsoir
Ca ne reboote toujours pas
Voici les deux dernières lignes du retour des commandes:

Installing for x86_64-efi platform.
grub-install: error: failed to get canonical path of `/boot/efi'.

Et voici le lien du boo-tinfo

http://paste.ubuntu.com/p/QS8NPnsmVN/

Hors ligne

#40 Le 26/03/2023, à 00:29

geole

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Il y a certainement une erreur quelque part qui provoque l'incident final.
Mais je ne sais pas trouver.
Alors, recommence en exécutant paquet de commandes par paquet.
en publiant, pour  chaque paquet, la totalité de son retour.
Il y a maintenant un paquet de plus.

Dernière modification par geole (Le 26/03/2023, à 00: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

#41 Le 26/03/2023, à 08:30

xubu1957

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Bonjour,

Collage du Boot-info (#39) :

boot-info-4ppa203                                              [20230325_2039]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => No known boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/refind/refind.conf 
                       /efi/Boot/Bootx64-2019-01-17-22-38-43.efi 
                       /efi/Boot/bootmgfw.efi /efi/Boot/bootx64.efi 
                       /efi/Boot/fbx64.efi /efi/Boot/grubx64.efi 
                       /efi/Boot/mmx64.efi /efi/Boot/refind_x64.efi 
                       /efi/Boot/shimx64.efi /efi/refind/refind_x64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/Boot/grub.cfg 
                       /efi/ubuntu/grub.cfg /efi/Boot/ubuntu/grubx64.efi 
                       /efi/Boot/ubuntu/mmx64.efi 
                       /efi/Boot/ubuntu/shimx64.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Boot/ubuntu/grub.cfg

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.5 LTS
    Boot files:        /etc/fstab /etc/default/grub

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /efi/BOOT/grubx64.efi


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

OS#1:   Ubuntu 18.04.5 LTS on sda2
OS#2:   Windows 8 or 10 on sda4

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

CPU architecture: 64-bit
Video: Intel Corporation from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 18.04.5 LTS, bionic, x86_64)

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

BIOS/UEFI firmware: V1.04 from Insyde Corp.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0005,0000,0002,2001,2002,2003
Boot0000* Linux	HD(1,GPT,a27ccf8f-ee83-4f53-8d68-99359e5228b1,0x800,0x100000)/File(\EFI\Boot\grubx64.efi)RC
Boot0001* Unknown Device: 	HD(1,GPT,a27ccf8f-ee83-4f53-8d68-99359e5228b1,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0002* Linux	HD(1,GPT,e2ce7bb3-8f26-4bd1-92c8-991c3e1efa55,0x800,0xf3b7df)/File(\EFI\Boot\grubx64.efi)RC
Boot0005* Windows Boot Manager	HD(1,GPT,a27ccf8f-ee83-4f53-8d68-99359e5228b1,0x800,0x100000)/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.}...a................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

3aef9c72ad50faa8db576c01f85a0915   sda1/Boot/Bootx64-2019-01-17-22-38-43.efi
c433f4e31830c0bd000936e25896cfd3   sda1/Boot/bootmgfw.efi
b6e92eeb44c28043967df78682083d85   sda1/Boot/bootx64.efi
5dabe049a4dad758d975dc2e60a7f00e   sda1/Boot/fbx64.efi
f06d36ba95d450130f39b545ac58d4d0   sda1/Boot/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda1/Boot/mmx64.efi
f022c38d7ca7c9b7420940ff9a816fd7   sda1/Boot/refind_x64.efi
f06d36ba95d450130f39b545ac58d4d0   sda1/Boot/shimx64.efi
f022c38d7ca7c9b7420940ff9a816fd7   sda1/refind/refind_x64.efi
b6e92eeb44c28043967df78682083d85   sda1/ubuntu/grubx64.efi
f243a42f3bd3164872e792dbc2610270   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
9f3328f5beb12c4c94da626ae68eb5bc   sda1/Boot/ubuntu/grubx64.efi
f243a42f3bd3164872e792dbc2610270   sda1/Boot/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/ubuntu/shimx64.efi
f8f28244c9551657b9eef41e1b3d66fb   sda1/Microsoft/Boot/bootmgfw.efi
c6c359c5c1795a32695cd68607fd9d82   sda1/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	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,	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: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 7E22C3D5-6E51-48C3-A897-A6A6022F2C4E
          Start       End   Sectors  Size Type
sda1       2048   1050623   1048576  512M EFI System
sda2    1050624  68159487  67108864   32G Linux filesystem
sda3   68159488  68192255     32768   16M Microsoft reserved
sda4  128126976 230526975 102400000 48.8G Microsoft basic data
Disk sdb: 7.6 GiB, 8178892800 bytes, 15974400 sectors
Disk identifier: 70C5125C-AA3A-4A7F-91C6-8DC5C5F6DC7E
      Start      End  Sectors  Size Type
sdb1   2048 15974366 15972319  7.6G Microsoft basic data
Disk zram0: 452.9 MiB, 474832896 bytes, 115926 sectors
Disk zram1: 452.9 MiB, 474832896 bytes, 115926 sectors

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:gpt:ATA WDC WD5000LPCX-2:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:34.9GB:34.4GB:ext4:Micosoft reserved:;
3:34.9GB:34.9GB:16.8MB::Microsoft reserved partition:msftres;
4:65.6GB:118GB:52.4GB:ntfs:Windows 10:msftdata;
sdb:8179MB:scsi:512:512:gpt:General UDisk:;
1:1049kB:8179MB:8178MB:fat32:Main Data Partition:msftdata;

Free space >10MiB: ______________________________________________________________

sda: 33297MiB:62562MiB:29265MiB
sda: 112562MiB:476940MiB:364378MiB

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda1 vfat     DFB9-6EDC                            a27ccf8f-ee83-4f53-8d68-99359e5228b1             EFI System Partition
├─sda2 ext4     dac2aa3a-26b7-4c60-8cf8-74f877197293 7ee7f750-f61e-4a45-bd8b-f401c248bb54             Micosoft reserved
├─sda3                                               40e183c9-f4cb-4ec2-aa9c-ad01c9ab728e             Microsoft reserved partition
└─sda4 ntfs     1B6914FC000A7840                     1e391a97-1285-4167-9096-dfde6f8b4ad4 Windows 10  Windows 10
sdb                                                                                                   
└─sdb1 vfat     988E-774E                            e2ce7bb3-8f26-4bd1-92c8-991c3e1efa55 LUBUNTU 18_ Main Data Partition

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda1   471.3M   8% /mnt/boot-sav/sda1
/dev/sda2    23.5G  18% /mnt/boot-sav/sda2
/dev/sda4    32.9G  33% /mnt/boot-sav/sda4
/dev/sdb1     6.5G  15% /cdrom

Mount options (filtered): ______________________________________________________


==================== sda1/EFI/refind/refind.conf (filtered) ====================

timeout 20
menuentry Linux {
    icon EFI/refind/icons/os_linux.png
    volume 904404F8-B481-440C-A1E3-11A5A954E601
    loader bzImage-3.3.0-rc7
    initrd initrd-3.3.0.img
    options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
    disabled
}
menuentry "Arch Linux" {
    icon     /EFI/refind/icons/os_arch.png
    volume   "Arch Linux"
    loader   /boot/vmlinuz-linux
    initrd   /boot/initramfs-linux.img
    options  "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
    submenuentry "Boot using fallback initramfs" {
        initrd /boot/initramfs-linux-fallback.img
    }
    submenuentry "Boot to terminal" {
        add_options "systemd.unit=multi-user.target"
    }
    disabled
}
menuentry Ubuntu {
    loader /EFI/ubuntu/grubx64.efi
    icon /EFI/refind/icons/os_linux.png
    disabled
}
menuentry "ELILO" {
    loader \EFI\elilo\elilo.efi
    disabled
}
menuentry "Windows 7" {
    loader \EFI\Microsoft\Boot\bootmgfw.efi
    disabled
}
menuentry "Windows via shell script" {
    icon \EFI\refind\icons\os_win.png
    loader \EFI\tools\shell.efi
    options "fs0:\EFI\tools\launch_windows.nsh"
    disabled
}
menuentry "My macOS" {
    icon \EFI\refind\icons\os_mac.png
    volume "macOS boot"
    loader \System\Library\CoreServices\boot.efi
    disabled
}

====================== sda1/efi/Boot/grub.cfg (filtered) =======================

search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2 
set prefix=($root)'/@/boot/grub'

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

search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2 
set prefix=($root)'/boot/grub'

=================== sda1/efi/Boot/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2 
set prefix=($root)'/@/boot/grub'

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=dac2aa3a-26b7-4c60-8cf8-74f877197293 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=DFB9-6EDC  /boot/efi       vfat    umask=0077      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)
   4.024410248 = 4.321177600    boot/vmlinuz-5.4.0-42-generic                  2
   4.024410248 = 4.321177600    vmlinuz                                        2
   4.274307251 = 4.589502464    boot/initrd.img-5.4.0-42-generic               3
   4.274307251 = 4.589502464    initrd.img                                     3
   4.274307251 = 4.589502464    initrd.img.old                                 3

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

-rwxr-xr-x 1 root root 12693 Jul 31  2020 10_linux
-rwxr-xr-x 1 root root 11298 Jul 31  2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jul 31  2020 30_os-prober
-rwxr-xr-x 1 root root  1418 Jul 31  2020 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jul 31  2020 40_custom
-rwxr-xr-x 1 root root   216 Jul 31  2020 41_custom

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

Try Lubuntu without installing
Install Lubuntu
OEM install (for manufacturers)
Check disc for defects

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



Suggested repair: ______________________________________________________________

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

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.5 LTS entry (sda1/efi/****/grub****.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\****\grub****.efi (**** will be updated in the final message)

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

#42 Le 26/03/2023, à 11:35

bouhq

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Bonjour.

lubuntu@lubuntu:~$ setxkbmap fr

lubuntu@lubuntu:~$ sudo mount /dev/sda2/mnt
mount: /dev/sda2/mnt: can't find in /etc/fstab.
lubuntu@lubuntu:~$ sudo mount --bind /dev /mnt/dev
mount: /mnt/dev: mount point does not exist.
lubuntu@lubuntu:~$ sudo mount -t proc  /proc              /mnt/proc
mount: /mnt/proc: mount point does not exist.
lubuntu@lubuntu:~$ sudo mount -t sysfs /sys               /mnt/sys
mount: /mnt/sys: mount point does not exist.
lubuntu@lubuntu:~$ sudo mount --bind   /run               /mnt/run
mount: /mnt/run: mount point does not exist.
lubuntu@lubuntu:~$ sudo mount --bind   /sys               /mnt/sys
mount: /mnt/sys: mount point does not exist.
lubuntu@lubuntu:~$ sudo modprobe efivars
lubuntu@lubuntu:~$ 
lubuntu@lubuntu:~$ sudo chroot /mnt
chroot: failed to run command ‘/bin/bash’: No such file or directory
lubuntu@lubuntu:~$
lubuntu@lubuntu:~$ mount -t devpts devpts /dev/pts 
mount: only root can use "--types" option
lubuntu@lubuntu:~$ ping -c4 google.fr
PING google.fr (142.250.201.3) 56(84) bytes of data.
64 bytes from mrs08s19-in-f3.1e100.net (142.250.201.3): icmp_seq=1 ttl=114 time=306 ms
64 bytes from mrs08s19-in-f3.1e100.net (142.250.201.3): icmp_seq=2 ttl=114 time=333 ms
64 bytes from mrs08s19-in-f3.1e100.net (142.250.201.3): icmp_seq=3 ttl=114 time=250 ms
64 bytes from mrs08s19-in-f3.1e100.net (142.250.201.3): icmp_seq=4 ttl=114 time=374 ms
--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 250.792/316.293/374.950/45.047 ms
lubuntu@lubuntu:~$ ls   -ls /home

ça n'a pas donné mon nom d'utilisateur

lubuntu@lubuntu:~$ sudo mount  -v /dev/sda1  /boot/efi
mount: /boot/efi: mount point does not exist.
lubuntu@lubuntu:~$

Trop d'erreurs, je suppose, c'est pourquoi, je me suis arrêté là et je n'ai pas exécuté les commandes du dernier paquet car je suppose que le système va planter.
J'ai quand même continué et voici les retours des commandes restantes:

lubuntu@lubuntu:~$ sudo apt install grub-efi-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  grub-efi-amd64-bin
The following packages will be REMOVED:
  grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
  grub-efi-amd64 grub-efi-amd64-bin
0 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/704 kB of archives.
After this operation, 2345 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 cdrom://Lubuntu 18.04.5 LTS _Bionic Beaver_ - Release amd64 (20200806.1) bionic/main amd64 grub-efi-amd64-bin amd64 2.02-2ubuntu8.17 [656 kB]
Get:2 cdrom://Lubuntu 18.04.5 LTS _Bionic Beaver_ - Release amd64 (20200806.1) bionic/main amd64 grub-efi-amd64 amd64 2.02-2ubuntu8.17 [47.9 kB]
Preconfiguring packages ...
(Reading database ... 129666 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7) ...
Removing grub-pc (2.02-2ubuntu8.17) ...
Selecting previously unselected package grub-efi-amd64-bin.
(Reading database ... 129646 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64-bin_2.02-2ubuntu8.17_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02-2ubuntu8.17) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02-2ubuntu8.17_amd64.deb ...
Unpacking grub-efi-amd64 (2.02-2ubuntu8.17) ...
Setting up grub-efi-amd64-bin (2.02-2ubuntu8.17) ...
Setting up grub-efi-amd64 (2.02-2ubuntu8.17) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
lubuntu@lubuntu:~$
lubuntu@lubuntu:~$ sudo grub-install /dev/sda --no-nvram --efi-directory=/boot/efi  --target=x86_64-efi  --no-uefi-secure-boot
Installing for x86_64-efi platform.
grub-install: error: failed to get canonical path of `/boot/efi'.
lubuntu@lubuntu:~$ sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.
lubuntu@lubuntu:~$ 
lubuntu@lubuntu:~$ sudo update-initramfs -d -k all
update-initramfs is disabled since running on read-only media
lubuntu@lubuntu:~$ 

Dernière modification par bouhq (Le 26/03/2023, à 12:03)

Hors ligne

#43 Le 26/03/2023, à 11:38

geole

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

C'était  la première ligne qui était fausse. ( j ai corrigé)


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

#44 Le 26/03/2023, à 12:06

bouhq

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

celle là ?:

sudo mount /dev/sda2           /mnt

Hors ligne

#45 Le 26/03/2023, à 12:31

bouhq

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

J'ai refait la procédure:

lubuntu@lubuntu:~$ sudo mount /dev/sda2           /mnt
lubuntu@lubuntu:~$ sudo mount --bind /dev /mnt/dev
lubuntu@lubuntu:~$ sudo mount -t proc  /proc              /mnt/proc
lubuntu@lubuntu:~$ sudo mount -t sysfs /sys               /mnt/sys

[code]lubuntu@lubuntu:~$ sudo mount --bind   /run               /mnt/run
lubuntu@lubuntu:~$ sudo mount --bind   /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo modprobe efivars
lubuntu@lubuntu:~$ sudo chroot /mnt[/code]
root@lubuntu:/# mount -t devpts devpts /dev/pts 
root@lubuntu:/# ping -c4 google.fr
PING google.fr (142.250.201.3) 56(84) bytes of data.
64 bytes from mrs08s19-in-f3.1e100.net (142.250.201.3): icmp_seq=1 ttl=114 time=194 ms
64 bytes from mrs08s19-in-f3.1e100.net (142.250.201.3): icmp_seq=2 ttl=114 time=218 ms
64 bytes from mrs08s19-in-f3.1e100.net (142.250.201.3): icmp_seq=3 ttl=114 time=241 ms
--- google.fr ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3000ms
rtt min/avg/max/mdev = 194.738/218.399/241.974/19.287 ms
root@lubuntu:/# ls   -ls /homesudo mount  -v /dev/sda1  /boot/efi
ls: cannot access '/homesudo': No such file or directory
ls: cannot access 'mount': No such file or directory
0 brw-rw---- 1 root disk 8, 1 Mar 26 10:04 /dev/sda1
/boot/efi:
total 0

r

oot@lubuntu:/# sudo apt install grub-efi-amd64
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
root@lubuntu:/# sudo grub-install /dev/sda --no-nvram --efi-directory=/boot/efi  --target=x86_64-efi  --no-uefi-secure-boot
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
root@lubuntu:/# sudo update-grub 
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-42-generic
Found initrd image: /boot/initrd.img-5.4.0-42-generic
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
root@lubuntu:/# sudo update-initramfs -d -k all
update-initramfs: Deleting /boot/initrd.img-5.4.0-42-generic
root@lubuntu:/#

Hors ligne

#46 Le 26/03/2023, à 12:41

geole

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

J'ai  encore vu cette  erreur

"grub-install: error: /boot/efi doesn't look like an EFI partition."

Pendant que je cherche d'où elle provient, 
Probablement de cette commande
"# ls   -ls /homesudo mount  -v /dev/sda1  /boot/efi"

alors que c'est deux commandes

ls   -ls /home
sudo mount  -v /dev/sda1  /boot/efi

comme la suite semble être bonne, tu pourrais tenter  un reboot.
et si cela plante encore,   tu recommenceras,  (J ai ajouté la commande dpkg)

Dernière modification par geole (Le 26/03/2023, à 12:46)


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

#47 Le 26/03/2023, à 18:55

bouhq

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

J'ai recommencé plusieurs fois et à chaque fois ça plante au niveau de:

Installing for X86_64-efi_platform

C'est à dire juste après la commande :

sudo dpkg --configure -a

Hors ligne

#48 Le 26/03/2023, à 19:28

geole

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Donc cela serait cette commande
sudo apt install grub-efi-amd64
et pas celle-ci
sudo grub-install /dev/sda --no-nvram --efi-directory=/boot/efi  --target=x86_64-efi  --no-uefi-secure-boot

Je ne sais  pas  trop  ce que tu appelles  "plantage"      ===> aucun message message d'erreur   ?????
                                                                                      =====> ?
                                                                                     =========> ordinateur qui n'a plus de courant électrique ? 

En attendant, je ne sais pas ce que cela va donner. Mais recommence la procédure sans la commande qui plante donc  l'installation du grub EFI-AMD.   Il y a certainement un autre grub présent.   Cela peut suffire.....

Dernière modification par geole (Le 26/03/2023, à 19:29)


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

#49 Le 27/03/2023, à 01:30

bouhq

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Bonjour,
Je crois qu'il ya une autre commande qui fait problème, c'est:

sudo dpkg --configure -a

En l'évitant, elle et l'autre commande que tu as signalée:

sudo grub-install /dev/sda --no-nvram --efi-directory=/boot/efi  --target=x86_64-efi  --no-uefi-secure-boot 

tout se passe presque très bien:

lubuntu@lubuntu:~$ sudo mount /dev/sda2           /mnt
lubuntu@lubuntu:~$ sudo mount --bind /dev /mnt/dev
lubuntu@lubuntu:~$ sudo mount -t proc  /proc              /mnt/proc
lubuntu@lubuntu:~$ sudo mount -t sysfs /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo mount --bind   /run               /mnt/run
lubuntu@lubuntu:~$ sudo mount --bind   /sys               /mnt/sys
lubuntu@lubuntu:~$ sudo modprobe efivars
lubuntu@lubuntu:~$ sudo chroot /mnt
root@lubuntu:/# mount -t devpts devpts /dev/pts
root@lubuntu:/# ping -c4 google.fr
PING google.fr (142.250.201.3) 56(84) bytes of data.
64 bytes from mrs08s19-in-f3.1e100.net (142.250.201.3): icmp_seq=1 ttl=114 time=55.8 ms
64 bytes from mrs08s19-in-f3.1e100.net (142.250.201.3): icmp_seq=2 ttl=114 time=234 ms
64 bytes from mrs08s19-in-f3.1e100.net (142.250.201.3): icmp_seq=3 ttl=114 time=54.1 ms
64 bytes from mrs08s19-in-f3.1e100.net (142.250.201.3): icmp_seq=4 ttl=114 time=55.1 ms
--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 54.135/99.787/234.004/77.492 ms
root@lubuntu:/# ls   -ls /home
total 4
4 drwxr-xr-x 2 touzi touzi 4096 Mar 19 14:53 touzi
root@lubuntu:/# sudo mount  -v /dev/sda1  /boot/efi
mount: /dev/sda1 mounted on /boot/efi.
root@lubuntu:/# sudo apt install grub-efi-amd64
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
root@lubuntu:/# sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-42-generic
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
root@lubuntu:/# sudo update-initramfs -d -k all
root@lubuntu:/#

Mais ça ne reboote toujours pas.
En refaisant la procédure et en incluant la commande

sudo dpkg --configure -a

le système plante avec un écran figé, pas de curseur, impossible de faire de saisie et la seule option pour fermer le système c'est d'appuyer sur le bouton power.

Hors ligne

#50 Le 27/03/2023, à 09:43

geole

Re : [Résolu]Echec de réinstallation de Lubuntu 18.04 en dual boot avec Win

Bonjour
Avec tout ce qui vient de se passer, j'aurais aimé, que tu produises un nouveau boot-info car il y a certainement eu des changements.

Je vois  que refind a été installé.    A-t'il fonctionné  un moment donné?   Si oui, peut-être le réactiver..

J'ai ajouté des commandes pour le dpkg. Tu peux retenter la réparation. Puis faire le boo-info

Dernière modification par geole (Le 27/03/2023, à 10:12)


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