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 20/02/2007, à 23:56

Cindy_12

XP a disparru

Bonjour
alors j'ai installé linux il y a de cela une semaine jusqu'a présent pas de soucis jusqu'a aujourd'hui ou XP a disparu de mon choi au démarrage me laissant la choix entre ubuntu et ubuntu ...
lorsque je tape dans la console sudo fdisk -l voila ce qui s'affiche
isque /dev/sda: 118.5 Go, 118526284800 octets
255 têtes, 63 secteurs/piste, 14410 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1               1          10       80293+  de  Dell Utility
/dev/sda2   *          11       10536    84550095    7  HPFS/NTFS
/dev/sda3           10537       13998    27808515    5  Extended
/dev/sda4           13999       14409     3301357+  db  CP/M / CTOS / ...
/dev/sda5           13854       13998     1164681   82  Linux swap / Solaris
/dev/sda6           10537       11752     9767457   83  Linux
/dev/sda7           11753       13853    16876251   83  Linux

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

je fais mes premiers pas sous ubuntu je n y connais encore pas gd chose et je suis un peu dépité car j'ai besoin de xp pour travailler.
Merci de votre aide
Cindy

#2 Le 21/02/2007, à 00:00

best_friend_fr

Re : XP a disparru

Bonjour

Grub se lance-t-il au démarrage?

Si oui, donne le contenu de ton fichier /boot/grub/menu.lst


sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne

#3 Le 21/02/2007, à 00:06

Cindy_12

Re : XP a disparru

Si grub est ce qui permet de faire le choix du système d'exploitation lorsque on démarre l'ordi oui il se lance par contre comme j'ai dit je suis une vraie débutante et je ne sais pas comment il faut faire pour lister ce qu'il y a dans le répertoire que tu me demande. Je suis désolée de mon ignorance.

#4 Le 21/02/2007, à 00:10

best_friend_fr

Re : XP a disparru

tu tappes dans une console
gedit /boot/grub/menu.lst

et tu nous mets ce qu'il y a dans le fichier


sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne

#5 Le 21/02/2007, à 00:15

cindy_12

Re : XP a disparru

# 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 change this entry to 'saved' 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=98467395-c8a8-4526-83d1-aac96ccc0cd8 ro
# kopt_2_6=root=/dev/sda6 ro

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

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

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

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

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title        Ubuntu, kernel 2.6.17-11-generic
root        (hd0,5)
kernel        /boot/vmlinuz-2.6.17-11-generic root=/dev/sda6 ro quiet splash
initrd        /boot/initrd.img-2.6.17-11-generic
quiet
savedefault
boot

title        Ubuntu, kernel 2.6.17-11-generic (recovery mode)
root        (hd0,5)
kernel        /boot/vmlinuz-2.6.17-11-generic root=/dev/sda6 ro single
initrd        /boot/initrd.img-2.6.17-11-generic
boot

title        Ubuntu, kernel 2.6.17-10-generic
root        (hd0,5)
kernel        /boot/vmlinuz-2.6.17-10-generic root=/dev/sda6 ro quiet splash
initrd        /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title        Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root        (hd0,5)
kernel        /boot/vmlinuz-2.6.17-10-generic root=/dev/sda6 ro single
initrd        /boot/initrd.img-2.6.17-10-generic
boot

title        Ubuntu, memtest86+
root        (hd0,5)
kernel        /boot/memtest86+.bin
quiet
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title        Autres :   
root

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda4
title        Windows NT/2000/XP
root        (hd0,3)
savedefault
makeactive
chainloader    +1

title        Ubuntu, memtest86+
root        (hd0,5)
kernel        /boot/memtest86+.bin
quiet
boot

Voila j'espère que c'est bien ce que vous attendiez

#6 Le 21/02/2007, à 00:18

best_friend_fr

Re : XP a disparru

Salut,

Normalement, dans grub (le machin qui se lance au démarrage pour choisir ton système), la 7e ligne se nomme Windows NT/2000/XP
Est-ce le cas ?

Si oui, qu'est-ce qui se passe quand tu fais entrée dessus?
Si non, ben, qu'est ce que tu as comme lignes?


sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne

#7 Le 21/02/2007, à 00:21

cindy_12

Re : XP a disparru

oui c'est exact bé j'ai déja essayé de démarré ac c'est norton gost qui souvre mais comme je n'ai pas acheté le logiciel je n'ai aucun point pour restaurer mon système après il y a peut être d'autre fonctionnalités ...

#8 Le 21/02/2007, à 00:23

best_friend_fr

Re : XP a disparru

ok

donc, tous ces problèmes se sont produits suite à l'utilisation de norton Ghost?
As-tu
Utilisé Norton Ghost
Mis a jour Ubuntu avant meme de redémarré sous windows?


sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne

#9 Le 21/02/2007, à 00:28

cindy_12

Re : XP a disparru

Non j ai démarré ac norton gost qd j'ai vu que windows XP avait disparut je voulais voir ce que c'était. Non tt ceci c'est produit apres une mise a jour de ubuntu la première que je faisais (c'étais des mises à jour de sécurité il me semble) car je venais de connecter mon pc sous ubuntu pour la première fois à internet. Lorsque le système a redémarré bé je ne pouvais plus accéder a XP ...
Je ne sais pas si je suis tres claire, en tt cas j'espère

#10 Le 21/02/2007, à 00:31

Compte anonymisé

Re : XP a disparru

Salut

Tu devrais modifier dans ton menu.lst ceci :

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda4
title        Windows NT/2000/XP
root        (hd0,3)
savedefault
makeactive
chainloader    +1

par ça :

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


@+

#11 Le 21/02/2007, à 00:31

best_friend_fr

Re : XP a disparru

Peux-tu confirmer que ton windows est installé sur ton disque sda2 ? ou est-ce en sda4?

Pour que ton disque puisse démarrer sur ghost, c'est forcément que tu as utilisé ce logiciel. Quand tu l'utilise, norton crée une petite partition sur ton disque et démarre dessus. La, apparemment, il ne l'a pas effacée, et c'est ce qui pose problème.

Si windows est en sda2, il faut remplacer le (hd0,3) en (hd0,1) dans le fichier /boot/grub/menu.lst

Dernière modification par best_friend_fr (Le 21/02/2007, à 00:32)


sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne

#12 Le 21/02/2007, à 00:35

cindy_12

Re : XP a disparru

Je ne sais pas si sur sda 2 ou 4 je suis complétement perdu c'est un bon ami qui ma tt installé je sais que c'est sur la partition du disque la plus importante mais je n'en sais pas plus

#13 Le 21/02/2007, à 00:35

best_friend_fr

Re : XP a disparru

C'est sans doute sur le 2. Fais la modification décrite au dessus.

Pour modifier le fichier, il faut tapper dans la console

sudo gedit /boot/grub/menu.lst

Dernière modification par best_friend_fr (Le 21/02/2007, à 00:36)


sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne

#14 Le 21/02/2007, à 00:42

cindy_12

Re : XP a disparru

j'ai fait cette modif je redémarre mon pc mnt ou il y autre chose à faire ?

#15 Le 21/02/2007, à 00:44

best_friend_fr

Re : XP a disparru

non, normalement, c'est bon.
Dis nous quand meme si ca a marché


sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne

#16 Le 21/02/2007, à 00:46

cindy_12

Re : XP a disparru

non tjs pas de XP dans mon choix de système d'exploitation au démarage...
Merci tout de même de m'aider malgré il faut le dire ma connaissance quasi nulle de ubuntu !

#17 Le 21/02/2007, à 00:49

best_friend_fr

Re : XP a disparru

En fait, la, on a modifié l'entrée
Windows NT/2000/XP
de ton grub

Pour lancer windows, il faut donc appuyer sur entrée sur la 7e ligne (enfin, celle appelée comme ca).
Si ca marche, on renommera les entrées comme tu veux wink

Et pas de problème, on est la pour ca


sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne

#18 Le 21/02/2007, à 00:55

cindy_12

Re : XP a disparru

ça marche !!!
Merci beaucoup par contre j'aimerais faire un peu de ménage dans le grub car j'ai les choix ubuntu en double et je ne pense pas que cela soit tres utile. Enfin si ous me dite l'inverse je ne suis pas tres têtue comme fille wink
Par contre est ce que à chaque fois que je fais des mises à jour de sécurité j'ai ce risque la de plus pouvoir redémarré sous xp ?

#19 Le 21/02/2007, à 01:00

best_friend_fr

Re : XP a disparru

Réponse à la 1:
On peut faire du ménage.
En fait, les "doubles" correspondent à deux noyaux linux installés sur ton ordi. Comme il y a une possibilité que plus rien ne marche quand tu change, ubuntu garde l'ancien.
Si le 11 marche, tu peux désinstaller le 10 dans synaptic, en désinstallant

linux-headers-2.6.17-10-generic
et de manière générale, tous les paquets commencant par linux qui ont un numéro 2.6.17-10, mais uniquement si le paquet correspondant avec -11 est installé

Ca enlèvera l'entrée de grub.

Pour la 2:
C'est tout à fait possible. Ca vient du fait que norton ghost a oublié sa partition. Tu peux essayer de la supprimer, ou espérer que le problème ne se reproduira plus (au pire, tu connais la solution).


sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne

#20 Le 21/02/2007, à 13:07

cindy_12

Re : XP a disparru

J'ai supprimé ce que tu m'as indiqué mais l'entré du grub n'a pas été suprimée ... Si tu as 2 min a m'accorder

#21 Le 21/02/2007, à 13:18

best_friend_fr

Re : XP a disparru

Salut

Si tu as bien supprimé les
linux-image
linux-headers
linux-restricted

correspondant à la version que tu ne veux plus, essaye de tapper
cp /boot/grub/menu.lst ~/
sudo update-grub

Ensuite, essaye de redémarrer sous windows (c'est possible que ca casse le truc, ca fera un bon test), et regarde les entrées que tu as...


sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne

#22 Le 21/02/2007, à 13:32

cindy_12

Re : XP a disparru

ça a marché parfait. tout semble fonctionner correctement ! merci pour ton aide !!!!

#23 Le 21/02/2007, à 14:11

best_friend_fr

Re : XP a disparru

De rien. A une prochaine fois...


sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne