10.14 Mojave accéder à la partition contenant boot loader

je poste la dernière commande après que les 2 premières commandes ont fait leur travail:
Bloc de code:
MacBook-Air-de-jerome:~ jerome$ ls -R /Vol*/NO*
Boot                System Volume Information
EFI                bootmgr

/Volumes/NO NAME/Boot:
BCD        de-DE        fr-FR        nb-NO        sk-SK
Fonts        el-GR        hr-HR        nl-NL        sl-SI
Resources    en-GB        hu-HU        pl-PL        sr-Latn-RS
bg-BG        en-US        it-IT        pt-BR        sv-SE
bootnxt        es-ES        ja-JP        pt-PT        tr-TR
bootuwf.dll    es-MX        ko-KR        qps-ploc    uk-UA
bootvhd.dll    et-EE        lt-LT        qps-plocm    zh-CN
cs-CZ        fi-FI        lv-LV        ro-RO        zh-TW
da-DK        fr-CA        memtest.exe    ru-RU

/Volumes/NO NAME/Boot/Fonts:
chs_boot.ttf        meiryo_boot.ttf        segmono_boot.ttf
cht_boot.ttf        meiryon_boot.ttf    segoe_slboot.ttf
jpn_boot.ttf        msjh_boot.ttf        segoen_slboot.ttf
kor_boot.ttf        msjhn_boot.ttf        wgl4_boot.ttf
malgun_boot.ttf        msyh_boot.ttf
malgunn_boot.ttf    msyhn_boot.ttf

/Volumes/NO NAME/Boot/Resources:
bootres.dll    fr-FR

/Volumes/NO NAME/Boot/Resources/fr-FR:
bootres.dll.mui

/Volumes/NO NAME/Boot/bg-BG:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/cs-CZ:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/da-DK:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/de-DE:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/el-GR:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/en-GB:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/en-US:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/es-ES:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/es-MX:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/et-EE:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/fi-FI:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/fr-CA:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/fr-FR:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/hr-HR:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/hu-HU:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/it-IT:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/ja-JP:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/ko-KR:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/lt-LT:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/lv-LV:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/nb-NO:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/nl-NL:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/pl-PL:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/pt-BR:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/pt-PT:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/qps-ploc:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/qps-plocm:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/ro-RO:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/ru-RU:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/sk-SK:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/sl-SI:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/sr-Latn-RS:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/sv-SE:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/tr-TR:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/uk-UA:
bootmgr.exe.mui

/Volumes/NO NAME/Boot/zh-CN:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/Boot/zh-TW:
bootmgr.exe.mui    memtest.exe.mui

/Volumes/NO NAME/EFI:
Boot        Microsoft

/Volumes/NO NAME/EFI/Boot:
bootx64.efi

/Volumes/NO NAME/EFI/Microsoft:
Boot        Recovery

/Volumes/NO NAME/EFI/Microsoft/Boot:
BCD        da-DK        fr-FR        nl-NL        sv-SE
BCD.LOG        de-DE        hr-HR        pl-PL        tr-TR
BOOTSTAT.DAT    el-GR        hu-HU        pt-BR        uk-UA
Fonts        en-GB        it-IT        pt-PT        winsipolicy.p7b
Resources    en-US        ja-JP        qps-ploc    zh-CN
bg-BG        es-ES        ko-KR        ro-RO        zh-TW
boot.stl    es-MX        lt-LT        ru-RU
bootmgfw.efi    et-EE        lv-LV        sk-SK
bootmgr.efi    fi-FI        memtest.efi    sl-SI
cs-CZ        fr-CA        nb-NO        sr-Latn-RS

/Volumes/NO NAME/EFI/Microsoft/Boot/Fonts:
chs_boot.ttf        meiryo_boot.ttf        segmono_boot.ttf
cht_boot.ttf        meiryon_boot.ttf    segoe_slboot.ttf
jpn_boot.ttf        msjh_boot.ttf        segoen_slboot.ttf
kor_boot.ttf        msjhn_boot.ttf        wgl4_boot.ttf
malgun_boot.ttf        msyh_boot.ttf
malgunn_boot.ttf    msyhn_boot.ttf

/Volumes/NO NAME/EFI/Microsoft/Boot/Resources:
bootres.dll    fr-FR

/Volumes/NO NAME/EFI/Microsoft/Boot/Resources/fr-FR:
bootres.dll.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/bg-BG:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/cs-CZ:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/da-DK:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/de-DE:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/el-GR:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/en-GB:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/en-US:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/es-ES:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/es-MX:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/et-EE:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/fi-FI:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/fr-CA:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/fr-FR:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/hr-HR:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/hu-HU:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/it-IT:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/ja-JP:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/ko-KR:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/lt-LT:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/lv-LV:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/nb-NO:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/nl-NL:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/pl-PL:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/pt-BR:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/pt-PT:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/qps-ploc:
memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/ro-RO:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/ru-RU:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/sk-SK:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/sl-SI:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/sr-Latn-RS:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/sv-SE:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/tr-TR:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/uk-UA:
bootmgfw.efi.mui    bootmgr.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/zh-CN:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Boot/zh-TW:
bootmgfw.efi.mui    bootmgr.efi.mui        memtest.efi.mui

/Volumes/NO NAME/EFI/Microsoft/Recovery:

/Volumes/NO NAME/System Volume Information:
IndexerVolumeGuid    WPSettings.dat
MacBook-Air-de-jerome:~ jerome$
 
Je vois des ressources de prédémarrage de Windows - mais pas de Grub dans le lot.
 
D'accord. Tu peux poster pour finir (si tu veux) le retour d'un :
Bloc de code:
diskutil list disk2

  • qui affiche la configuration actuelle du DDE.
 
Bloc de code:
MacBook-Air-de-jerome:~ jerome$ diskutil list disk2
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *500.1 GB   disk2
   1:                 DOS_FAT_32 NO NAME                 104.9 MB   disk2s1
   2:               Windows_NTFS WinToUSB                342.7 GB   disk2s2
   3:                      Linux                         149.0 GB   disk2s3
MacBook-Air-de-jerome:~ jerome$

disk2s3 n'a pas été supprimée !
Je refais donc un:
Bloc de code:
diskutil eraseVolume free null disk2s3
Bloc de code:
Bloc de code:
Linux est supprimé
 
Dernière édition:
Bien joué !

- évidemment : tu as dans les 157 Go d'espace libéré => non récupérables à la partition WinToUSB. C'est obligé vu les paramètres logiques du disque : table MBR x format ntfs.​
 
  • J’aime
Réactions: litobar71
1)Pourquoi le grub d'Ubuntu ne s'était pas mis dans une des partitions de disk1?
2)aurais-je pu procéder aà la 1ère opération si j'étais sur mon disque dur interne(au lieu du disque dur externe)?
3)pourquoi le disque dur interne contient comme disques(présence d'u conteneur)?Ce n'est pas ainsi sur un pc non mac équipé de Windows
 
1) - je pense que le programme d'installation de Grub présente une flexibilité --> lui permettant de s'adapter à la configuration du disque. Si la table de partition est GPT => Grub doit s'installer préférentiellement dans le volume EFI de la partition n°1. Si la table de partition est une MBR (absence de volume EFI) => Grub doit s'installer dans un des volumes principaux (peut-être un Linux qu'on a supprimé).

----------

2) - tant que tu peux démarrer sur un volume de macOS (interne ou externe) => alors tu peux manipuler les partitions et opérer dessus.

----------

3) - voici la configuration du disque interne -->
Bloc de code:
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         121.1 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +121.1 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            111.5 GB   disk1s1
   2:                APFS Volume Preboot                 44.3 MB    disk1s2
   3:                APFS Volume Recovery                510.4 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4

  • le disk0 est le disque physique primaire du Mac. Tu vois qu'il est partitionné en 2 : une partition EFI > et une partition apfs (qui recèle un magasin de stockage appelé : Physical Store).
  • le disk1 n'est pas un disque physique. C'est un espace-disque virtuel (appelé Conteneur) > qui se trouve projeté à partir du magasin Physical Store de la partition apfs primaire. Cet espace-disque héberge 4 volumes en simultané (qui ne sont pas de réelles partitions) > lesquels n'ont que la taille actuelle de leurs données. Ces 4 volumes ont des fonctions spécialisées : Macintosh HD est le volume de démarrage ou volume-Système > Preboot le volume de prédémarrage > Recovery le volume qui contient l'OS de secours (lequel ne relève pus d'une partition séparée) > VM (Virtual Memory) le volume qui archive le contexte de la RAM et le swap éventuel.

Cette nouvelle distribution est caractérisque du système de fichiers apfs => lequel gère donc une population de volumes virtuels projetés à partir d'une partition primaire unique.