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 03/07/2008, à 10:46

Enelos08

je crois avoir perdu XP

salut,

j'ai installé ubuntu hier en parallèle de WinXP.
je n'arrive malheureusement pas à retrouver ma partition avec Xp pour le boot de départ.
j'ai certainement fait une fausse manip et j'ai peut-être écraser XP


En faisant un sudo fdisk -l, j'obtiens:

Disque /dev/sda: 160.0 Go, 160041885696 octets
255 heads, 63 sectors/track, 19457 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x4bad9bd2

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1        2579    20715786   82  Linux swap / Solaris
/dev/sda3            2580       17258   117909067+   f  W95 Etendu (LBA)
/dev/sda5            6286        8936    21294126    7  HPFS/NTFS
/dev/sda6           11386       17258    47174841   83  Linux
/dev/sda7            2580        6126    28491214+  83  Linux
/dev/sda8            6127        6285     1277136   82  Linux swap / Solaris

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

Disque /dev/sdb: 4303 Mo, 4303272960 octets
255 heads, 63 sectors/track, 523 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x613214eb

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1               2         523     4192965    5  Extended
/dev/sdb5               2         523     4192933+   7  HPFS/NTFS

Si vous pouviez m'aider, d'avance merci.

#2 Le 03/07/2008, à 10:51

gallizour

Re : je crois avoir perdu XP

/dev/sda3            2580       17258   117909067+   f  W95 Etendu (LBA)
/dev/sda5            6286        8936    21294126    7  HPFS/NTFS

Il y est pourtant!
Faut installer le grub!


Ubuntu 22.04 sur imedia Si34G1TU01 8go ram

Hors ligne

#3 Le 03/07/2008, à 11:01

Enelos08

Re : je crois avoir perdu XP

j'ai le Grub
et dans menu.lst


# 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 use 'savedefault' 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        10

## 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=UUID=cadfa865-4961-439f-82f0-82eb94b33622 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,6)

## 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=false

## 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

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) 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=false

## ## End Default Options ##

title        Debian GNU/Linux, kernel 2.6.24-19-generic
root        (hd0,6)
kernel        /boot/vmlinuz-2.6.24-19-generic root=UUID=cadfa865-4961-439f-82f0-82eb94b33622 ro quiet splash
initrd        /boot/initrd.img-2.6.24-19-generic
boot

title        Debian GNU/Linux, kernel 2.6.24-19-generic (recovery mode)
root        (hd0,6)
kernel        /boot/vmlinuz-2.6.24-19-generic root=UUID=cadfa865-4961-439f-82f0-82eb94b33622 ro single
initrd        /boot/initrd.img-2.6.24-19-generic
boot

title        Debian GNU/Linux, kernel 2.6.24-16-generic
root        (hd0,6)
kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=cadfa865-4961-439f-82f0-82eb94b33622 ro quiet splash
initrd        /boot/initrd.img-2.6.24-16-generic
boot

title        Debian GNU/Linux, kernel 2.6.24-16-generic (recovery mode)
root        (hd0,6)
kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=cadfa865-4961-439f-82f0-82eb94b33622 ro single
initrd        /boot/initrd.img-2.6.24-16-generic
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title        Window XP
root        (hd0,5)
savedefault
makeactive
chainloader    +1


j'ai bien le menu,mais il ne peux booter  dessus.
pour "root (hd0,5)", je les ai tous essayé sans succès.

#4 Le 03/07/2008, à 11:11

Nasman

Re : je crois avoir perdu XP

Je ne crois pas que XP soit dans une partition logique. Le sda5 et sdb5 doivent être des données.
Je pense plutôt que feu XP était sur sda1.

Si tu nous en disait un peu plus sur les systèmes et partitions présents avant l'installation, celà permettrait de faire un diagnostic plus précis.
(XP préinstallé ? partitions de données...)
Tu as du faire deux fois l'installation.


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

En ligne

#5 Le 03/07/2008, à 12:47

Enelos08

Re : je crois avoir perdu XP

bon, je vais essayer de me souvenir:

j'avais Xp préinstallé.
2 disques physiques: 160 go et  4 go pour mes sauvegardes
le 160 go partitionné comme suis:
- C: Win XP
- D: Les programmes
- E:  mp3, vidéo

le 4 GO, lettre F.

j'ai fait une installation d'ubuntu qui a planté. je ne sais plus ce que j'avais choisi pour le partitionnement.
je pouvais par contre retourner sous XP.
j'ai donc télécharger un nouvelle version (celle que j'utilise actuellement). J'ai pris une partie du dique E pour ext3, et une partie de C pour la partition swap.

#6 Le 04/07/2008, à 13:09

sylvain1970

Re : je crois avoir perdu XP

Bonjour,

/dev/sda3            2580       17258   117909067+   f  W95 Etendu (LBA)
/dev/sda5            6286        8936    21294126    7  HPFS/NTFS

Windows est/était sur une partition étendue ?

EDIT :

/dev/sda1   *           1        2579    20715786   82  Linux swap / Solaris

çà fait un gros swap.

il faudrait savoir ce que tu as fait lors de l'installation.

Dernière modification par sylvain1970 (Le 04/07/2008, à 13:15)

Hors ligne

#7 Le 04/07/2008, à 13:31

Nasman

Re : je crois avoir perdu XP

J'ai bien l'impression que ton XP était sur sda1 et maintenant il y a le swap.

A mon avis tu as formaté ton XP. Reste à savoir si tu peux le réinstaller ; pour celà il te faudrait:
- un CD XP (parfois livré avec XP préinstallé)
- ou un CD de restauration (en espérant que le PC n'était pas tatoué), livré ou que tu aurais fait
- + sauvegarde du mbr en cas de PC tatoué.


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

En ligne