Dual boot ubuntu/win xp

Résolu
seifamou Messages postés 13 Statut Membre -  
seifamou Messages postés 13 Statut Membre -
salut
j'ai un probleme qui a survenu juste apres installation de ubuntu, pourtant j'ai deja preparé les partitions necessaires d'avance, en fait j'ai perdu windows !

voila ce que fdisk me donne

root@seifamou-laptop:~# fdisk -l /dev/sda

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

Périphérique Amorce  Début        Fin      Blocs     Id  Système
/dev/sda1               1       10366    83264863+   f  W95 Etendue (LBA)
/dev/sda2   *       10367       19458    73019392    7  HPFS/NTFS
/dev/sda5            1914       10366    67898691    7  HPFS/NTFS
/dev/sda6               1        1670    13414180+  83  Linux
/dev/sda7            1671        1913     1951866   82  Linux swap / Solaris

Les entrées de la table de partitions ne sont pas dans l'ordre du disque



je pense que mon probleme est dans le fichier boot.ini de windows

voila mon boot.ini

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professionnel" /fastdetect



j'aierais bien que vous pourriez me guider pour corriger ce probleme

merci :)

2 réponses

  1. le druide Messages postés 40644 Date d'inscription   Statut Contributeur Dernière intervention   6 616
     
    Salut,

    Grub te donnes le choix au boot entre xp et linux et c'est après qu'xp ne boot pas ?

    Si c'est le cas modifie ton boot.ini, je vois qu'il pointe sur la partition 3 alors que çà devrait pointer sur la /dev/sda2 logiquement (d'après fdisk).

    Ton fichier boot.ini après la modif... :

    [boot loader]

    timeout=30

    default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS

    [operating systems]

    multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professionnel" /fastdetect


    le druide sans la potion.
    1
    1. seifamou Messages postés 13 Statut Membre 2
       
      merci le druide c exactement mon probleme et tu m'a permis de le resoudre juste en modifianr le fichier boot.ini
      0
  2. matser1973 Messages postés 366 Statut Membre 104
     
    salut,

    c'est peut-être le fichier /boot/grub/menu.lst.
    regarde ceci, ça pourrais t'aider à faire ton menu.lst:

    ##
    ############### Acrux @ NaLug ##################
    ##
    ### Global settings

    ## GRUB splash image
    ## splashimage (hd0,0)/boot/grub/slack_nalug.xpm.gz
    ## define special fore-/background colors for splash screen image
    # foreground = FFFFFF
    # background = AAAAAA

    ## shaded text
    #shade 1

    ## time to wait for user interaction
    timeout 30

    ## default boot kernel
    default 0

    ### GRUB Devices:
    ##
    ## Linux Grub
    ## ======================
    ## /dev/hda (hd0)
    ## /dev/hda1 (hd0,0)
    ## /dev/hdb (hd1)
    ## /dev/hdb1 (hd1,0)
    ## /dev/fd0 (fd0)

    ### FRAMEBUFFER RESOLUTION SETTINGS
    ## +-------------------------------------------------+
    ## | 640x480 800x600 1024x768 1280x1024
    ## ----+--------------------------------------------
    ## 256 | 0x301=769 0x303=771 0x305=773 0x307=775
    ## 32K | 0x310=784 0x313=787 0x316=790 0x319=793
    ## 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
    ## 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
    ## +-------------------------------------------------+

    ## Default menu entries

    title GNU/Linux
    kernel (hd0,0)/boot/vmlinuz vga=0x315 root=/dev/hda1 ro

    title GNU/Linux (old)
    kernel (hd0,0)/boot/vmlinuz.old root=/dev/hda1

    ### Special cases

    ## Boot special bootimage
    #title Memtest
    #kernel (hd0,0)/boot/memtest.bin

    ## Boot FreeDOS
    # title freedos
    # root (hd0,4)
    # makeactive
    # chainloader +1
    # boot

    ## Boot Microsoft Windows(TM)
    #title Windows
    #root (hd0,5)
    #makeactive
    #chainloader +1

    ## Boot from Floppy
    #title floppy
    #root (fd0)
    #chainloader +1

    ## Boot with different /boot partition
    ## / = /dev/hdb2 = (hd1,1)
    ## /boot = /dev/hdb1 = (hd1,0)
    ##
    #title Slackware GNU/Linux drive 2
    #kernel (hd1,0)/vmlinuz root=/dev/hdb2
    0
    1. seifamou Messages postés 13 Statut Membre 2
       
      merci master1973 pour la reponse mais trop compliqué pour la comprendre :/

      mnt mon probleme est resolu juste en rectifiant le fichier boot.ini de windows :)
      0