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.

#101 Le 03/04/2023, à 19:24

bouhq

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

malheureusement ce n'était pas la bonne soulution, pourtant les commandes se sont bien passées, en voici le retour:

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

lubuntu@lubuntu:~$ setxkbmap fr
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.251.209.35) 56(84) bytes of data.
64 bytes from mil04s51-in-f3.1e100.net (142.251.209.35): icmp_seq=1 ttl=118 time=59.7 ms
64 bytes from mil04s51-in-f3.1e100.net (142.251.209.35): icmp_seq=2 ttl=118 time=48.3 ms
64 bytes from mil04s51-in-f3.1e100.net (142.251.209.35): icmp_seq=3 ttl=118 time=55.6 ms
64 bytes from mil04s51-in-f3.1e100.net (142.251.209.35): icmp_seq=4 ttl=118 time=49.7 ms

--- google.fr ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 48.345/53.369/59.721/4.592 ms
root@lubuntu:/# ls   -ls /home
total 4
4 drwxr-xr-x 2 touzi touzi 4096 Mar 19 14:53 touzi
root@lubuntu:/# mount  -v /dev/sda1  /boot/efi
mount: /dev/sda1 mounted on /boot/efi.
root@lubuntu:/#  dpkg --configure -a
root@lubuntu:/# grub-install /dev/sda --no-nvram --efi-directory=/boot/efi  --target=x86_64-efi  --no-uefi-secure-boot 
Installing for x86_64-efi platform.
Installation finished. No error reported.
root@lubuntu:/# update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-146-generic
Found initrd image: /boot/initrd.img-5.4.0-146-generic
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:/# exit

Hors ligne

#102 Le 03/04/2023, à 19:30

geole

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

Le boot-info s'il te plaît.


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

#103 Le 03/04/2023, à 19:33

Qid

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

Encore et toujours un souci de séquence de boot efi ?


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#104 Le 03/04/2023, à 23:35

bouhq

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

Bonsoir
Voici le lien pour le boo-info:

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

Hors ligne

#105 Le 03/04/2023, à 23:56

bouhq

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

Collage du Boot-info (relatif au #101)

boot-info-4ppa203                                              [20230403_2124]

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

sda2: __________________________________________________________________________

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

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.6 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
5cade0b5409f474c757a4a26d6a500b0   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
5cade0b5409f474c757a4a26d6a500b0   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   472.8M   7% /mnt/boot/efi
/dev/sda2    22.9G  20% /mnt
/dev/sda4    32.8G  33% /mnt/boot-sav/sda4
/dev/sdb1     6.5G  15% /cdrom

Mount options (filtered): ______________________________________________________


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

Ubuntu   dac2aa3a-26b7-4c60-8cf8-74f877197293
Ubuntu, with Linux 5.4.0-146-generic   dac2aa3a-26b7-4c60-8cf8-74f877197293
Ubuntu, with Linux 5.4.0-42-generic   dac2aa3a-26b7-4c60-8cf8-74f877197293
Windows Boot Manager (on sda1)   osprober-efi-DFB9-6EDC
### END /etc/grub.d/30_os-prober ###
System setup   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=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)
   2.952335358 = 3.170045952    boot/grub/grub.cfg                             3
   9.050262451 = 9.717645312    boot/vmlinuz-5.4.0-146-generic                 1
   4.024410248 = 4.321177600    boot/vmlinuz-5.4.0-42-generic                  2
   9.050262451 = 9.717645312    vmlinuz                                        1
   4.024410248 = 4.321177600    vmlinuz.old                                    2
   9.630558014 = 10.340732928   boot/initrd.img-5.4.0-146-generic              4
   9.630558014 = 10.340732928   initrd.img                                     4

===================== 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.6 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)

Hors ligne

#106 Le 04/04/2023, à 06:36

Qid

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

Qid a écrit :

Encore et toujours un souci de séquence de boot efi ?

Eh oui...

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

On y voit clairement que Windows est en tête de liste...
Et on y voit aussi 2 lignes de boot de Linux (pour ne pas dire 3 d'ailleurs) avec id différents...

Je laisse la suite de l'interprétation de tout ça à d'autres aidants...


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#107 Le 04/04/2023, à 09:55

geole

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

Bonjour.
On va inspecter la partition de boot.
1) Boote avec le support d'installation
2) Monte la partition de boot.

sudo mount -v /dev/sda1 /mnt

3) Donne son contenu

sudo ls -ls /mnt
sudo ls -ls /mnt/*
sudo ls -ls /mnt/*/ubuntu
sudo cat /mnt/*/ubuntu/grub.cfg
sudo ls -ls /mnt/ubuntu
sudo cat /mnt/ubuntu/grub.cfg

Dernière modification par geole (Le 04/04/2023, à 09:56)


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

#108 Le 04/04/2023, à 13:22

bouhq

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

Bonjour

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

lubuntu@lubuntu:~$ setxkbmap fr
lubuntu@lubuntu:~$ sudo mount -v /dev/sda1 /mnt
mount: /dev/sda1 mounted on /mnt.
lubuntu@lubuntu:~$ sudo ls -ls /mnt
total 16
4 -r-xr-xr-x 1 root root  512 Apr 28  2020 BOOTSECT.BAK
4 drwxr-xr-x 9 root root 4096 May 19  2022 EFI
4 drwxr-xr-x 3 root root 4096 Jan  2  2019 boot-repair
4 drwxr-xr-x 5 root root 4096 Mar 23 23:01 boot-sav
lubuntu@lubuntu:~$ sudo ls -ls /mnt/*
4 -r-xr-xr-x 1 root root  512 Apr 28  2020 /mnt/BOOTSECT.BAK

/mnt/EFI:
total 28
4 drwxr-xr-x 7 root root 4096 Mar 20 10:38 Boot
4 drwxr-xr-x 4 root root 4096 Mar  9  2018 Microsoft
4 drwxr-xr-x 2 root root 4096 May 14  2022 boot-18.04
4 drwxr-xr-x 2 root root 4096 May 19  2022 boot-18.04d
4 drwxr-xr-x 5 root root 4096 Jan 15  2019 refind
4 drwxr-xr-x 2 root root 4096 Jan 15  2019 tools
4 drwxr-xr-x 2 root root 4096 Mar 24 00:17 ubuntu

/mnt/boot-repair:
total 4
4 drwxr-xr-x 6 root root 4096 Jan 16  2019 log

/mnt/boot-sav:
total 12
4 drwxr-xr-x 2 root root 4096 Mar 23 23:01 sda2
4 drwxr-xr-x 2 root root 4096 Mar 16  2022 sda3
4 drwxr-xr-x 2 root root 4096 Mar 16  2022 sda4
lubuntu@lubuntu:~$ sudo ls -ls /mnt/*/ubuntu
total 1920
  4 -rwxr-xr-x 1 root root    108 Mar 19 18:44 BOOTX64.CSV
  4 -rwxr-xr-x 1 root root     98 Mar 26 22:56 grub.cfg
  4 -rwxr-xr-x 1 root root    151 Mar 22 18:29 grub.cfg.save
  4 -rwxr-xr-x 1 root root    112 Mar 22 19:24 grub.cfg.save.1
  4 -rwxr-xr-x 1 root root    100 Mar 23 22:25 grub.cfg.save.2
124 -rwxr-xr-x 1 root root 123392 Apr  3 20:55 grubx64.efi
840 -rwxr-xr-x 1 root root 856232 Mar 19 18:44 mmx64.efi
936 -rwxr-xr-x 1 root root 955656 Mar 19 18:44 shimx64.efi
lubuntu@lubuntu:~$ sudo cat /mnt/*/ubuntu/grub.cfg
search.fs_uuid dac2aa3a-26b7-4c60-8cf8-74f877197293 root hd0,gpt2 
set prefix=($root)'/boot/grub'
lubuntu@lubuntu:~$ sudo ls -ls /mnt/ubuntu
ls: cannot access '/mnt/ubuntu': No such file or directory
lubuntu@lubuntu:~$ sudo cat /mnt/ubuntu/grub.cfg
cat: /mnt/ubuntu/grub.cfg: No such file or directory
lubuntu@lubuntu:~$

Hors ligne

#109 Le 04/04/2023, à 14:28

geole

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

Le boot-info continuait de dire qu'il n'y avait pas de fichiers dans la structure de boot

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:      

 
Mais les commandes faites montrent qu'il se trompe.
Tout spécialement celle-ci

lubuntu@lubuntu:~$ sudo ls -ls /mnt/*/ubuntu
....
 124 -rwxr-xr-x 1 root root 123392 Apr  3 20:55 grubx64.efi

qui montre que la version du grub est très récente.
et celle-ci

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

qui montre que le grub pointe bien sur  la bonne partition ubuntu.

blkid (filtered): ______________________________________________________________
NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda2 ext4     dac2aa3a-26b7-4c60-8cf8-74f877197293 7ee7f750-f61e-4a45-bd8b-f401c248bb54             Micosoft reserved

Alors, au besoin tu remontes la partition de boot EFI (sda1),  tu vas copier toute cette bonne structure dans la structure officielle de boot.

sudo cp -v /mnt/EFI/ubuntu/grub*.*  /mnt/EFI/Boot
sudo cp -v /mnt/EFI/ubuntu/grubx64.efi  /mnt/EFI/Boot/Bootx64.efi

Et si cela ne boote toujours pas, il faudra que tu expliques au maxima en faisant des photos.


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

#110 Le 04/04/2023, à 14:54

geole

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

Qid a écrit :
Qid a écrit :

Encore et toujours un souci de séquence de boot efi ?

Eh oui...

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

On y voit clairement que Windows est en tête de liste...
Et on y voit aussi 2 lignes de boot de Linux (pour ne pas dire 3 d'ailleurs) avec id différents...
Je laisse la suite de l'interprétation de tout ça à d'autres aidants...

Je crois que cet ordinateur se moque totalement de la NVRAM.  D 'ailleurs la commande EFIBOOTMGR    le fait planter.
C'est par le bios qu'il faut tout traiter.

Souvent les ordinateurs acer permettent de définir une de ces lignes comme autorisée à booter ( ce qui élimine les mots Unknown Device  ) et même le mettre prioritaire.    Avec ce modèle acer, je n'ai pas trouvé d'exemple dans internet . Ce n'est probablement pas possible. d'ailleurs cet EFI ne comprend pas le langage de SHIMX64.EFI
La logique voudrait qu'on demande à windows de lancer ubuntu .    Je ne sais plus si cela a été demandé   et   sans que cela puisse fonctionner....
Nota si on fait la modification sans savoir  si la grille du grub s'affiche en proposant windows, on ne peut plus booter winndows sauf à le réparer.

Cependant, cet ordinateur sait choisir par le bios ( touche F?) autre chose que windows. Ce qui a été fait dans ce boot  ===> BootCurrent: 0002
Donc cette ligne avec un grubx64 qui ne chatouille pas le bios EFI

Boot0002* Linux	HD(1,GPT,e2ce7bb3-8f26-4bd1-92c8-991c3e1efa55,0x800,0xf3b7df)/File(\EFI\Boot\grubx64.efi)RC

Mais cela ne peut pas booter car la partition n'existe pas.

blkid (filtered): ______________________________________________________________
NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL                                                                                                
├─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

En revanche, en choisissant ce qui est décrit par la première ligne

Boot0000* Linux	HD(1,GPT,a27ccf8f-ee83-4f53-8d68-99359e5228b1,0x800,0x100000)/File(\EFI\Boot\grubx64.efi)RC

La partition de boot  existe bien, et je viens de faire réinitialiser  le répertoire de boot    par  celui de de ubuntu qui me semble correct.
Donc,  si cela ne boote toujours pas, cela devenir très compliqué...


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

#111 Le 04/04/2023, à 15:16

bouhq

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

Oufffff, ça a booté finalement, quel soulagement! Mais un petit bémol, le mot de passe de la session, je ne m'en rappelle plus, j'ai essayé les anciens mots de passe, aucun n'a fonctionné.

Hors ligne

#112 Le 04/04/2023, à 15:55

bouhq

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

Oufff, une deuxième  fois, le problème  du mot de passe est réglé.

Hors ligne

#113 Le 04/04/2023, à 15:58

bouhq

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

Tout  fonctionne  normalement, merci geole, tu as fait un grand travail. Merci aussi à  Qid pour ses contributions enrichissantes.

Dernière modification par bouhq (Le 04/04/2023, à 15:59)

Hors ligne

#114 Le 04/04/2023, à 18:17

bouhq

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

Reste à faire les téléchargements des logiciels car je ne pense pas qu'ils ont été faits pendant l'installation.

Hors ligne

#115 Le 04/04/2023, à 18:59

Qid

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

@ geole : le sujet semble finalement clos mais sinon pour ma part j'aurai proposé de remplacer le lanceur dans la partition efi de windows par celui de linux wink ... Ah oui c'est brutal et finalement pas très propre mais en fait pourquoi pas


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#116 Le 04/04/2023, à 21:49

geole

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

bouhq a écrit :

Reste à faire les téléchargements des logiciels car je ne pense pas qu'ils ont été faits pendant l'installation.

Tu as jusqu'à la fin du mois ( peut-être le 24) pour installer les logiciels absents. La période de cinq ans sera alors écoulée.


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

#117 Le 04/04/2023, à 22:02

geole

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

Qid a écrit :

@ geole : le sujet semble finalement clos mais sinon pour ma part j'aurai proposé de remplacer le lanceur dans la partition efi de windows par celui de linux wink ... Ah oui c'est brutal et finalement pas très propre mais en fait pourquoi pas

Je crois que dans les multiples discutions, refind a été testé sans  succès.
Il aurait resté à vérifier que windows lui-même était capable de faire booter ubuntu.
Mais, comme tu le dis, cette piste

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)

est inutile.

Dernière modification par geole (Le 04/04/2023, à 22:09)


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

#118 Le 04/04/2023, à 23:28

bouhq

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

Merci encore une fois à vous deux, geole et Qid, mais avant de clore ce sujet j'aimerais bien savoir comment avoir la liste des logiciels absents et comment les télécharger ( je ne maîtrise pas encore les commandes nécessaires)

geole a écrit :

(...) La période de cinq ans sera alors écoulée.

Dois-je comprendre qu'après ce délai, le Lubuntu 18.04 ne sera plus fonctionnel?

Hors ligne

#119 Le 05/04/2023, à 07:08

Qid

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

bouhq a écrit :
geole a écrit :

(...) La période de cinq ans sera alors écoulée.

Dois-je comprendre qu'après ce délai, le Lubuntu 18.04 ne sera plus fonctionnel?

Nop... Ça veut juste dire que tu ne pourras plus installer des logiciels ni faire des mises à jour sans devoir bricoler et donc que de fait le système sera moins sécurisé...


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#120 Le 05/04/2023, à 09:27

geole

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

Bonjour.
J'aime bien certains logiciels techniques.
Par exemple gparted  smartmontools
Ainsi que quelques logiciels applicatifs.
Liste non exhaustive:
VLC media player
avidemux
dpluzz

Dernière modification par geole (Le 05/04/2023, à 11:19)


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

#121 Le 05/04/2023, à 15:59

bouhq

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

Bonjour,
Malgrè toute ma bonne volonté je ne suis pas arrivé à installer les paquets cités dans #120. Même gparted et VLC que je croyais avoir réussi à installer avec une ligne de commande je ne les vois pas dans le menu déroulant du démarrage ni dans le gestionnaire des fichiers. Toute aide sera la bienvenue.

Hors ligne

#122 Le 06/04/2023, à 11:25

bouhq

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

Bonjour
Alerte! Ce qui est arrivé est étrange et bizarre ( du moins pour moi) et c'est la première fois que je rencontre pareille anomalie. De quoi s'agit-il?
En démarrant , ce matin, mon pc, et dans le menu Boot manager, j'ai choisi comme d'habitude de booter sur linux qui est en deuxième position ( alors que windows 10 est en première position), ça m'a renvoyé, comme d'habitude, au menu Grub avec ses choix: ubuntu, eroptions avantagées, ...etc), je me pointe sur ubuntu (comme d'habitude) et là, ça va changer, Après le défilement du logo ACER, un écran de couleur violet avec  cette inscription : ubuntu 18.04, puis toujours sur un écran de couleur violet ( celle d'Ubuntu, je suppose), un message d'erreur s'affiche; failed to register device, error-22. Je retiens mon souffle, puis je me retrouve sur la page d'identification d'utilisateur, je renseigne mon mot de passe, après ça défile avec l'écran bleu de Lubuntu, j'attends que le menu du bureau s'affiche mais rien, ça ne plante pas car le curseur est en mouvement, mais rien ne s'affiche, j'éteins avec le bouton power, et la couleur de l'écran change en violet ( ou en rouge pourpre) avec cette inscription ubuntu fermeture.
Voilà j'ai essayé de décrire la nouvelle situation dans laquelle je me retrouve avec le maximum de détails possibles. Est ce que le téléchargement de logiciels que j'ai effectué hier, a affecté mon  linux operating system? Je n'en sais rien.
Lien du boot-info:

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

Hors ligne

#123 Le 06/04/2023, à 11:46

bouhq

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

Collage du Boot-info ( lien au #122)

Paste from boot-info 06 April 2023 9:22 +0000

Syntax highlighting: bash
View raw

boot-info-4ppa203                                              [20230406_0921]

============================== 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.6 LTS
    Boot files:        /boot/grub/grub.cfg /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.6 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
5cade0b5409f474c757a4a26d6a500b0   sda1/Boot/bootx64.efi
5dabe049a4dad758d975dc2e60a7f00e   sda1/Boot/fbx64.efi
5cade0b5409f474c757a4a26d6a500b0   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
5cade0b5409f474c757a4a26d6a500b0   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   472.8M   7% /mnt/boot-sav/sda1
/dev/sda2    20.4G  28% /mnt/boot-sav/sda2
/dev/sda4    37.8G  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 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/boot/grub/grub.cfg (filtered) ======================

Ubuntu   dac2aa3a-26b7-4c60-8cf8-74f877197293
Ubuntu, with Linux 5.4.0-146-generic   dac2aa3a-26b7-4c60-8cf8-74f877197293
Ubuntu, with Linux 5.4.0-42-generic   dac2aa3a-26b7-4c60-8cf8-74f877197293
Windows Boot Manager (on sda1)   osprober-efi-DFB9-6EDC
### END /etc/grub.d/30_os-prober ###
System setup   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=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)
   2.952335358 = 3.170045952    boot/grub/grub.cfg                             3
   9.050262451 = 9.717645312    boot/vmlinuz-5.4.0-146-generic                 1
   4.024410248 = 4.321177600    boot/vmlinuz-5.4.0-42-generic                  2
   9.050262451 = 9.717645312    vmlinuz                                        1
   4.024410248 = 4.321177600    vmlinuz.old                                    2
   9.485347748 = 10.184814592   boot/initrd.img-5.4.0-146-generic              3
   9.485347748 = 10.184814592   initrd.img                                     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.6 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)

Dernière modification par bouhq (Le 06/04/2023, à 11:47)

Hors ligne

#124 Le 06/04/2023, à 12:56

geole

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

Bonjour
Je pense aux pilotes graphiques..   Essaie le mode recovery.


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

#125 Le 06/04/2023, à 14:56

bouhq

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

En faisant quoi au juste dans le mode recovery?
Quelle option choisir dans le mode recovery?

Hors ligne