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 09/10/2008, à 20:42

elrockito87

[resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

forum.ubuntu-fr.org/viewtopic.php?id=258294

Bonjour, je possede 2 dd le systeme ( xp)  etant sur le disque sdb



Disque /dev/sda: 500.1 Go, 500107862016 octets
255 heads, 63 sectors/track, 60801 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x2d7080b9

Périphérique Amorce    Début         Fin      Blocs    Id  Système

Disque /dev/sdb: 500.1 Go, 500107862016 octets
255 heads, 63 sectors/track, 60801 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x21b721b7

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1   *           1       44457   357100821    7  HPFS/NTFS
/dev/sdb2           52063       60801    70196017+   5  Extended
/dev/sdb3           46598       52062    43897612+   7  HPFS/NTFS
/dev/sdb4           44458       46597    17189550    7  HPFS/NTFS
/dev/sdb5           52063       55886    30716248+  83  Linux
/dev/sdb6           55887       60603    37889271   83  Linux
/dev/sdb7           60604       60801     1590403+  82  Linux swap / Solaris

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



A la commande   grub> find /boot/grub/stage1

La reponse est              (hd1,4)

Je ne trouve rien qui reponde a mon pb sur les differents post.

Avez vous de idees ou meme la solution . MERCI

@+

Dernière modification par elrockito87 (Le 10/10/2008, à 21:55)


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#2 Le 09/10/2008, à 20:58

swinrock

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

Je comprend que ton disque sda n'est pas formaté et que ton disque système (et de boot) est le disque sdb. peux-tu vérifier que dans ton bios, l'ordre de boot sur les disque est la bon (dd avec linux en premier puis l'autre).

merci aussi de poster le fichier grub.conf


Ubuntu 18.04.3 x86_64 / H77MA-G43 / 16Go / SSD  / Graveur Samsung / Imprimante hp lj1000

Hors ligne

#3 Le 09/10/2008, à 21:07

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

merci de bien vouloir m'aider....
Ou trouver le ficher grub.conf

et je boot bien avec le sdb . J'ai le choix entre ubuntu et xp mais qqsoit mon choix, j'obtient  error 22 : no such partition


Merci


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#4 Le 09/10/2008, à 21:32

swinrock

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

Oups pardon c'est le fichier menu.lst qu'i me faut...
le fichier se trouve dans /boot/grub/menu.lst

pense à me donner l'ordre de démarrage de tes disques dans le bios.


Ubuntu 18.04.3 x86_64 / H77MA-G43 / 16Go / SSD  / Graveur Samsung / Imprimante hp lj1000

Hors ligne

#5 Le 09/10/2008, à 21:35

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

je tape     /boot/grub/menu.lst

dans le terminal


je boot sur sdb


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#6 Le 09/10/2008, à 21:42

swinrock

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

OK, si tu boot sur sdb alors pour grub, il s'appele hd0.

Il faut donc que tu edit le fichier menu.lst (j'utilise vi comme éditeur, mais tu peux prendre celui que tu utilises habituellement : nano, emacs, etc...)

sudo vi /boot/grub/menu.lst

et tu remplaces les  hd1 par hd0.


Ubuntu 18.04.3 x86_64 / H77MA-G43 / 16Go / SSD  / Graveur Samsung / Imprimante hp lj1000

Hors ligne

#7 Le 09/10/2008, à 21:46

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
"/boot/grub/menu.lst" [New DIRECTORY]


voici ma reponse.

et le fait de changer en hd0  va faire sauter l'error 22?


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#8 Le 09/10/2008, à 21:52

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

grub> find /boot/grub/stage1
(hd1,4)


et si je fait      root (hd1,4)  puis     setup (hd0)      puis quit


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#9 Le 09/10/2008, à 22:06

swinrock

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

Pour moi ce n'est pas le problème puisque tu accede bien à grub. il n'est donc pas utile de le réinstaller. par contre, je ne comprend pas pourquoi tu ne peux pas éditer le fichier menu.lst. ce fichier contient le paramétrage de grub pour le lancement de tes OS.

Bon, là je vais diner mais je reviens après.


Ubuntu 18.04.3 x86_64 / H77MA-G43 / 16Go / SSD  / Graveur Samsung / Imprimante hp lj1000

Hors ligne

#10 Le 09/10/2008, à 22:11

joao

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

bonsoir je suis en train de installer super ubuntu version 8 pendant la inst. me demande nom de utilisateur e mot pass je tape mon nom e un mot de pass  e apres j ia 1 message deerreur nom de utilisateur ou mot pass incorrect il a un nom e un mot pass a precisser ou comment ça marche merci s il a quelque un que peut me aider

Hors ligne

#11 Le 09/10/2008, à 23:00

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

# 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=8f3235b9-3dde-40a0-80d7-251dd256aa6b ro

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

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

## 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, kernel 2.6.24-16-generic
root        (hd1,4)
kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=8f3235b9-3dde-40a0-80d7-251dd256aa6b ro quiet splash
initrd        /boot/initrd.img-2.6.24-16-generic
quiet

title        Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root        (hd1,4)
kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=8f3235b9-3dde-40a0-80d7-251dd256aa6b ro single
initrd        /boot/initrd.img-2.6.24-16-generic

title        Ubuntu 8.04, memtest86+
root        (hd1,4)
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/sdb1
title        Windows XP Media Center Edition
root        (hd1,0)
savedefault
makeactive
map        (hd0) (hd1)
map        (hd1) (hd0)
chainloader    +1



je ne sais pas pourquoi il ne s'editait pas mais je l'ai trouve dans le gestionnaire de fichier


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#12 Le 09/10/2008, à 23:08

swinrock

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

ok.
si j'ai tout bien compris, quand tu sélectionnes "Ubuntu 8.04, kernel 2.6.24-16-generic" il te fait une erreur 22 et ne boot pas.

Essaye de remplacee
root (hd1,4)
par
root (hd0,4)

et fait le uniquement pour  "Ubuntu 8.04, kernel 2.6.24-16-generic" garde le recovery mode tel que pour le moment.
puis reboot pour voir si ça marche.


Ubuntu 18.04.3 x86_64 / H77MA-G43 / 16Go / SSD  / Graveur Samsung / Imprimante hp lj1000

Hors ligne

#13 Le 09/10/2008, à 23:13

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

impossible d'eregistrer la modif

impossible d'enregistrer le fichier /media/disk-1/boot/grub/menu.lst.
fichier non trouve

je suis en live cd 
 
je teste une seconde fois et nouveau message

Vous n'avez pas les permissions nécessaires pour enregistrer ce fichier. Vérifiez que vous avez saisi l'emplacement correctement et réessayez.


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#14 Le 09/10/2008, à 23:20

swinrock

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

j'espère que tu n'oubli pas le sudo sur ta ligne de commande.


Ubuntu 18.04.3 x86_64 / H77MA-G43 / 16Go / SSD  / Graveur Samsung / Imprimante hp lj1000

Hors ligne

#15 Le 09/10/2008, à 23:26

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

je trouve menu.lst dans mon gestionnaire

pourquoi sudo


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#16 Le 09/10/2008, à 23:27

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

si je tape    sudo vi /boot/grub/menu.lst   
  voir post 7


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#17 Le 09/10/2008, à 23:32

swinrock

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

sudo pour être en administrateur.

ceci dit, je viens de voir que tu édites /media/disk-1 donc le grub de ton CD-ROM. alors que l'on veut celui de ton HD.

il y a longtemps que j'ai pas utiliser un disque de boot, je me rappelle plus vraiment comment on fait.


Ubuntu 18.04.3 x86_64 / H77MA-G43 / 16Go / SSD  / Graveur Samsung / Imprimante hp lj1000

Hors ligne

#18 Le 09/10/2008, à 23:38

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

je viens de voir que tu édites /media/disk-1 donc le grub de ton CD-ROM. alors que l'on veut celui de ton HD

pourtant je trouve le fichier sur ma partition de 26 G


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#19 Le 09/10/2008, à 23:44

Neuro

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

elrockito87 a écrit :

merci de bien vouloir m'aider....
Ou trouver le ficher grub.conf

et je boot bien avec le sdb . J'ai le choix entre ubuntu et xp mais qqsoit mon choix, j'obtient  error 22 : no such partition


Merci

Essaie de changer l' ordre de boot de tes HD dans le bios.


Pour demander a devenir membre actif du Parti Pirate, rendez-vous sur la page d'adhésions et suivez les instructions.

Hors ligne

#20 Le 09/10/2008, à 23:45

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

ubuntu@ubuntu:~$ sudo gedit /media/disk/boot/grub/menu.lst


voici la commande qui me donne acces a ce que tu me disait au dessus.......
j'ai enfin compris comment ça marche ( ce petit bout de commande)

voila ce que j'obtient


# 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=8f3235b9-3dde-40a0-80d7-251dd256aa6b ro

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

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

## 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, kernel 2.6.24-16-generic
root        (hd1,4)
kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=8f3235b9-3dde-40a0-80d7-251dd256aa6b ro quiet splash
initrd        /boot/initrd.img-2.6.24-16-generic
quiet

title        Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root        (hd1,4)
kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=8f3235b9-3dde-40a0-80d7-251dd256aa6b ro single
initrd        /boot/initrd.img-2.6.24-16-generic

title        Ubuntu 8.04, memtest86+
root        (hd1,4)
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/sdb1
title        Windows XP Media Center Edition
root        (hd1,0)
savedefault
makeactive
map        (hd0) (hd1)
map        (hd1) (hd0)
chainloader    +1


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#21 Le 09/10/2008, à 23:48

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

modif faite je reboot


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#22 Le 09/10/2008, à 23:51

swinrock

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

ok, mais tu n'as pas mis hd0 à la place de hd1...


Ubuntu 18.04.3 x86_64 / H77MA-G43 / 16Go / SSD  / Graveur Samsung / Imprimante hp lj1000

Hors ligne

#23 Le 09/10/2008, à 23:53

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

desole je l'ai modifier apres et la tel que tu me vois je ne suis plus en live CD mais bel et bien sur mon disque

Alors un grand MERCI

De plus comment faire pour Xp? Je dois faire la meme manip?


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#24 Le 10/10/2008, à 00:26

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

modif effectue sur tout  ubuntu , ubuntu generic,........., XP

# 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=8f3235b9-3dde-40a0-80d7-251dd256aa6b ro

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

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

## 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, kernel 2.6.24-16-generic
root        (hd0,4)
kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=8f3235b9-3dde-40a0-80d7-251dd256aa6b ro quiet splash
initrd        /boot/initrd.img-2.6.24-16-generic
quiet

title        Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root        (hd0,4)
kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=8f3235b9-3dde-40a0-80d7-251dd256aa6b ro single
initrd        /boot/initrd.img-2.6.24-16-generic

title        Ubuntu 8.04, memtest86+
root        (hd0,4)
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/sdb1
title        Windows XP Media Center Edition
root        (hd0,0)
savedefault
makeactive
map        (hd0) (hd1)
map        (hd1) (hd0)
chainloader    +1


Maintenant je boot bien sur ubuntu, mais plus sur XP 

Que faire  MERCI


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne

#25 Le 10/10/2008, à 00:35

elrockito87

Re : [resolu] pb de Grub sur 2 dd + error 22: no such partition cf post

Sur XP je retombe sur une commande

GRUB>

que faire, moi qui etais tout content de pouvoir booter sur ubuntu, maintenant je ne boot plus sous XP et c'est plutot ******* pour le boulot........


N'allez pas là où le chemin peut mener. Allez là où il n'y a pas de chemin et laissez une trace.     [Ralph Waldo Emerson]
Ne restreins pas le champ du possible aux limites de ton imaginaire. [Antony Bouchardon]

Hors ligne