View previous topic :: View next topic |
Author |
Message |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 3:54 pm Post subject: [grub] menu grub au demarrage du pc ! |
|
|
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 |
|
![](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 Jan 30, 2005 4:04 pm Post subject: |
|
|
c'est hd0, pas hda0 _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 4:09 pm Post subject: |
|
|
oui pardon hd0.
la question reste donc toujours posée.
EDIT : je repete, grub me dit que tout est fait. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Saigneur Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/12075679314188c76b2aeb6.gif)
Joined: 21 Oct 2004 Posts: 277 Location: Evry, Essonne, France (48°35'N, 02°15'E)
|
Posted: Sun Jan 30, 2005 4:19 pm Post subject: |
|
|
je vois pas ton /boot ? _________________ Tant pis si ça saigne, pourvu que ça rentre. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 4:25 pm Post subject: |
|
|
le /boot est dans le /
je n'ai pas mis une partition pr le /boot
je prefere ainsi. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 4:33 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sireyessire Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/184146537040140c2d83e95.jpg)
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sun Jan 30, 2005 4:39 pm Post subject: |
|
|
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 |
|
![](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 Jan 30, 2005 4:40 pm Post subject: |
|
|
ben oui c'est setup (hd0) qu'il faut faire ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 4:50 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 6:17 pm Post subject: |
|
|
Quelque chose n'est pas clair ? vue que je n'ai pas de réponse... |
|
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 Jan 30, 2005 6:19 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 7:22 pm Post subject: |
|
|
un seul dd
et oui pr le lien. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 7:43 pm Post subject: |
|
|
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 ?
![Crying or Very sad :cry:](images/smiles/icon_cry.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spider312 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/85234545644c350f34e5e7.jpg)
Joined: 02 Oct 2004 Posts: 1274 Location: France > Savoie > Chambery
|
Posted: Sun Jan 30, 2005 7:46 pm Post subject: |
|
|
si t'est préssé, installe lilo ... |
|
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 Jan 30, 2005 7:56 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 9:25 pm Post subject: |
|
|
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 |
|
![](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 Jan 30, 2005 9:27 pm Post subject: |
|
|
et ca dit quoi quand t'essaye de booter ? _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
manu.acl Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/161560083043ca474a86804.gif)
Joined: 29 Jan 2005 Posts: 426 Location: Paris
|
Posted: Sun Jan 30, 2005 9:31 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 9:35 pm Post subject: |
|
|
ç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 |
|
![](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 Jan 30, 2005 9:36 pm Post subject: |
|
|
installe plutot udev !!! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 9:49 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
manu.acl Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/161560083043ca474a86804.gif)
Joined: 29 Jan 2005 Posts: 426 Location: Paris
|
Posted: Sun Jan 30, 2005 9:50 pm Post subject: |
|
|
mauvais fs sélecionné pour la partition
et pour la carte réseau essaye de la configurer à la main avec ifconfig |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ablyes Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19936876994196459ee5af0.jpg)
Joined: 06 Nov 2004 Posts: 429
|
Posted: Sun Jan 30, 2005 9:55 pm Post subject: |
|
|
non c'est du ext3
/dev/hda4 /home ext3 noatime,notail 0 2 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Saigneur Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/12075679314188c76b2aeb6.gif)
Joined: 21 Oct 2004 Posts: 277 Location: Evry, Essonne, France (48°35'N, 02°15'E)
|
Posted: Sun Jan 30, 2005 10:03 pm Post subject: |
|
|
> 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 ![Laughing :lol:](images/smiles/icon_lol.gif) _________________ Tant pis si ça saigne, pourvu que ça rentre. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Chrisleurn n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Feb 2005 Posts: 2
|
Posted: Thu Feb 17, 2005 6:22 pm Post subject: |
|
|
Bonjour
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 ![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|