View previous topic :: View next topic |
Author |
Message |
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sat Oct 18, 2003 7:22 pm Post subject: [GRUB]Problème boot gentoo...[RéSOLU] maintenant pb /proc |
|
|
Tout d'abord BONJOUR a tous
Voilà j'ai décider de (re)tenter d'utiliser GRUB a la place de LILO mais je n'arrive pas a l'utiliser :/
Voilà les faits:
hda1 -> WindaubeXP
hda5 -> /boot
hda6 -> /
Alors Windaube boot mais pas Gentoo
Mon grub.conf:
Code: |
default 0
timeout 30
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title=Gentoo
root (hd0,4)
kernel (hd0,4)/boot/bzImage root=/dev/hda5
title=Windows XP
root (hd0,0)
chainloader (hd0,0)+1
|
Lorsque je choisis Gentoo il me dit "Error 15: file not found"
Un peu d'aide serait la bien venu
Last edited by evil on Sun Oct 19, 2003 10:33 am; edited 1 time in total |
|
Back to top |
|
|
fribadeau Apprentice
Joined: 13 Jul 2003 Posts: 153 Location: Thonon (France)
|
Posted: Sat Oct 18, 2003 7:27 pm Post subject: Re: [GRUB]Problème pour faire booter gentoo... |
|
|
evil wrote: | title=Gentoo
root (hd0,4)
kernel (hd0,4)/boot/bzImage root=/dev/hda5
|
Change pour :
Code: | title=Gentoo
root (hd0,4)
kernel /bzImage root=/dev/hda5
|
Ca devrait être mieux. |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sat Oct 18, 2003 7:31 pm Post subject: |
|
|
c'est pareil |
|
Back to top |
|
|
knarf Guru
Joined: 20 Feb 2003 Posts: 338 Location: Geneva, Switzerland
|
Posted: Sat Oct 18, 2003 8:39 pm Post subject: |
|
|
As-tu refait ce qui est dit dans la documentation à propos de la refaisation du MBR ? Il faut que tu écrases le MBR fait par windows sinon ton windows bootera. est-ce ca vraiment ton problème ? |
|
Back to top |
|
|
gim Guru
Joined: 29 Apr 2003 Posts: 418 Location: milky-way
|
Posted: Sat Oct 18, 2003 9:06 pm Post subject: Re: [GRUB]Problème pour faire booter gentoo... |
|
|
evil wrote: | Code: | title=Gentoo
root (hd0,4)
kernel (hd0,4)/boot/bzImage root=/dev/hda5
|
|
hum, root=/dev/hda6 non ? |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sat Oct 18, 2003 9:36 pm Post subject: |
|
|
knarf wrote: | As-tu refait ce qui est dit dans la documentation à propos de la refaisation du MBR ? Il faut que tu écrases le MBR fait par windows sinon ton windows bootera. est-ce ca vraiment ton problème ? |
J'ai installé Win AVANT linux donc dans le MBR ya GRUB Vu que je choisit entre windaube ou grub
gim--> marche pas non plus avec le hda6
sinon je viens de matter dans /boot et j'ai ça comme fichiers:
Code: |
e2fs_stage1_5
fat_stage1_5
ffs_stage1_5
grub.conf
grub.con.sample
jfs_stage1_5
menu.lst
minix_stage1_5
reiserfs_stage1_5
splash.xpm.gz
stage1
stage2
vstafs_stage1_5
xfs_stage1_5
|
Ya tout ce qu'il faut |
|
Back to top |
|
|
gim Guru
Joined: 29 Apr 2003 Posts: 418 Location: milky-way
|
Posted: Sat Oct 18, 2003 9:42 pm Post subject: |
|
|
evil wrote: |
sinon je viens de matter dans /boot et j'ai ça comme fichiers:
Code: |
e2fs_stage1_5
fat_stage1_5
ffs_stage1_5
grub.conf
grub.con.sample
jfs_stage1_5
menu.lst
minix_stage1_5
reiserfs_stage1_5
splash.xpm.gz
stage1
stage2
vstafs_stage1_5
xfs_stage1_5
|
Ya tout ce qu'il faut |
Ça c'est dans /boot/grub, et dans /boot il y a quoi exactement ? |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sat Oct 18, 2003 10:04 pm Post subject: |
|
|
bah ya que le dossier grub et aussi un fichier.keep |
|
Back to top |
|
|
knarf Guru
Joined: 20 Feb 2003 Posts: 338 Location: Geneva, Switzerland
|
Posted: Sat Oct 18, 2003 10:07 pm Post subject: |
|
|
Bah il faut ton kernel dedans non ? |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sat Oct 18, 2003 10:24 pm Post subject: |
|
|
bah ouai je viens de m'en rendre compte en mattant dans le dossier qui ya un problèmr
Mais comment faire |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3634 Location: Belgium
|
Posted: Sat Oct 18, 2003 11:21 pm Post subject: |
|
|
Sais pas pourquoi mais je pressens un problème de montage de la partition "boot".
Lorsque tu affiches le contenu de /boot, comme dans ton post précédent, que donne la commande mount (sans arguments ! ) ?
Si la partition /dev/hda5 n'apparaît pas alors c'est un problème semblable à celui évoqué ici (voir mon message du 4/09/2003, vers la fin du fil) |
|
Back to top |
|
|
adiack n00b
Joined: 19 Oct 2003 Posts: 6 Location: Montreal, Canada
|
Posted: Sun Oct 19, 2003 2:59 am Post subject: Plus d'info |
|
|
Ca serait plus facile avec plus d'info. Boot avec le CD gentoo. Puis fait:
Code: | fdisk /dev/hda
ensuite choisis option p pour ta table de partition.
|
|
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sun Oct 19, 2003 8:09 am Post subject: |
|
|
Voila ce qaue FDISK me donne...
Code: |
PARTITION BOOT BLOCKS TYPE
/dev/hda1 * 10241406 NTFS
/dev/hda2 106976835 Extented
/dev/hda5 48163 + 83 linux
/dev/hda6 6136798 83 linux
/dev/hda7 20474811 83 linux
/dev/hda8 522031 swap
/dev/hda9 79794823 + fat32
|
|
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sun Oct 19, 2003 8:22 am Post subject: |
|
|
ghoti wrote: | Sais pas pourquoi mais je pressens un problème de montage de la partition "boot".
Lorsque tu affiches le contenu de /boot, comme dans ton post précédent, que donne la commande mount (sans arguments ! ) ?
Si la partition /dev/hda5 n'apparaît pas alors c'est un problème semblable à celui évoqué ici (voir mon message du 4/09/2003, vers la fin du fil) |
bah je peux pas tapper mount vu que je peux pas booter sur la partoche linux |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3634 Location: Belgium
|
Posted: Sun Oct 19, 2003 8:28 am Post subject: |
|
|
evil wrote: | Voila ce qaue FDISK me donne... |
Cela n'apporte rien de plus : cela correspond bien à ce que tu avais annoncé au début
Ce qu'il faudrait connaître, c'est le contenu de /dev/hda5 !
Toujours en bootant sur le LiveCD, monte temporairement cette partition sur un répertoire quelconque (/mnt/test1, par exemple) et donne-nous son contenu.
Il est en effet possible que ce contenu ne corresponde pas à ce que tu crois voir dans /boot ! |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3634 Location: Belgium
|
Posted: Sun Oct 19, 2003 8:40 am Post subject: |
|
|
evil wrote: | bah je peux pas tapper mount vu que je peux pas booter sur la partoche linux |
Oui, en effet :/
Le but est de déterminer si, à un moment ou à un autre, tu n'aurais pas installé des trucs dans /boot en oubliant de monter la partition /dev/hda5. C'est un oubli courant
Donc, toujours sur le LiveCD, et en plus de la manip de mon post précédent, monte également la partition /dev/hda6.
Le répertoire "/boot" sera alors accessible.
En résumé, on va dire qu'on monte la partition de démarrage sur /mnt/test1 et la racine sur /mnt/test2.
Dans ce cas, tu devrais avoir :
/mnt/test1 ==> contient le kernel + le répertoire grub
/mnt/test2/boot ==> doit être vide
Si ce n'est pas le cas, donne le contenu respectif de ces 2 répertoires. |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sun Oct 19, 2003 9:32 am Post subject: |
|
|
bon avant que je vois tes 2 messages précédent j'ai réinstallé grub (non sans mal ) Et j'ai fais tout a la mano...
Donc now dans ma partoche boot j'ai le repertoire grub et bzImage
Mais ça boote tjours pas |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sun Oct 19, 2003 9:53 am Post subject: |
|
|
SAYAI
Aparament ça boot mais ya un blème... J'ai plus le bel écran grub... Toutes les écritures sont noires avec des bandes blanches verticales donc illisibles!
Aparement c'est un problème de splash.xpm.gz je crois mais je veux aps dire de conneries :/ |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sun Oct 19, 2003 10:31 am Post subject: |
|
|
Cette fois ci ça marche j'ai réussi a tout remmtre en marche
ça fonctionne avec ce grub.conf
Code: |
default 0
timeout 30
splashimage=/grub/splash.xpm.gz
title=Gentoo2
root (hd0,4)
kernel /bzImage root=/dev/hda6
title=Windaube XP
root (hd0,0)
chainloader (hd0,0)+1
|
Par contre au démarrage ça bloque a: "Mounting proc /proc" (de tete)... |
|
Back to top |
|
|
knarf Guru
Joined: 20 Feb 2003 Posts: 338 Location: Geneva, Switzerland
|
Posted: Sun Oct 19, 2003 10:35 am Post subject: |
|
|
Es-tu sûr d'avoir mis le bon processor dans ta compilation de ton Kernel sous la section Processor type and features ---> ? |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sun Oct 19, 2003 11:28 am Post subject: |
|
|
bah ouaip j'ai mis athlon-xp
mais ya moyen de vérifier |
|
Back to top |
|
|
knarf Guru
Joined: 20 Feb 2003 Posts: 338 Location: Geneva, Switzerland
|
Posted: Sun Oct 19, 2003 11:46 am Post subject: |
|
|
Qu'en est-il de ton /etc/fstab |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Sun Oct 19, 2003 11:48 am Post subject: |
|
|
knarf wrote: | Qu'en est-il de ton /etc/fstab |
Code: |
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT /boot ext2 noauto,noatime 1 1
/dev/ROOT / xfs noatime 0 0
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/cdroms/cdrom1 /mnt/dvdrom iso9660 noauto,ro 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
Je le trouve bizarre non |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3634 Location: Belgium
|
Posted: Sun Oct 19, 2003 12:01 pm Post subject: |
|
|
evil wrote: |
Code: | /dev/BOOT /boot ext2 noauto,noatime 1 1
/dev/ROOT / xfs noatime 0 0
/dev/SWAP none swap sw 0 0
|
Je le trouve bizarre non |
Ben ouais : faut évidemment remplacer BOOT, ROOT et SWAP par leurs VRAIES valeurs !
Donc, chez toi : /dev/hda5, /dev/hda6 et /dev/hda8 ! |
|
Back to top |
|
|
knarf Guru
Joined: 20 Feb 2003 Posts: 338 Location: Geneva, Switzerland
|
Posted: Sun Oct 19, 2003 12:09 pm Post subject: |
|
|
Je te donne le mien.
Code: |
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.10 2002/11/18 19:39:22 azarah Exp $
#
# noatime turns of atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext3 noauto,noatime 1 1
/dev/hda3 / reiserfs noatime 0 0
/dev/hda5 /home/knarf reiserfs noatime 0 0
/dev/hda6 /opt/Music reiserfs noatime 0 0
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink). Adding the following
# line to /etc/fstab should take care of this:
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will use almost no
# memory if not populated with files)
tmpfs /dev/shm tmpfs defaults 0 0
|
Voila, en gros il te faut aussi c'te ligne de proc. |
|
Back to top |
|
|
|