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 13/09/2008, à 11:08

Maz99

[Résolu] grub > au démarrage

Bonjour, voici le soucis que j'ai eu à la dernière mise à jour du noyau que j'ai faite sous Hardy 8.04.1, je me retrouve avec l'invite de commande grub : grub >

Et là plus moyen de rien faire dont booter sur mon hd0,0 je n'ai qu' Ubuntu sur le hd0,0 et même pas de dual boot.

Voici mon menu.lst qui parait juste, quelqu'un pourrait il m'aider? Je poste à partir d'un LiveCD et là pas de problèmes.

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

## 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=fa4a4e84-ced5-40b7-9899-ceb569f52db1 ro

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

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

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Ubuntu 8.04.1, kernel 2.6.24-19-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=fa4a4e84-ced5-40b7-9899-ceb569f52db1 ro quiet splash
initrd		/boot/initrd.img-2.6.24-19-generic
quiet

title		Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=fa4a4e84-ced5-40b7-9899-ceb569f52db1 ro single
initrd		/boot/initrd.img-2.6.24-19-generic

title		Ubuntu 8.04.1, kernel 2.6.24-16-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=fa4a4e84-ced5-40b7-9899-ceb569f52db1 ro quiet splash
initrd		/boot/initrd.img-2.6.24-16-generic
quiet

title		Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=fa4a4e84-ced5-40b7-9899-ceb569f52db1 ro single
initrd		/boot/initrd.img-2.6.24-16-generic

title		Ubuntu 8.04.1, memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

Dernière modification par Maz99 (Le 13/09/2008, à 15:52)

Hors ligne

#2 Le 13/09/2008, à 11:16

gargouille

Re : [Résolu] grub > au démarrage

Essaie d'ajouté

 title        Windows 95/98/NT/2000
 root        (hdX,Y)
 makeactive
 chainloader    +1

à menu.lst, en remplaçant X par le numéro du disque dur et Y par la partition où se trouve ton autre OS si bien sur celui-ci est windows

Au sinon réinstalle grub, http://doc.ubuntu-fr.org/tutoriel/comme … on_windows

Dernière modification par gargouille (Le 13/09/2008, à 11:17)

Hors ligne

#3 Le 13/09/2008, à 11:17

Maz99

Re : [Résolu] grub > au démarrage

Je n'ai pas d'autre OS smile Et mon disque est bien le hd0,0

D'ailleurs j'ai même tenté cette manip :

Réinstallation de grub en LiveCD :
quelque part après "Installation de GRUB", "Restauration", "avec le Livecd"
sudo grub --batch
grub> find /boot/grub/stage1  => devrait rendre (hd0,0) ou approchant
grub> root (hd0,0)         (même valeur que récupérée ci-dessus)
grub> setup (hd0)
grub> quit

Hors ligne

#4 Le 13/09/2008, à 11:19

gargouille

Re : [Résolu] grub > au démarrage

désolé, j'ai lu en diagonal et j'ai mal compris le problème.

Hors ligne

#5 Le 13/09/2008, à 11:26

Maz99

Re : [Résolu] grub > au démarrage

On dirait les lignes non commentées sont tout en bas wink Merci quand même d'avoir essayé smile

Je suis sur le pc d'un user convertit, et je serais triste de devoir le laisser en tête à tête avec mon LiveCD en attendant une solution cool

Je continue à chercher sur le forum mais la plupart des problèmes concernent des erreurs grub (17,15 etc) ou un problème de configuration dual boot.

Dernière modification par Maz99 (Le 13/09/2008, à 11:29)

Hors ligne

#6 Le 13/09/2008, à 12:37

Maz99

Re : [Résolu] grub > au démarrage

Je me permets un petit up, merci d'avance smile

Hors ligne

#7 Le 13/09/2008, à 15:51

Maz99

Re : [Résolu] grub > au démarrage

Résolu! J'ai commenté l'option "hiddenmenu" et j'ai revu le menu grub, aucune idée du problème rencontré mais bon l'important c'est que cela fontionne wink

Hors ligne