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 22/06/2021, à 22:26

ycrevolin

Problème dualboot / bootrepair [Résolu]

Bonjour,
Je dispose d'un PC avec dual boot sur deux SSD différents ( ubuntu et un windows). jusque là pas trop de problème. Je viens d'acheter un disque dur supplémentaire pour stocker des données, et depuis ce moment j'ai des problèmes de boot. J'ai donc lancé un live usb avec boot repair pour réparer mon grub qui se lancait bien mais d'arrivait plus à booter ni windows ni linux.
Depuis plus rien ne se lance. Impossible de charger grub, ne s'affiche qu'un écran noir. J'ai retenté de repasser par boot repair sans plus de succès.
Voici ce que me dit Boot info

boot-info-4ppa130                                              [20210622_2018]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for /boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------
    
    config script
    ---------------------------------------------------------------------------
    search.fs_uuid 3f20e77b-dfd3-4f48-aaf2-cffc93bdc696 root hd1,msdos6 
    set prefix=($root)'/boot/grub'
    
    ---------------------------------------------------------------------------
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.

sdb1: __________________________________________________________________________

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

sdc2: __________________________________________________________________________

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

sdc5: __________________________________________________________________________

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

sdc6: __________________________________________________________________________

    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 
                       sdc6 and looks at sector 9720544 of the same hard 
                       drive for core.img, but core.img can not be found at 
                       this location.
    Operating System:  Ubuntu 20.04.2 LTS
    Boot files:        /etc/fstab /etc/default/grub

sdd: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


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

OS#1:   Ubuntu 20.04.2 LTS on sdc6
OS#2:   Windows 7 on sdb1

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

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


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

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.

efibootmgr -v
BootCurrent: 0006
Timeout: 1 seconds
BootOrder: 0003,0001,0005,0000,0006
Boot0000* grub	HD(1,MBR,0xbda54b48,0x800,0x100000)/File(\EFI\grub\shimx64.efi)
Boot0001* Hard Drive 	BBS(HD,,0x0)AMGOAMNO........u.S.a.m.s.u.n.g. .S.S.D. .8.4.0. .S.e.r.i.e.s....................A.................................>..Gd-.;.A..MQ..L.1.S.G.4.E.N.C.A.6.A.7.9.5.2. .K. . . . ......AMBOAMNO........o.S.T.2.0.0.0.D.M.0.0.8.-.2.F.R.1.0.2....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .F.Z.3.L.A.Y.G.B......AMBOAMNO........o.S.a.n.D.i.s.k. .S.D.S.S.D.A.2.4.0.G....................A...........................>..Gd-.;.A..MQ..L.5.1.4.4.4.3.0.4.5.3.8.6. . . . . . . . ......AMBO
Boot0003* USB 	BBS(USB,,0x0)AMGOAMNO........{.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .2...0.1...0.0....................A.......................N..Gd-.;.A..MQ..L.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .2...0.1...0.0......AMBO
Boot0005* ubuntu	HD(1,MBR,0xbda54b48,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* UEFI: KingstonDataTraveler 2.01.00	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x663eb4c4,0x3906b4,0x1240)AMBO
This session has been detected as 'live' because /proc/cmdline contains (boot=casper)
This session has been detected as 'live' because df -Th / contains overlay



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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sdb1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdc6	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot
sdc6	: isnotESP,	fstab-has-bad-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdc6	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdc

fdisk -l (filtered): ___________________________________________________________

Disk sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Disk sdb: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: 0x8a25a93f
      Boot Start       End   Sectors   Size Id Type
sdb1  *     2048 468858879 468856832 223.6G  7 HPFS/NTFS/exFAT
Disk sdc: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0xbda54b48
      Boot     Start       End   Sectors   Size Id Type
sdc2         1052670 488396799 487344130 232.4G  5 Extended
sdc5       471699456 488396799  16697344     8G 82 Linux swap / Solaris
sdc6  *      1052672 471699455 470646784 224.4G 83 Linux
Partition table entries are not in disk order.
Disk sdd: 3.8 GiB, 4066377728 bytes, 7942144 sectors
Disk identifier: 0x663eb4c4
      Boot   Start     End Sectors  Size Id Type
sdd1  *          0 3815135 3815136  1.8G  0 Empty
sdd2       3737268 3741939    4672  2.3M ef EFI (FAT-12/16/32)

parted -lm (filtered): _________________________________________________________

sda:2000GB:scsi:512:4096:unknown:ATA ST2000DM008-2FR1:;
sdb:240GB:scsi:512:512:msdos:ATA SanDisk SDSSDA24:;
1:1049kB:240GB:240GB:ntfs::boot;
sdc:250GB:scsi:512:512:msdos:ATA Samsung SSD 840:;
2:539MB:250GB:250GB:::;
6:539MB:242GB:241GB:ext4::boot;
5:242GB:250GB:8549MB:linux-swap(v1)::;
sdd:4066MB:scsi:512:512:unknown:Kingston DataTraveler 2.0:;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda                                                                                                                
sdb                                                                                                                
└─sdb1 ntfs     209C5A2B9C59FC2A                     8a25a93f-01                          Windows7                 
sdc                                                                                                                
├─sdc2                                               bda54b48-02                                                   
├─sdc5 swap     393dfa3e-bdc6-4ace-b850-99bedf1d2bca bda54b48-05                                                   
└─sdc6 ext4     3f20e77b-dfd3-4f48-aaf2-cffc93bdc696 bda54b48-06                                                   
sdd    iso9660  2018-07-25-03-21-56-00                                                    Ubuntu 18.04.1 LTS amd64 
├─sdd1 iso9660  2018-07-25-03-21-56-00               663eb4c4-01                          Ubuntu 18.04.1 LTS amd64 
└─sdd2 vfat     0D5F-1DB6                            663eb4c4-02                          Ubuntu 18.04.1 LTS amd64 

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sdb1   1019.2M 100% /mnt/boot-sav/sdb1
sdc6     48.4G  73% /mnt/boot-sav/sdc6
sdd          0 100% /cdrom

Mount options: __________________________________________________________________

sdb1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc6   rw,relatime,data=ordered
sdd    ro,noatime,nojoliet,check=s,map=n,blocksize=2048

========================== sdc6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb6 during installation
UUID=3f20e77b-dfd3-4f48-aaf2-cffc93bdc696 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb1 during installation
/swapfile                                 none            swap    sw              0       0
UUID=D5A7-5AA7  /boot/efi       vfat    defaults      0       1

======================= sdc6/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=""

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

           GiB - GB             File                                 Fragment(s)
  48.950408936 = 52.560101376   boot/vmlinuz                                   1
   9.333148956 = 10.021392384   boot/vmlinuz-5.4.0-65-generic                  2
  41.145721436 = 44.179881984   boot/vmlinuz-5.4.0-73-generic                  1
  48.950408936 = 52.560101376   boot/vmlinuz-5.4.0-74-generic                  1
  41.145721436 = 44.179881984   boot/vmlinuz.old                               1
   3.619136810 = 3.886018560    boot/initrd.img                                5
  47.782936096 = 51.306536960   boot/initrd.img-5.4.0-65-generic               6
  48.119136810 = 51.667529728   boot/initrd.img-5.4.0-73-generic               5
   3.619136810 = 3.886018560    boot/initrd.img-5.4.0-74-generic               5
  48.119136810 = 51.667529728   boot/initrd.img.old                            5

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

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

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdd

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


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

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

================================= User choice ==================================

Is sdc (ATA Samsung SSD 840) a removable disk? no

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub2 of
sdc6 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s      

Confirmation request before suggested repair: __________________________________

LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your BIOS boot on sdc (ATA Samsung SSD 840) disk!
Please set your BIOS in Legacy mode in order to start your Ubuntu 20.04.2 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

Download as text

L'un d'entre vous aurait il des clés pour m'aider à comprendre le problème et tenter de le résoudre ?
Merci d'avance !

Dernière modification par ycrevolin (Le 23/07/2021, à 01:32)

Hors ligne

#2 Le 22/06/2021, à 22:47

Qid

Re : Problème dualboot / bootrepair [Résolu]

Je te soupçonne d'avoir juste fait empirer les choses pour un problème qui à mon avis était au départ certainement basique...

Alors...
- déjà dans un premier temps tu ne va laisser branché que le disque windows et en réparer son démarrage
- dans un second temps tu vas remettre d'aplomb le démarrage de Linux en laissant seulement son disque dur aussi...
Pour la suite on verra parce-que il y a plusieurs truc pas clair dans ton bazar... Mais si déjà les 2 démarrent quand ils sont seul on aura franchi une marche...


"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

#3 Le 22/06/2021, à 23:00

ycrevolin

Re : Problème dualboot / bootrepair [Résolu]

En effet, je pense que c'était un petit soucis et j'ai plutôt eu confiance dans bootrepair qui m'a déjà résolu ce type de PB par le passé. Mais la... Je sèche...
En revanche quelle méthode recommandes tu pour réparer le démarrage de windows, puis de Ubuntu. J'ai beau lancer le disque seul je tombe à chaque fois sur un terminal grub rescue.

Hors ligne

#4 Le 22/06/2021, à 23:18

geole

Re : Problème dualboot / bootrepair [Résolu]

Bonsoir.
T'amuser à débrancher les disques ne sert à rien.
Tu as installé un troisième disque qui s'est mis en position 1 au lieu de 3.
soit tu jongles avec les câbles pour le remettre en 3eme position. Soit tu fais le boot-repair standard pour  qu'il posséde un MBR de boot.

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

Pourtant, la réparation proposée est claire.

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub2 of
sdc6 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s    

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


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 23/06/2021, à 07:17

ycrevolin

Re : Problème dualboot / bootrepair [Résolu]

Le 3e disque est un disque de stockage de donner que je veux pouvoir remplacer/échanger. Ce n'est pas très pratique si le MBR de voir est dessus.je crains que le problème reaparaisse si je retire. J'ai changer l'ordre en rebranchant les câbles mais ça ne change rien. Ce qui me semble normal car je choisi le disque qui servira de Boot dans le bios au démarrage.

Hors ligne

#6 Le 23/06/2021, à 07:58

Qid

Re : Problème dualboot / bootrepair [Résolu]

geole a écrit :

Bonsoir.
T'amuser à débrancher les disques ne sert à rien.
Tu as installé un troisième disque qui s'est mis en position 1 au lieu de 3.

Tu as raison mais par principe chaque disque devant être autonome j'ai préféré proposé cette option d'autant que je ne sais pas pourquoi mais j'ai cru pendant un moment que l'ordre physique n'était pas modifiable : nvme tout ça...

En tous cas du coup petit rappel de principe dans cette situation de 3 disques bien distincts et dont l'ordre est bien physiquement modifiable : en 1 il faut mettre le windows... En 2 le Linux... Et en 3 les données... Par contre évidemment le disque de démarrage de tout le monde est bien logiciellement parlant le disque Linux


"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

#7 Le 23/06/2021, à 19:55

ycrevolin

Re : Problème dualboot / bootrepair [Résolu]

Donc si je comprend bien,l'idée serait de brancher physiquement en 1 le disque windows, et de lancer une restauration du MBR depuis Boot repair via un live cd ?
Puis je fais pareil pour le disque linux branché seule en 2

Hors ligne

#8 Le 23/06/2021, à 20:34

Qid

Re : Problème dualboot / bootrepair [Résolu]

En théorie oui... En pratique utiliser bootrepair pour réparer un boot d'un système unique peut sembler un peu incongru surtout quand on ne parle que de windows... Mais bon c'est ma préférence d'éviter bootrepair qui parle... Et je n'ai pas par cœur les solutions de réparation manuelle de l'un et l'autre des systèmes... Il faudrait rechercher sur internet...


"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

#9 Le 18/07/2021, à 10:36

ycrevolin

Re : Problème dualboot / bootrepair [Résolu]

Bonjour,
Je déterre ce message, après de nombreuses tentatives, dernièrement :
- Réparation du boot windows avec bootrepair, et le disque dur windows branché seul
- Réparation du boot ubuntu avec bootrepair, et le disque dur linux branché seul
- Puis lancement de bootrepair avec les deux disques branchés..
=> Le résultat s'est avéré guère concluant : Grub met énormément de temps à charger, et ubuntu n'arrive à se lancer qu'avec une résolution de 640x480.
- Je me décide donc à reformater mon disque ubuntu en priant pour que lors de l'installation il me refasse une dualboot propre.
=> Rien du tout malgré la nouvelle installation ubuntu refuse de se lancer (écran noir)

avant de lancer toute nouvelle tentative, j'en appelle donc aux experts qui pourraient me guider dans ma démarche pour dépatouiller ce problème.

boot-repair-4ppa130                                              [20210718_0926]

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

 => Windows 7/8/2012 is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.
 => MS-DOS 3.30 through Windows 95 (A) is installed in the MBR of /dev/sdf.

sda1: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sdb2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdf1: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 1 OS detected =================================

OS#1:   Ubuntu 20.04.2 LTS on sdb2

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

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


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

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.

efibootmgr -v
BootCurrent: 0007
Timeout: 1 seconds
BootOrder: 0005,0001,0006,0000,0007
Boot0000* grub	HD(1,MBR,0xbda54b48,0x800,0x100000)/File(\EFI\grub\shimx64.efi)
Boot0001* Hard Drive 	BBS(HD,,0x0)AMGOAMNO........o.S.T.2.0.0.0.D.M.0.0.8.-.2.F.R.1.0.2....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .F.Z.3.L.A.Y.G.B......AMBOAMNO........u.S.a.m.s.u.n.g. .S.S.D. .8.4.0. .S.e.r.i.e.s....................A.................................>..Gd-.;.A..MQ..L.1.S.G.4.E.N.C.A.6.A.7.9.5.2. .K. . . . ......AMBO
Boot0005* ubuntu	HD(1,GPT,a5fc9518-414a-4e07-ae02-b77f4a5f9c03,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* USB 	BBS(USB,,0x0)AMGOAMNO........y.W.D.C. .W.D.1.0.E.A.D.S.-.0.0.P.8.B.0. .0.1...0....................A.............................F..Gd-.;.A..MQ..L.W.D.C. .W.D.1.0.E.A.D.S.-.0.0.P.8.B.0. .0.1...0......AMBOAMNO..........W.D.C. .W.D.1.0.E.A.D.S.-.0.0.L.5.B.1. .0.1...0....................A.....................................F..Gd-.;.A..MQ..L.W.D.C. .W.D.1.0.E.A.D.S.-.0.0.L.5.B.1. .0.1...0......AMBOAMNO........{.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .2...0.1...0.0....................A.......................N..Gd-.;.A..MQ..L.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .2...0.1...0.0......AMBOAMNO........i.V.e.n.d.o.r.C.o.P.r.o.d.u.c.t.C.o.d.e....................A.......................<..Gd-.;.A..MQ..L.V.e.n.d.o.r.C.o.P.r.o.d.u.c.t.C.o.d.e......AMBO
Boot0007* UEFI: VendorCoProductCode	PciRoot(0x0)/Pci(0x14,0x0)/USB(4,0)/HD(1,MBR,0x4d6b07,0x40,0x77ffc0)/HD(1,MBR,0x38b1c112,0x6a4,0x1f40)AMBO
This session has been detected as 'live' because df -Th / contains overlay

2895d47544fd587b26c7e29be1295c27   sdb1/BOOT/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/BOOT/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   sdb1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sdb1/ubuntu/shimx64.efi
78415fb8fb9b909f8029858113f1335f   sdb1/BOOT/BOOTX64.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb2	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	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,	no-bmgr,	notwinboot
sdb1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb2	: isnotESP,	fstab-has-goodEFI,	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
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdb2	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sdb: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: B30793D3-84A4-4947-B968-26B7C94154FC
        Start       End   Sectors   Size Type
sdb1     2048   1050623   1048576   512M EFI System
sdb2  1050624 488396799 487346176 232.4G Linux filesystem
Disk sda: 1.84 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0x8748fde9
      Boot Start        End    Sectors  Size Id Type
sda1        2048 3907026943 3907024896  1.8T  7 HPFS/NTFS/exFAT
Disk sdf: 3.77 GiB, 4026531840 bytes, 7864320 sectors
Disk identifier: 0x004d6b07
      Boot Start     End Sectors  Size Id Type
sdf1  *       64 7864319 7864256  3.8G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:2000GB:scsi:512:4096:msdos:ATA ST2000DM008-2FR1:;
1:1049kB:2000GB:2000GB:ntfs::;
sdb:250GB:scsi:512:512:gpt:ATA Samsung SSD 840:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:250GB:250GB:ext4::;
sdf:4027MB:scsi:512:512:msdos:VendorCo ProductCode:;
1:32.8kB:4027MB:4026MB:::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                      PARTLABEL
sda                                                                                                                  
└─sda1 ntfs     01D77A641AE4F5D0                     8748fde9-01                          Appli                      
sdb                                                                                                                  
├─sdb1 vfat     F1C4-DC2C                            a5fc9518-414a-4e07-ae02-b77f4a5f9c03                            EFI System Partition
└─sdb2 ext4     275b3f2d-0b32-4724-a597-050a1d55f55c 87b8e624-c1a8-4ce5-8287-cab9d8730e64                            
sdf                                                                                                                  
└─sdf1 iso9660  2021-02-09-19-06-26-00               004d6b07-01                          Ubuntu 20.04.2.0 LTS amd64 

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1                1.6T  10% /media/ubuntu/Appli
sdb1              503.1M   2% /mnt/boot-sav/sdb1
sdb2               70.6G  64% /media/ubuntu/275b3f2d-0b32-4724-a597-050a1d55f55c
sdf1                   0 100% /cdrom

Mount options: __________________________________________________________________

sda1              rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
sdb1              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb2              rw,nosuid,nodev,relatime
sdf1              ro,noatime,nojoliet,check=s,map=n,blocksize=2048

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

search.fs_uuid 275b3f2d-0b32-4724-a597-050a1d55f55c root hd2,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   275b3f2d-0b32-4724-a597-050a1d55f55c
Ubuntu, avec Linux 5.8.0-59-generic   275b3f2d-0b32-4724-a597-050a1d55f55c
Ubuntu, avec Linux 5.8.0-43-generic   275b3f2d-0b32-4724-a597-050a1d55f55c
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdc2 during installation
UUID=275b3f2d-0b32-4724-a597-050a1d55f55c /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdc1 during installation
UUID=F1C4-DC2C  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sdb2/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=""

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

           GiB - GB             File                                 Fragment(s)
 214.628585815 = 230.455689216  boot/grub/grub.cfg                             2
 181.025726318 = 194.374893568  boot/vmlinuz                                   1
   5.829097748 = 6.258946048    boot/vmlinuz-5.8.0-43-generic                  2
 181.025726318 = 194.374893568  boot/vmlinuz-5.8.0-59-generic                  1
   5.829097748 = 6.258946048    boot/vmlinuz.old                               2
 181.692840576 = 195.091202048  boot/initrd.img                                1
 181.643203735 = 195.037904896  boot/initrd.img-5.8.0-43-generic               2
 181.692840576 = 195.091202048  boot/initrd.img-5.8.0-59-generic               1
 181.643203735 = 195.037904896  boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 17622 Jan 13  2021 10_linux
-rwxr-xr-x 1 root root 42359 Jan 13  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Jan 13  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jan 13  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 Jan 13  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jan 13  2021 40_custom
-rwxr-xr-x 1 root root   216 Jan 13  2021 41_custom

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

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

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdf1

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


========= Devices which don't seem to have a corresponding hard drive ==========

sdc 

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

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

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sdb2,
using the following options:        sdb1/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 20.04.2 LTS entry (sdb1/efi/****/shim****.efi (**** will be updated in the final message) file) !

Dernière modification par ycrevolin (Le 18/07/2021, à 11:28)

Hors ligne

#10 Le 19/07/2021, à 10:42

geole

Re : Problème dualboot / bootrepair [Résolu]

Bonjour.
A) Point sur ton installation UBUNTU
Installation parfaite sur le disque SDB qui a une table de partition GPT. Du point de vue boot tout est OK.
Ton problème est donc graphique.
    1) Booter en mode recovery voir https://doc.ubuntu-fr.org/recovery_mode
      spécialement l'astuce du chapitre 2  pour forcer le grub à s'afficher
       Puis choisir RESUME
  2) Puis regarder les pilotes propriétaires qui sont proposés à l'installation. https://doc.ubuntu-fr.org/gestionnaire_ … prietaires

B) Point sur ton installation windows
    Le disque SDA contient une table de partition ms-dos et une seule partition NTFS.
    Je suis incapable de savoir si c'est le logiciel windows ou simplement une partition de données (D:).
  1) Si partition de donnée, il faut installer windows!! Mon conseil serait alors:
      - Sauver les données
      - Créer une table de partition gpt
      - Télécharger windows10 et faire une clé de boot
      - Installer windows sur tout le disque ( il fabriquera trois partitions)
      - Vérifier qu'il fonctionne.
      - Lancer boot-repair en réparation standard.
  2) Si partition  avec le logiciel windows, il faut réinstaller la structure de boot !! Mon conseil serait alors
      - Booter avec le support d'installation windows en mode légacy
      - Réparer windows avec les commandes REBUILDBCD FIXBOOT et FIXMBR https://www.malekal.com/bootrec-reparer … ndows-mbr/
      - Vérifier  que windows fonctionne.
      - Réparer l'installation de ubuntu et bootant en mode LEGACY https://doc.ubuntu-fr.org/uefi
             Lancer gparted pour diminuer la taille de ubuntu de 1 MO
             Créer une partition non formatée Bios-Boot de 1MO, y mettre un drapeau bios_grub
             Lancer boot-repair en réparation standard


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

#11 Le 22/07/2021, à 17:39

ycrevolin

Re : Problème dualboot / bootrepair [Résolu]

Merci geole pour ta réponse.

Alors pour préciser ma question : suite à la réinstallation d'ubuntu, je n'ai plus de problème d'affichage (bon je n'ai plus de son, mais ça c'est un autre post ^)
Mon problème désormais et que pour réussir à booter linux, je dois débrancher le disque windows. Pour démarrer windows, je dois débrancher le disque linux. Je n'ose plus trop lancer bootrepair à l'aveuglette, car la dernière fois après réparation je n'arrive plus rien à lancer.

geole a écrit :

    Je suis incapable de savoir si c'est le logiciel windows ou simplement une partition de données (D:).

SDA est un disque dur de donné utilisé pour windows. Il n'y a aucun système installé dessus.


Et voici le log bootinfo corrigé, celui que j'ai envoyé, manifestement le disque windows ne devait pas être branché. Windows est installé sur SDD1.

boot-repair-4ppa130                                              [20210722_1734]

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

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

sda1: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sdb2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdd1: __________________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on sdb2
OS#2:   Windows 7 on sdd1

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

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.8.0-59-generic root=UUID=275b3f2d-0b32-4724-a597-050a1d55f55c ro quiet splash vt.handoff=7


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

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.

efibootmgr -v
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0005,0001,0006,0000
Boot0000* grub	HD(1,MBR,0xbda54b48,0x800,0x100000)/File(\EFI\grub\shimx64.efi)
Boot0001* Hard Drive 	BBS(HD,,0x0)AMGOAMNO........o.S.T.2.0.0.0.D.M.0.0.8.-.2.F.R.1.0.2....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .F.Z.3.L.A.Y.G.B......AMBOAMNO........u.S.a.m.s.u.n.g. .S.S.D. .8.4.0. .S.e.r.i.e.s....................A.................................>..Gd-.;.A..MQ..L.1.S.G.4.E.N.C.A.6.A.7.9.5.2. .K. . . . ......AMBO
Boot0005* ubuntu	HD(1,GPT,a5fc9518-414a-4e07-ae02-b77f4a5f9c03,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* USB 	BBS(USB,,0x0)AMGOAMNO........{.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .2...0.1...0.0....................A.......................N..Gd-.;.A..MQ..L.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .2...0.1...0.0......AMBO

2895d47544fd587b26c7e29be1295c27   sdb1/BOOT/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/BOOT/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   sdb1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   sdb1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   sdb1/ubuntu/shimx64.efi
78415fb8fb9b909f8029858113f1335f   sdb1/BOOT/BOOTX64.efi


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

Disks info: ____________________________________________________________________

sdb	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	2048 sectors * 512 bytes
sdd	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sdb2	: isnotESP,	fstab-has-goodEFI,	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,	no-bmgr,	notwinboot
sdb1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdd1	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot

Partitions info (3/3): _________________________________________________________

sdb2	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb
sdd1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdd

fdisk -l (filtered): ___________________________________________________________

Disk sda: 1.84 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0x8748fde9
      Boot Start        End    Sectors  Size Id Type
sda1        2048 3907026943 3907024896  1.8T  7 HPFS/NTFS/exFAT
Disk sdb: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: B30793D3-84A4-4947-B968-26B7C94154FC
        Start       End   Sectors   Size Type
sdb1     2048   1050623   1048576   512M EFI System
sdb2  1050624 488396799 487346176 232.4G Linux filesystem
Disk sdd: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: 0x8a25a93f
      Boot Start       End   Sectors   Size Id Type
sdd1  *     2048 468858879 468856832 223.6G  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:2000GB:scsi:512:4096:msdos:ATA ST2000DM008-2FR1:;
1:1049kB:2000GB:2000GB:ntfs::;
sdb:250GB:scsi:512:512:gpt:ATA Samsung SSD 840:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:250GB:250GB:ext4::;
sdd:240GB:scsi:512:512:msdos:ATA SanDisk SDSSDA24:;
1:1049kB:240GB:240GB:ntfs::boot;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL    PARTLABEL
sda                                                                                                
└─sda1 ntfs     01D77A641AE4F5D0                     8748fde9-01                          Appli    
sdb                                                                                                
├─sdb1 vfat     F1C4-DC2C                            a5fc9518-414a-4e07-ae02-b77f4a5f9c03          EFI System Partition
└─sdb2 ext4     275b3f2d-0b32-4724-a597-050a1d55f55c 87b8e624-c1a8-4ce5-8287-cab9d8730e64          
sdd                                                                                                
└─sdd1 ntfs     209C5A2B9C59FC2A                     8a25a93f-01                          Windows7 

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1                1.6T  10% /mnt/boot-sav/sda1
sdb1              503.1M   2% /mnt/boot-sav/sdb1
sdb2               68.7G  65% /
sdd1                3.4G  98% /mnt/boot-sav/sdd1

Mount options: __________________________________________________________________

sda1              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1              rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb2              rw,relatime,errors=remount-ro
sdd1              rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

search.fs_uuid 275b3f2d-0b32-4724-a597-050a1d55f55c root hd2,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   275b3f2d-0b32-4724-a597-050a1d55f55c
Ubuntu, avec Linux 5.8.0-59-generic   275b3f2d-0b32-4724-a597-050a1d55f55c
Ubuntu, avec Linux 5.8.0-43-generic   275b3f2d-0b32-4724-a597-050a1d55f55c
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdc2 during installation
UUID=275b3f2d-0b32-4724-a597-050a1d55f55c /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdc1 during installation
UUID=F1C4-DC2C  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sdb2/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=""

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

           GiB - GB             File                                 Fragment(s)
 166,738498688 = 179,034099712  boot/grub/grub.cfg                             2
 181,025726318 = 194,374893568  boot/vmlinuz                                   1
   5,829097748 = 6,258946048    boot/vmlinuz-5.8.0-43-generic                  2
 181,025726318 = 194,374893568  boot/vmlinuz-5.8.0-59-generic                  1
   5,829097748 = 6,258946048    boot/vmlinuz.old                               2
 145,141597748 = 155,844603904  boot/initrd.img                                6
 198,708003998 = 213,361094656  boot/initrd.img-5.8.0-43-generic               3
 145,141597748 = 155,844603904  boot/initrd.img-5.8.0-59-generic               6
 198,708003998 = 213,361094656  boot/initrd.img.old                            3

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

-rwxr-xr-x 1 root root 17622 janv. 13  2021 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 13  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13  2021 40_custom
-rwxr-xr-x 1 root root   216 janv. 13  2021 41_custom


========= Devices which don't seem to have a corresponding hard drive ==========

sdc 

================================= User choice ==================================

Is sdb (ATA Samsung SSD 840) a removable disk? no

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sdb2 into the MBRs of all disks (except live-disks and removable disks without OS).
Grub-efi would not be selected by default because: legacy-win no-win-efi 
Additional repair would be performed: unhide-bootmenu-10s      

Blockers in case of suggested repair: __________________________________________

LegacyWindows detected. Please enable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB). GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
Alternatively, you can retry after activating the [Separate /boot/efi partition:] option.

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your BIOS boot on sdb (ATA Samsung SSD 840) disk!
The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.

Y a t il une manipulation que je puisse faire à la main pour :
- rétablir l'apparition de grub (aujourd'hui lorsque je lance ubuntu, il n'apparait plus)
- ajouter l'option windows
- faire en sorte que chaque système se lance correctement sans planter une fois sélectionné dans grub, le tout en laissant tous les disques branchés

Hors ligne

#12 Le 22/07/2021, à 19:45

geole

Re : Problème dualboot / bootrepair [Résolu]

Bonjour
Voir chapitre 4.2 de ce document https://doc.ubuntu-fr.org/uefi
Il faut donc que tu trouves une technique pour ne pas booter automatiquement en EFI
Cela devrait pouvoir se régler dans le bios

Il faut booter avec le support d'installation Au besoin en choisissant le fichier qui n'est pas EFI
- Vérifier que le boot a bien eu lieu en LEGACY
- Lancer gparted
- Rétrécir SDB2 (ubuntu) de 1 Mo
- Fabriquer une partition Bios-Boot de 1 Mo (non formatée)  et lui mettre le drapeau bios_grub
- Installer boot-repair
- Faire sa réparation recommandée
Puis rebooter en modifiant le bios  afin d'indiquer que le disque de boot est SDB et plus SDD

Dernière modification par geole (Le 22/07/2021, à 19:46)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#13 Le 22/07/2021, à 20:48

ycrevolin

Re : Problème dualboot / bootrepair [Résolu]

Avant de faire trop de conneries juste une question : quand je lance mon live usb, si je le lance en legacy, il n'arrive pas à démarrer. Normal ?
Et ducoup lorsque je veux lancer la réparation automatique avec boot repair, il m'affiche un message d'alerte me signalant que ma session est lancée en EFI...
C'est indispensable que la session de live usb d'installation soit en legacy pour procéder à la réparation ?

Hors ligne

#14 Le 22/07/2021, à 22:20

geole

Re : Problème dualboot / bootrepair [Résolu]

Il faut booter en LEGACY pour réparer.
Il n'est pas normal que tu ne puisses pas le faire.


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 22/07/2021, à 23:22

ycrevolin

Re : Problème dualboot / bootrepair [Résolu]

Je ne comprend pas... mon bios est bien réglé en mode Legacy. Lorsque je sélectionne le support de démarrage j'ai le choix entre usb/Clé Ubuntu ou EFI/Clé Ubuntu. Si je fait booter en EFI ça marche, par contre en USB (legacy j'imagine ?) rien à faire, je reste sur un écran noir.

Hors ligne

#16 Le 22/07/2021, à 23:27

Qid

Re : Problème dualboot / bootrepair [Résolu]

geole a écrit :

Il faut booter en LEGACY pour réparer.
Il n'est pas normal que tu ne puisses pas le faire.

D'autant que ce n'est pas justement ce qui m'a fichu le doute lors du premier rapport qui lui disait bien clairement qu'il était en legacy !? Ou je suis encore paumé...


"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

#17 Le 22/07/2021, à 23:59

ycrevolin

Re : Problème dualboot / bootrepair [Résolu]

Je crois pas non, le premier rapport disait

The boot of your PC is in EFI mode

Hors ligne

#18 Le 23/07/2021, à 01:31

ycrevolin

Re : Problème dualboot / bootrepair [Résolu]

Suite et fin de l'épisode...
Après avoir testé plusieurs live usb que j'avais je me suis résolu à en recréer un nouveau. Cette fois ci je le créer depuis ma session windows avec virtuoze au lieu du créateur de disque de démarrage d'ubuntu.
Victoire ! Grace à virtuoze, je réussi à lancer ma live usb d'ubuntu 20.04 en mode legacy. Un coup de boot repair, et l'affaire et dans le sac : j'ai retrouvé mon bon vieux grub avec le choix entre windows et ubuntu. Et ubuntu se lance.
Merci pour votre aides à tous !
Reste à m'atteler au second problème : depuis que j'ai réinstallé ubuntu, je n'ai plus de son... https://forum.ubuntu-fr.org/viewtopic.php?id=2065774

Dernière modification par ycrevolin (Le 23/07/2021, à 01:34)

Hors ligne

#19 Le 23/07/2021, à 09:08

Qid

Re : Problème dualboot / bootrepair [Résolu]

ycrevolin a écrit :

Je crois pas non, le premier rapport disait

The boot of your PC is in EFI mode

J'ai dû me mélanger avec quelqu'un d'autre en effet... En tous cas content que tu ais fini par réussir à faire ce que tu voulais...


"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