Modif mon /boot/rub/menu.lst pour multboot

Bonjour,
voilà apres moult essais de performances sous xp pro 64 je suis repassé sous xp pro32 , j'ai tout de même gardé ma partition avec win pro 64 bit ( sur D...)..
je tiens à préciser que je suis en multiboot avec Ubuntu 9.04 et que j'ai crée une partition pour /boot et une pour/home ( un peu mare de devoir reinstaller ubuntu à chaque fois que je réinstalle xp...).
ma question est la suivante ,comment modifier mon /etc/boot/grub/menu.lst pour que ma partition win 64
me soit proposée au boot ?
je vous remercie de l'aide quevous pourriez m'apporter....
cedric....
Configuration: Windows XP
Firefox 3.5.3

55 réponses

Résumé de la discussion

Le problème porte sur l’intégration de Windows XP Professionnel 64 et Windows XP Professionnel 32 dans un multiboot géré par GRUB et le menu.lst sous Ubuntu 9.04. Des solutions essentielles consistent à ajouter des entrées distinctes pour chaque OS, puis à adapter rootnoverify, map et chainloader pour éviter les conflits entre les disques. En pratique, on peut copier une entrée Windows et modifier la cible vers le disque et la partition corrects (hdX,Y), ajouter une seconde entrée pour XP Professionnel 64 et respecter la syntaxe grub. Pour autant, sous Ubuntu privilégier gedit avec privilèges root pour sauvegarder menu.lst et vérifier les numéros de disque (par exemple sda1/sdb1) afin d’éviter que les OS ne se lancent pas.

Bobot (l’IA à votre service)
  1. oui c'est ça...et supergrub je l'ai essayé mais ne marche pas bien chez moi , mais par contre dans mon bios
    aprés flashage du bios il m'avait remis mon disque IDE pour le boot en priorité alors que normalement il était sur le SATA c'est peut etre pourça que supergrub n'a pas marché...
    1. Modérateur
      Re,

      Et avec cette entrée (c'est pour 64)

      title Microsoft Windows XP Professionnel 1
      rootnoverify (hd0,0)
      savedefault
      makeactive
      chainloader +1 


      Tu as le message avec NTDLR missing.
      C'est ça?
      1. Modérateur
        Re,

        Non.
        Réponds à ma question seulement.

        On utilise les balises code pour la lisibilité.
        Je te dirais quand il faut mettre dans le fichier.
        1. ce que tu viens de m'envoyer je le met dans mon menu.lst ?
          je veux dire ce que tu as mis entre les quotes?
          1. Modérateur
            Re,

            C'est bien pour les balises code ;-)

            Donc ça ne fonctionne pas avec

            title Microsoft Windows XP Professionnel 2
            rootnoverify (hd1,0)
            savedefault
            makeactive
            chainloader +1


            Mais oui avec (XP 32bits)

            title		Microsoft Windows XP Professionnel
            rootnoverify	(hd1,0)
            savedefault
            makeactive
            map		(hd0) (hd1)
            map		(hd1) (hd0)
            chainloader	+1
            
            1. enfin si mais pas avec les lignes que tu m'as donné car j'avais laissé celle d'avant par précaution:

              # This entry automatically added by the Debian installer for a non-linux OS
              # on /dev/sdb1
              title		Microsoft Windows XP Professionnel
              rootnoverify	(hd1,0)
              savedefault
              makeactive
              map		(hd0) (hd1)
              map		(hd1) (hd0)
              chainloader	+1
              
              
              title Microsoft Windows XP Professionnel 1
              rootnoverify (hd0,0)
              savedefault
              makeactive
              chainloader +1 
              
              title Microsoft Windows XP Professionnel 2
              rootnoverify (hd1,0)
              savedefault
              makeactive
              chainloader +1 


              on laisse tomber les lignes "map" alors ?
              celle ci demarre bien mais c'est win 32 bit...
              1. Modérateur
                Re,

                Un des deux démarre quand même (en utilisant ce que je t'ai donné)?
                1. salut lami20j
                  non ça change rien il me met toujours
                  NTDLR is missing 

                  quand je lance les 2 windows...
                  merci de suivre...
                  ced ...
                  1. Modérateur
                    Re,

                    Mets ça dans ton menu.lst et essaie le démarrage pour les deux entrées

                    title Microsoft Windows XP Professionnel 1
                    rootnoverify (hd0,0)
                    savedefault
                    makeactive
                    chainloader +1 
                    
                    title Microsoft Windows XP Professionnel 2
                    rootnoverify (hd1,0)
                    savedefault
                    makeactive
                    chainloader +1 
                    1. salut lami20j...
                      j'espére que ça va bien...
                      bon pas trop de nouvelles , tu me laisse tomber comme une vieille chaussette ?
                      le sujet est toujours d'actualité...
                      merci de suivre ...
                      ced
                      1. ça?
                        ah ok chaque sîte c'est différent c'est pour ça ok pigé...
                        1. Modérateur
                          Re,

                          je ne t'ai pas demander de refaire les commande

                          Quand je parle des balises code, je parle de ccm, quand tu écris les message ici.

                          Voici un exemple

                          ici pas de balises code

                          ici il y a des balises code


                          Donc quand tu colle un message sur CCM tu le selectionne et ensuite tu fait clic sur le bouton <> qui et à droite de S
                          1. sda 5sont des données de samples/son pour mon sampleur virtuel...

                            pour les balises de code toujours pas compris là il me retourne qu'elles sont dejà montées....

                            cedric0@cedric0-desktop:~$ sudo -i
                            root@cedric0-desktop:~# for i in sda{1,5} sdb{1,5,6};do mkdir -v /mnt/$i;done
                            mkdir: ne peut créer le répertoire `/mnt/sda1': Le fichier existe
                            mkdir: ne peut créer le répertoire `/mnt/sda5': Le fichier existe
                            mkdir: ne peut créer le répertoire `/mnt/sdb1': Le fichier existe
                            mkdir: ne peut créer le répertoire `/mnt/sdb5': Le fichier existe
                            mkdir: ne peut créer le répertoire `/mnt/sdb6': Le fichier existe
                            root@cedric0-desktop:~#
                            1. Modérateur
                              Re,

                              C'est normal car j'ai une partition /home pour ext4 et ubuntu ...

                              Ca n'a rien à avoir. Les partition que je t'ai demandé de faire ls -l sont en NTFS

                              Donc d'après ce que je vois tes windows sont sur
                              sda1 et sdb1

                              sda5 c'est quoi?

                              On va continuer ce soir
                              1. c'est normal car j'ai une partition /home pour ext4 et ubuntu ...
                                cedric0@cedric0-desktop:~$ ls -l /mnt/sda1
                                total 7284
                                drwxrwxrwx 1 root root 4096 2009-10-12 09:35 a9d37ee36cf45e0dd397
                                drwxrwxrwx 1 root root 4096 2009-10-11 11:49 Documents and Settings
                                -rwxrwxrwx 1 root root 52576 2004-02-29 16:44 orange.bmp
                                drwxrwxrwx 1 root root 4096 2009-10-12 19:15 Program Files
                                drwxrwxrwx 1 root root 8192 2009-10-12 09:35 Program Files (x86)
                                drwxrwxrwx 1 root root 0 2009-10-13 11:55 RECYCLER
                                drwxrwxrwx 1 root root 4096 2009-10-10 11:15 System Volume Information
                                drwxrwxrwx 1 root root 0 2009-10-13 08:38 temp
                                -rwxrwxrwx 1 root root 5120 2009-10-13 13:40 Thumbs.db
                                drwxrwxrwx 1 root root 65536 2009-10-12 19:15 WINDOWS
                                -rwxrwxrwx 2 root root 7307032 2009-10-11 11:53 WMFormatSDK64.exe
                                drwxrwxrwx 1 root root 0 2009-10-12 17:36 WMSDK
                                cedric0@cedric0-desktop:~$

                                cedric0@cedric0-desktop:~$ ls -l /mnt/sda5
                                total 20
                                drwxrwxrwx 1 root root 4096 2009-08-17 09:58 AKAI
                                drwxrwxrwx 1 root root 0 2009-08-15 09:48 Documents and Settings
                                drwxrwxrwx 1 root root 4096 2009-10-13 13:40 drivers Fa-101 kontakt,reason,cubase windows
                                drwxrwxrwx 1 root root 0 2009-10-13 19:13 Kontakt 3 Library
                                drwxrwxrwx 1 root root 4096 2009-10-13 11:55 RECYCLER
                                drwxrwxrwx 1 root root 0 2009-10-10 17:23 sdk64bit a graver
                                drwxrwxrwx 1 root root 4096 2009-08-10 15:44 song cubase et fichiers audio
                                drwxrwxrwx 1 root root 4096 2009-08-14 18:20 System Volume Information
                                cedric0@cedric0-desktop:~$

                                cedric0@cedric0-desktop:~$ ls -l /mnt/sdb1
                                total 2095453
                                -rwxrwxrwx 1 root root 0 2009-10-13 09:33 AUTOEXEC.BAT
                                -rwxrwxrwx 1 root root 4952 2003-10-07 02:00 Bootfont.bin
                                -rwxrwxrwx 1 root root 224 2009-10-13 11:40 boot.ini
                                drwxrwxrwx 1 root root 0 2009-10-13 13:57 Config.Msi
                                -rwxrwxrwx 1 root root 0 2009-10-13 09:33 CONFIG.SYS
                                drwxrwxrwx 1 root root 4096 2009-10-13 09:35 Documents and Settings
                                -rwxrwxrwx 1 root root 0 2009-10-13 09:33 IO.SYS
                                -rwxrwxrwx 1 root root 0 2009-10-13 09:33 MSDOS.SYS
                                -rwxrwxrwx 1 root root 47564 2009-10-13 11:31 NTDETECT.COM
                                -rwxrwxrwx 1 root root 251712 2009-10-13 11:31 ntldr
                                drwxrwxrwx 1 root root 0 2009-10-13 13:54 NVIDIA
                                -rwxrwxrwx 1 root root 2145386496 2009-10-14 15:00 pagefile.sys
                                drwxrwxrwx 1 root root 8192 2009-10-13 13:58 Program Files
                                drwxrwxrwx 1 root root 0 2009-10-13 11:51 RECYCLER
                                drwxrwxrwx 1 root root 4096 2009-10-13 11:38 System Volume Information
                                drwxrwxrwx 1 root root 28672 2009-10-13 14:00 WINDOWS
                                cedric0@cedric0-desktop:~$

                                cedric0@cedric0-desktop:~$ ls -l /mnt/sdb5
                                total 20024
                                drwxrwxrwx 1 root root 4096 2009-10-04 10:12 archive ubuntu 9.04
                                drwxrwxrwx 1 root root 4096 2009-10-10 17:13 archive win 64 32 bit
                                drwxrwxrwx 1 root root 4096 2009-10-10 10:05 à revoir pour virtualisation et creation de flyers ezpublish et pb studio 64 portable
                                drwxrwxrwx 1 root root 0 2009-08-26 00:13 Avec fred
                                drwxrwxrwx 1 root root 4096 2009-10-13 08:46 book mark avant install win 32
                                drwxrwxrwx 1 root root 0 2009-10-10 09:57 flyers cour de zik et contenu pedagogique
                                drwxrwxrwx 1 root root 0 2009-10-13 08:38 logiciels de restauration de données xp et vista
                                drwxrwxrwx 1 root root 0 2009-10-10 10:14 marques page avant reformatage
                                drwxrwxrwx 1 root root 0 2009-10-06 20:55 mise a jours BIos pc0
                                drwxrwxrwx 1 root root 4096 2009-10-03 12:27 personnel
                                drwxrwxrwx 1 root root 0 2009-10-12 20:02 pilotes profire pour xp 32
                                -rwxrwxrwx 2 root root 142898 2009-10-07 18:54 pour tests performances...rns
                                -rwxrwxrwx 2 root root 10044704 2009-10-12 14:58 ProFire_V64_5_10_00_5077.exe
                                drwxrwxrwx 1 root root 4096 2009-10-13 11:55 RECYCLER
                                drwxrwxrwx 1 root root 4096 2009-10-13 08:58 sauvegarde utils
                                drwxrwxrwx 1 root root 4096 2009-08-14 18:20 System Volume Information
                                -rwxrwxrwx 2 root root 673439 2009-10-05 21:01 tests performances cubase en 24bit 48khz.cpr
                                -rwxrwxrwx 2 root root 621853 2009-10-07 18:56 tests performances cubase en 32 bit96khz.cpr
                                drwxrwxrwx 1 root root 4096 2009-08-13 09:53 veronique saint germain (albums...)
                                drwxrwxrwx 1 root root 4096 2009-08-17 12:12 veronique st Germain morceaux en chantier
                                drwxrwxrwx 1 root root 0 2009-10-12 17:51 XP_64_FireWire_Public_Beta_Driver
                                -rwxrwxrwx 2 root root 8974209 2009-10-12 09:04 XP_64_FireWire_Public_Beta_Driver.zip
                                cedric0@cedric0-desktop:~$

                                cedric0@cedric0-desktop:~$ ls -l /mnt/sdb6
                                total 4
                                drwxrwxrwx 1 root root 0 2009-10-13 11:55 RECYCLER
                                drwxrwxrwx 1 root root 4096 2009-10-07 17:33 System Volume Information
                                cedric0@cedric0-desktop:~$

                                ben moi ce que je comprend c'est que j'ai xp PRO 64 sur sda1 et 32 sur sdb1
                                là y a pas d"'erreur possible d'aprés moi puisque sur sda1 j'ai bien un dossier /programme files x86 et programmes files ( normal...)

                                et que sur sdb1 jai /programmes files ( tout court ) donc ce sont bien les partoches qui nous intérressent non ?
                                1. Modérateur
                                  Re,

                                  /dev/sda1 98G 11G 87G 12% /mnt/sda1
                                  /dev/sda5 69G 35G 35G 50% /mnt/sda5
                                  /dev/sdb1 98G 12G 86G 13% /mnt/sdb1
                                  /dev/sdb5 98G 17G 82G 17% /mnt/sdb5
                                  /dev/sdb6 13G 66M 13G 1% /mnt/sdb6


                                  Tu disais que tes windows sont installé sur des partition de 100 Go.
                                  Tu as 3 partitions de 98 Go.

                                  Affiche (j’insiste d’utiliser les balise code pour les commande – c’est pour la lisibilité) le résultat de

                                  ls -l /mnt/sda1
                                  ls -l /mnt/sda5
                                  ls -l /mnt/sdb1 
                                  ls -l /mnt/sdb5
                                  ls -l /mnt/sdb6

                                  • 1
                                  • 2
                                  • 3