Booter sur Mint

Forum de support pour les utilisateurs francophones

Moderator: Laurent85

Forum rules
Topics in this forum are automatically closed 6 months after creation.
CreatorMan2006

Re: Booter sur Mint

Post by CreatorMan2006 »

Ben oui, si il est buggué...
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Booter sur Mint

Post by Laurent85 »

Copie colle chaque commande pour éviter les erreurs de saisie.

A partir d'une session live Installe rEFInd, Réponds "No" quand rEFInd propose "Automatically install rEFInd to the ESP" :

Code: Select all

sudo add-apt-repository ppa:rodsmith/refind
apt update
apt install refind
Télécharge le script d'installation spécifique au mode repli (fallback mode) :

Code: Select all

wget http://cdimage.tux.ovh/lebd/refind-fallback-mode
chmod 755 refind-fallback-mode
Lance l'installation :

Code: Select all

sudo ./refind-fallback-mode
Le retour commande que tu obtiens :

Code: Select all

Install rEFInd Boot Manager, confirm "Y" to proceed:
Y
Installing rEFInd...

rEFInd Boot Manager set in Fallback mode...

Fallback mode should allow rEFInd to load
on computers with buggy EFI firmware.

Installation complete, press return to exit.
Redémarre normalement quand c'est fait avec le disque dur externe branché ou pas, essaie les deux.
Image
CreatorMan2006

Re: Booter sur Mint

Post by CreatorMan2006 »

C'est fait. Quand j'ai redémarré sans le disque externe branché mais avec le boot USB en priorité, il m'a affiché "Reboot and select a proper boot device or insert boot media and press a key". Après avoir branché le DDE, j'ai beau spammer les touches ça ne fait rien :P
Après, j'ai redémarré et remis Windows en 1er avec le DDE branché, mais il m'a affiché le même message...
Puis j'ai redémarré sans le DDE branché, mais j'ai toujours le même message O_O

Pourtant je peux quand même booter sur la clé USB live en appuyant sur F12 au démarrage...
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Booter sur Mint

Post by Laurent85 »

Démarre sur le disque dur interne, c'est lui qui charge rEFInd, le gestionnaire de démarrage.

Si ça ne marche pas :
Démarre une session live puis donne le retour des commandes suivantes pour avoir les détails sur la partition efi.

Code: Select all

sudo mount -o ro /dev/sda1 /mnt
sudo find /mnt -iname "*.efi" -exec md5sum {} + | sort
sudo umount /mnt
sudo os-prober
Image
CreatorMan2006

Re: Booter sur Mint

Post by CreatorMan2006 »

Ca n'a toujours pas marché. Voici le résultat des commandes:

Code: Select all

mint@mint ~ $ sudo mount -o ro /dev/sda1 /mnt
mint@mint ~ $ sudo mount -o ro /dev/sda1 /mnt
mount: /dev/sda1 is already mounted or /mnt busy
       /dev/sda1 is already mounted on /mnt
mint@mint ~ $ sudo find /mnt -iname "*.efi" -exec md5sum {} + | sort
0e91c550d4337d843051c30649f6055a  /mnt/EFI/OEM/Boot/memtest.efi
3aef9c72ad50faa8db576c01f85a0915  /mnt/EFI/ubuntu/shimx64.efi
4565981c22337c7d6d42513a4e25ec38  /mnt/EFI/BOOT-refindBackup/bootx64.efi
5260071ec03f7afc96a180c5442d4477  /mnt/EFI/OEM/Boot/bootmgfw.efi
6f2ef9daa28804a29400d01627aa063c  /mnt/EFI/OEM/Boot/bootmgr.efi
76c71b0da974fb343d080ad62ba0cccb  /mnt/EFI/Boot/drivers_x64/ext4_x64.efi
bf39cf9416a9403d40a9b69541486e74  /mnt/EFI/ubuntu/mmx64.efi
c6c359c5c1795a32695cd68607fd9d82  /mnt/EFI/Microsoft/Boot/bootmgr.efi
e1c712847161c5ef1380d6521224d8a5  /mnt/EFI/Microsoft/Boot/memtest.efi
e6c2df7a845ec00a2bc4a0d1a6b5baf0  /mnt/EFI/ubuntu/grubx64.efi
f8f28244c9551657b9eef41e1b3d66fb  /mnt/EFI/Microsoft/bootmgfw.efi
fc170a20e67eacdbdbc3b135b208951b  /mnt/EFI/Boot/bootx64.efi
mint@mint ~ $ sudo umount /mnt
umount: /mnt: not mounted
mint@mint ~ $ sudo os-prober
/dev/sdc2:Linux Mint 18.3 Sylvia (18.3):LinuxMint:linux
mint@mint ~ $
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Booter sur Mint

Post by Laurent85 »

Etrange, rEFInd est bien configuré en mode repli. Dans ce mode les ordis qui ne trouvent pas le chargeur Windows à l'emplacement prévu vont comme solution de repli se rabattrent sur le chargeur bootx64.efi. C'est cette solution de contournement qui permet de charger rEFInd le gestionnaire de démarrage qui lui sait lancer tous les chargeurs qu'il détecte dans la partition efi.

Et ton ordi bah lui ne fait pas ça, il cherche le chargeur Windows et ne le trouvant pas en reste là :roll:

Depuis la session live Mint télécharge le script qui va restaurer la configuration par défaut de rEFInd et remettre à sa place le chargeur Windows, l'ordi démarrera sur Windows comme avant.

Code: Select all

setxkbmap fr
wget http://cdimage.tux.ovh/lebd/refind-mode-fix
chmod 755 refind-mode-fix
sudo ./refind-mode-fix
Il doit afficher, c'est important qu'il affiche bien "rEFInd Boot Manager set to priority mode"

Code: Select all

rEFInd Boot Manager set to priority mode...
...
...
Comme solution alternative il reste la création d'une clé usb de démarrage rEFInd puisque ton ordi accepte de démarrer sur une clé usb avec la touche F12.

Télécharge l'archive refind-flashdrive-0.11.2.zip à cette adresse https://sourceforge.net/projects/refind/files/0.11.2/
Décompresse l'archive et grave l'image disque refind-flashdrive-0.11.2.img sur une clé usb.

Utilise cette clé usb au démarrage avec F12 pour charger rEFInd qui te proposera de lancer LM ou Windows.
Image
CreatorMan2006

Re: Booter sur Mint

Post by CreatorMan2006 »

Ca n'a pas l'air d'avoir marché... Voici les résultats des commandes:

Code: Select all

mint@mint ~ $ setxkbmap fr
mint@mint ~ $ wget http://cdimage.tux.ovh/lebd/refind-mode-fix
--2018-01-07 12:00:04--  http://cdimage.tux.ovh/lebd/refind-mode-fix
Resolving cdimage.tux.ovh (cdimage.tux.ovh)... 94.23.6.70
Connecting to cdimage.tux.ovh (cdimage.tux.ovh)|94.23.6.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5520 (5.4K) [application/octet-stream]
Saving to: ‘refind-mode-fix’

refind-mode-fix                                     100%[===================================================================================================================>]   5.39K  --.-KB/s    in 0.003s  

2018-01-07 12:00:05 (1.63 MB/s) - ‘refind-mode-fix’ saved [5520/5520]

mint@mint ~ $ chmod 755 refind-mode-fix
mint@mint ~ $ sudo ./refind-mode-fix
Install rEFInd Boot Manager, confirm "Y" to proceed:
Y
Installing rEFInd...
An error occured, could not proceed
Press return to exit

mint@mint ~ $ 
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Booter sur Mint

Post by Laurent85 »

Rhaaa j'au oublié de te demander d'installer le paquet rEFInd d'abord dans la session live :oops:

Réponds "No" quand rEFInd propose "Automatically install rEFInd to the ESP"

Code: Select all

setxkbmap fr
sudo add-apt-repository ppa:rodsmith/refind
apt update
apt install refind
Puis ensuite :

Code: Select all

wget http://cdimage.tux.ovh/lebd/refind-fallback-mode
chmod 755 refind-fallback-mode
sudo ./refind-fallback-mode
Image
Locked

Return to “Français - French”