Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Emerge] Cannot automatically mount your /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
edw
n00b
n00b


Joined: 07 Oct 2004
Posts: 22
Location: France

PostPosted: Sat May 14, 2005 10:51 pm    Post subject: [Emerge] Cannot automatically mount your /boot. (résolu) Reply with quote

Bonsoir, j'ai un petit soucis qui me bloque mon emerge world.
Au moment ou la machine emerge grub j'ai le message d'erreur suivant:
Code:
>>> Completed installing grub-0.96-r1 into /var/tmp/portage/grub-0.96-r1/image/

>>> Merging sys-boot/grub-0.96-r1 to /
 *
 * Cannot automatically mount your /boot partition.
 * Your boot partition has to be mounted rw before the installation
 * can continue. grub needs to install important files there.
 *

!!! ERROR: sys-boot/grub-0.96-r1 failed.
!!! Function mount-boot_mount_boot_partition, Line 53, Exitcode 0
!!! Please mount your /boot partition manually!
!!! If you need support, post the topmost build error, NOT this status message.

!!! FAILED preinst: 1


Après une petite recherche et quelques essaies, rien de concluant. qq'un aurait-il une idée ?!


Last edited by edw on Sun May 15, 2005 12:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
103598
n00b
n00b


Joined: 29 Mar 2005
Posts: 57

PostPosted: Sat May 14, 2005 10:54 pm    Post subject: Reply with quote

Tu as peut-être ceci dans ton /etc/fstab
Quote:
/dev/hda5 /boot ext2 noauto

Si la partition n'est pas mountée automatiquement au démarrage il faut le faire manuellement avec
Code:
mout /boot/
avant de faire ton emerge -u world.
Back to top
View user's profile Send private message
edw
n00b
n00b


Joined: 07 Oct 2004
Posts: 22
Location: France

PostPosted: Sat May 14, 2005 11:08 pm    Post subject: Reply with quote

Merci.

Erru wrote:
Tu as peut-être ceci dans ton /etc/fstab
Quote:
/dev/hda5 /boot ext2 noauto

Si la partition n'est pas mountée automatiquement au démarrage il faut le faire manuellement avec
Code:
mout /boot/
avant de faire ton emerge -u world.

Bingo, je suis en noauto !! :) là un autre problème ce pose:
J'ai dans mon fstab
Code:
/dev/hda1               /boot           ext2            default,noauto          0 0

et quand je "mount /boot/"
Code:
IBMGentoo root # mount /boot/
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
       or too many mounted file systems

j'ai essayé de modifier mon fstab en enlevant le noauto, et j'ai une erreur maintenant au demarrage qui me dit qu'il n'arrive pas le mount.. :/

désolé je ne suis que très peu expérimenté !
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: Sat May 14, 2005 11:12 pm    Post subject: Reply with quote

ton /boot est formaté en quoi ?

t'as bien un /boot ?
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
edw
n00b
n00b


Joined: 07 Oct 2004
Posts: 22
Location: France

PostPosted: Sat May 14, 2005 11:21 pm    Post subject: Reply with quote

oui j'ai bien un boot et il me semble qu'i est en ext2, vu que j'ai suivi la doc officiel pour installer gentoo :)
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 May 15, 2005 7:09 am    Post subject: Reply with quote

c'est normal le default?
au boot il te met des erreurs?

tu peux nous faire un
Code:
ls -al /boot/

alors que la partition est pas montée.
_________________
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
edw
n00b
n00b


Joined: 07 Oct 2004
Posts: 22
Location: France

PostPosted: Sun May 15, 2005 10:21 am    Post subject: Reply with quote

oui j'ai une erreur il me dit que certaines partitions système ne sont pas "mount".

Code:
IBMGentoo root # ls -al /boot/
total 8
drwxr-xr-x   2 root root 4096 May 11 20:17 .
drwxr-xr-x  18 root root 4096 May 12 02:44 ..
Back to top
View user's profile Send private message
mic006fr
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2004
Posts: 135
Location: FRANCE - Toulouse

PostPosted: Sun May 15, 2005 10:31 am    Post subject: Reply with quote

Erru wrote:
Si la partition n'est pas mountée automatiquement au démarrage il faut le faire manuellement avec
Code:
mout /boot/
avant de faire ton emerge -u world.

Le problème vient du fait que tu n'arrives pas à monter la partition. Le noauto ne gène pas (et c'est même conseillé, pas besoin de monter le boot par défaut, juste quand c'est nécessaire). J'ai noauto, et la mise-à-jour de grub se fait sans problème (il doit y avoir un mount /boot - umount /boot fait au moment de l'install).
Vérifie les numéros de partitions avec fdisk -l, si c'est ok essaie de monter la partition avec auto comme filesystem...
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 May 15, 2005 10:33 am    Post subject: Reply with quote

edw wrote:
oui j'ai une erreur il me dit que certaines partitions système ne sont pas "mount".

Code:
IBMGentoo root # ls -al /boot/
total 8
drwxr-xr-x   2 root root 4096 May 11 20:17 .
drwxr-xr-x  18 root root 4096 May 12 02:44 ..

oki, tu peux nous poster le texte de l'erreur stp, tu dois pouvoir le retrouver avec dmesg ou dans /var/log/messages (si tu as syslog-ng) /var/log/everything/current (si tu as metalog) les autres je sais pas.
_________________
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
edw
n00b
n00b


Joined: 07 Oct 2004
Posts: 22
Location: France

PostPosted: Sun May 15, 2005 10:54 am    Post subject: Reply with quote

J'avais bien compris pour le noauto, je l'ai cependant supprimer pour essayer.
Code:

IBMGentoo root # umount /boot/
umount: /boot/: not mounted
IBMGentoo root # fdisk -l

Disk /dev/hda: 4871 MB, 4871301120 bytes
15 heads, 63 sectors/track, 10068 cylinders
Units = cylinders of 945 * 512 = 483840 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          67       31626   83  Linux
/dev/hda2              68        1126      500377+  82  Linux swap / Solaris
/dev/hda3            1127       10068     4225095   83  Linux


sinon pour les messages d'erreurs dans dmegs & /var/log/messages j'ai fais un grep hda1 et grep boot mais j'ai rien :(
Back to top
View user's profile Send private message
mic006fr
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2004
Posts: 135
Location: FRANCE - Toulouse

PostPosted: Sun May 15, 2005 11:06 am    Post subject: Reply with quote

edw wrote:
J'ai dans mon fstab
Code:
/dev/hda1               /boot           ext2            default,noauto          0 0

Dans man mount, j'ai pas trouve default, mais defaults. Ca serait étonnant que le message d'erreur ne soit pas plus explicite, mais bon ca vaut le coup d'essayer...
Sinon tu as bien le support de ext2 dans ton noyau ?
Code:
grep -i ext2 /usr/src/linux/.config
CONFIG_EXT2_FS=y (sans # au début)
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Sun May 15, 2005 11:11 am    Post subject: Reply with quote

utilise cfdisk, il te dira le type de fs utilisé pour chaque partition. Dans fdisk je n'ai jamais trouvé la commanhde, si quelqu'un a la réponse...
Back to top
View user's profile Send private message
edw
n00b
n00b


Joined: 07 Oct 2004
Posts: 22
Location: France

PostPosted: Sun May 15, 2005 11:41 am    Post subject: Reply with quote

ahh, c'etait juste le defaults qui bloquait tout !! Merci beaucoup pour votre aide :)
Ca m'apprendra à pas regarder si c'est la syntaxe :/
Back to top
View user's profile Send private message
mic006fr
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2004
Posts: 135
Location: FRANCE - Toulouse

PostPosted: Sun May 15, 2005 11:58 am    Post subject: Reply with quote

un petit (résolu) dans le titre alors... (édite le 1er message)
Back to top
View user's profile Send private message
edw
n00b
n00b


Joined: 07 Oct 2004
Posts: 22
Location: France

PostPosted: Sun May 15, 2005 12:27 pm    Post subject: Reply with quote

mic006fr wrote:
un petit (résolu) dans le titre alors... (édite le 1er message)


c'est fait :)
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