Aller au contenu
  • Pas encore inscrit ?

    Pourquoi ne pas vous inscrire ? C'est simple, rapide et gratuit.
    Pour en savoir plus, lisez Les avantages de l'inscription... et la Charte de Zébulon.
    De plus, les messages que vous postez en tant qu'invité restent invisibles tant qu'un modérateur ne les a pas validés. Inscrivez-vous, ce sera un gain de temps pour tout le monde, vous, les helpeurs et les modérateurs ! :wink:

plus de windows


partoch

Messages recommandés

salut,

jai un petit souci, je n'ai plus de windows dans mon nenu grub, apres avoir instaler ubuntu 8.10, a la place de ma mandriva 2008.

je vous poste mon fdisk:

ubuntu@ubuntu:~$ sudo fdisk -l

 

Disk /dev/sda: 100.0 GB, 100030242816 bytes

255 heads, 63 sectors/track, 12161 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0xba7ea4f6

 

Device Boot Start End Blocks Id System

/dev/sda1 1 637 5116671 12 Compaq diagnostics

/dev/sda2 * 638 6367 46026225 7 HPFS/NTFS

/dev/sda3 6368 7377 8112825 7 HPFS/NTFS

/dev/sda4 7378 9869 20016990 5 Extended

/dev/sda5 7378 8396 8185086 83 Linux

/dev/sda6 8397 8905 4088511 82 Linux swap / Solaris

/dev/sda7 8906 9869 7743298+ 83 Linux

ubuntu@ubuntu:~$

 

 

si il vous faut autre chose dite le mois

Lien vers le commentaire
Partager sur d’autres sites

salut,

jai un petit souci, je n'ai plus de windows dans mon nenu grub, apres avoir instaler ubuntu 8.10, a la place de ma mandriva 2008.

Bien fait ! La Mandriva 2008 est mieux. :P

 

Je ne connais pas les outils graphiques d'Ubuntu pour modifier le menu de grub mais, au pire, tu peux rajouter les lignes ci-dessous en éditant ton fichier /boot/grub/menu.lst.

 

Si, comme c'est probable, la partition sda2 contient le système Windows :

title windows
root (hd0,1)
makeactive
chainloader +1

Si sda3 contient le système Windows :

title windows
root (hd0,2)
makeactive
chainloader +1

Lien vers le commentaire
Partager sur d’autres sites

bonjour,

et si tu peux mettre aussi

sudo cat /etc/fstab

a+

voici :

olive@olive-laptop:~$ sudo cat /etc/fstab

# /etc/fstab: static file system information.

#

# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0

# /dev/sda5

UUID=e9467ccb-a448-4f75-8c62-291b0fcf2126 / ext3 relatime,errors=remount-ro 0 1

# /dev/sda6

UUID=c649b740-29ba-43b5-8bba-91050fda5750 none swap sw 0 0

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

olive@olive-laptop:~$

et mon menu lst :

 

# menu.lst - See: grub(:P, info grub, update-grub(:P

# grub-install(:P, grub-floppy(:P,

# 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=e9467ccb-a448-4f75-8c62-291b0fcf2126 ro

 

## default grub root device

## e.g. groot=(hd0,0)

# groot=e9467ccb-a448-4f75-8c62-291b0fcf2126

 

## 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.10, kernel 2.6.27-7-generic

uuid e9467ccb-a448-4f75-8c62-291b0fcf2126

kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=e9467ccb-a448-4f75-8c62-291b0fcf2126 ro quiet splash

initrd /boot/initrd.img-2.6.27-7-generic

quiet

 

title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)

uuid e9467ccb-a448-4f75-8c62-291b0fcf2126

kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=e9467ccb-a448-4f75-8c62-291b0fcf2126 ro single

initrd /boot/initrd.img-2.6.27-7-generic

 

title Ubuntu 8.10, memtest86+

uuid e9467ccb-a448-4f75-8c62-291b0fcf2126

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 Windows NT/2000/XP

root (hd0,0)

savedefault

makeactive

chainloader +1

Modifié par partoch
Lien vers le commentaire
Partager sur d’autres sites

Tu as bien une ligne pour lancer Windows :

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

 

Mais qui doit pas fonctionner puisque sda1 est apparemment une partition de restauration ou une s.......e du même genre.

Ton Windows est, soit sur sda2, soit sur sda3.

   Device Boot	  Start		 End	  Blocks   Id  System
/dev/sda1			   1		 637	 5116671   12  Compaq diagnostics
/dev/sda2   *		 638		6367	46026225	7  HPFS/NTFS
/dev/sda3			6368		7377	 8112825	7  HPFS/NTFS

 

Remplace « root (hd0,0) » par « root (hd0,1) » pour sda2 et ça devrait fonctionner.

 

A moins que ce soit sda3 et donc « root (hd0,2) ».

Modifié par gibé
Lien vers le commentaire
Partager sur d’autres sites

bonjour,

tu peux tester directement au boot du grub

un petit coup d'echap

tu te mets sur la ligne windows

tu tapes e pour edit

la tu as le menu

tu te mets sur la ligne root(hd0,0)

un petit e

et la tu modifie valide avec entrer

et ensuite b pour boot et si c'est bon hop sinon tu recommence e etc..

a+

Lien vers le commentaire
Partager sur d’autres sites

j'ai bien fais les deux proposition mais sa ne marche pas.

 

je vous post mon menu.lst :

 

# menu.lst - See: grub(:P, info grub, update-grub(:P

# grub-install(:P, grub-floppy(:P,

# 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=e9467ccb-a448-4f75-8c62-291b0fcf2126 ro

 

## default grub root device

## e.g. groot=(hd0,0)

# groot=e9467ccb-a448-4f75-8c62-291b0fcf2126

 

## 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.10, kernel 2.6.27-7-generic

uuid e9467ccb-a448-4f75-8c62-291b0fcf2126

kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=e9467ccb-a448-4f75-8c62-291b0fcf2126 ro quiet splash

initrd /boot/initrd.img-2.6.27-7-generic

quiet

 

title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)

uuid e9467ccb-a448-4f75-8c62-291b0fcf2126

kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=e9467ccb-a448-4f75-8c62-291b0fcf2126 ro single

initrd /boot/initrd.img-2.6.27-7-generic

 

title Ubuntu 8.10, memtest86+

uuid e9467ccb-a448-4f75-8c62-291b0fcf2126

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 Windows NT/2000/XP

root (hd0,1)

savedefault

makeactive

chainloader +1

 

et quand je reboot sur windows apres la manip au lieux d'avoir ma partition de restauration, j'ai un message d'erreur qui dit sa :

 

[Minimal BASH-Like line editing is supported.for

the first word, TAB list possible command

completions. Anywhere else TAB list the possible

completions of a devise/fileman.]

 

du coup sa crain toujours.

 

je reste a votre écoute :P

Lien vers le commentaire
Partager sur d’autres sites

Tu as bien une ligne pour lancer Windows :

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

 

Mais qui doit pas fonctionner puisque sda1 est apparemment une partition de restauration ou une s.......e du même genre.

En me relisant, j'ai un doute, il est possible que Windows boote sur cette partition tout en étant installé sur sda2 ou sda3.

Dans ce cas ce serait bien « root (hd0,0) ».

 

Si ton windows est opérationnel, il doit bien y avoir une des trois partitions qui boote.

« root (hd0,0) », « root (hd0,1) » ou « root (hd0,2) ».

 

Au pire, tu peux vérifier le bon fonctionnement de Windows en remettant son MBR d'origine.

Il faut booter sur le CD Windows et en mode « réparation » utiliser les commandes fixboot et fixmbr.

A vérifier, je fais ça de mémoire et ça peut changer en fonction du Windows utilisé (c'est quel Windows ?)

 

Ensuite, si Windows fonctionne, tu réinstalle Grub en bootant en mode rescue sur le CD d'Ubuntu.

 

[Troll]De toutes façons Mandriva est bien mieux[/Troll] :P

Lien vers le commentaire
Partager sur d’autres sites

Rejoindre la conversation

Vous publiez en tant qu’invité. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.
Remarque : votre message nécessitera l’approbation d’un modérateur avant de pouvoir être visible.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

  • En ligne récemment   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
×
×
  • Créer...