Pages : 1
#1 Le 24/08/2007, à 10:52
- rafter
bloqué lors du démmarage "GRUB_"
Grâce à Belga j'ai pu réparer mon problème, c-a-d que je n'avais pas le multiboot mais maintenant que grub s'affiche au démarrage quand je lance xp tout baigne mais lorsque je lance ubuntu le pc se bloque et sur l'écran noir il y a "GRUB_"
donc pour l'instant je ne peux toujours pas aller sur linux sans le live cd
Hors ligne
#2 Le 24/08/2007, à 11:01
- rlb29
Re : bloqué lors du démmarage "GRUB_"
tu devrais poster la sortie de sudo fdisk -l et le contenu de ton menu.list.
Debian-sid - kernel 2.6.30-5-amd64 - gestionnaire de fenêtres : xmonad
Hors ligne
#3 Le 24/08/2007, à 13:24
- rafter
Re : bloqué lors du démmarage "GRUB_"
alors voici le fdisk:
"Disque /dev/hdb: 163.9 Go, 163928604672 octets
255 têtes, 63 secteurs/piste, 19929 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Périphérique Amorce Début Fin Blocs Id Système
/dev/hdb1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/hdb2 3825 19929 129363412+ f W95 Etendu (LBA)
/dev/hdb5 3825 17106 106687633+ 7 HPFS/NTFS
/dev/hdb6 17107 17835 5855661 83 Linux
/dev/hdb7 17836 17957 979933+ 82 Linux swap / Solaris
/dev/hdb8 17958 18139 1461883+ b W95 FAT32
/dev/hdb9 18140 19929 14378143+ 83 Linux"
et le menu.list:"bash: menu.list : commande introuvable"
à moins que je me suis trompé
Hors ligne
#4 Le 24/08/2007, à 13:26
- athena
Re : bloqué lors du démmarage "GRUB_"
normal c'est pas menu.list mais menu.lst et ce n'est pas une commande bash mais un fichier de configuration de grub;
copie colle ca dans le terminal:
gedit /boot/grub/menu.lst
Dernière modification par athena (Le 24/08/2007, à 13:28)
sudo apt-get install cerveau
man cerveau
Hors ligne
#5 Le 24/08/2007, à 13:31
- rafter
Re : bloqué lors du démmarage "GRUB_"
quand je fais ta commande il m'ouvre une fenêtre notepad avec rien dedans
Hors ligne
#6 Le 24/08/2007, à 13:44
- Compte anonymisé
Re : bloqué lors du démmarage "GRUB_"
Salut
Si tu fais ça avec le livecd il faut au préalable monter ta partition / :
sudo mount /dev/hdb6 /mnt (en supposant que / est sur /dev/hdb6) puis
gedit /mnt/boot/grub/menu.lst
@+
Dernière modification par Compte anonymisé (Le 24/08/2007, à 13:46)
#7 Le 24/08/2007, à 13:45
- athena
Re : bloqué lors du démmarage "GRUB_"
heuh notepad c'est sous windows...
c'est l'editeur de texte gedit,si la fenetre qui s'ouvre est vide c'est surement que tu n'as pas de fichier menu.lst ce qui est bizarre...
et si tu fais :
cd /boot/grub
ls
est ce que tu vois un fichier menu.lst???
peux tu mettre un lien sur le topic de ton probleme initial?car là je ne sais pas ce que tu as fait comme manip pour installer ton double boot
sudo apt-get install cerveau
man cerveau
Hors ligne
#8 Le 24/08/2007, à 13:48
- athena
Re : bloqué lors du démmarage "GRUB_"
merci jeanjd63,j'avaispas pensé qu'il fallait monter la partition sur le livecd
sudo apt-get install cerveau
man cerveau
Hors ligne
#9 Le 24/08/2007, à 13:55
- Compte anonymisé
Re : bloqué lors du démmarage "GRUB_"
De rien
#10 Le 24/08/2007, à 13:59
- rafter
Re : bloqué lors du démmarage "GRUB_"
voici le lien
http://forum.ubuntu-fr.org/viewtopic.php?id=141398
autrement j'ai fait ce que m'a dit jeanjd63
"# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=a2474315-af2b-441b-8bf2-8275dc03fc34 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## 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 locale=fr_FR
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## ## End Default Options ##
title Ubuntu, kernel 2.6.20-15-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a2474315-af2b-441b-8bf2-8275dc03fc34 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a2474315-af2b-441b-8bf2-8275dc03fc34 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, memtest86+
root (hd0,5)
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/hdb1
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1"
Dernière modification par rafter (Le 24/08/2007, à 14:01)
Hors ligne
#11 Le 24/08/2007, à 14:22
- Compte anonymisé
Re : bloqué lors du démmarage "GRUB_"
Salut
En suivant le précédent post, il semble que tu ais intégré grub dans le boot.ini de ton Xp.
Si c'est le cas, je te propose de faire ceci:
1) démarrer en livecd
2) lancer grub :
sudo grub -> GRUB>
là tu tapes :
find /boot/grub/menu.lst ---> tu devrais obtenir qq chose comme (hd0,5)
là tu tapes :
root (hd0,5) puis
setup (hd0,5) -> ecrit le boot loader de grub sur /dev/hdb6
tu sorts avec
quit
3)[corrigée]là tu montes ta partition fat32 :
sudo mount -t vfat -o rw /dev/hdb8 /mnt puis tu sauves ton bootloader sur cette partition :
sudo dd if=/dev/hdb6 of=/mnt/bootgrub.bin bs=512 count=1
Après ça tu redemarres Xp, tu copies le fichier bootgrub.bin que tu trouves dans la racine de ton disque d: (je pense) sur c:\
Tu modifies les permissions sur le fichier boot.ini :
tu ouvres terminal : Démarrer, executer, cmd puis ok :
tu tapes :
attrib -s -h -r c:\boot.ini
Après ça tu édites c:\boot.ini et tu ajoutes en fin de fichier:
c:\bootgrub.bin="Boot Grub"
Ensuite tu rebootes ton pc et tu choisis "Boot Grub"
PS : Pourquoi ton disque est reconnu comme /dev/hdb et non /dev/hda ? Est-il monté en "slave", as-tu plusieurs disques ?
Sinon il serait peut être bien de le mettre en master (voir cavaliers à l'arriere du disque).
@+
Dernière modification par Compte anonymisé (Le 26/08/2007, à 18:15)
#12 Le 24/08/2007, à 17:57
- rafter
Re : bloqué lors du démmarage "GRUB_"
donc j'ai fait ce que tu m'as dit mais dans grub quand j'ai choisit xp nikel mais quand j'ai choisit ubuntu il me met :
"inwodws n'a pas pu démarrer car le fichier suivant est manquant ou endommagé:
<Racine Windows>\system32\hal.dll
Hors ligne
#13 Le 26/08/2007, à 18:14
- Compte anonymisé
Re : bloqué lors du démmarage "GRUB_"
Millexcuses
Reprend le post #11 à la partie 3. Je me suis trompé entre /dev/hdb5 et /dev/hdb6 et c'est normal que tu ais un message tel que tu expliques.
Tu n'as qu'a copier ce nouveau bootgurb.bin sous c:\ comme expliqué précédement et tu n'as pas à modifier boot.ini si tu gardes le même nom (bootgrub.bin)
@+
Dernière modification par Compte anonymisé (Le 26/08/2007, à 18:39)
Pages : 1