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 29/04/2010, à 13:53

Andolini

Problème Grub2/Vista

Bonjour,

J'ai installé Kubuntu côte à côte avec windows vista. Je pensais avoir placé grub2 sur la partition de Kubuntu mais ce ne doit pas être le cas. En effet, quand je lance mon pc, c'est grub qui se charge. Il m'annonce le menu suivant:

Ubuntu, Linux 2.6.31-14-generic
Ubuntu, Linux 2.6.31-14-generic (recovery mode)
Memory test (memtest86+)
Memory test (memtest86+, serial consol 115200)
Windows Vista (loader) (on /dev/sda1)
Windows Vista (loader) (on /dev/sda2)

A priori pas de problème. Tout se lance nickel sauf Vista (La dernière ligne). Quand je la selectionne, rien ne se passe. Il m'affiche la même page. Je ne sais pas comment booter sur vista ?

Par ailleurs, quand je me place sur cette dernière ligne dans le menu grub et que je tape 'e'. Il me donne ca

insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set b28437cb84379139
chainloader  +1

D'apès ce que j'ai compris. Ces lignes de codes signifie qu'il pointe sur la partition 2 de mon disque où se trouve effectivement vista. Je vois vraiment pas ce qu'y cloche.

Merci d'avance pour votre aide

Hors ligne

#2 Le 29/04/2010, à 14:27

malbo

Re : Problème Grub2/Vista

Si tu peux répondre à cette demande, on aura le résultat "panoramique" de ton install :
http://forum.ubuntu-fr.org/viewtopic.php?pid=3226641#p3226641
Je pourrai plus sûrement confirmer avec ce résultat que tu as dû installer malencontreusement Grub dans le secteur de boot de ta partition Vista, ce qui empêche le démarrage de Vista. Tu pourras le voir toi-même dans ce résultat si tu prends le temps de le lire.

Hors ligne

#3 Le 29/04/2010, à 15:00

Andolini

Re : Problème Grub2/Vista

Boot Info Script 0.55    dated February 15th, 2010                   

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

=> Windows is installed in the MBR of /dev/sda

sda1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files/dirs:   /BOOTMGR /boot/bcd

sda2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Grub 2
    Boot sector info:  Grub 2 is installed in the boot sector of sda2 and
                       looks at sector 258985815 of the same hard drive for
                       core.img, core.img is at this location on /dev/sda and
                       looks on partition #5 for /boot/grub. No errors found
                       in the Boot Parameter Block.
    Operating System:  Windows Vista
    Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda3: _________________________________________________________________________

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

sda5: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 9.10
    Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: _________________________________________________________________________

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

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

Drive: sda ___________________ _____________________________________________________

Disque /dev/sda: 160.0 Go, 160041885696 octets
255 têtes, 63 secteurs/piste, 19457 cylindres, total 312581808 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Identifiant de disque : 0xe4dfe6d4

Partition  Boot         Start           End          Size  Id System

/dev/sda1               2,048    20,508,671    20,506,624  27 Hidden HPFS/NTFS
/dev/sda2    *     20,508,672   249,457,270   228,948,599   7 HPFS/NTFS
/dev/sda3         249,457,320   312,576,704    63,119,385   5 Extended
/dev/sda5         249,457,383   309,877,784    60,420,402  83 Linux
/dev/sda6         309,877,848   312,576,704     2,698,857  82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/sda1        06187BF6187BE35B                       ntfs       Recovery                     
/dev/sda2        B28437CB84379139                       ntfs                                     
/dev/sda5        dd676ef2-a75a-435b-8250-aff7d277a934   ext4                                     
/dev/sda6        76609694-a1a2-4eb2-aa20-586084d7ebad   swap                                     

============================ "mount | grep ^/dev  output: ===========================

Device           Mount_Point              Type       Options

/dev/sda5        /                        ext4       (rw,errors=remount-ro)


=========================== sda5/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
  have_grubenv=true
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  saved_entry=${prev_saved_entry}
  save_env saved_entry
  prev_saved_entry=
  save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set dd676ef2-a75a-435b-8250-aff7d277a934
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    set quiet=1
    insmod ext2
    set root=(hd0,5)
    search --no-floppy --fs-uuid --set dd676ef2-a75a-435b-8250-aff7d277a934
    linux    /boot/vmlinuz-2.6.31-14-generic root=UUID=dd676ef2-a75a-435b-8250-aff7d277a934 ro   quiet splash
    initrd    /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    insmod ext2
    set root=(hd0,5)
    search --no-floppy --fs-uuid --set dd676ef2-a75a-435b-8250-aff7d277a934
    linux    /boot/vmlinuz-2.6.31-14-generic root=UUID=dd676ef2-a75a-435b-8250-aff7d277a934 ro single
    initrd    /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
    insmod ntfs
    set root=(hd0,1)
    search --no-floppy --fs-uuid --set 06187bf6187be35b
    chainloader +1
}
menuentry "Windows Vista (loader) (on /dev/sda2)" {
    insmod ntfs
    set root=(hd0,2)
    search --no-floppy --fs-uuid --set b28437cb84379139
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

=============================== sda5/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda5 during installation
UUID=dd676ef2-a75a-435b-8250-aff7d277a934 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=76609694-a1a2-4eb2-aa20-586084d7ebad none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0

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


132.6GB: boot/grub/core.img
128.5GB: boot/grub/grub.cfg
128.4GB: boot/initrd.img-2.6.31-14-generic
128.4GB: boot/vmlinuz-2.6.31-14-generic
128.4GB: initrd.img
128.4GB: vmlinuz

Hors ligne

#4 Le 29/04/2010, à 15:02

Andolini

Re : Problème Grub2/Vista

J'ai tous mis. Mais je comprends tout de suite que j'ai écrasé le mbr de vista. Néanmoins, grub amorce le lancement. Pourquoi il ne peut pas trouver le fichier boot de vista

Merci de ton aide

Hors ligne

#5 Le 29/04/2010, à 16:33

TVorace

Re : Problème Grub2/Vista

à supprimer SVP, le message d'en-dessous est plus pertinent

Dernière modification par TVorace (Le 30/04/2010, à 10:52)

Hors ligne

#6 Le 29/04/2010, à 17:29

malbo

Re : Problème Grub2/Vista

Andolini,
L'anomalie se trouve dans cette partie de ton résultat :

sda2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Grub 2
    Boot sector info:  Grub 2 is installed in the boot sector of sda2 and
                       looks at sector 258985815 of the same hard drive for
                       core.img, core.img is at this location on /dev/sda and
                       looks on partition #5 for /boot/grub. No errors found
                       in the Boot Parameter Block.
    Operating System:  Windows Vista
    Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe

tu peux voir que le boot sector de la partition sda2 (dont l'OS est Windows Vista comme c'est bien confirmé par le résultat) a été écrasé par Grub. Normalement tu devrais avoir ce que j'ai pour ma partition sdb1 dans le post suivant :
http://forum.ubuntu-fr.org/viewtopic.php?pid=3228560#p3228560
C'est à dire : Boot sector type:  Windows Vista/7
Et ça, c'est forcément toi qui l'a fait même si tu n'en as pas conscience (tu n'es pas le premier à faire cette erreur). Il faut donc réparer le secteur de boot de ta partition sda2. La réparation est présentée là :
http://www.vista-xp.fr/forum/topic39.html
C'est l'option fixboot qui permet de réparer (c'est vers la fin du lien ci-dessus) :

/FixBoot: L'option /FixBoot écrit un nouveau secteur de démarrage sur partition système en utilisant un secteur de démarrage qui est compatible avec Windows Vista.

Edit : si tu ne possèdes pas le DVD Vista, tu peux graver un CD avec ça et faire la même chose :
http://neosmart.net/blog/2008/windows-vista-recovery-disc-download/
Edit2 : quand tu auras réparé le secteur de boot de Vista, tu auras viré Grub (puisque tu vas remettre un secteur de boot Vista) donc tu ne pourras pas démarrer Ubuntu. On t'aidera pour rétablir le double démarrage. Sinon, la réponse est là : il faudra installer Grub dans le MBR du disque dur suivant cette procédure qui utilise le live CD :
http://forum.ubuntu-fr.org/viewtopic.php?pid=3081197#p3081197

Dernière modification par malbo (Le 29/04/2010, à 17:51)

Hors ligne

#7 Le 30/04/2010, à 16:12

jbyvosges

Re : Problème Grub2/Vista

Bonjour.

J'ai à peu près le même problème; je n'arrive plus à utiliser Windows. Avec le script, j'obtiens :

 => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
    partition #5 for /boot/grub.
 => Windows is installed in the MBR of /dev/sdb
 => Windows is installed in the MBR of /dev/sdg

sda1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Grub 2
    Boot sector info:  Grub 2 is installed in the boot sector of sda1 and 
                       looks at sector 1199910031 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location. No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   /bootmgr /Boot/BCD

sda2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files/dirs:   /Windows/System32/winload.exe

Y-a-til une erreur ?
Au vu de ce résultat, pourquoi, pour lancer Windows, grub pointe vers /dev/sda1 et non pas sda2 ?

J'ai aussi :

sdg1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:

Je ne vois pas ce que peut être cette partition sdg que je ne vois pas avec Gparted.
En sda1 j'ai SYSTEM, en sda2 HP, en sda3 linux, en sda4 factory image et en sdb5  /home (j'ai mis linux et /home sur 2 disques différents)

Merci d'avance.


msi  i5-7500 CPU @ 3.40GHz - 16Go RAM - Ubuntu 22.10
Acer aspire E5-575-3046 i3-6006U - 2.0 GHz -128 Go SSD + 1000 Go  - Ubuntu 22.10
Mes sites : https://jbyorchid.fr
https://dolman.fr

Hors ligne

#8 Le 30/04/2010, à 16:56

malbo

Re : Problème Grub2/Vista

jbyvosges,
Tu as mis grub2 dans le secteur de boot de ta partition sda1 et c'est pour cela je pense que ça ne marche pas. Il faut remplacer Grub2 par le lanceur de Windows dans le secteur de boot de sda1. J'ai indiqué comment faire dans le post #6 (option /FixBoot) pour réparer Vista.

Hors ligne

#9 Le 01/05/2010, à 11:50

Trouveur

Re : Problème Grub2/Vista

Bonjour à tous.

J'ai exactement le même problème mais avec Windows XP.

Après vérification via le script proposé par Malbo, il m'indique bien Grub2 au lieu de XP sur ma partition NTFS sda1. :-(

Je n'ai pas eu de CD de restauration de Win XP fourni avec mon netbook.

Je suppose qu'il n'existe pas un équivalent du Vista Recovery Disk mais pour XP ?

Aucun moyen de corriger ça directement via un outil Linux en live CD ?

En bonus Lucid ne démarre pas sur mon 311C (un bug connu apparemment), donc je n'ai plus que le live CD (qui lui marche parfaitement...) pour utiliser l'ordi.

Et je n'ai pas de lecteur DVD sur ce modèle. hmm

Hors ligne

#10 Le 01/05/2010, à 13:21

malbo

Re : Problème Grub2/Vista

Trouveur,
pour réparer le secteur de boot de XP, c'est là :
http://forum.ubuntu-fr.org/viewtopic.php?pid=3254940#p3254940
Comme tu pourras le constater ce lien propose une réparation complète du démarrage de XP. Il est possible de s'arrêter après l'item 4) du lien si tu te limites strictement à la réparation du secteur de boot (c'est à dire au remplacement de Grub par le secteur de boot de chez Windows) et de redémarrer le PC pour voir si ça a suffit à tout remettre en état. C'est toi qui vois.

Dernière modification par malbo (Le 01/05/2010, à 13:28)

Hors ligne

#11 Le 01/05/2010, à 13:45

Trouveur

Re : Problème Grub2/Vista

Merci beaucoup.

Seul souci, comment puis-je mettre cette image sur une clé USB (pas de lecteur CD) ?

Hors ligne

#12 Le 01/05/2010, à 13:56

malbo

Re : Problème Grub2/Vista

Trouveur a écrit :

comment puis-je mettre cette image sur une clé USB (pas de lecteur CD) ?

Je ne sais pas.

Hors ligne

#13 Le 01/05/2010, à 17:03

jbyvosges

Re : Problème Grub2/Vista

Merci Malbo.

Décidément, je tourne en rond.
Après avoir réinstallé Windows depuis la partition Recovery (oui, je n'ai pas de CD d'install et j'ai formaté la partition Windows par erreur !) je pouvais bien booter Windows, mais plus Linux.

J'ai suivi la procédure décrite dans le dernier lien de ton post 6 pour installer grub dans le mbr (sauf que que la commande grub-install  /dev/sda me renvoie un message d'erreur : il faut, apparemment : grub-install  --root-directory=/mnt /dev/sda et là ça fonctionne, sauf que ... je ne peux plus lancer Windows !
Au moment du boot sur Seven, j'obtiens un message d'erreur, du style pas de fichier bootable trouvé (je ne me souviens plus très bien)

 => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
    partition #5 for /boot/grub.
 => Windows is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   /bootmgr /Boot/BCD

sda2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files/dirs:   /Windows/System32/winload.exe

sda3: _________________________________________________________________________

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

sda5: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 10.04 LTS
    Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

Au secours !


msi  i5-7500 CPU @ 3.40GHz - 16Go RAM - Ubuntu 22.10
Acer aspire E5-575-3046 i3-6006U - 2.0 GHz -128 Go SSD + 1000 Go  - Ubuntu 22.10
Mes sites : https://jbyorchid.fr
https://dolman.fr

Hors ligne

#14 Le 01/05/2010, à 18:35

malbo

Re : Problème Grub2/Vista

jbyvosges,
Pourrais-tu tenter une mise à jour de grub ? Tu démarres sur Ubuntu (celui qui est sur sda5) et dans un terminal, tu tapes :
sudo update-grub
Cela devrait entrainer la mise à jour du fichier grub.cfg comme expliqué là :
http://doc.ubuntu-fr.org/grub-pc#configurationreconfiguration_automatisee_du_menu_grub
Puis tu redémarres le PC pour voir si ça marche pour démarrer Win7.
Si ça ne marche toujours pas, je te propose de répondre complètement à cette demande (coller l'intégralité du résultat obtenu - entre balises codes comme expliqué - et pas des morceaux choisis) :
http://forum.ubuntu-fr.org/viewtopic.php?pid=3226641#p3226641

Dernière modification par malbo (Le 01/05/2010, à 18:36)

Hors ligne

#15 Le 01/05/2010, à 18:58

jbyvosges

Re : Problème Grub2/Vista

Yes ! It works !

Merci Malbo; tu m'enlèves une belle épine du pied. wink


msi  i5-7500 CPU @ 3.40GHz - 16Go RAM - Ubuntu 22.10
Acer aspire E5-575-3046 i3-6006U - 2.0 GHz -128 Go SSD + 1000 Go  - Ubuntu 22.10
Mes sites : https://jbyorchid.fr
https://dolman.fr

Hors ligne

#16 Le 05/05/2010, à 15:17

jbyvosges

Re : Problème Grub2/Vista

J'en ai marre !

Installation d'une mise à jour automatique par le gestionnaire de mises à jour puis reboot :

error the symbol grub puts not found grub rescue

Plus de linux ni de Windows. Obligé de recommencer toute la procédure.

S'il faut recommencer cette galère à chaque mise à jour, je retourne à Windows !


msi  i5-7500 CPU @ 3.40GHz - 16Go RAM - Ubuntu 22.10
Acer aspire E5-575-3046 i3-6006U - 2.0 GHz -128 Go SSD + 1000 Go  - Ubuntu 22.10
Mes sites : https://jbyorchid.fr
https://dolman.fr

Hors ligne

#17 Le 05/05/2010, à 15:51

malbo

Re : Problème Grub2/Vista

jbyvosges,
Peux-tu dire de quelle mise à jour (ou de quel ensemble de paquets mis à jour) il s'agit ?
Motif : à l'instant j'ai fait une mise à jour qui incluait une mise à jour du noyau (passage au 2.6.32.22) et la question m'a été posée au sujet de grub-pc si je souhaitais garder la version actuelle ou bien d'autres choix. Moi, c'est un principe, quitte à me faire caguer, je prends à chaque fois la version du responsable du paquet, quelque soit le paquet. As-tu eu la même question ? Et qu'as-tu choisi si la question t'a été posée ?

Hors ligne

#18 Le 05/05/2010, à 16:07

jbyvosges

Re : Problème Grub2/Vista

Oui, c'est bien ça. Une grosse release avec, entre autres  :

status unpacked linux-image-2.6.32-22-generic 2.6.32-22.33
upgrade acpid 1.0.10-5ubuntu2 1.0.10-5ubuntu2.1

Et surtout, ce que je vois à l'instant :

2010-05-05 15:18:01 upgrade grub-pc 1.98-1ubuntu5 1.98-1ubuntu6
2010-05-05 15:18:01 status half-configured grub-pc 1.98-1ubuntu5
2010-05-05 15:18:01 status unpacked grub-pc 1.98-1ubuntu5
2010-05-05 15:18:01 status half-installed grub-pc 1.98-1ubuntu5
2010-05-05 15:18:01 status half-installed grub-pc 1.98-1ubuntu5
2010-05-05 15:18:08 status half-installed grub-pc 1.98-1ubuntu5
2010-05-05 15:18:08 status unpacked grub-pc 1.98-1ubuntu6
2010-05-05 15:18:08 status unpacked grub-pc 1.98-1ubuntu6
2010-05-05 15:18:08 upgrade grub-common 1.98-1ubuntu5 1.98-1ubuntu6
2010-05-05 15:18:08 status half-configured grub-common 1.98-1ubuntu5
2010-05-05 15:18:08 status unpacked grub-common 1.98-1ubuntu5
2010-05-05 15:18:08 status half-installed grub-common 1.98-1ubuntu5
2010-05-05 15:18:08 status half-installed grub-common 1.98-1ubuntu5

Il ne m'a pas posé de question, sauf si je voulais rebooter tout de suite, ce que j'ai voulu faire sans succès.

Ps. Que veut dire ce half-configured et ce half-installed ?


msi  i5-7500 CPU @ 3.40GHz - 16Go RAM - Ubuntu 22.10
Acer aspire E5-575-3046 i3-6006U - 2.0 GHz -128 Go SSD + 1000 Go  - Ubuntu 22.10
Mes sites : https://jbyorchid.fr
https://dolman.fr

Hors ligne

#19 Le 05/05/2010, à 16:24

malbo

Re : Problème Grub2/Vista

jbyvosges a écrit :

Ps. Que veut dire ce half-configured et ce half-installed ?

Je jurerais que ça a un rapport avec tes emmerdes mais pour te dire comment réparer ça, je ne sais pas. Si quelqu'un peut aider jbyvosges, ça serait sympa.

Hors ligne

#20 Le 13/07/2011, à 16:52

Benzouye

Re : Problème Grub2/Vista

Bonjour à tous,

Plus d'un an après, je passe de Karmic à Lucid via l'écran de mise à jour. J'ai validé un peu trop vite les modifications de GRUB ... et comme plusieurs avant moi, je ne peux plus booter sur Win7 (oui je sais, mais j'en ai encore besoin big_smile) curseur clignotant sans fin ...
Ci-dessous le résultat du boot_info_script.
J'ai mon DVD de seven prêt à chauffer pour un /fixboot, mais est-ce nécessaire de flinguer GRUB pour le réinstaller après ? On ne peut pas faire ça plus en douceur ?

D'avance merci big_smile

                  Boot Info Script 0.60    from 17 May 2011


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

 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector 
    1 of the same hard drive for core.img. core.img is at this location and 
    looks in partition 5 for /boot/grub.
 => Grub2 (v1.97-1.98) 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 in partition 5 for /boot/grub.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Grub2 (v1.97-1.98)
    Boot sector info:   Grub2 (v1.97-1.98) is installed in the boot sector of 
                       sda1 and looks at sector 290061076 of the same hard 
                       drive for core.img, but core.img can not be found at 
                       this location. No errors found in the Boot Parameter 
                       Block.
    Operating System:  Windows 7
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Grub2 (v1.97-1.98)
    Boot sector info:   Grub2 (v1.97-1.98) is installed in the boot sector of 
                       sdb1 and looks at sector 291534676 of the same hard 
                       drive for core.img, but core.img can not be found at 
                       this location. No errors found in the Boot Parameter 
                       Block.
    Operating System:  
    Boot files:        

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

Drive: sda _____________________________________________________________________

Disque /dev/sda: 203.9 Go, 203928109056 octets
255 têtes, 63 secteurs/piste, 24792 cylindres, total 398297088 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63   273,442,364   273,442,302   7 NTFS / exFAT / HPFS
/dev/sda2         273,442,365   398,283,479   124,841,115   5 Extended
/dev/sda5         273,442,428   322,263,899    48,821,472  83 Linux
/dev/sda6         322,263,963   345,702,734    23,438,772  82 Linux swap / Solaris
/dev/sda7         345,702,798   398,283,479    52,580,682  83 Linux


Drive: sdb _____________________________________________________________________

Disque /dev/sdb: 1000.2 Go, 1000204886016 octets
255 têtes, 63 secteurs/piste, 121601 cylindres, total 1953525168 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048 1,953,521,663 1,953,519,616   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        46D43940D4393391                       ntfs       Win7
/dev/sda5        d55277ad-c7ab-4336-bc05-aa1b2e9e1061   ext4       
/dev/sda6        e077c291-ae49-4ceb-a51f-936b377f1d1f   swap       
/dev/sda7        00a45f9d-eb1e-4a19-8ca9-f45613930d84   ext4       
/dev/sdb1        EC74CCEA74CCB91A                       ntfs       Data

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda1        /media/Win7              fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5        /                        ext4       (rw,errors=remount-ro)
/dev/sda7        /home                    ext4       (rw)
/dev/sdb1        /media/Données          fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)


=========================== sda5/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1280x720
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu 10.04.1 LTS lucid, avec Linux 2.6.32-32-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
    linux    /boot/vmlinuz-2.6.32-32-generic root=UUID=d55277ad-c7ab-4336-bc05-aa1b2e9e1061 ro   quiet splash
    initrd    /boot/initrd.img-2.6.32-32-generic
}
menuentry 'Ubuntu 10.04.1 LTS lucid, avec Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
    linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=d55277ad-c7ab-4336-bc05-aa1b2e9e1061 ro   quiet splash
    initrd    /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu 10.04.1 LTS lucid, avec Linux 2.6.31-17-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
    linux    /boot/vmlinuz-2.6.31-17-generic root=UUID=d55277ad-c7ab-4336-bc05-aa1b2e9e1061 ro   quiet splash
    initrd    /boot/initrd.img-2.6.31-17-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 46d43940d4393391
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
--------------------------------------------------------------------------------

=============================== sda5/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc                                       /proc            proc         defaults               0  0  
# / was on /dev/sda5 during installation
UUID=d55277ad-c7ab-4336-bc05-aa1b2e9e1061  /                ext4         errors=remount-ro      0  1  
# /home was on /dev/sda7 during installation
UUID=00a45f9d-eb1e-4a19-8ca9-f45613930d84  /home            ext4         defaults               0  2  
# swap was on /dev/sda6 during installation
UUID=e077c291-ae49-4ceb-a51f-936b377f1d1f  none             swap         sw                     0  0  
/dev/scd0                                  /media/cdrom0    udf,iso9660  user,noauto,exec,utf8  0  0  
/dev/sdb1                                  /media/Données  ntfs         defaults               0  0  
/dev/sda1                                  /media/Win7      ntfs         defaults               0  0  
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 130.596704483 = 140.227143680  boot/grub/core.img                             1
 131.053529739 = 140.717656064  boot/grub/grub.cfg                             1
 132.031663895 = 141.767919616  boot/initrd.img-2.6.31-17-generic              1
 130.602354050 = 140.233209856  boot/initrd.img-2.6.32-21-generic              2
 141.994775772 = 152.465729536  boot/initrd.img-2.6.32-32-generic              1
 130.647043228 = 140.281194496  boot/vmlinuz-2.6.31-17-generic                 1
 133.666662216 = 143.523485696  boot/vmlinuz-2.6.32-21-generic                 2
 139.447717667 = 149.730846720  boot/vmlinuz-2.6.32-32-generic                 1
 141.994775772 = 152.465729536  initrd.img                                     1
 130.602354050 = 140.233209856  initrd.img.old                                 2
 139.447717667 = 149.730846720  vmlinuz                                        1
 133.666662216 = 143.523485696  vmlinuz.old                                    2

Dernière modification par Benzouye (Le 13/07/2011, à 17:26)


Benzouye
Ubuntu Lucid 64 / Win7
Core i7 920, Asus P6T SE, Ram 6Go, nVidia GT220 1Go

Hors ligne

#21 Le 13/07/2011, à 17:25

malbo

Re : Problème Grub2/Vista

Benzouye,
Il faut réparer le secteur de Boot de Win7 en suivant ce post : http://forum.ubuntu-fr.org/viewtopic.php?pid=3479840
la partie qui te concerne c'est celle-ci : "Pour ceux qui n'arrivent pas à démarrer Windows (curseur clignotant et retour au menu GRUB), il vous faut restaurer le "boot sector" de votre partition Windows (format NTFS) etc..."
Si tu choisis de réparer avec le DVD Win7 (ou le CD de neosmart), jeanjd63 précise les commandes ici : http://forum.ubuntu-fr.org/viewtopic.ph … 6#p3356636
Pour toi, c'est la commande suivante qui doit être utilisée :

bootrec  /fixboot

Dernière modification par malbo (Le 13/07/2011, à 17:29)

Hors ligne

#22 Le 13/07/2011, à 18:34

Benzouye

Re : Problème Grub2/Vista

Merci malbo ! Quelle réactivité cool ! Je vais suivre ce topic.

Par contre peux-tu me dire quel devrait être dans mon cas le boot_info_script pour sda1 ?


Benzouye
Ubuntu Lucid 64 / Win7
Core i7 920, Asus P6T SE, Ram 6Go, nVidia GT220 1Go

Hors ligne

#23 Le 14/07/2011, à 09:26

malbo

Re : Problème Grub2/Vista

Quand tu auras réparé le secteur de boot de ta patition sda1, si tu refais un bootinfoscript, tu trouveras ceci :

sda1: __________________________________________________________________________

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

Hors ligne

#24 Le 17/07/2011, à 18:03

Benzouye

Re : Problème Grub2/Vista

Bonsoir à tous, je viens débreifer avec vous smile

1) J'ai booté sur mon DVD Win7, et par la console lancé la commande

bootrec.exe /fixroot

Avec un message de succès. J'e reboot, Grub s'affiche correctement, je peux lancer Win7 mais pas Lucid.

2) J'ai booté sur un live CD 10.04 et suivi la procédure (dénichée et proposée plus haut par malbo) sur ce sujet.

Pour info voici le Boot Info Script après les deux manœuvres.

                  Boot Info Script 0.60    from 17 May 2011


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

 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector 
    1 of the same hard drive for core.img. core.img is at this location and 
    looks in partition 5 for /boot/grub.
 => Grub2 (v1.97-1.98) 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 in partition 5 for /boot/grub.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Grub2 (v1.97-1.98)
    Boot sector info:   Grub2 (v1.97-1.98) is installed in the boot sector of 
                       sdb1 and looks at sector 291534676 of the same hard 
                       drive for core.img, but core.img can not be found at 
                       this location. No errors found in the Boot Parameter 
                       Block.
    Operating System:  
    Boot files:        

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

Drive: sda _____________________________________________________________________

Disque /dev/sda: 203.9 Go, 203928109056 octets
255 têtes, 63 secteurs/piste, 24792 cylindres, total 398297088 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63   273,442,364   273,442,302   7 NTFS / exFAT / HPFS
/dev/sda2         273,442,365   398,283,479   124,841,115   5 Extended
/dev/sda5         273,442,428   322,263,899    48,821,472  83 Linux
/dev/sda6         322,263,963   345,702,734    23,438,772  82 Linux swap / Solaris
/dev/sda7         345,702,798   398,283,479    52,580,682  83 Linux


Drive: sdb _____________________________________________________________________

Disque /dev/sdb: 1000.2 Go, 1000204886016 octets
255 têtes, 63 secteurs/piste, 121601 cylindres, total 1953525168 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048 1,953,521,663 1,953,519,616   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        46D43940D4393391                       ntfs       Win7
/dev/sda5        d55277ad-c7ab-4336-bc05-aa1b2e9e1061   ext4       
/dev/sda6        e077c291-ae49-4ceb-a51f-936b377f1d1f   swap       
/dev/sda7        00a45f9d-eb1e-4a19-8ca9-f45613930d84   ext4       
/dev/sdb1        EC74CCEA74CCB91A                       ntfs       Data

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda1        /media/Win7              fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5        /                        ext4       (rw,errors=remount-ro)
/dev/sda7        /home                    ext4       (rw)
/dev/sdb1        /media/Données          fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)


=========================== sda5/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1280x720
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
set locale_dir=($root)/boot/grub/locale
set lang=
insmod gettext
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu 10.04.1 LTS lucid, with Linux 2.6.32-33-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
    linux    /boot/vmlinuz-2.6.32-33-generic root=UUID=d55277ad-c7ab-4336-bc05-aa1b2e9e1061 ro   quiet splash
    initrd    /boot/initrd.img-2.6.32-33-generic
}
menuentry 'Ubuntu 10.04.1 LTS lucid, with Linux 2.6.32-32-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
    linux    /boot/vmlinuz-2.6.32-32-generic root=UUID=d55277ad-c7ab-4336-bc05-aa1b2e9e1061 ro   quiet splash
    initrd    /boot/initrd.img-2.6.32-32-generic
}
menuentry 'Ubuntu 10.04.1 LTS lucid, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
    linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=d55277ad-c7ab-4336-bc05-aa1b2e9e1061 ro   quiet splash
    initrd    /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu 10.04.1 LTS lucid, with Linux 2.6.31-17-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
    linux    /boot/vmlinuz-2.6.31-17-generic root=UUID=d55277ad-c7ab-4336-bc05-aa1b2e9e1061 ro   quiet splash
    initrd    /boot/initrd.img-2.6.31-17-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set d55277ad-c7ab-4336-bc05-aa1b2e9e1061
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 46d43940d4393391
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
--------------------------------------------------------------------------------

=============================== sda5/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc                                       /proc            proc         defaults               0  0  
# / was on /dev/sda5 during installation
UUID=d55277ad-c7ab-4336-bc05-aa1b2e9e1061  /                ext4         errors=remount-ro      0  1  
# /home was on /dev/sda7 during installation
UUID=00a45f9d-eb1e-4a19-8ca9-f45613930d84  /home            ext4         defaults               0  2  
# swap was on /dev/sda6 during installation
UUID=e077c291-ae49-4ceb-a51f-936b377f1d1f  none             swap         sw                     0  0  
/dev/scd0                                  /media/cdrom0    udf,iso9660  user,noauto,exec,utf8  0  0  
/dev/sdb1                                  /media/Données  ntfs         defaults               0  0  
/dev/sda1                                  /media/Win7      ntfs         defaults               0  0  
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 130.552942276 = 140.180154368  boot/grub/core.img                             1
 133.645368576 = 143.500621824  boot/grub/grub.cfg                             1
 132.031663895 = 141.767919616  boot/initrd.img-2.6.31-17-generic              1
 130.602354050 = 140.233209856  boot/initrd.img-2.6.32-21-generic              2
 141.994775772 = 152.465729536  boot/initrd.img-2.6.32-32-generic              1
 139.605566025 = 149.900335104  boot/initrd.img-2.6.32-33-generic              1
 130.647043228 = 140.281194496  boot/vmlinuz-2.6.31-17-generic                 1
 133.666662216 = 143.523485696  boot/vmlinuz-2.6.32-21-generic                 2
 139.447717667 = 149.730846720  boot/vmlinuz-2.6.32-32-generic                 1
 139.529966354 = 149.819160576  boot/vmlinuz-2.6.32-33-generic                 1
 139.605566025 = 149.900335104  initrd.img                                     1
 141.994775772 = 152.465729536  initrd.img.old                                 1
 139.529966354 = 149.819160576  vmlinuz                                        1
 139.447717667 = 149.730846720  vmlinuz.old                                    1

Encore merci Malbo pour le guidage dans les différents sujets du forum, pas forcément faciles à trouver smile

Bonne route libre à tous !


Benzouye
Ubuntu Lucid 64 / Win7
Core i7 920, Asus P6T SE, Ram 6Go, nVidia GT220 1Go

Hors ligne