View previous topic :: View next topic |
Author |
Message |
DomiX Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Otto.jpg)
Joined: 26 Oct 2003 Posts: 209 Location: Paris (FRANCE)
|
Posted: Sun Feb 29, 2004 11:15 am Post subject: [GRUB]Ecran noir au boot(résolu) |
|
|
Bonjour
J'ai décidé de tester Grub, mais cela ne fonctionne pas du tout, au démarrage j'ai juste un écran noir et un curseur qui clignote. La priorité au boot est bien sur le HDD
Voila la procédure que j'ai suivi :
/boot correspond à /dev/hda6 ext3
/ correspond à /dev/hda5 reiserfs
Voici le contenu de /boot/grub :
Code: | # ls -la /boot/grub/
total 209
drwxr-xr-x 2 root root 1024 fév 29 11:36 .
drwxr-xr-x 5 root root 1024 fév 29 11:51 ..
-rw-r--r-- 1 root root 7616 fév 29 11:19 e2fs_stage1_5
-rw-r--r-- 1 root root 7248 fév 29 11:19 fat_stage1_5
-rw-r--r-- 1 root root 6688 fév 29 11:19 ffs_stage1_5
-rw------- 1 root root 740 fév 29 11:23 grub.conf
-rw-r--r-- 1 root root 1256 fév 29 11:19 grub.conf.sample
-rw-r--r-- 1 root root 8224 fév 29 11:19 jfs_stage1_5
-rw------- 1 root root 740 fév 29 11:20 menu.lst
-rw-r--r-- 1 root root 6880 fév 29 11:19 minix_stage1_5
-rw-r--r-- 1 root root 9088 fév 29 11:19 reiserfs_stage1_5
-rw-r--r-- 1 root root 33856 fév 29 11:19 splash.xpm.gz
-rw-r--r-- 1 root root 512 fév 29 11:19 stage1
-rw-r--r-- 1 root root 104000 fév 29 11:19 stage2
-rw-r--r-- 1 root root 6336 fév 29 11:19 vstafs_stage1_5
-rw-r--r-- 1 root root 9160 fév 29 11:19 xfs_stage1_5
|
Mon grub.conf :
Code: | # cat /boot/grub/grub.conf
default=0
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
title Gentoo GNU/Linux 2.4.25
root (hd0,5)
kernel (hd0,5)/vmlinuz2.4.25bs root=/dev/hda5 hdd=ide-scsi noapic video=vesa:ywrap,mtrr vga=0x31A
title Gentoo GNU/Linux 2.4.23
root (hd0,5)
kernel (hd0,5)/vmlinuz2.4.23usb root=/dev/hda5 hdd=ide-scsi noapic
title Windows XP
rootnoverify (hd0,0)
chainloader +1
|
ensuite j'ai lancé grub :
Code: | grub> root (hd0,5)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd
Possible disks are: hd0 hd1
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,5)/boot/grub/stage2 /boot/grub/grub.c
onf"... succeeded
Done.
grub> quit
|
[troll]avec lilo ca fonctionne[/troll]
J'ai suivi la doc de l'installation Gentoo.
Merci de votre aide _________________ "La connaissance technique ne suffit pas. On doit surpasser les techniques de sorte que l'art devienne un art sans artifice qui apparaît de l'inconscient."
- Daisetsu Suzuki (1870-1966) -
Last edited by DomiX on Wed Mar 03, 2004 7:26 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cylgalad Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 18 Apr 2003 Posts: 1327 Location: France
|
Posted: Sun Feb 29, 2004 11:18 am Post subject: |
|
|
Truc tout (très ?) con : as tu essayé avec :
Code: | kernel (hd0,5)/boot/vmlinuz2.4.25bs... | ![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DomiX Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Otto.jpg)
Joined: 26 Oct 2003 Posts: 209 Location: Paris (FRANCE)
|
Posted: Sun Feb 29, 2004 11:22 am Post subject: |
|
|
Je teste mais si mes entrées etaient mauvaises je n'aurais pas au minimum un prompt permettant de me rattraper ![Question :?:](images/smiles/icon_question.gif) _________________ "La connaissance technique ne suffit pas. On doit surpasser les techniques de sorte que l'art devienne un art sans artifice qui apparaît de l'inconscient."
- Daisetsu Suzuki (1870-1966) - |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelsensei Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21126704545e4a5f9ae5c9.jpg)
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sun Feb 29, 2004 1:09 pm Post subject: |
|
|
DomiX wrote: | Je teste mais si mes entrées etaient mauvaises je n'aurais pas au minimum un prompt permettant de me rattraper ![Question :?:](images/smiles/icon_question.gif) |
Justement, si, grub integre un shell minimaliste qui te permet te specifier l'emplacement du kernel au cas ou ca foire ... (g pas encore eu a tester mais je sais que ca marche) _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
J4nus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Sonic/5.gif)
Joined: 03 Oct 2003 Posts: 121
|
Posted: Sun Feb 29, 2004 1:16 pm Post subject: |
|
|
j'ai pareil que toi depuis que j'ai voulu mettre un splashscreen
si tu commente la ligne
splashimage=(hd0,5)/grub/splash.xpm.gz tu n'auras plus ce problème
Pour le splashscreen tu dois avoir le framebuffer en 16 bits et avoir patcher le kernel ou avoir le gentoo-source (déjà patché) et activer l'option bootsplash + ram disk |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
J4nus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Sonic/5.gif)
Joined: 03 Oct 2003 Posts: 121
|
Posted: Sun Feb 29, 2004 1:19 pm Post subject: |
|
|
# Grub Configuration PowErEd By J4nus
timeout 5
default 0
splashimage=(hd0,0) /boot/grub/linuxinside.xpm.gz
fallback 1
# For booting Linux
title Gentoo/Powerfull
root (hd0,0)
kernel (hd0,0)/bzImage root=/dev/hda5 vga=791
# For booting Windows
title Windows/Powerless
root (hd0,1)
chainloader (hd0,1)+1
# For booting Linux (2-6-2-rc1)
title Gentoo/Save-kernel
root (ho0,0)
kernel (hd0,0/bzImage.2-6-2 root=/dev/hda5 vga=792
Voici ma config si tu veux tester...
Je reprise que si je ne commente pas la ligne bootsplash, j'ai un écran noir... ne la commentant aucun prob mais je n'ai pas le bootsplash évidemment ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DomiX Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Otto.jpg)
Joined: 26 Oct 2003 Posts: 209 Location: Paris (FRANCE)
|
Posted: Sun Feb 29, 2004 2:17 pm Post subject: |
|
|
J'ai essayé en commentant la ligne splashimage, mais rien à faire ca ne fonctionne pas ![Evil or Very Mad :evil:](images/smiles/icon_evil.gif) _________________ "La connaissance technique ne suffit pas. On doit surpasser les techniques de sorte que l'art devienne un art sans artifice qui apparaît de l'inconscient."
- Daisetsu Suzuki (1870-1966) - |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DomiX Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Otto.jpg)
Joined: 26 Oct 2003 Posts: 209 Location: Paris (FRANCE)
|
Posted: Sun Feb 29, 2004 4:15 pm Post subject: |
|
|
J'ai essayé d'autres solutions qui n'ont pas mieux marché:
j'ai rajouté le flag boot avec cfdisk sur /boot
dans la doc il disse de mettre "title=Gentoo" j'avais oublier le "="
j'ai booté sur une disquette Dos pour faire un faire un fdisk /mbr et réinstaller grub pareil ...
Donc voila jsuis un peu bloqué dommage Grub me parrait un bon chargeur de système ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) _________________ "La connaissance technique ne suffit pas. On doit surpasser les techniques de sorte que l'art devienne un art sans artifice qui apparaît de l'inconscient."
- Daisetsu Suzuki (1870-1966) - |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DomiX Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Otto.jpg)
Joined: 26 Oct 2003 Posts: 209 Location: Paris (FRANCE)
|
Posted: Wed Mar 03, 2004 7:28 pm Post subject: |
|
|
Après avoir vu plusieurs post sur le forum, concernant des problèmes avec la version de grub 0.93xxxx, j'ai installer la version 0.92 et ca fonctionne des fois faut pas se prendre la tete ![Cool 8)](images/smiles/icon_cool.gif) _________________ "La connaissance technique ne suffit pas. On doit surpasser les techniques de sorte que l'art devienne un art sans artifice qui apparaît de l'inconscient."
- Daisetsu Suzuki (1870-1966) - |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Adrien Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212969820843e8bba236eee.jpg)
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Mon Dec 20, 2004 3:10 pm Post subject: |
|
|
Coucou, j'ai le même problème, comment fais-tu pour installer la version 0.92 au lieu de 0.93XXX ????
@+ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UB|K l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/100531530650f357e511dc9.jpg)
Joined: 27 May 2004 Posts: 786 Location: Villeurbanne, France
|
Posted: Mon Dec 20, 2004 4:18 pm Post subject: |
|
|
Code: | emerge -av =grub-0.92-r1 |
(ou la version que tu veux emerger) et c'est tarpi... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Adrien Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212969820843e8bba236eee.jpg)
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Mon Dec 20, 2004 9:08 pm Post subject: |
|
|
Merci bonhomme
@+ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|