View previous topic :: View next topic |
Author |
Message |
Tom_ Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1495236763449c22e973a0c.jpg)
Joined: 20 May 2004 Posts: 448 Location: France
|
Posted: Thu Apr 20, 2006 12:04 pm Post subject: [boot]mkdir: Cannot create directory `/newroot/tmp/... |
|
|
Bonjour,
Je suis en train de réinstaller ma Gentoo (pour différentes raisons qui ne sont pas liées à ma précédente Gentoo). L'install se passe bien, mais j'ai un petit warning lors du boot que je n'arrive pas à résoudre :
Quote: |
>>Activating udev
>>Determining root device...
>>Mounting root ...
mkdir: Cannot create directory `/newroot/tmp/.initrd` : read-only file system
|
Malgré ce warning le système boote normalement et fonctionne bien ensuite mais j'aimerais quand même résoudre ce problème.
Mon fstab :
Code: | /dev/sda5 / ext3 defaults 1 1
/dev/sda6 /home ext3 defaults 1 2
/dev/hda /mnt/cdrom auto noauto,ro,user 0 0
/dev/hdb /mnt/cdrom2 auto noauto,ro,user 0 0
/dev/sda8 /mnt/mdv/ ext3 defaults 1 2
/dev/sda9 /mnt/home_mdv/ ext3 defaults 1 2
/dev/sda1 /mnt/windows ntfs umask=0,nls=iso8859-15,ro 0 0
none /proc proc defaults 0 0
/dev/sda7 swap swap defaults 0 0
|
Mon lilo.conf (j'utilise le lilo de ma Mandriva ce qui explique le /mnt/gentoo) :
Code: |
image=/mnt/gentoo/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r3
label="2.6.16-gentoo-r3"
read-only
root=/dev/ram0
initrd=/mnt/gentoo/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r3
append="udev init=/linuxrc ramdisk=8192 real_root=/dev/sda5"
vga=788 |
Code: |
uname -r
2.6.16-gentoo-r3
|
J'ai utilisé genkernel avec l'option --menuconfig pour personnaliser la config.
Config du noyau pour ce qui est des fs :
Code: |
#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
# CONFIG_EXT2_FS_SECURITY is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
# CONFIG_REISERFS_FS_SECURITY is not set
CONFIG_JFS_FS=y
CONFIG_JFS_POSIX_ACL=y
# CONFIG_JFS_SECURITY is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_XFS_FS=y
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_SECURITY is not set
CONFIG_XFS_POSIX_ACL=y
# CONFIG_XFS_RT is not set
# CONFIG_OCFS2_FS is not set
CONFIG_MINIX_FS=m
CONFIG_ROMFS_FS=m
CONFIG_INOTIFY=y
# CONFIG_QUOTA is not set
CONFIG_DNOTIFY=y
CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=y
# CONFIG_FUSE_FS is not set |
Merci d'avance !!! ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mickael Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/203102811045d98d1102042.png)
Joined: 05 Sep 2005 Posts: 2387 Location: ~Belfort! - France - EU
|
Posted: Thu Apr 20, 2006 4:08 pm Post subject: |
|
|
Salut,
à tout hasard est-ce que le début de ton lilo est correcte :
Code: |
boot=/dev/hda # Installe LILO dans le MBR.
prompt # Permet à l'utilisateur de sélectionner une autre entrée.
timeout=50 # Délai de 5 secondes avant de démarrer l'entrée par défaut.
default=gentoo # Définit l'entrée par défaut. |
surtout la partie prompt
EDIT : la doc dit ceci en plus :
Quote: |
Enregistrez le fichier et quittez votre éditeur. Pour terminer, vous devez lancer la commande /sbin/lilo pour que LILO prenne votre fichier /etc/lilo.conf en compte (c'est-à-dire pour l'installer sur le disque). Notez que vous devrez exécuter /sbin/lilo chaque fois que vous installez un noyau.
|
Il faut peut-être que tu lances cette commande depuis mandrake.
EDIT 2 : As-tu un fichier tmp dans ton répertoire root. Si non, fait le peut-être que.... _________________ À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tom_ Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1495236763449c22e973a0c.jpg)
Joined: 20 May 2004 Posts: 448 Location: France
|
Posted: Thu Apr 20, 2006 5:49 pm Post subject: |
|
|
Tout d'abord, merci d'avoir répondu.
Pour Lilo, c'est ok : le début de mon lilo.conf est correcte et j'ai bin utilisé la commande lilo (ou /sbin/lilo) pour le mettre à jour.
J'ai ajouté un dosser tmp dans /root/ mais ca n'a rien changé.
Merci quand même. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|