Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 05/12/2021, à 21:25

BECAR44

Installation dual Ubuntu/Windows

Bonjour,

Mon souhait est d'installer de configurer mon PC HP Elitebook en dual boot Ubuntu/windows 10. Windows est déjà installé.

J'ai créé ma clé USB ubuntu bootable.

J'ai fait l'essai d'un démarrage via la clé boot. Tout était OK.

J'ai donc procédé à l'installation, j'ai fait le choix: "Utiliser les partitions existante"

Une fois l'installation lancée, un message d'erreur m'indiquait "Certaine partition que vous avez crées sont trop petite. Veuillez faire en sorte que les partitions suivantes aient au moins cette taille: 6,4GB"

Par la suite sans surprise, j'ai eu un message d'échec de l'installation

Il m'est maintenant impossible de lancer Windows. Il apparait une page HP PC Hardware diagnostic UEFI avec la possibilité de test de mémoire, vérification du disque dur...

N'étant pas du tout expert, j'aurais s'il vous plait besoin de vos conseils et savoirs pour m'indiquer:
Pourquoi je n'arrive plus à démarrer via Windows? Qu'est ce que je dois rectifier pour réaliser cette installation dual boot Windows/Ubuntu?

Merci pour vos retours

Hors ligne

#2 Le 05/12/2021, à 21:41

geole

Re : Installation dual Ubuntu/Windows

Bonsoir.
Je pense qu'un état des lieux s'impose.
Peux-tu faire un boot-info https://doc.ubuntu-fr.org/tutoriel/boot-info et poster l'URL qui sera généré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

Hors ligne

#3 Le 06/12/2021, à 21:34

BECAR44

Re : Installation dual Ubuntu/Windows

Bonsoir,

Je suis bien coincé car je n'arrive pas à installer boot-info. J'ai bien suivi la procédure et il ne l'installe pas. Il ne fait partie non plus de la liste des softwares??? J'ai la version 21.10. Avons-nous boot-info sur la 21.10?

Merci

Hors ligne

#4 Le 06/12/2021, à 21:52

geole

Re : Installation dual Ubuntu/Windows

Bonsoir.
Je pense que tu as mal suivi la procédure. Vérifier que la version en votre possession est la version 18.04 (Bionic) ou la version 20.04 (Focal).
lsb_release -cr

Si tu as un autre ordinateur.
Soit tu télécharges la version 20.04 soit l'application boot-repair-disk.
Si tu n'as pas d'autre ordinateur, essaies de réparer avec le support d'installation de windows.

En relisant ton message "J'ai donc procédé à l'installation, j'ai fait le choix: "Utiliser les partitions existante", il se pourrait  ( sans certitude ) que tu ais utilisé la partition de boot.
Si tel est le  cas, il suffit de la refabriquer. https://forum.ubuntu-fr.org/viewtopic.p … #p22406363

Dernière modification par geole (Le 06/12/2021, à 22:01)


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

#5 Le 08/12/2021, à 11:31

BECAR44

Re : Installation dual Ubuntu/Windows

Bonjour geole,

j'ai enfin réussi à générer le boot info
voir ci dessous:
https://paste.ubuntu.com/p/D2Qh6gzF8z/

Par avance merci pour ton retour

Hors ligne

#6 Le 08/12/2021, à 11:50

iznobe

Re : Installation dual Ubuntu/Windows

Bonjour , collage du boot-info :

boot-info-4ppa130                                              [20211208_1024]

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

 => Windows 7/8/2012 is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda2 has 
                       337549720 sectors, but according to the info from 
                       fdisk, it has 409279946 sectors.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

sda8: __________________________________________________________________________

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

sda9: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 32776 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys


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

OS#1:   Windows 10 (boot) on sda1
OS#2:   Ubuntu 21.10 on sda9
OS#3:   Windows 8 or 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)


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

This live-session is not in EFI-mode.
This session has been detected as 'live' because df -Th / contains overlay



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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda8	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda9	: is-os,	32, apt-get,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda7	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda8	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda9	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda5	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda8	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda9	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda6	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda7	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 0xcba8f003
      Boot     Start       End   Sectors   Size Id Type
sda1            2048    104447    102400    50M  7 HPFS/NTFS/exFAT
sda2          104448 409384394 409279947 195.2G  7 HPFS/NTFS/exFAT
sda3       499036160 500117503   1081344   528M 27 Hidden NTFS WinRE
sda4       409387006 499027094  89640089  42.8G  5 Extended
sda5       409387008 428261375  18874368     9G 83 Linux
sda6       437757952 442895984   5138033   2.5G 82 Linux swap / Solaris
sda7       442898432 499027094  56128663  26.8G 83 Linux
sda8  *    428263424 429311999   1048576   512M ef EFI (FAT-12/16/32)
sda9       429314048 437755903   8441856     4G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 7.55 GiB, 8095006720 bytes, 15810560 sectors
Disk identifier: 0x003756af
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 15810559 15808512  7.6G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:256GB:scsi:512:512:msdos:ATA SPCC Solid State:;
1:1049kB:53.5MB:52.4MB:ntfs::;
2:53.5MB:210GB:210GB:ntfs::;
4:210GB:256GB:45.9GB:::;
5:210GB:219GB:9664MB:ext4::;
8:219GB:220GB:537MB:fat32::boot, esp;
9:220GB:224GB:4322MB:ext4::;
6:224GB:227GB:2631MB:::;
7:227GB:256GB:28.7GB:::;
3:256GB:256GB:554MB:ntfs::msftres;
sdb:8095MB:scsi:512:512:msdos:VendorCo ProductCode:;
1:1049kB:8095MB:8094MB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     482CFD002CFCE9B8                     cba8f003-01                          Réservé au système 
├─sda2 ntfs     5276009D76008447                     cba8f003-02                                             
├─sda3 ntfs     24EE1568EE153390                     cba8f003-03                                             
├─sda4                                               cba8f003-04                                             
├─sda5 ext4     7209b061-1eb5-4a3f-87c3-0901097301cc cba8f003-05                                             
├─sda6                                               cba8f003-06                                             
├─sda7                                               cba8f003-07                                             
├─sda8 vfat     E0B1-6A50                            cba8f003-08                                             
└─sda9 ext4     76f9f14d-f721-440d-8e15-7a94b6adda68 cba8f003-09                                             
sdb                                                                                                          
└─sdb1 vfat     7AD1-0E57                            003756af-01                          UBUNTU 20_0        

df (filtered): _________________________________________________________________

                   Avail            Use% Mounted on
sda1               23.7M             53% /mnt/boot-sav/sda1
sda2              204.8G 43719174938016% /mnt/boot-sav/sda2
sda3               93.9M             82% /mnt/boot-sav/sda3
sda5                8.3G              0% /mnt/boot-sav/sda5
sda8                511M              0% /mnt/boot-sav/sda8
sda9                   0            100% /mnt/boot-sav/sda9
sdb1                4.7G             38% /cdrom

Mount options: __________________________________________________________________

sda1              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda3              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5              rw,relatime
sda8              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda9              rw,relatime
sdb1              ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

========================== sda9/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda9 during installation
UUID=76f9f14d-f721-440d-8e15-7a94b6adda68 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda8 during installation
UUID=E0B1-6A50  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

-rwxr-xr-x 1 root root 18151 sept.  2 12:37 10_linux
-rwxr-xr-x 1 root root 43031 sept.  2 12:37 10_linux_zfs
-rwxr-xr-x 1 root root 12894 sept.  2 12:37 20_linux_xen
-rwxr-xr-x 1 root root 12059 sept.  2 12:37 30_os-prober
-rwxr-xr-x 1 root root  1424 sept.  2 12:37 30_uefi-firmware
-rwxr-xr-x 1 root root   214 sept.  2 12:37 40_custom
-rwxr-xr-x 1 root root   216 sept.  2 12:37 41_custom

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

Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings

========================= 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
            ?? = ??             ldlinux.sys                                    1


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[160648]) leaked on lvs invocation. Parent PID 43986: /bin/bash

Error code 12
mount -r /dev/sda6 /mnt/boot-sav/sda6

mount -r /dev/sda6 : Error code 12
Error code 12
mount -r /dev/sda7 /mnt/boot-sav/sda7

mount -r /dev/sda7 : Error code 12
Error code 12
mount -r /dev/sda6 /mnt/boot-sav/sda6

mount -r /dev/sda6 : Error code 12
Error code 12
mount -r /dev/sda7 /mnt/boot-sav/sda7

mount -r /dev/sda7 : Error code 12
Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub2 of
sda9 into the MBR of sda.
Grub-efi would not be selected by default because: legacy-win no-win-efi 
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#7 Le 08/12/2021, à 13:21

geole

Re : Installation dual Ubuntu/Windows

Bonjour
Mon hypothèse était bonne mais fausse pour la réparation que je proposais.
Extrait du boot-info

==================================== UEFI =====================================
This live-session is not in EFI-mode.

Donc c'est un mode LEGACY!       le boot se fait par le MBR

============================== Boot Info Summary ===============================
 => Windows 7/8/2012 is installed in the MBR of /dev/sda.

Cette partie de logiciel de boot, va chercher la partition contenant un drapeau de boot.
(Si ton installation était allée au bout, elle aurait été remplacée par le logiciel de boot de UBUNTU)
On le trouve dans cette partition  (présence d'un astérisque)

Disk sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
      Boot     Start       End   Sectors   Size Id Type
sda8  *    428263424 429311999   1048576   512M ef EFI (FAT-12/16/32)
sda8__________________________________________________________________________
    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:   

     
Mais le contenu est vide!!
Donc pour refaire immédiatement booter windows,
1) Lancer le support d'installation de ubuntu
2) Lancer gparted
3) Supprimer le drapeau de boot de SDA8
4) Mettre un drapeau de boot sur SDA1
5) Quitter gparted et refaire un essai de boot

sda1:__________________________________________________________________________
    Boot files:        /bootmgr /Boot/BCD

Pour ton installation UBUNTU....

================================ 3 OS detected =================================
OS#2:   Ubuntu 21.10 on sda9
fdisk -l (filtered): ___________________________________________________________
Disk sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
      Boot     Start       End   Sectors   Size Id Type
sda8  *    428263424 429311999   1048576   512M ef EFI (FAT-12/16/32)
sda9       429314048 437755903   8441856     4G 83 Linux

La taille est de 4 Go !!!!! Tu as oublié un zéro.. On évoque maintenant communément 40 Go. mais 20 peuvent suffire.. Certainement pas 6,4 go!!!!
Au vu de ce retour

df (filtered): _________________________________________________________________
                   Avail            Use% Mounted on
sda1               23.7M             53% /mnt/boot-sav/sda1
sda2              204.8G 43719174938016% /mnt/boot-sav/sda2

Lance windows et  utilise son gestionnaire d'espace disque pour libérer 30Go  du volume C:
Vu l'espace libre, cela ne devrait pas poser trop de problème.

Je remets les partitions dans l'ordre.

fdisk -l (filtered): ___________________________________________________________
Disk sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 0xcba8f003
      Boot     Start       End   Sectors   Size Id Type
sda1            2048    104447    102400    50M  7 HPFS/NTFS/exFAT
sda2          104448 409384394 409279947 195.2G  7 HPFS/NTFS/exFAT
sda4       409387006 499027094  89640089  42.8G  5 Extended
sda5       409387008 428261375  18874368     9G 83 Linux
sda8  *    428263424 429311999   1048576   512M ef EFI (FAT-12/16/32)
sda9       429314048 437755903   8441856     4G 83 Linux
sda6       437757952 442895984   5138033   2.5G 82 Linux swap / Solaris
sda7       442898432 499027094  56128663  26.8G 83 Linux
sda3       499036160 500117503   1081344   528M 27 Hidden NTFS WinRE.

Je ne sais pas ce que tu as fait pour avoir tant de partitions....
1) Lance l'installateur
2) Lance Gparted
3) Supprime les partitions  (dans cet ordre) SDA7 SDA6 SDA9 SDA8 SDA5
4) Fabrique, une partition de 36 Mo en Fat32
5) Fabrique une partition EXT4 avec le reste de l'espace disque
6) Quitte GPARTED et lance l'installateur
7) Tu prends le choix, "autre chose"
8) Tu choisis la partition EXT4 (dont la taille avoisine 42 Go)  pour l'allouer au point de montage  /
Tu n'as pas besoin de partition SWAP ni de partition /home ni de partition ??? D'ailleurs le FSTAB n'en décrit pas!

========================== sda9/etc/fstab (filtered) ===========================
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda9 during installation
UUID=76f9f14d-f721-440d-8e15-7a94b6adda68 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda8 during installation
UUID=E0B1-6A50  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw  

Dernière modification par geole (Le 08/12/2021, à 13:55)


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

#8 Le 08/12/2021, à 22:00

BECAR44

Re : Installation dual Ubuntu/Windows

Top merci pour ce gros coup de main ça fonctionne?. En revanche au démarrage je ne sais pas comment faire apparaître le GRUB pour le choix de démarrage Ubuntu/windows. Avez-vous une solution à m’apporter?
Merci

Hors ligne

#9 Le 08/12/2021, à 22:16

geole

Re : Installation dual Ubuntu/Windows

Peux-tu refaire un boot-info.
Je crains de voir une installation EFI qu'il faudra convertir en LEGACY.


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

#10 Le 08/12/2021, à 22:32

BECAR44

Re : Installation dual Ubuntu/Windows

Hors ligne

#11 Le 08/12/2021, à 23:44

geole

Re : Installation dual Ubuntu/Windows

Ton boot-info montre que tout est parfait.
Tu vas tenter de modifier avec un éditeur de texte le fichier /etc/default/grub.
De mémoire, la commande ressemble à

gedit admin:///etc/default/grub

Tu ajouteras cette ligne

GRUB_TERMINAL=console 

Tu sauvegarderas avant de quitter et tu feras prendre en compte avec cette commande.

sudo update-grub

J'espère que le menu apparaitra enfin.

Dernière modification par geole (Le 10/12/2021, à 11:53)


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

#12 Le 09/12/2021, à 00:24

iznobe

Re : Installation dual Ubuntu/Windows

Bonsoir , logiquement l' option utilisé par ubuntu afin de ne pas afficher le grub est celle ci , il suffit de commenter  ( ajouter " # " devant ) la ligne pour empecher que le grub soit caché :

#GRUB_TIMEOUT_STYLE=hidden

mais logiquement , le menu est caché uniquement lorsque ubuntu est  seul .
et faire un

sudo update-grub

pour prendre en compte apres chaque modification bien sur .

Dernière modification par iznobe (Le 09/12/2021, à 00:27)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#13 Le 09/12/2021, à 20:53

BECAR44

Re : Installation dual Ubuntu/Windows

Bonsoir,

Pour ta version geole. Voici le message reçu une fois la 1ere commande saisie: Impossible d’ouvrir le fichier « admin:///etc/default/grub ».

Pour ta version iznobe: voici le message obtenu :usr/sbin/grub-probe : erreur : impossible d'obtenir le chemin canonique de « /cow ».

Je sais pas si c'est en lien, mais bien que l'installation semble s'être bien passé, je n'arrive pas à ouvrir sur ubuntu. J'ai mis ext4 en drapeau de boot->pas de démarage. Je ne peux démarrer que sur windows ou ma clé boot ubuntu.

Merci

Hors ligne

#14 Le 10/12/2021, à 12:08

geole

Re : Installation dual Ubuntu/Windows

Bonjour

Grosse correction

SDB est la clé USB d'installation....

Lance boot-repair et demande-lui  de faire la réparation recommandée qui écrasera le mbr de sda.

Dernière modification par geole (Le 11/12/2021, à 10:49)


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

#15 Le 10/12/2021, à 12:09

malbo

Re : Installation dual Ubuntu/Windows

Bonjour,
Je colle le Boot-info don tu as donné le lien dans le post #10 :

boot-info-4ppa130                                              [20211208_2129]

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

 => Windows 7/8/2012 is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda2 has 
                       337549720 sectors, but according to the info from 
                       fdisk, it has 409279946 sectors.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v2.00) is installed in the boot sector of sda6 
                       and looks at sector 426439144 of the same hard drive 
                       for core.img. core.img is at this location and looks 
                       for (,msdos6)/boot/grub. It also embeds following 
                       components:
                       
                       modules
                       -------------------------------------------------------
                       fshelp ext2 part_msdos biosdisk
                       -------------------------------------------------------
    Operating System:  Ubuntu 20.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 32776 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys


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

OS#1:   Windows 10 (boot) on sda1
OS#2:   Ubuntu 20.04.3 LTS on sda6
OS#3:   Windows 8 or 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)


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

This live-session is not in EFI-mode.
This session has been detected as 'live' because df -Th / contains overlay



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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

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

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 0xcba8f003
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048    104447    102400    50M ef EFI (FAT-12/16/32)
sda2          104448 409384394 409279947 195.2G  7 HPFS/NTFS/exFAT
sda3       499036160 500117503   1081344   528M 27 Hidden NTFS WinRE
sda4       409387006 499027094  89640089  42.8G  5 Extended
sda5       498880512 498954239     73728    36M  b W95 FAT32
sda6       409389056 498769919  89380864  42.6G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 7.55 GiB, 8095006720 bytes, 15810560 sectors
Disk identifier: 0x003756af
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 15810559 15808512  7.6G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:256GB:scsi:512:512:msdos:ATA SPCC Solid State:;
1:1049kB:53.5MB:52.4MB:ntfs::boot, esp;
2:53.5MB:210GB:210GB:ntfs::;
4:210GB:256GB:45.9GB:::;
6:210GB:255GB:45.8GB:ext4::;
5:255GB:255GB:37.7MB:fat32::;
3:256GB:256GB:554MB:ntfs::msftres;
sdb:8095MB:scsi:512:512:msdos:VendorCo ProductCode:;
1:1049kB:8095MB:8094MB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     482CFD002CFCE9B8                     cba8f003-01                          Réservé au système 
├─sda2 ntfs     5276009D76008447                     cba8f003-02                                             
├─sda3 ntfs     24EE1568EE153390                     cba8f003-03                                             
├─sda4                                               cba8f003-04                                             
├─sda5 vfat     DAF0-4A30                            cba8f003-05                                             
└─sda6 ext4     02f9b70b-b38a-4338-8987-2fdbfbcc571a cba8f003-06                                             
sdb                                                                                                          
└─sdb1 vfat     7AD1-0E57                            003756af-01                          UBUNTU 20_0        

df (filtered): _________________________________________________________________

                   Avail            Use% Mounted on
sda1               23.7M             53% /mnt/boot-sav/sda1
sda2              203.4G 43719174938017% /mnt/boot-sav/sda2
sda3               93.9M             82% /mnt/boot-sav/sda3
sda5               35.4M              0% /mnt/boot-sav/sda5
sda6               30.7G             21% /mnt/boot-sav/sda6
sdb1                4.7G             38% /cdrom

Mount options: __________________________________________________________________

sda1              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda3              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda6              rw,relatime
sdb1              ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

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

Ubuntu   02f9b70b-b38a-4338-8987-2fdbfbcc571a
Ubuntu, avec Linux 5.11.0-41-generic   02f9b70b-b38a-4338-8987-2fdbfbcc571a
Ubuntu, avec Linux 5.11.0-27-generic   02f9b70b-b38a-4338-8987-2fdbfbcc571a
Windows 10 (sur sda1)   482CFD002CFCE9B8
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=02f9b70b-b38a-4338-8987-2fdbfbcc571a /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
 233,343219757 = 250,550374400  boot/grub/grub.cfg                             2
 203,342052460 = 218,336866304  boot/grub/i386-pc/core.img                     1
 206,566600800 = 221,799198720  boot/vmlinuz                                   1
 200,643218994 = 215,439015936  boot/vmlinuz-5.11.0-27-generic                 1
 206,566600800 = 221,799198720  boot/vmlinuz-5.11.0-41-generic                 1
 200,643218994 = 215,439015936  boot/vmlinuz.old                               1
 206,976982117 = 222,239842304  boot/initrd.img                                1
 206,921459198 = 222,180225024  boot/initrd.img-5.11.0-27-generic              1
 206,976982117 = 222,239842304  boot/initrd.img-5.11.0-41-generic              1
 206,921459198 = 222,180225024  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18151 août  12 09:18 10_linux
-rwxr-xr-x 1 root root 42359 août  12 09:18 10_linux_zfs
-rwxr-xr-x 1 root root 12894 août  12 09:18 20_linux_xen
-rwxr-xr-x 1 root root 12059 août  12 09:18 30_os-prober
-rwxr-xr-x 1 root root  1424 août  12 09:18 30_uefi-firmware
-rwxr-xr-x 1 root root   214 août  12 09:18 40_custom
-rwxr-xr-x 1 root root   216 août  12 09:18 41_custom

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

Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings

========================= 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
            ?? = ??             ldlinux.sys                                    1


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[75989]) leaked on lvs invocation. Parent PID 7111: /bin/bash

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sda6 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

Extrait qui montre que les partitions logiques sda5 et sda6 ne sont pas dans l'ordre du disque :

parted -lm (filtered): _________________________________________________________

sda:256GB:scsi:512:512:msdos:ATA SPCC Solid State:;
1:1049kB:53.5MB:52.4MB:ntfs::boot, esp;
2:53.5MB:210GB:210GB:ntfs::;
4:210GB:256GB:45.9GB:::;
6:210GB:255GB:45.8GB:ext4::;
5:255GB:255GB:37.7MB:fat32::;
3:256GB:256GB:554MB:ntfs::msftres;

Il y a un risque de disparition de la partition sda6 (la partition racine de Ubuntu) dans le cas d'une réinstallation de Windows. Je suggère de supprimer purement et simplement la partition sda5 qui ne sert à rien (suppression à faire avec Gparted depuis une session live sur le support d'installation de ubuntu). Comme ça il ne restera plus que la partition logique sda6 dans la partition étendue sda4 et le risque que j'évoque n'existera plus.

Dernière modification par malbo (Le 10/12/2021, à 12:15)

Hors ligne

#16 Le 10/12/2021, à 18:26

BECAR44

Re : Installation dual Ubuntu/Windows

Bonsoir geole

Comment je peux vérifier que mon bios est bien positionné pour booter en SDB? C via gparted?

Merci

Hors ligne

#17 Le 10/12/2021, à 18:41

geole

Re : Installation dual Ubuntu/Windows

Non. Pour examiner le bios, il faut appuyer sur une touche spéciale qui dépend du type de l'ordinateur
Souvent F2 Esc   Del.
Voir ces documents pour les principaux ordinateurs
https://doc.ubuntu-fr.org/tutoriel/modi … ge_du_bios
https://www.malekal.com/liste-touches-a … structeur/

Dernière modification par geole (Le 10/12/2021, à 18:42)


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

#18 Le 10/12/2021, à 23:33

BECAR44

Re : Installation dual Ubuntu/Windows

Bonsoir

Je suis bien entré dans le bios. Je n’ai rien qui correspond à SDA ou SDB. Dans l’ordre de démarrage j’ai:

1- lecteur de cd-ROM usb
2- disque dur de portable
3- disque dur usb
4- unité de disquette usb
5- carte ethernet du portable
6- PCle/M.2 SSD Drive

Avez-vous une idée de votre côté sur ce que je dois faire. Pour rappel je souhaite avoir un choix au démarrage window ou Ubuntu. Bien que l’installation de Ubuntu semble s’être bien passé, je n’arrive pas à démarrer avec Ubuntu.

Merci pour votre aide

Hors ligne

#19 Le 11/12/2021, à 09:22

iznobe

Re : Installation dual Ubuntu/Windows

Bonjour juste en dessous de ordre de demarrage , tu devrais avoir un truc ressemblant a priorité des diisques durs , qui modifiera ton entrée n°6 , qui correspond au disque ( nvme actuellement ) .
Dans ce choix de disque tu auras la liste de tous les disques durs de ton ordi , mais un seul apparait dans l ' ordre de demarrage .

comme tu as a priori 3 disques , il faudrait d ' abord que tu reperes celui qu il faut choisir dans priorités disques , il n' y aura pas SDA ou SDB mais leur nom .

Dans le boot info il y a a un endroit avec le nom des disques et leur taille .

Alors dans un 1er temps , on voit :

[fdisk -l (filtered): ___________________________________________________________

Disk sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 0xcba8f003
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048    104447    102400    50M ef EFI (FAT-12/16/32)
sda2          104448 409384394 409279947 195.2G  7 HPFS/NTFS/exFAT
sda3       499036160 500117503   1081344   528M 27 Hidden NTFS WinRE
sda4       409387006 499027094  89640089  42.8G  5 Extended
sda5       498880512 498954239     73728    36M  b W95 FAT32
sda6       409389056 498769919  89380864  42.6G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 7.55 GiB, 8095006720 bytes, 15810560 sectors
Disk identifier: 0x003756af
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 15810559 15808512  7.6G  c W95 FAT32 (LBA)

qui indique que la partition de boot EFI ( avec l ' asterisque : * ) est sur le disque SDA et que celle sur SDB est celle d' une installation autre , surement la cle USB du live .

ce boot-info , me parait vraiment bizzare , et je percois plusieurs choses etranges , mais n' etant pas specialiste , je me trompe peut etre sur son analyse .

NOTE : on ne voit de pas disque NVME dans le boot-info , et le disque SDA est un disque SSD SATA de 250 Gb , certainement lui qu ' il faudrait choisir dans les priorités de disque et qui sera donc ensuite affiché dans l' ordre de demarrage .

REMARQUE : c ' est dommage de ne pas installer les OS sur le disque NVME ( si tu en as un ... ) qui est au moins 10 fois plus rapide que les disques mecaniques !

Dernière modification par iznobe (Le 11/12/2021, à 09:54)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#20 Le 11/12/2021, à 21:14

BECAR44

Re : Installation dual Ubuntu/Windows

Excellent ça fonctionne, comme tu l'as évoqué geole le boot-repair a tout remis en ordre.
J'ai bien le grub de choix windows ou Ubuntu au démarrage et unbuntu comme Windows fonctionnent parfaitement.

Je me permets de vous demander un dernier service. J'ai déposé le lien d'accès de mon boot-info. Pouvez y jeter votre oeil d'expert pour me dire si tout est normal? Si des choses peuvent-être amélioré?

https://paste.ubuntu.com/p/zwCjwGRyBw/

Merci pour vos conseils et vos retours rapide, c'est certain j'aurais jamais réussi tout seul

Hors ligne

#21 Le 11/12/2021, à 21:23

xubu1957

Re : Installation dual Ubuntu/Windows

Bonjour,

Collage du Boot-info du #21 :

boot-info-4ppa130                                              [20211211_2104]

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

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

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda2 has 
                       337549720 sectors, but according to the info from 
                       fdisk, it has 409279946 sectors.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession on sda5
OS#2:   Windows 10 (boot) on sda1
OS#3:   Windows 8 or 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.11.0-41-generic root=UUID=02f9b70b-b38a-4338-8987-2fdbfbcc571a ro quiet splash vt.handoff=7


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

This installed-session is not in EFI-mode.



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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

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

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 0xcba8f003
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048    104447    102400    50M ef EFI (FAT-12/16/32)
sda2          104448 409384394 409279947 195.2G  7 HPFS/NTFS/exFAT
sda3       499036160 500117503   1081344   528M 27 Hidden NTFS WinRE
sda4       409387006 499027094  89640089  42.8G  5 Extended
sda5       409389056 498769919  89380864  42.6G 83 Linux
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:256GB:scsi:512:512:msdos:ATA SPCC Solid State:;
1:1049kB:53.5MB:52.4MB:ntfs::boot, esp;
2:53.5MB:210GB:210GB:ntfs::;
4:210GB:256GB:45.9GB:::;
5:210GB:255GB:45.8GB:ext4::;
3:256GB:256GB:554MB:ntfs::msftres;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     482CFD002CFCE9B8                     cba8f003-01                          Réservé au système 
├─sda2 ntfs     5276009D76008447                     cba8f003-02                                             
├─sda3 ntfs     24EE1568EE153390                     cba8f003-03                                             
├─sda4                                               cba8f003-04                                             
└─sda5 ext4     02f9b70b-b38a-4338-8987-2fdbfbcc571a cba8f003-05                                             

df (filtered): _________________________________________________________________

                   Avail            Use% Mounted on
sda1               23.7M             53% /mnt/boot-sav/sda1
sda2              206.5G 43719174938015% /mnt/boot-sav/sda2
sda3               93.9M             82% /mnt/boot-sav/sda3
sda5               29.7G             24% /

Mount options: __________________________________________________________________

sda1              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda3              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5              rw,relatime,errors=remount-ro

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

Ubuntu   02f9b70b-b38a-4338-8987-2fdbfbcc571a
Ubuntu, with Linux 5.11.0-41-generic   02f9b70b-b38a-4338-8987-2fdbfbcc571a
Ubuntu, with Linux 5.11.0-27-generic   02f9b70b-b38a-4338-8987-2fdbfbcc571a
Windows 10 (on sda1)   482CFD002CFCE9B8
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=02f9b70b-b38a-4338-8987-2fdbfbcc571a /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
 217,346508026 = 233,374035968  boot/grub/grub.cfg                             1
 217,466281891 = 233,502642176  boot/grub/i386-pc/core.img                     1
 206,566600800 = 221,799198720  boot/vmlinuz                                   1
 200,643218994 = 215,439015936  boot/vmlinuz-5.11.0-27-generic                 1
 206,566600800 = 221,799198720  boot/vmlinuz-5.11.0-41-generic                 1
 200,643218994 = 215,439015936  boot/vmlinuz.old                               1
 206,976982117 = 222,239842304  boot/initrd.img                                1
 206,921459198 = 222,180225024  boot/initrd.img-5.11.0-27-generic              1
 206,976982117 = 222,239842304  boot/initrd.img-5.11.0-41-generic              1
 206,921459198 = 222,180225024  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18151 août  12 11:18 10_linux
-rwxr-xr-x 1 root root 42359 août  12 11:18 10_linux_zfs
-rwxr-xr-x 1 root root 12894 août  12 11:18 20_linux_xen
-rwxr-xr-x 1 root root 12059 août  12 11:18 30_os-prober
-rwxr-xr-x 1 root root  1424 août  12 11:18 30_uefi-firmware
-rwxr-xr-x 1 root root   214 août  12 11:18 40_custom
-rwxr-xr-x 1 root root   216 août  12 11:18 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sda5 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

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

Hors ligne

#22 Le 11/12/2021, à 22:41

BECAR44

Re : Installation dual Ubuntu/Windows

Bonsoir

En complément de la demande ci-dessus. Après avoir voulu transféré des documents d'un PC à un autre, je constate que ma capa de stockage restante est de 30 Go (Plutôt faible). En effet dans mon ext4/ j'ai une capa totale de 42Go. Je ne pense pas que les documents doivent se stocker dans cette partition. Faut-il en créée une autre. Si oui comment faire? Merci

Hors ligne

#23 Le 12/12/2021, à 10:08

iznobe

Re : Installation dual Ubuntu/Windows

Bonjour , il faudrait fournir une image de gparted afin de visualiser si u as de la place libre dans tes disques , sinon tu ne pourras pas creer de partition .

il sera toutefois possible selon comment c' est organisé de retravaille peut etre les partitions existante pour un 1er apercu donne ce retour :

lsblk -fe7 -o +size

retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#24 Le 12/12/2021, à 10:24

geole

Re : Installation dual Ubuntu/Windows

Bonjour.
Extraits du boot-info.

df _______________________________________________________
                  Avail            Use% Mounted on
sda1               23.7M             53% /mnt/boot-sav/sda1
sda2              206.5G 43719174938015% /mnt/boot-sav/sda2
sda3               93.9M             82% /mnt/boot-sav/sda3
sda5               29.7G             24% /

Tu as 206,5 go de libres dans le C:
Tu peux donc faire des liens symboliques sur C:/users/TonNom
ou réduire drastiquement le C: afin de créer une nouvellent partition dédiée aux données et mettre en oeuvre les librairies windows. https://doc.ubuntu-fr.org/tutoriel/part … ows_ubuntu

Dernière modification par geole (Le 12/12/2021, à 10:28)


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

#25 Le 12/12/2021, à 14:35

BECAR44

Re : Installation dual Ubuntu/Windows

Bonjour,

Voici ce que j'obtiens avec: lsblk -fe7 -o +size

NAME FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT   SIZE
sda                                                                              238,5G
├─sda1
│    ntfs   Réservé au système
│                 482CFD002CFCE9B8                                                  50M
├─sda2
│    ntfs         5276009D76008447                                               195,2G
├─sda3
│    ntfs         24EE1568EE153390                                                 528M
├─sda4
│                                                                                    1K
└─sda5
     ext4         02f9b70b-b38a-4338-8987-2fdbfbcc571a   28,5G    27% /           42,6G

Merci

Hors ligne