Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[GRUB]Ecran noir au boot(résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
DomiX
Apprentice
Apprentice


Joined: 26 Oct 2003
Posts: 209
Location: Paris (FRANCE)

PostPosted: Sun Feb 29, 2004 11:15 am    Post subject: [GRUB]Ecran noir au boot(résolu) Reply with quote

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 :

Code:
emerge grub


/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
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Sun Feb 29, 2004 11:18 am    Post subject: Reply with quote

Truc tout (très ?) con : as tu essayé avec :
Code:
kernel  (hd0,5)/boot/vmlinuz2.4.25bs...
:?:
Back to top
View user's profile Send private message
DomiX
Apprentice
Apprentice


Joined: 26 Oct 2003
Posts: 209
Location: Paris (FRANCE)

PostPosted: Sun Feb 29, 2004 11:22 am    Post subject: Reply with quote

Je teste mais si mes entrées etaient mauvaises je n'aurais pas au minimum un prompt permettant de me rattraper :?:
_________________
"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
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Feb 29, 2004 1:09 pm    Post subject: Reply with quote

DomiX wrote:
Je teste mais si mes entrées etaient mauvaises je n'aurais pas au minimum un prompt permettant de me rattraper :?:


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
View user's profile Send private message
J4nus
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 121

PostPosted: Sun Feb 29, 2004 1:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
J4nus
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 121

PostPosted: Sun Feb 29, 2004 1:19 pm    Post subject: Reply with quote

# 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 :(
Back to top
View user's profile Send private message
DomiX
Apprentice
Apprentice


Joined: 26 Oct 2003
Posts: 209
Location: Paris (FRANCE)

PostPosted: Sun Feb 29, 2004 2:17 pm    Post subject: Reply with quote

J'ai essayé en commentant la ligne splashimage, mais rien à faire ca ne fonctionne pas :evil:
_________________
"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
View user's profile Send private message
DomiX
Apprentice
Apprentice


Joined: 26 Oct 2003
Posts: 209
Location: Paris (FRANCE)

PostPosted: Sun Feb 29, 2004 4:15 pm    Post subject: Reply with quote

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 :cry:
_________________
"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
View user's profile Send private message
DomiX
Apprentice
Apprentice


Joined: 26 Oct 2003
Posts: 209
Location: Paris (FRANCE)

PostPosted: Wed Mar 03, 2004 7:28 pm    Post subject: Reply with quote

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 8)
_________________
"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
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2308
Location: Bretagne

PostPosted: Mon Dec 20, 2004 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
UB|K
l33t
l33t


Joined: 27 May 2004
Posts: 786
Location: Villeurbanne, France

PostPosted: Mon Dec 20, 2004 4:18 pm    Post subject: Reply with quote

Code:
emerge -av =grub-0.92-r1

(ou la version que tu veux emerger) et c'est tarpi...
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2308
Location: Bretagne

PostPosted: Mon Dec 20, 2004 9:08 pm    Post subject: Reply with quote

Merci bonhomme :wink:

@+
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum