Dual boot ubuntu/win xp

Résolu/Fermé
seifamou Messages postés 11 Date d'inscription lundi 3 décembre 2007 Statut Membre Dernière intervention 8 septembre 2010 - 18 mars 2010 à 17:40
seifamou Messages postés 11 Date d'inscription lundi 3 décembre 2007 Statut Membre Dernière intervention 8 septembre 2010 - 20 mars 2010 à 00:14
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 :)
A voir également:

2 réponses

le druide Messages postés 40156 Date d'inscription vendredi 16 avril 2004 Statut Contributeur Dernière intervention 15 octobre 2023 6 606
Modifié par le druide le 18/03/2010 à 23:00
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
seifamou Messages postés 11 Date d'inscription lundi 3 décembre 2007 Statut Membre Dernière intervention 8 septembre 2010 2
20 mars 2010 à 00:12
merci le druide c exactement mon probleme et tu m'a permis de le resoudre juste en modifianr le fichier boot.ini
0
matser1973 Messages postés 347 Date d'inscription dimanche 29 octobre 2006 Statut Membre Dernière intervention 5 juin 2015 104
Modifié par matser1973 le 19/03/2010 à 03:11
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
seifamou Messages postés 11 Date d'inscription lundi 3 décembre 2007 Statut Membre Dernière intervention 8 septembre 2010 2
20 mars 2010 à 00:14
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