Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[grub] menu grub au demarrage du pc !
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 3:54 pm    Post subject: [grub] menu grub au demarrage du pc ! Reply with quote

j'ai commecé l'install ya qq heures, et c' deja la merde.
meme la premiere fois que j'ai installe le system c'etait pas aussi la merde.
je suis au niveau ou l'on install grub.
j'ai une partiton windows hda1
/ hda2
swap hda3
/home hda4
j'ai un bon fichier fstab

je tape
grub
root (hda0,1)
setup (hda0)

ça me dit que ça mache impec,
exit, umount, reboot,
ET paf, j'ai au demarrage une invite grub>
pourquoi ?
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 Jan 30, 2005 4:04 pm    Post subject: Reply with quote

c'est hd0, pas hda0
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 4:09 pm    Post subject: Reply with quote

oui pardon hd0.
la question reste donc toujours posée.

EDIT : je repete, grub me dit que tout est fait.
Back to top
View user's profile Send private message
Saigneur
Apprentice
Apprentice


Joined: 21 Oct 2004
Posts: 277
Location: Evry, Essonne, France (48°35'N, 02°15'E)

PostPosted: Sun Jan 30, 2005 4:19 pm    Post subject: Reply with quote

je vois pas ton /boot ?
_________________
Tant pis si ça saigne, pourvu que ça rentre.
Back to top
View user's profile Send private message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 4:25 pm    Post subject: Reply with quote

le /boot est dans le /
je n'ai pas mis une partition pr le /boot
je prefere ainsi.
Back to top
View user's profile Send private message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 4:33 pm    Post subject: Reply with quote

PLUS DE DETAILS :
qd je tape setup (hd0)
ça me parle de stage1 et stage2 et de menu.lst
alors que j'ai configure mon grub.conf, alors j'ai fait
echo grub.conf > menu.lst

voilà
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Sun Jan 30, 2005 4:39 pm    Post subject: Reply with quote

ablyes wrote:
PLUS DE DETAILS :
qd je tape setup (hd0)
ça me parle de stage1 et stage2 et de menu.lst
alors que j'ai configure mon grub.conf, alors j'ai fait
echo grub.conf > menu.lst

voilà

??
pourquoi tu as pas fait un lien symbolique ?
et puis ça veut rien dire ta commande? pas étonnant qu'il aime pas, si le fichier de conf qu'il veut lire contient grub.conf, il va être content grub :?

Code:
ln -s /boot/grub/brub.conf /boot/grub/menu.lst

_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
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 Jan 30, 2005 4:40 pm    Post subject: Reply with quote

ben oui c'est setup (hd0) qu'il faut faire !
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 4:50 pm    Post subject: Reply with quote

je vais trop vite, alors c'est bien
setup (hd0) que j'ai exécuté en dernier

c'est pas echo, mais cat, donc ça donne
cat grub.conf > menu.lst
et j'ai vérifié le contenu de chaque fichier, donc ya pas de probleme pour ça.

Voilà l'affichage juste après setup...
Code:

Checking if "/boot/grub/stage1" exists ...yes
Checking if "/boot/grub/stage2" exists ...yes
Cheching if "/boot/grub/e2fs_stage1_5" exists ... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)" ... 22 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+22 p (hd0,1)/boot/grub/stage2 /boot/grub/menu.lst" ... succeeded
Done.

Back to top
View user's profile Send private message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 6:17 pm    Post subject: Reply with quote

Quelque chose n'est pas clair ? vue que je n'ai pas de réponse...
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 Jan 30, 2005 6:19 pm    Post subject: Reply with quote

ben nan la le probleme est que TOUT est clair justement, je ne vois pas ou pourrait etre le probleme ... t'as que 1 disque dur ?

t'as bien fait um lien comme indique par sireyessire ?

fais nous un ls -l /boot/grub/
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 7:22 pm    Post subject: Reply with quote

un seul dd
et oui pr le lien.
Back to top
View user's profile Send private message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 7:43 pm    Post subject: Reply with quote

Bordel de merde c' pourtant tout con !
pourquoi ça marche pas ? et dire que j'ai pas de temps à perdre, et que j'install ce putain de merdier.
trop desespéré.
help

je comprends pas pkoi ya pleins de fichier dans /boot/grub
comme les stage_1 ...il devrait y'avoir que un ou deux, dont menu.lst ou grub.conf. d'ailleurs lequel des deux est pris en considération ?


:cry:
Back to top
View user's profile Send private message
spider312
Veteran
Veteran


Joined: 02 Oct 2004
Posts: 1274
Location: France > Savoie > Chambery

PostPosted: Sun Jan 30, 2005 7:46 pm    Post subject: Reply with quote

si t'est préssé, installe lilo ...
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 Jan 30, 2005 7:56 pm    Post subject: Reply with quote

chez moi :

Code:
$ ll /boot/grub/
total 1,3M
-rw-r--r--  1 root root   15 avr  6  2004 device.map
-rw-r--r--  1 root root  12K déc 25 02:43 e2fs_stage1_5
-rw-r--r--  1 root root  11K déc 25 02:43 fat_stage1_5
-rw-r--r--  1 root root 9,3K déc 25 02:43 ffs_stage1_5
-rw-r--r--  1 root root 1,3K jan 28 19:50 grub.conf
-rw-r--r--  1 root root 1,6K déc 25 02:43 grub.conf.sample
-rw-r--r--  1 root root 9,4K déc 25 02:43 iso9660_stage1_5
-rw-r--r--  1 root root  12K déc 25 02:43 jfs_stage1_5
-rw-r--r--  1 root root  58K mar 13  2004 lovehina.xpm.gz
lrwxrwxrwx  1 root root    9 jan 27 22:16 menu.lst -> grub.conf
-rw-r--r--  1 root root   58 fév  7  2004 messages
-rw-r--r--  1 root root 9,6K déc 25 02:43 minix_stage1_5
-rw-r--r--  1 root root  37K mar 31  2004 motoko.xpm.gz
-rwxr-xr-x  1 root root 197K aoû 25 00:19 nbgrub
-rwxr-xr-x  1 root root 198K aoû 25 00:19 pxegrub
-rw-r--r--  1 root root  13K déc 25 02:43 reiserfs_stage1_5
-rw-r--r--  1 root root  34K déc 25 02:43 splash.xpm.gz
-rw-r--r--  1 root root  512 déc 25 02:43 stage1
-rw-r--r--  1 root root 139K déc 25 02:43 stage2
-rw-r--r--  1 root root 139K déc 25 02:43 stage2_eltorito
-rwxr-xr-x  1 root root 198K aoû 25 00:19 stage2.netboot
-rw-r--r--  1 root root 139K aoû 25 00:19 stage2.old
-rw-r--r--  1 root root 9,7K déc 25 02:43 ufs2_stage1_5
-rw-r--r--  1 root root 9,0K déc 25 02:43 vstafs_stage1_5
-rw-r--r--  1 root root  13K déc 25 02:43 xfs_stage1_5

_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 9:25 pm    Post subject: Reply with quote

et bah !
c'etait mon menu.lst qui était mal.
maintenant le menu s'affiche, je peux booter sur windows mais pas sur linux.

Code:

default 0
timeout 30

title=Gentoo Linux 2.4.26-r9
root (hd0,1)
kernel /boot/kernel root=/dev/hda2

title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1


Voilà ! sachant que dans mon /boot j'ai kernel qui pointe vers kernel-2.6.10...
et qu'il est dans le /dev/hda2 (sous / car je ne l'ai pas mis dans une partition à part).
j'ai essayé avec kernel /kernel root=/dev/hda2, pareil, heureusement car si non je comprendrais plus rien à la logique de grub.
help tjrs !
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 Jan 30, 2005 9:27 pm    Post subject: Reply with quote

et ca dit quoi quand t'essaye de booter ?
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
manu.acl
Guru
Guru


Joined: 29 Jan 2005
Posts: 426
Location: Paris

PostPosted: Sun Jan 30, 2005 9:31 pm    Post subject: Reply with quote

et comme ça ?

Code:
title=Gentoo Linux 2.4.26-r9
root (hd0,1)
kernel (hd0,1)/boot/kernel root=/dev/hda2
Back to top
View user's profile Send private message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 9:35 pm    Post subject: Reply with quote

ça marche impec !
merci manu.
mon kernel est compilé sans le DEVFS, alors il me demande de le faire... je vais regarder ou c'est.
merci encore !
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 Jan 30, 2005 9:36 pm    Post subject: Reply with quote

installe plutot udev !!!
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 9:49 pm    Post subject: Reply with quote

bravoo gentoo, le clvier est qwerty.
ma carte reseau meme configurée marche pas. (meme apres un /etc/init.d/net.eth0 start)
ma partition home n'est pas montée vas savoir pourquoi ! ça dit ça :
(wrong fs type, bad option, bad superblock on /dev/hda4 or too many mounted file systems)

je sens que je vais y passer la nuit.
Back to top
View user's profile Send private message
manu.acl
Guru
Guru


Joined: 29 Jan 2005
Posts: 426
Location: Paris

PostPosted: Sun Jan 30, 2005 9:50 pm    Post subject: Reply with quote

mauvais fs sélecionné pour la partition
et pour la carte réseau essaye de la configurer à la main avec ifconfig
Back to top
View user's profile Send private message
ablyes
Guru
Guru


Joined: 06 Nov 2004
Posts: 429

PostPosted: Sun Jan 30, 2005 9:55 pm    Post subject: Reply with quote

non c'est du ext3
/dev/hda4 /home ext3 noatime,notail 0 2
Back to top
View user's profile Send private message
Saigneur
Apprentice
Apprentice


Joined: 21 Oct 2004
Posts: 277
Location: Evry, Essonne, France (48°35'N, 02°15'E)

PostPosted: Sun Jan 30, 2005 10:03 pm    Post subject: Reply with quote

> bravoo gentoo, le clvier est qwerty.

Dans l'immédiat : loadkeys fr. Ensuite, va ici.

> ma carte reseau meme configurée marche pas. (meme apres un /etc/init.d/net.eth0 start)

Probablement un mauvais choix dans le noyau. Fais un lsmod avec le LiveCD pour voir quel module est chargé.

> ma partition home n'est pas montée vas savoir pourquoi ! ça dit ça :
(wrong fs type, bad option, bad superblock on /dev/hda4 or too many mounted file systems)

Vois dans /etc/fstab pour mettre un type "auto" dans le type de filesystem.

> je sens que je vais y passer la nuit.

Bon courage. Moi j'ai eu des pépins avec PHP, maintenant c'est PHPMyAdmin. Enfin ça c'est résolu. Vivement la suite :lol:
_________________
Tant pis si ça saigne, pourvu que ça rentre.
Back to top
View user's profile Send private message
Chrisleurn
n00b
n00b


Joined: 17 Feb 2005
Posts: 2

PostPosted: Thu Feb 17, 2005 6:22 pm    Post subject: Reply with quote

Bonjour :D
J'ai le meme probleme, mais moi, j'ai un truc qui differe, j'ai pas fait mon grub.conf, donc je me retrouve comme un con, enfin surtout debutant
Quelqu'un a une soluce :?:
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
Goto page 1, 2  Next
Page 1 of 2

 
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