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.

#26 Le 12/07/2007, à 00:01

belga

Re : [Résolu] error 17 grub

?

Dernière modification par belga (Le 15/10/2007, à 23:58)


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#27 Le 12/07/2007, à 00:20

Spi

Re : [Résolu] error 17 grub

je fais ca et je te poste le resultat

#28 Le 12/07/2007, à 00:21

Spi

Re : [Résolu] error 17 grub

voici le menu.Ist

# 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=fca98f9b-742e-411b-af39-b598bcaa67c1 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

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

## 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 locale=fr_FR

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

## ## End Default Options ##

title		Ubuntu, kernel 2.6.20-15-generic
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=fca98f9b-742e-411b-af39-b598bcaa67c1 ro quiet splash locale=fr_FR
initrd		/boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=fca98f9b-742e-411b-af39-b598bcaa67c1 ro single
initrd		/boot/initrd.img-2.6.20-15-generic

title		Ubuntu, memtest86+
root		(hd1,0)
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 Home Edition
root		(hd0,0)
savedefault
chainloader	+1

#29 Le 12/07/2007, à 00:25

Spi

Re : [Résolu] error 17 grub

voila le menu.Ist modifier

# 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=fca98f9b-742e-411b-af39-b598bcaa67c1 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

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

## 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 locale=fr_FR

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

## ## End Default Options ##
title           Ubuntu test
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=fca98f9b-742e-411b-af39-b598bcaa67c1 ro quiet splash locale=fr_FR
initrd          /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.20-15-generic
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=fca98f9b-742e-411b-af39-b598bcaa67c1 ro quiet splash locale=fr_FR
initrd		/boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=fca98f9b-742e-411b-af39-b598bcaa67c1 ro single
initrd		/boot/initrd.img-2.6.20-15-generic

title		Ubuntu, memtest86+
root		(hd1,0)
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 Home Edition
root		(hd0,0)
savedefault
chainloader	+1

je boost et te tiens au courant

#30 Le 12/07/2007, à 00:30

belga

Re : [Résolu] error 17 grub

ok


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#31 Le 12/07/2007, à 00:33

Spi

Re : [Résolu] error 17 grub

voila donc il me lance toujours xp en premier
la il m'a lancer ubuntu mais pas en test

il me met toujours error 17 si je le lance avec les autres choix

#32 Le 12/07/2007, à 00:36

belga

Re : [Résolu] error 17 grub

je ne comprends pas, si tu changes l'ordre des démarrages,
il ne doit pas te lancer XP.
Bien sûr les autres choix donneront erreur 17.
Mais c'est ubuntu test qu'on veut.


Au démarrage, il doit te donner le menu de grub.
Après on pourra travailler.

Dernière modification par belga (Le 12/07/2007, à 00:36)


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#33 Le 12/07/2007, à 00:40

Spi

Re : [Résolu] error 17 grub

il melance en test donc c'est bon
on s'approche du bon résultat vu que je suis plus en live

#34 Le 12/07/2007, à 00:46

belga

Re : [Résolu] error 17 grub

smile
tape

sudo gedit /boot/grub/menu.lst

repère la ligne

# groot=(hd1,0)

et change la en

# groot=(hd0,0)

enregistre
puis tape

sudo update-grub

puis poste moi la fin (partie windows) du retour

cat /boot/grub/menu.lst

Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#35 Le 12/07/2007, à 00:55

Spi

Re : [Résolu] error 17 grub

j'ai un pti soucis de password

je trouve et jte tiens au courant

#36 Le 12/07/2007, à 01:00

Spi

Re : [Résolu] error 17 grub

dsl je ne peux pas m identifier en sudo mon mot de passe est incorrect appareement il ne doit pas etre le meme que lors de mon identification.

#37 Le 12/07/2007, à 01:01

Spi

Re : [Résolu] error 17 grub

soucis non résolu

il me demande un password mais quand je mets le mien il me dit que c'est pas bon...:(

#38 Le 12/07/2007, à 01:02

belga

Re : [Résolu] error 17 grub

Drôle ça
ça doit être le même. regarde si tu n'es pas en majuscules
(je sais c'est con, mais c'est pour dire quelque chose)


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#39 Le 12/07/2007, à 01:03

belga

Re : [Résolu] error 17 grub

poste le retour de

visudo /etc/sudoers

Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#40 Le 12/07/2007, à 01:05

Spi

Re : [Résolu] error 17 grub

viola me demande pas comment j'ai fait mais c'est bon

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

#41 Le 12/07/2007, à 01:11

belga

Re : [Résolu] error 17 grub

remplace par ceci

title           Microsoft Windows XP Home Edition
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
savedefault
makeactive
chainloader     +1

et essaye de lancer xp à partir de grub


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#42 Le 12/07/2007, à 01:15

Spi

Re : [Résolu] error 17 grub

j'ai ca qui c'est mis je pense pas que ca soit bon


max@babapapa:~$ title           Microsoft Windows XP Home Edition
bash: title : commande introuvable
max@babapapa:~$ map (hd0) (hd1)
bash: erreur de syntaxe près du jeton `hd0' inattendu
max@babapapa:~$ map (hd1) (hd0)
bash: erreur de syntaxe près du jeton `hd1' inattendu
max@babapapa:~$ root (hd1,0)
bash: erreur de syntaxe près du jeton `hd1,0' inattendu
max@babapapa:~$ savedefault
bash: savedefault : commande introuvable
max@babapapa:~$ makeactive
bash: makeactive : commande introuvable
max@babapapa:~$ chainloader     +1

#43 Le 12/07/2007, à 01:17

Spi

Re : [Résolu] error 17 grub

c'est bon donc c'est changer je redémarre et te dis quoi.

#44 Le 12/07/2007, à 01:17

belga

Re : [Résolu] error 17 grub

lol
c'est dans le menu.lst qu'il faut le mettre:
tu l'ouvres

sudo gedit /boot/grub/menu.lst

à la fin tu changes

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

par

title           Microsoft Windows XP Home Edition
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
savedefault
makeactive
chainloader     +1


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#45 Le 12/07/2007, à 01:19

Spi

Re : [Résolu] error 17 grub

tongue c'est bon merci je redemarre alors

#46 Le 12/07/2007, à 01:23

belga

Re : [Résolu] error 17 grub

tu as enregistré hein tongue


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#47 Le 12/07/2007, à 01:24

Spi

Re : [Résolu] error 17 grub

voila donc toujours xp au démarrage.
je suis allé dans le boot et je suis pas en ubuntu test mais kertnel

quand penses tu ????

#48 Le 12/07/2007, à 01:33

belga

Re : [Résolu] error 17 grub

Normalement maitenant tu ne dois plus avoir
de problème avec les entrées d'ubuntu.

Ce que tu dois faire maintenant c'est lancer xp depuis grub.

Tu dois toujours changer l'ordre de démarrage dans le bios.
Drôle, change et enregistre le pour qu'il démarre avec grub.


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#49 Le 12/07/2007, à 01:38

Spi

Re : [Résolu] error 17 grub

ok ben je te remercie pour tout ce que tu as fait pour moi.
c'est trés aimable a toi de consacrer de ton tps pour les petits comme moi.
merci bien si j'ai besion je fais appele a toi.

bonne nuit
++

#50 Le 12/07/2007, à 01:43

belga

Re : [Résolu] error 17 grub

?

Dernière modification par belga (Le 15/10/2007, à 23:59)


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne