View previous topic :: View next topic |
Author |
Message |
edw n00b
Joined: 07 Oct 2004 Posts: 22 Location: France
|
Posted: Sat May 14, 2005 10:51 pm Post subject: [Emerge] Cannot automatically mount your /boot. (résolu) |
|
|
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 |
|
|
103598 n00b
Joined: 29 Mar 2005 Posts: 57
|
Posted: Sat May 14, 2005 10:54 pm Post subject: |
|
|
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 avant de faire ton emerge -u world. |
|
Back to top |
|
|
edw n00b
Joined: 07 Oct 2004 Posts: 22 Location: France
|
Posted: Sat May 14, 2005 11:08 pm Post subject: |
|
|
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 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 |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sat May 14, 2005 11:12 pm Post subject: |
|
|
ton /boot est formaté en quoi ?
t'as bien un /boot ? _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
edw n00b
Joined: 07 Oct 2004 Posts: 22 Location: France
|
Posted: Sat May 14, 2005 11:21 pm Post subject: |
|
|
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 |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sun May 15, 2005 7:09 am Post subject: |
|
|
c'est normal le default?
au boot il te met des erreurs?
tu peux nous faire un
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 |
|
|
edw n00b
Joined: 07 Oct 2004 Posts: 22 Location: France
|
Posted: Sun May 15, 2005 10:21 am Post subject: |
|
|
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 |
|
|
mic006fr Tux's lil' helper
Joined: 16 Sep 2004 Posts: 135 Location: FRANCE - Toulouse
|
Posted: Sun May 15, 2005 10:31 am Post subject: |
|
|
Erru wrote: | Si la partition n'est pas mountée automatiquement au démarrage il faut le faire manuellement avec 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 |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sun May 15, 2005 10:33 am Post subject: |
|
|
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 |
|
|
edw n00b
Joined: 07 Oct 2004 Posts: 22 Location: France
|
Posted: Sun May 15, 2005 10:54 am Post subject: |
|
|
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 |
|
|
mic006fr Tux's lil' helper
Joined: 16 Sep 2004 Posts: 135 Location: FRANCE - Toulouse
|
Posted: Sun May 15, 2005 11:06 am Post subject: |
|
|
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 |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Sun May 15, 2005 11:11 am Post subject: |
|
|
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 |
|
|
edw n00b
Joined: 07 Oct 2004 Posts: 22 Location: France
|
Posted: Sun May 15, 2005 11:41 am Post subject: |
|
|
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 |
|
|
mic006fr Tux's lil' helper
Joined: 16 Sep 2004 Posts: 135 Location: FRANCE - Toulouse
|
Posted: Sun May 15, 2005 11:58 am Post subject: |
|
|
un petit (résolu) dans le titre alors... (édite le 1er message) |
|
Back to top |
|
|
edw n00b
Joined: 07 Oct 2004 Posts: 22 Location: France
|
Posted: Sun May 15, 2005 12:27 pm Post subject: |
|
|
mic006fr wrote: | un petit (résolu) dans le titre alors... (édite le 1er message) |
c'est fait |
|
Back to top |
|
|
|