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 28/06/2008, à 15:17

did726

Grub ne voit pas Hardy Héron

Bonjour,
J'ai installé Hardy Héron sur un disque dur (Hda)
Mais j'avais déjà un disque (Sda) avec Win XP  et un disque de données (Sdb).
Sur mon disque hda j'ai également Linux Mint Daryna.

Au demarrage Grub me propose Linux Mint Daryna ou Windows XP.

Je vois bien sur mon disque Hda que Hardy Heron est bien installé, Mais grub ne le voit pas.
J'ai donc lu la doc Grub  (unbuntu.fr). Mais je ne suis pas sur de tout comprendre ! et pour l'instant je ne peux faire démarrer Hardy Heron.
Je pense que le problème est lié à la présence de plusieurs disques (IDE et DATA de + !)

J'espère ne pas être trop confus et que quelqu'un pourra m'aider à utiliser Hardy Héron autrement qu'avec le LiveCD.

Par avance merci.

Did

Hors ligne

#2 Le 28/06/2008, à 15:23

loic.pfister

Re : Grub ne voit pas Hardy Héron

Hello

essaye de restaurer ton grub automatiquemment comme cela il devrait tout mettre les système sur la machine

http://doc.ubuntu-fr.org/grub#restauration

Sinon si cela marche pas poste nous ton fichier /bot/grub/menu.lst

A++

Hors ligne

#3 Le 28/06/2008, à 17:53

did7264

Re : Grub ne voit pas Hardy Héron

Merci pour la réponse rapide, mais le superGrub que j'ai est la version 0.9711. Je peux choisir le langage, ensuite je peux choisir GNU/Linux mais après je ne vois rien qui arrange le démarrage.
J'envoie mon fichier menu.lst (attention les pages concernant Hardy Héron, ne sont apparues qu'à partir du moment ou j'ai moi même modifié les fichiers de mon Grub (Tuto grub)).
# 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.
default        0

gfxmenu=/etc/grub/message.mint

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout        3

# 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=/dev/hda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,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

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

## ## End Default Options ##

title        Linux Mint, kernel 2.6.22-14-generic
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro quiet splash
initrd        /boot/initrd.img-2.6.22-14-generic
boot

title        Linux Mint, kernel 2.6.22-14-generic (recovery mode)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro single
initrd        /boot/initrd.img-2.6.22-14-generic
boot

title        Linux Mint, kernel memtest86+
root        (hd0,0)
kernel        /boot/memtest86+.bin
boot

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

#Hardy Heron installé sur /dev/hda3
title    Hardy Heron
root (hd0,2)
chainloader +1
boot

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


Par avance merci

#4 Le 28/06/2008, à 19:09

Compte anonymisé

Re : Grub ne voit pas Hardy Héron

Salut

Si tu as installé Hardy sur /dev/hda3, il faut maintenant mettre le grub loader d'Hardy sur /dev/hda3.
Pour ce faire :
Dans un terminal :
sudo grub   --> grub>
là tu tapes :
find /boot/grub/menu.lst  --> devrait te donner entre autre  (hd0,2)
là tu tapes
root (hd0,2)
puis
setup (hd0,2)
et enfin
quit

Tu rebootes et en choisissant Hardy Heron tu devrais voir apparaitre le menu grub d'Hardy.

@+

#5 Le 29/06/2008, à 00:05

did72

Re : Grub ne voit pas Hardy Héron

Bonsoir,
Je viens de tester la manip de jeanjd63 et de me faire un peu peur.
En effet je peux sélectionner Hardy heron, j'ai alors Ubuntu 8.04 en premier choix (mais aussi mes Mint et XP).
Je sélectionne donc Hardy Heron et là j'ai "Error 22 , no such partition". Pas de panique je vais prendre ma Mint Daryna (4.0) et là : "error 17 cannot mount selected partition". Je selectionne alors mon autre Mint (Elyssa 5.0) que je ne voyais pas non plus dans mon grub avant et : "error 22, no such partition". Il me reste donc XP et : "error 13"
J'éteins tout sauvagement et là (suspense...) je retrouve mon ancien démarrage et je sélectionne ma Mint 4.0 et là je repas comme avant : Ouf!
Ben oui mais j'ai toujours le même problème, je ne peux pas utiliser Hardy heron , ni ma Mint 5.0 (Elyssa).
Par avance merci de votre aide.
Did

#6 Le 29/06/2008, à 06:58

Compte anonymisé

Re : Grub ne voit pas Hardy Héron

Salut

Il faudrait lister le contenu du menu.lst d'Hardy qui se trouve sous /dev/hda3 et donner le résultat de :
sudo fdisk -l en indiquant l'utilisation de tes partitions.

Dans menu.lst d'Hardy:

Pour la partie Xp il doit falloir adapter avec les :
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)

Pour les autre systèmes les références aux disques doivent être erronées :
Exemple pour Hardy, tu devrais avoir des :
root (hd0,2)
et un
# groot=(hd0,2)
Si ce n'est pas le cas, tu fais les modifs et tu retentes.


@+

Dernière modification par Compte anonymisé (Le 29/06/2008, à 07:07)

#7 Le 29/06/2008, à 09:04

did72

Re : Grub ne voit pas Hardy Héron

Je ne suis pas parvenu à éditer le menu.lst sous dev/hda3.

J'ai tapé sudo gedit /dev/hda3/boot/grub/menu.lst  : réponse : erreur innatendue

Les résultats du sudo fdsik -l sont les suivants :

Disque /dev/hda: 160.0 Go, 160041885696 octets
255 heads, 63 sectors/track, 19457 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0008e716

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/hda1   *        9705       13433    29953192+  83  Linux
/dev/hda2           13434       19457    48387780    5  Extended
/dev/hda3               1        9303    74726316   83  Linux
/dev/hda4            9304        9704     3221032+  82  Linux swap / Solaris
/dev/hda5           18663       19457     6385806   82  Linux swap / Solaris
/dev/hda6           13434       18442    40234729+  83  Linux
/dev/hda7           18443       18662     1767118+  82  Linux swap / Solaris

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

Disque /dev/sda: 41.1 Go, 41174138880 octets
255 heads, 63 sectors/track, 5005 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc7d0c7d0

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1        5004    40194598+   7  HPFS/NTFS

Disque /dev/sdb: 80.0 Go, 80026361856 octets
255 heads, 63 sectors/track, 9729 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00003903

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1               1        6082    48853633+   7  HPFS/NTFS
/dev/sdb4            6083        9729    29294527+   b  W95 FAT32


Mon disque Hda ne contient que des systèmes Linux.
hda1 est ma partition avec ma Linux Mint4.0 (qui fonctionne en ce moment)
hda2 ? je ne sais pas.
hda3 est ma partition avec Hardy heron (qui est sur le disque mais que je ne peux lancer)
hda6 est Linux mint 5.0 (qui est sur le disque mais que je ne peux lancer)


Mon disque /dev/sda 41.1 GO est mon disque windows (XP)
Mon disque /dev/sdb de 80 GO est partagé en sdb1 stockage de documents (partition Ntfs)
et sdb4 stockage de document en Vfat

J'espère que ce que j'envoie est à peu près clair
Merci.
Did

#8 Le 29/06/2008, à 16:06

Compte anonymisé

Re : Grub ne voit pas Hardy Héron

Salut

Déjà c'est un peu le souk sur /dev/hda :
/dev/hda1   *        9705       13433    29953192+  83  Linux
/dev/hda2           13434       19457    48387780    5  Extended
/dev/hda3               1        9303    74726316   83  Linux
/dev/hda4            9304        9704     3221032+  82  Linux swap / Solaris
Tu peux voir que physiquement
/dev/hda3 est la première,
/dev/hda4 suit
/dev/hda1 ensuite
/dev/hda2 enfin --> celle-ci est une partition qui contient /dev/hda5, 6 et 7 .

Enfin cela n'a peut être pas grande importance.

Pour éditer le menu.lst d'Hardy :
sudo  umount   /dev/hda3   pas d'inquiétude si mess d'erreur
puis
sudo  mount  /dev/hda3  /mnt

Et enfin :
sudo gedit  /mnt/boot/grub/menu.lst

Pour le menu.lst qui est sur /dev/hda6 :
sudo  umount  /mnt
sudo  umount  /dev/hda6  --> mêmes remarques que pour /dev/hda3
sudo  mount  /dev/hda6  /mnt

Et enfin ... je te laisse deviner.

@+

Dernière modification par Compte anonymisé (Le 29/06/2008, à 16:08)

#9 Le 29/06/2008, à 23:36

did72

Re : Grub ne voit pas Hardy Héron

Voici le menu.lst du hda3
# 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=37d0250e-3d7e-489f-b345-ce93870df299 ro



## Setup crashdump menu entries

## e.g. crashdump=1

# crashdump=0



## default grub root device

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

# groot=(hd2,2)



## 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        (hd2,2)

kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=37d0250e-3d7e-489f-b345-ce93870df299 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        (hd2,2)

kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=37d0250e-3d7e-489f-b345-ce93870df299 ro single

initrd        /boot/initrd.img-2.6.24-16-generic



title        Ubuntu 8.04, memtest86+

root        (hd2,2)

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





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc1.

title        Linux Mint, kernel 2.6.22-14-generic (on /dev/sdc1)

root        (hd2,0)

kernel        /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro quiet splash

initrd        /boot/initrd.img-2.6.22-14-generic

savedefault

boot





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc1.

title        Linux Mint, kernel 2.6.22-14-generic (recovery mode) (on /dev/sdc1)

root        (hd2,0)

kernel        /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro single

initrd        /boot/initrd.img-2.6.22-14-generic

savedefault

boot





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc1.

title        Linux Mint, kernel memtest86+ (on /dev/sdc1)

root        (hd2,0)

kernel        /boot/memtest86+.bin 

savedefault

boot





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc6.

title        Linux Mint, kernel 2.6.24-16-generic (on /dev/sdc6)

root        (hd2,5)

kernel        /boot/vmlinuz-2.6.24-16-generic root=/dev/sdc6 ro quiet splash

initrd        /boot/initrd.img-2.6.24-16-generic

savedefault

boot





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc6.

title        Linux Mint, kernel 2.6.24-16-generic (recovery mode) (on /dev/sdc6)

root        (hd2,5)

kernel        /boot/vmlinuz-2.6.24-16-generic root=/dev/sdc6 ro single

initrd        /boot/initrd.img-2.6.24-16-generic

savedefault

boot





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc6.

title        Linux Mint, kernel memtest86+ (on /dev/sdc6)

root        (hd2,5)

kernel        /boot/memtest86+.bin 

savedefault

boot





et ensuite le menu.lst pour hda6
# 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-legacy-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



gfxmenu=/etc/grub/message.elyssa



## timeout sec

# Set a timeout, in SEC seconds, before automatically booting the default entry

# (normally the first entry defined).

timeout        10



# 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=/dev/sdc6 ro



## default grub root device

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

# groot=(hd2,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



## 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 mode) 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        Linux Mint, kernel 2.6.24-16-generic

root        (hd2,5)

kernel        /boot/vmlinuz-2.6.24-16-generic root=/dev/sdc6 ro quiet splash

initrd        /boot/initrd.img-2.6.24-16-generic



title        Linux Mint, kernel 2.6.24-16-generic (recovery mode)

root        (hd2,5)

kernel        /boot/vmlinuz-2.6.24-16-generic root=/dev/sdc6 ro single

initrd        /boot/initrd.img-2.6.24-16-generic



title        Linux Mint, kernel memtest86+

root        (hd2,5)

kernel        /boot/memtest86+.bin



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





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc1.

title        Linux Mint, kernel 2.6.22-14-generic (on /dev/sdc1)

root        (hd2,0)

kernel        /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro quiet splash

initrd        /boot/initrd.img-2.6.22-14-generic

savedefault

boot





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc1.

title        Linux Mint, kernel 2.6.22-14-generic (recovery mode) (on /dev/sdc1)

root        (hd2,0)

kernel        /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro single

initrd        /boot/initrd.img-2.6.22-14-generic

savedefault

boot





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc1.

title        Linux Mint, kernel memtest86+ (on /dev/sdc1)

root        (hd2,0)

kernel        /boot/memtest86+.bin 

savedefault

boot





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc3.

title        Linux Mint, kernel 2.6.24-16-generic (on /dev/sdc3)

root        (hd2,2)

kernel        /boot/vmlinuz-2.6.24-16-generic root=/dev/sdc3 ro quiet splash

initrd        /boot/initrd.img-2.6.24-16-generic

savedefault

boot





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc3.

title        Linux Mint, kernel 2.6.24-16-generic (recovery mode) (on /dev/sdc3)

root        (hd2,2)

kernel        /boot/vmlinuz-2.6.24-16-generic root=/dev/sdc3 ro single

initrd        /boot/initrd.img-2.6.24-16-generic

savedefault

boot





# This entry automatically added by the Debian installer for an existing

# linux installation on /dev/sdc3.

title        Linux Mint, kernel memtest86+ (on /dev/sdc3)

root        (hd2,2)

kernel        /boot/memtest86+.bin 

savedefault

boot



Merci encore pour le coup de main et bonne soirée
Did

#10 Le 30/06/2008, à 07:16

Compte anonymisé

Re : Grub ne voit pas Hardy Héron

Salut

Déjà il faudrait raccourcir ton menu.lst :

Tu supprimes tout ce qui suit ce paragraphe :

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

A propos la prochaine fois liste ton menu.lst entre bornes Code c'est + lisible.

Ensuite tu modifies dans ce menu.lst les :
root  (hd2,2)  par des
root  (hd0,2)
ainsi que
# groot=(hd2,2)
par
# groot=(hd0,2)

Pour la partie Xp ce sera le classique (déjà mis sur le menu.lst du (hd0,0) )

title        Windows NT/2000/XP
root        (hd1,0)
map      (hd0) (hd1)
map      (hd1) (hd0) 
savedefault
makeactive
chainloader    +1

Il n'est pas indispensable de mettre dans tous les menu.lst les "selecteurs" vers toutes les partitions bootables.

Enfin pour finaliser le tout, il faudra ajouter sur le menu.lst du (hd0,0) un sélecteur pour booter ton linux sur (hd0,5)
Cela devrait ressembler à ça :

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

#Hardy Heron installé sur /dev/hda3
title    Hardy Heron
root (hd0,2)
chainloader +1
boot

#Le dernier installé sur /dev/hda6
title    Linux sur HDA6
root (hd0,5)
chainloader +1
boot



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

Il faudra bien sûr reprendre les opérations pour installer le bootloader de /dev/hda6 sur /dev/hda6 donc au sens grub (hd0,5). Il faudra reprendre les commandes du post #4 et remplacer les
(hd0,2)
par des
(hd0,5)

Bon courage

#11 Le 02/07/2008, à 20:33

did72

Re : Grub ne voit pas Hardy Héron

Bonjour, Merci !

Je peux maintenant utiliser Hardy Heron et Ma mint 4.0. Par contre sur mon grub de départ je ne vois plus XP. En outre sur ce grub si je sélectionne ma Mint5.0 (Elyssa); je rencontre à nouveau les messages du genre "erreur 22 no such partition."

Par contre si je sélectionne Hardy Héron , je repars sur un nouveau grub où j'ai accés à mon XP sans pb.

On avance et c'est super!

Merci encore
Didier

#12 Le 02/07/2008, à 21:13

Compte anonymisé

Re : Grub ne voit pas Hardy Héron

Salut

As-tu modifié le menu.lst de mint 4 (qui se trouve sur /dev/hda1) pour que la fin ressemble  à ceci (comme indiqué au post #10)

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

#Hardy Heron installé sur /dev/hda3
title    Hardy Heron
root (hd0,2)
chainloader +1
boot

#Le dernier installé sur /dev/hda6
title    Linux sur HDA6
root (hd0,5)
chainloader +1
boot


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

Si oui je suis étonné que tu ne puisses lancer Xp depuis celui-ci ????
Sinon il faut te dépécher de faire les modif quoi lol

Ensuite as-tu appliqué au menu.lst de /dev/hda6 le même type de modifs que tu as fait sur celui de /dev/hda3
Non ? donc on reprend  tongue :
Tu supprimes de ce menu tout ce qui suit :

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

En effet il n'est pas indispensable comme dit + haut que chaque menu.lst pointe sur tout le reste.

Ensuite tu modifies dans ce menu.lst les :
root  (hd2,5)  par des
root  (hd0,5)
ainsi que
# groot=(hd2,5)
par
# groot=(hd0,5)

Pour la partie Xp ce sera le classique (déjà mis sur le menu.lst du (hd0,0) )

Code:

title        Windows NT/2000/XP
root        (hd1,0)
map      (hd0) (hd1)
map      (hd1) (hd0) 
savedefault
makeactive
chainloader    +1

Cela fait un peu copier/coller post #10 non ?  lol  Bon j'assume wink

Quand on en est au copier/coller maintenant on va faire celui du post #4
Je réassume

Si tu as installé Mint5 sur /dev/hda6, il faut maintenant mettre le grub loader de Mint5 sur /dev/hda6.
Pour ce faire :
Dans un terminal :
sudo grub   --> grub>
là tu tapes :
find /boot/grub/menu.lst  --> devrait te donner entre autre  (hd0,5)
là tu tapes
root (hd0,5)
puis
setup (hd0,5)
et enfin
quit

Tu rebootes et en choisissant Linux sur HDA6 tu devrais voir apparaitre le menu grub de Mint5.

Courage cool

#13 Le 02/07/2008, à 23:34

did72

Re : Grub ne voit pas Hardy Héron

Je viens de faire les manips demandées (je pense les avoir déjà faites).
Et je confirme mon post précedent : pas de XP proposé dans mon premier Grub ; Hardy Héron (qui fonctionne) et me renvoit sur un autre Grub (avec XP proposé) et Mint Elyssa (mais qui ne fonctionne pas).
Si je sélectionne Mint Elyssa sur HDA6, il affiche : root (hd2,5)  error 22 : no such partition.
Je ne sais pas si cela a un rapport mais quand je lance mon XP, il affiche : boot.ini non valide   demarrage à partir de C: et XP demarre.

Il faisait cela avant que nous fassions les modifs pour utiliser Hardy Heron.

J'espère être clair.

Merci.
A+. Didier

#14 Le 02/07/2008, à 23:43

Compte anonymisé

Re : Grub ne voit pas Hardy Héron

Si tu peux, tu listes tes 3 menu.lst chacun séparé surtout entre des balises [Code]
Ensuite tu me dis à quoi chaque menu correspond et ce qui fonctionne et ne fonctionne pas.

#15 Le 03/07/2008, à 23:50

did72

Re : Grub ne voit pas Hardy Héron

C'est mon premier grub sur lequel je n'ai que Hardy Heron (qui fonctionne), Elyssa qui m'envoie vers un autre grub mais ne fonctionne pas et pas de windows 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.
default		0

gfxmenu=/etc/grub/message.mint

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		3

# 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=/dev/hda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,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

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

## ## End Default Options ##

title		Linux Mint, kernel 2.6.22-14-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro quiet splash
initrd		/boot/initrd.img-2.6.22-14-generic
boot

title		Linux Mint, kernel 2.6.22-14-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro single
initrd		/boot/initrd.img-2.6.22-14-generic
boot

title		Linux Mint, kernel memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin 
boot

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

#Hardy Heron installé sur /dev/hda3
title	Hardy Heron
root (hd0,2)
chainloader +1
boot

#Mint Elyssa /dev/hda6
title    Elyssa sur HDA6
root (hd0,5)
chainloader +1
boot

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

#16 Le 03/07/2008, à 23:52

did72

Re : Grub ne voit pas Hardy Héron

Voici mon menu LST pour Hardy Heron (hda3).

# 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=37d0250e-3d7e-489f-b345-ce93870df299 ro

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

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

## 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,2)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=37d0250e-3d7e-489f-b345-ce93870df299 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,2)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=37d0250e-3d7e-489f-b345-ce93870df299 ro single
initrd		/boot/initrd.img-2.6.24-16-generic

title		Ubuntu 8.04, memtest86+
root		(hd0,2)
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        (hd1,0)
map      (hd0) (hd1)
map      (hd1) (hd0) 
savedefault

#17 Le 03/07/2008, à 23:57

did72

Re : Grub ne voit pas Hardy Héron

Et enfin le menu lst de hda6 (avec ma mint Elyssa qui refuse de démarrer).

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

gfxmenu=/etc/grub/message.elyssa

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		10

# 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=/dev/sdc6 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd2,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

## 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 mode) 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		Linux Mint, kernel 2.6.24-16-generic
root		(hd2,5)
kernel		/boot/vmlinuz-2.6.24-16-generic root=/dev/sdc6 ro quiet splash
initrd		/boot/initrd.img-2.6.24-16-generic

title		Linux Mint, kernel 2.6.24-16-generic (recovery mode)
root		(hd2,5)
kernel		/boot/vmlinuz-2.6.24-16-generic root=/dev/sdc6 ro single
initrd		/boot/initrd.img-2.6.24-16-generic

title		Linux Mint, kernel memtest86+
root		(hd2,5)
kernel		/boot/memtest86+.bin

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


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc1.
title		Linux Mint, kernel 2.6.22-14-generic (on /dev/sdc1)
root		(hd2,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro quiet splash 
initrd		/boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc1.
title		Linux Mint, kernel 2.6.22-14-generic (recovery mode) (on /dev/sdc1)
root		(hd2,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro single 
initrd		/boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc1.
title		Linux Mint, kernel memtest86+ (on /dev/sdc1)
root		(hd2,0)
kernel		/boot/memtest86+.bin  
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc3.
title		Linux Mint, kernel 2.6.24-16-generic (on /dev/sdc3)
root		(hd2,2)
kernel		/boot/vmlinuz-2.6.24-16-generic root=/dev/sdc3 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc3.
title		Linux Mint, kernel 2.6.24-16-generic (recovery mode) (on /dev/sdc3)
root		(hd2,2)
kernel		/boot/vmlinuz-2.6.24-16-generic root=/dev/sdc3 ro single 
initrd		/boot/initrd.img-2.6.24-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc3.
title		Linux Mint, kernel memtest86+ (on /dev/sdc3)
root		(hd2,2)
kernel		/boot/memtest86+.bin  
savedefault
boot

J'espère qu'avec ces renseignements tu y verras plus claire que moi.

Par avance merci.
Didier

#18 Le 06/07/2008, à 16:24

Compte anonymisé

Re : Grub ne voit pas Hardy Héron

Salut

1) Déjà ton premier menu, sur /dev/hda0, me parait correct. Quand tu dis qu'il ne te propose pas d'Xp, je pense qu'il te le propose, mais qu'il n'est pas obligatoirement affiché à l'écran. Il suffit de faire défiler avec la "flèche basse" pour voir Xp (enfin je pense).


2) Ton menu n°2 (/dev/hda3) parait ok oui/non ??


3) Dans ton menu n°3 (/dev/hda6)
je te donne le menu.lst "rectifié" tel que je te l'avais décrit lors du post #12 de mint Elyssa sur /dev/hda6 :

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

gfxmenu=/etc/grub/message.elyssa

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout        10

# 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=/dev/hda6 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

## 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 mode) 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=2

## 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        Linux Mint, kernel 2.6.24-16-generic
root        (hd0,5)
kernel        /boot/vmlinuz-2.6.24-16-generic root=/dev/hda6 ro quiet splash
initrd        /boot/initrd.img-2.6.24-16-generic

title        Linux Mint, kernel 2.6.24-16-generic (recovery mode)
root        (hd0,5)
kernel        /boot/vmlinuz-2.6.24-16-generic root=/dev/hda6 ro single
initrd        /boot/initrd.img-2.6.24-16-generic

title        Linux Mint, kernel memtest86+
root        (hd0,5)
kernel        /boot/memtest86+.bin

### 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        (hd1,0)
map       (hd0) (hd1)
map       (hd1) (hd0)
savedefault
makeactive
chainloader    +1

Pour ce dernier assure-toi bien d'avoir mit son bootloader sur /dev/hda6
voici ce que je te mettais dans le post #12 :

Si tu as installé Mint5 sur /dev/hda6, il faut maintenant mettre le grub loader de Mint5 sur /dev/hda6.
Pour ce faire :
Dans un terminal :
sudo grub   --> grub>
là tu tapes :
find /boot/grub/menu.lst  --> devrait te donner entre autre  (hd0,5)
là tu tapes
root (hd0,5)
puis
setup (hd0,5)
et enfin
quit

Tu rebootes et en choisissant Linux sur HDA6 tu devrais voir apparaitre le menu grub de Mint5.

@+

#19 Le 06/07/2008, à 18:09

did72

Re : Grub ne voit pas Hardy Héron

Merci et Bravo !

Comme tu l'avais deviné XP est visible sur le premier Grub à l'aide de la flèche basse.
Le deuxième grub fonctionne correctement (hda3)
Le troisième grub fonctionne correctement (hda6) Mais la distribution ne fonctionne pas. Je vois la barre de défilement sous Linux Mint qui fait des aller-retour et finalement apparait le message suivant :
BusyBox v1.1.1.3 (Débian 1:1.1.1.3-5 ubuntu12) Built-in shelle (ash)
Enter 'help' for a list of built-in commands.
(initramfs) - et le tiret clignotte.

Encore merci.
Didier

#20 Le 06/07/2008, à 18:20

Compte anonymisé

Re : Grub ne voit pas Hardy Héron

Peux-tu lister le fichier :
/etc/fstab du disque /dev/hda6

Si tu vois des lignes débutant par :
/dev/sdc6  il faudrait les remplacer par des :
/dev/hda6

@+

#21 Le 06/07/2008, à 20:51

did72

Re : Grub ne voit pas Hardy Héron

j'ai essayé de récupérer le fichier /etc/fstab du disque /dev/hda6  en faisant sudo  umount  /mnt
sudo  umount  /dev/hda6 
sudo  mount  /dev/hda6  /mnt
puis sudo gedit /etc/fstab
et cela donne :

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda1
UUID=000e36bc-4897-4c4b-b13f-ae2b1e5b0da8 /               ext3    defaults,errors=remount-ro 0       1
# /dev/hda5
UUID=98712d20-71fb-42e0-97e0-0b034ea7e3e3 none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/hdd        /media/cdrom1   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0
# Partitions Windows - FAT32
/dev/sdb4	/media/documents vfat	rw,user,auto,exec,gid=100,uid=1000,umask=002,iocharset=utf8,codepage=850,shortname=mixed	0
# Partitions Windows - NTFS
/dev/sdb1	/media/windowsntfs ntfs-3g rw,user,auto,gid=100,uid=1000,nls=utf8,umask=002	0

je me demande si ma distrib était correcte?
A+
Didier

#22 Le 06/07/2008, à 22:22

Compte anonymisé

Re : Grub ne voit pas Hardy Héron

Après avoir fait les démontages/montages la commande est :

sudo gedit /mnt/etc/fstab

@+

#23 Le 06/07/2008, à 23:32

did72

Re : Grub ne voit pas Hardy Héron

Voici le fichier fstab de hda6. j'ai remplacé sdc6 par hda6 et sdc7 par hda7.


# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda6
UUID=6bc77385-fb61-403a-98d5-93ef4792fd82 /               ext3    relatime,errors=remount-ro 0       1
# /dev/hda7
UUID=a4ed530b-8608-4bd9-835c-660af5488d09 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/scd1       /media/cdrom1   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

Malheureusement au redemarrage sur Mint Hda6, j'ai toujours le même message après un long moment de va et vient sous le logo de Linux Mint.
A+
Didier

#24 Le 06/07/2008, à 23:43

Compte anonymisé

Re : Grub ne voit pas Hardy Héron

Si tu as dans /etc/fstab des UUID (nouvelle notation qui remplace les classiques /dev/hda6), il vaut lieux modifier le fichier menu.lst de /dev/hda6 ainsi :

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

gfxmenu=/etc/grub/message.elyssa

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout        10

# 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=6bc77385-fb61-403a-98d5-93ef4792fd82 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

## 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 mode) 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=2

## 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        Linux Mint, kernel 2.6.24-16-generic
root        (hd0,5)
kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=6bc77385-fb61-403a-98d5-93ef4792fd82 ro quiet splash
initrd        /boot/initrd.img-2.6.24-16-generic

title        Linux Mint, kernel 2.6.24-16-generic (recovery mode)
root        (hd0,5)
kernel        /boot/vmlinuz-2.6.24-16-generic root=UUID=6bc77385-fb61-403a-98d5-93ef4792fd82 ro single
initrd        /boot/initrd.img-2.6.24-16-generic

title        Linux Mint, kernel memtest86+
root        (hd0,5)
kernel        /boot/memtest86+.bin

### 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        (hd1,0)
map       (hd0) (hd1)
map       (hd1) (hd0)
savedefault
makeactive
chainloader    +1

Ensuite si tu as un doute sur ces valeurs d'UUID, tu tapes la commande :
sudo  ls  -l  /dev/disk/by-uuid/   et tu compares les valeurs


Si ça ne démarre toujours pas, tu peux tenter le mode "recovery" sinon ????

@+

Dernière modification par Compte anonymisé (Le 06/07/2008, à 23:45)

#25 Le 07/07/2008, à 08:41

did72

Re : Grub ne voit pas Hardy Héron

Chapeau !!!
Tout fonctionne. Merci.
Didier

PS : pendant que nous bricolions mes menu.lst, j'ai modifié mon mot de passe pour acceder à XP (j'ai des ados à la maison qui n'arrivent pas à limiter leur temps d'informatique...). J'ai réutilisé XP le lendemain pour récupérer une base de données sous Works ; Pas de problème. Mais depuis quelques jours, XP me dit que mon mot de passe est faux ! J'ai essayé toutes les combinaisons de touches et il refuse mon mot de passe (que j'ai installé le même jours sur les 3 ordis de la maison).
J'ai fini par me demander s'il ne pouvait y avoir un rapport avec les mofifs effectuées (je ne vois pas comment ? mais je ne m'explique pas que le code ait fonctionné, et qu'il ne fonctionne plus alors que sous les autres ordis ce code est reconnu).
Peut-être as-tu une idée ?

Bonne journée et encore merci.