#51 Le 05/09/2007, à 15:26
- seblanc
Re : Matrix Storage
J'ai trouvé quelque chose d'intéressant, dans grub, lorsque je tape geometry (hd0), (après avoir tappé device (hd0) /dev/mapper/.......) j'obtient ceci:
grub> geometry (hd0)
drive 0x80: C/H/S = 20022/255/63, The number of sectors = 321663488, /dev/mappe
r/isw_cjejhcdeae_Volume0
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 2, Filesystem type unknown, partition type 0x7
Partition num: 4, Filesystem type unknown, partition type 0x6
Partition num: 5, Filesystem type unknown, partition type 0x6
Cela signifie donc que ma partition / est pas correct.. normalement il devrait y avoir le filesystem type: ext3 non?
Hors ligne
#52 Le 05/09/2007, à 15:27
- hellowman
Re : Matrix Storage
Dsl, mais le soir je préfère pas ... Copine oblige ... déjà eu des engueulades, tendu etc...
Mais on peut continuer sur ce post ...
C'est plus lent, mais je peux dégager du temps qu'au taf ...
Je vais continuer à chercher et je te poste des infos ici quand j'en trouve.
Hors ligne
#53 Le 05/09/2007, à 15:29
- hellowman
Re : Matrix Storage
pas sur, le code hexa derrière veut pê dire qqc...
Hors ligne
#54 Le 05/09/2007, à 16:16
- seblanc
Re : Matrix Storage
le truc hexa correspond au type de fichier de la partition (ntfs/etx3/...) C'est ce qu'il me semble.. maintenant, pourquoi il y en a des différents..!? je sais pas..
Hors ligne
#55 Le 05/09/2007, à 18:12
- seblanc
Re : Matrix Storage
Alors:
J'ai retenter d'installer linux (sans modification de partition, mais en formatant la partition /)
A la fin de l'installation (message d'erreur pour l'installation de grub) donc je tente de monter ma partition linux dans /target mais celle-ci est déjà montée (par l'installation); Est-ce que je dois redémarrer l'ordinateur avec le livecd pour continuer le paramètrage et suivre le tuto..?
Hors ligne
#56 Le 06/09/2007, à 00:57
- seblanc
Re : Matrix Storage
Yep ! ça marche..! je sais pas trop comment, mais j'ai suivi un partie sur ce tuto:
http://forum.ubuntu-fr.org/viewtopic.php?id=142645
Mais comme un dit, un problème de résolu, dix nouveaux.. Non, je plaisante, j'ai apparemment un souci de menu.lst, il n'a pas l'air d'être configurer correctement:
Lorsque je démarre, cela m'affiche Grub chargeur d'amourçage blabla (je vois pas encore de menu) et soudain, je n'ai plus de signale à l'écran.. fort gênant je dois l'avouer..
Une idée? je post mon menu.lst pour si jamais vous avez l'oeil:
# 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 change this entry to 'saved' 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 30
## 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=/dev/mapper/isw_cjejhcdeae_Volume06 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,5)
groot=(hd0,5)
## 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=true
## 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
## 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
## ## End Default Options ##
title Windows XP
rootnoverify (hd0,0)
chainloader +1
title Ubuntu, kernel 2.6.20-15-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=/dev/mapper/isw_cjejhcdeae_Volume06 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=/dev/mapper/isw_cjejhcdeae_Volume06 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, memtest86+
root (hd0,5)
kernel /boot/memtest86+.bin
### END DEBIAN AUTOMAGIC KERNELS LIST
Hors ligne
#57 Le 06/09/2007, à 11:30
- seblanc
Re : Matrix Storage
Bon bon bon.. avec toute les infos que j'ai pu récolter, je n'arrive pas à savoir si il faut mettre un "#" 2 ou pas dutout pour que la ligne soie prise en compte..
Par exemple, le hidemenu et commenté (dans le menu.lst que j'ai mis ci-dessus)?
D'autre part, si j'enregistre le menu.lst après modification, et que je lance (tjs en chroot) sudo update-grub, cela me supprime les ligne pour windows..!
Que dois-je faire??
Dernière modification par seblanc (Le 06/09/2007, à 11:30)
Hors ligne
#58 Le 06/09/2007, à 18:43
- seblanc
Re : Matrix Storage
Yep!!
Tout fonctionne à merveil.. Dual boot XP/Feisty!
J'ai en faite refait l'étape de grub (dans la console) puis reparamètré le menu.lst sauf que je n'ai pas mis groot=(hd0,5) mais groot=(hd0,0) !!
Je sais pas pourquoi, mais ça fonctionne.. et je n'ai pas retenter de mettre 5 à la place.. pour moi, tant que ça fonctionne.. (si toutefois certaines personne serait intéressée de voir si cela marche avec 5 à la place de 0, dite-le moi..)
Mon menu.lst a été posté sur ce sujet (que j'avais mentionné juste avant..)
http://forum.ubuntu-fr.org/viewtopic.php?id=142645
Il me reste plus qu'à mettre les driver nvidia pour ma 8800GTS (gloups..)
Hors ligne
#59 Le 07/09/2007, à 10:08
- popple
Re : Matrix Storage
merci hellowman, je vais essayer de suivre tes conseils
Hors ligne