Annonce
Réduire
Aucune annonce.
Installation sous Linux?
Réduire
X
-
Re: Installation sous Linux?
Bon, les partitions sont bien visibles alors. Pour info, le linux du 2e DD en Fat32 est totalement inutile.
Donc en LiveCD :
Lancer Grub en ligne de commande :
Chercher le Grub :Code:sudo grub
Il doit renvoyer quelque chose du genre :Code:grub> find /boot/grub/stage1
(hd0,0)
(hd1,0)
Réinstallation du Grub :Code:grub> root (hd1,0) # ? doit être remplacé par le texte trouvé précédemment Chez toi ce serait hd1.0?
Code:grub> setup (hd1)
Si ça ne passe pas avec l'un, essaye avec l'autre...Code:grub> quit
Linux Mint 18.2 - 64bits
CPU I5-7500, GeForce 1060 GTX 6 GB, Ram 16Go, écran 1920x1080, joystick Saitek X52, PRO Flight Rudder Pedals
Commentaire
-
Re: Installation sous Linux?
Erreur 17 : http://www.linux-france.org/article/sys ... #Depannage
On va procéder étape par étape :17 : Cannot mount selected partition
Cette erreur est retournée si la partition demandée existe, mais le type du système de fichiers n'est pas reconnu par GRUB
depuis le LiveCD, que te renvoie :
sudo fdisk -l
=> on va voir sur quoi ça amorce
sudo grub
puis
grub> find /boot/grub/stage1Linux Mint 18.2 - 64bits
CPU I5-7500, GeForce 1060 GTX 6 GB, Ram 16Go, écran 1920x1080, joystick Saitek X52, PRO Flight Rudder Pedals
Commentaire
-
Re: Installation sous Linux?
Tout d'abord et avant tout, merci de m'aider autant et de prendre sur ton temps libre.
sudo fdisk -l donne
Disque /dev/sda: 123.5 Go, 123522416640 octets
255 têtes, 63 secteurs/piste, 15017 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0x25362536
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 1 14454 116101723+ b W95 FAT32
/dev/sda2 14455 15017 4522297+ 5 Etendue
/dev/sda5 14455 15017 4522266 82 Linux swap / Solaris
Disque /dev/sdb: 80.0 Go, 80026361856 octets
255 têtes, 63 secteurs/piste, 9729 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0x1cbd18e0
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 1 9327 74919096 83 Linux
/dev/sdb2 9328 9729 3229065 5 Etendue
/dev/sdb5 9328 9729 3229033+ 82 Linux swap / Solaris
Disque /dev/sdc: 1028 Mo, 1028653056 octets
2 têtes, 63 secteurs/piste, 15945 cylindres
Unités = cylindres de 126 * 512 = 64512 octets
Identifiant de disque : 0x0124fe68
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdc1 * 1 15946 1004528 6 FAT16
et find /boot/grub/stage1
(hd1,0).
Désolé du temps de décalage, mais il faut que j'enregistre le résultat sur une clé usb avant de le mettre sur un autre ordinateur :D
Merci d'avance!
Commentaire
-
Re: Installation sous Linux?
Edit : ok, je n'avais pas vu ton message :mrgreen:
Tiens maintenant que j'y pense, il dit que le Grub ne reconnait pas le bon type de partition.
C'est peut-être à cause du Grub installé sur la partition en fat32?
Retourne le résultat de :
sudo grub
puis
grub> find /boot/grub/stage1
Ça va être intéressant de voir si Grub pointe vers du Fat32. Si c'est le cas, on éditera le fichier Grub de ta partition principale et ça pourrait bien rentrer dans l'ordre...Linux Mint 18.2 - 64bits
CPU I5-7500, GeForce 1060 GTX 6 GB, Ram 16Go, écran 1920x1080, joystick Saitek X52, PRO Flight Rudder Pedals
Commentaire
-
Re: Installation sous Linux?
Ok, maintenant analysons ton fichier de configuration du Grub.
IMPORTANT : Tu dois pouvoir accéder à ta partition Linux en lecture /dev/sbd1 (le disque Linux de 80Go)
=> une fois que c'est fait, copie ici le contenu du fichier texte '/boot/grub/menu.lst' situé sur /dev/sbd1 (le disque Linux de 80Go)
PS : je dois m'absenter, je reviens plus tardLinux Mint 18.2 - 64bits
CPU I5-7500, GeForce 1060 GTX 6 GB, Ram 16Go, écran 1920x1080, joystick Saitek X52, PRO Flight Rudder Pedals
Commentaire
-
Re: Installation sous Linux?
Voili voilou :D
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=b6e5853e-b77d-4d6c-8f14-51f392288dbe ro xforcevesa
## default grub root device
## e.g. groot=(hd0,0)
# groot=b6e5853e-b77d-4d6c-8f14-51f392288dbe
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid b6e5853e-b77d-4d6c-8f14-51f392288dbe
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=b6e5853e-b77d-4d6c-8f14-51f392288dbe ro xforcevesa quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid b6e5853e-b77d-4d6c-8f14-51f392288dbe
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=b6e5853e-b77d-4d6c-8f14-51f392288dbe ro xforcevesa single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
uuid b6e5853e-b77d-4d6c-8f14-51f392288dbe
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP dition familiale
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
Alors?
Commentaire
-
Re: Installation sous Linux?
Bon, tant mieux alors, ça fait une solution de secours. Mais si comprend bien, tu l'as installé dans ta partition fat32? ^^
Une autre auestion : as-tu copié des données sur ton linux principal? Je trouve que l'espace occupé est bien grand pour une installation fraiche.
Concernant le grub de la section précédente, il aurait peut-être suffit de supprimer cette section qui fai référence à une amorce non valide :
... mais maintenant que tu as installé Ubuntu sur le 2e DD, il a écrasé l'amorce du premier, et on est pas rendu :DCode:# This is a divider, added to separate the menu items below from the Debian # ones. title Other operating systems: root # This entry automatically added by the Debian installer for a non-linux OS # on /dev/sda1 title Microsoft Windows XP dition familiale rootnoverify (hd0,0) savedefault makeactive chainloader +1
Bon, ciomment remettre de l'ordre dans ce basard sans tout anéantir...
Je réfléchis et je reviens :mrgreen:Linux Mint 18.2 - 64bits
CPU I5-7500, GeForce 1060 GTX 6 GB, Ram 16Go, écran 1920x1080, joystick Saitek X52, PRO Flight Rudder Pedals
Commentaire
-
Re: Installation sous Linux?
Bon, alors bon, bien bien bien, le problème est le suivant :
1) tu as un un Grub inactif sur ton DD de 80Go avec une entrée invalide vers un WinXP qui n'existe plus
2) tu as un Grub actif installé par le 2e Ubuntu de la partition de 115GO, qui a pris en compte le premier Ubuntu et te permet de booter dessus. Le Grub pointe vers ce 2e Ubuntu.
Ce que nous voulons :
1) que le fichier de configuration du Grub du DD de 80Go soit corrigé
2) que l'amorçage se fasse sur ce premier Grub
3 supprimer le 2e Ubuntu.
Une question : Xplane est-il toujours là?Linux Mint 18.2 - 64bits
CPU I5-7500, GeForce 1060 GTX 6 GB, Ram 16Go, écran 1920x1080, joystick Saitek X52, PRO Flight Rudder Pedals
Commentaire
-
Re: Installation sous Linux?
Bon, alors pour te dire, mon grub pointe vers la bonne version d'ubuntu, une pseudo-version de Win XP et c'est tout. J'ai "deux" disques dur à monter maintenant : un de 15 go, et un de 100. Xplane est toujours installé,mais OpenScenery X ne marche pas même avec ta librairie 5.so :D
Je (et on :D) est dans une me**e pas possible :D
Commentaire
-
Re: Installation sous Linux?
Tu es vraiment bien sûr que le Grub installé est bien celui du Disque de 80GO? L'exactitude de l''information peut éviter d'autres drames :mrgreen:Linux Mint 18.2 - 64bits
CPU I5-7500, GeForce 1060 GTX 6 GB, Ram 16Go, écran 1920x1080, joystick Saitek X52, PRO Flight Rudder Pedals
Commentaire



Commentaire