#1 Le 15/10/2008, à 10:41
- Jef75
[Résolu] - Windows n'est plus dans le menu de boot
Je viens de réaliser les mises à jours et au boot je n'ai plus la ligne windows. Comment la récupérer ?
#2 Le 15/10/2008, à 11:02
- Compte anonymisé
Re : [Résolu] - Windows n'est plus dans le menu de boot
Salut
Certainement tu avais du modifier l'emplacement du paragraphe Xp dans le menu.lst (pour démarrer Xp par défaut par exemple) et la mise à jour t'a supprimé les références Xp.
Ce paragraphe Xp doit impérativement se trouver après la ligne :
### END DEBIAN AUTOMAGIC KERNELS LIST du fichier menu.lst.
Il ne te reste plus qu'à l'ajouter à la mimine :
sudo gedit /boot/grub/menu.lst
et ajouter un paragraphe de ce style :
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows XP Media Center Edition
root (hd0,0)
savedefault
makeactive
chainloader +1
Il faudra adapter la ligne en gras si Xp ne se trouve pas sur /dev/sda1
@+
Dernière modification par Compte anonymisé (Le 15/10/2008, à 11:03)
#3 Le 15/10/2008, à 11:26
- Jef75
Re : [Résolu] - Windows n'est plus dans le menu de boot
Salut
Certainement tu avais du modifier l'emplacement du paragraphe Xp dans le menu.lst (pour démarrer Xp par défaut par exemple) et la mise à jour t'a supprimé les références Xp.
Ce paragraphe Xp doit impérativement se trouver après la ligne :
### END DEBIAN AUTOMAGIC KERNELS LIST du fichier menu.lst.Il ne te reste plus qu'à l'ajouter à la mimine :
sudo gedit /boot/grub/menu.lst
et ajouter un paragraphe de ce style :# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows XP Media Center Edition
root (hd0,0)
savedefault
makeactive
chainloader +1Il faudra adapter la ligne en gras si Xp ne se trouve pas sur /dev/sda1
@+
Je n'ai jamais modifié le fichier car je n'ai pas les connaissances voulues et c'est le système linux qui démarrait par défaut
En suivant ton conseil, j'ai édité le fichier et le paragraphe windows existe toujours comme ci-après; que faire
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professionnel
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
#4 Le 15/10/2008, à 11:43
- Jef75
Re : [Résolu] - Windows n'est plus dans le menu de boot
Pour plus de précisions, lorsque je valide la ligne autre système, ça me renvoi:
Error 11 Unrecognized device string
ça veut dire quoi ?????
#5 Le 15/10/2008, à 12:09
- Compte anonymisé
Re : [Résolu] - Windows n'est plus dans le menu de boot
Pour plus de précisions, lorsque je valide la ligne autre système, ça me renvoi:
Error 11 Unrecognized device string
ça veut dire quoi ?????
"Autres systèmes" est simplement un séparateur (pour faire zolie)
Peux-tu lister ton fichier menu.lst et le résultat de :
sudo fdisk -l
@+
#6 Le 15/10/2008, à 12:18
- Jef75
Re : [Résolu] - Windows n'est plus dans le menu de boot
Edition du 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=6024a577-17e1-42dd-ab72-9c56c212d3b3 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,1)
## 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
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## 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
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd1,1)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6024a577-17e1-42dd-ab72-9c56c212d3b3 ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6024a577-17e1-42dd-ab72-9c56c212d3b3 ro single
initrd /boot/initrd.img-2.6.24-21-generic
title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd1,1)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=6024a577-17e1-42dd-ab72-9c56c212d3b3 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=6024a577-17e1-42dd-ab72-9c56c212d3b3 ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, kernel 2.6.24-17-generic
root (hd1,1)
kernel /boot/vmlinuz-2.6.24-17-generic root=UUID=6024a577-17e1-42dd-ab72-9c56c212d3b3 ro quiet splash
initrd /boot/initrd.img-2.6.24-17-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-17-generic (recovery mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.24-17-generic root=UUID=6024a577-17e1-42dd-ab72-9c56c212d3b3 ro single
initrd /boot/initrd.img-2.6.24-17-generic
title Ubuntu 8.04.1, kernel 2.6.24-16-generic
root (hd1,1)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=6024a577-17e1-42dd-ab72-9c56c212d3b3 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=6024a577-17e1-42dd-ab72-9c56c212d3b3 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04.1, kernel 2.6.22-14-generic
root (hd1,1)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=6024a577-17e1-42dd-ab72-9c56c212d3b3 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.22-14-generic (recovery mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=6024a577-17e1-42dd-ab72-9c56c212d3b3 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 8.04.1, memtest86+
root (hd1,1)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professionnel
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Résultat de fdisk -l
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 7471 29294527+ 83 Linux
/dev/sda3 7472 7533 498015 82 Linux swap / Solaris
/dev/sda4 7534 19457 95779530 f W95 Etendu (LBA)
/dev/sda5 7534 11357 30716248+ b W95 FAT32
/dev/sda6 11358 19457 65063218+ 7 HPFS/NTFS
Disque /dev/sdb: 82.3 Go, 82348277760 octets
255 heads, 63 sectors/track, 10011 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x3ed8f0d9
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 * 2 10011 80405325 f W95 Etendu (LBA)
/dev/sdb5 2 2565 20595298+ b W95 FAT32
/dev/sdb6 2566 3460 7189056 7 HPFS/NTFS
/dev/sdb7 3461 5513 16490691 b W95 FAT32
/dev/sdb8 5514 8067 20514973+ b W95 FAT32
/dev/sdb9 8068 10011 15615148+ b W95 FAT32
u49chef@pcduchef49:~$
#7 Le 15/10/2008, à 15:25
- Compte anonymisé
Re : [Résolu] - Windows n'est plus dans le menu de boot
Salut
En fait il s'agit simplement d'un problème d'affichage. Ta ligne Windows est bien présente mais non affichée.
2 solutions :
1) Au boot à l'affichage du menu grâce à la "flèche bas" tu peux faire défiler les items du menu.
2) Tu fais un peu de ménage dans les kernels en ne gardant que les 2 derniers et tu désinstalles les 2.6.24-17 jusqu'à 2.6.24-14.
En parallèle tu modifies dans le fichier menu.lst la ligne :
# howmany=all
par
# howmany=2 --> 2 dernières versions du kernel affichées.
puis tu valides par
sudo update-grub
Ton menu sera beaucoup + clean.
@+
#8 Le 15/10/2008, à 17:19
- Jef75
Re : [Résolu] - Windows n'est plus dans le menu de boot
Etant nul en système linux comment faire la manip de désinstall des kernels en trop
Merci pour ton aide
#9 Le 15/10/2008, à 17:38
- Compte anonymisé
Re : [Résolu] - Windows n'est plus dans le menu de boot
Tu lances synaptic et tu dois pouvoir rechercher avec 2.6.24- les paquets.
Attention de bien conserver les 2 dernières versions :
2.6.24-19 et 2.6.24-21
@+
#10 Le 15/10/2008, à 23:32
- Jef75
Re : [Résolu] - Windows n'est plus dans le menu de boot
Merci pour votre aide j'ai retrouvé ma ligne windows qui était simplement cachée. Cela m'a permis d'approfondir un peu mes connaissance en linux.
Je ne sais pas comment modifier le titre de la demande initiale.
Hors ligne
#11 Le 16/10/2008, à 19:01
- michel2652
Re : [Résolu] - Windows n'est plus dans le menu de boot
Bonjour,
Je ne sais pas comment modifier le titre de la demande initiale.
Tu as ouvert ce post en invité, avant de t'inscrire sur le Forum.
Je modifie le titre.
A+