Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[CHROOT] monter /tmp (resolu)
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
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Thu Dec 02, 2004 7:52 pm    Post subject: [CHROOT] monter /tmp (resolu) Reply with quote

sur mon amd64 j'ai 2 gentoo, une 32 bits et une 64 bits. Je voudrais pouvoir faire un chroot sur la 32 à partir de la 64. Pour ca, faut que je monte le / 32bit, et que je mont le /proc et le /tmp du système 64bit sur les points de montage /proc et /mnt du 32bit ... :D ... comment ca je suis pas clair ?

Je résume en bash:
Code:
xhost local:localhost
mount /mnt/32bit
mount /mnt/32bit/proc
mount /mnt/32bit/tmp
linux32 chroot /mnt/32bit /bin/bash --login


Voilà ce que je met dans mon fstab/
Code:
#### Chroot ####################################################################
/dev/md2                /mnt/32bit         reiserfs        noauto,users,noatime    0 0
plouk                      /mnt/32bit/proc proc             defaults,noauto 0 0
????                      /mnt/32bit/tmp  ext3            defaults,noauto 0 0



Mon problème est le suivant: comment je monte /tmp, sachant qu'il est pas sur une partition séparée sur mon install 64 bits ? Qu'est-ce qu'il faut que je mette à la place de "????" ? Y'a un autre moyen ?


Last edited by marvin rouge on Thu Dec 02, 2004 8:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
br0mGreV
Apprentice
Apprentice


Joined: 28 Jul 2004
Posts: 265
Location: Paris, France

PostPosted: Thu Dec 02, 2004 8:18 pm    Post subject: Reply with quote

mount --bind doit etre ton ami, il me semble.

mount --bind olddir newdir,

ce qui donne ici : mount --bind /tmp /mnt/32bit/tmp

A verifier neanmoins, peut-il se faire entre 2 fs differents. A voir
_________________
Rien n'est éternel, pas même les problèmes...
Back to top
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Thu Dec 02, 2004 8:43 pm    Post subject: Reply with quote

yep :D

merci
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