[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sharing i386 and amd64 /etc and /home



On (29/07/05 13:40), Wackojacko wrote:
> >I've got my disk partitioned so that /home, /etc, /usr, /tmp, and /boot
> >are on separate partitions. I'd like to install the amd64 port so I can
> >finally make use of the full performance of my processor. But, I'd
> >really like to transfer over all of my system settings to make the
> >transition as seamless as possible. So I'd basically like to install
> >amd64 into a new /usr partition and reuse all the others. Is this
> >possible?
> 
> >I'm relatively certain that no native packages would out arch-specific
> >binaries anywhere in /home or /etc, so it seems that it should be pretty
> >safe. I just want to make sure that I don't hose my i386 setup before
> >I'm fully switched over.
> 
> Hi Alex
> 
> I am currently sharing my /home directory between i386 and amd64, I don't 
> know about the other directories.  I did have to set up a new /home/user 
> for my 64 bit user as I couldn't get the . files to source properly.  I 
> then just symlinked the rest of the stuff over.  Not ideal but I am a 
> newbie and this is the best I could come up with.  I also load the i386 
> partition as a chroot so I can run both 64 bit and 32 bit applications 
> without rebooting.

If you refer to the amd64 howto, it is shown how to bind chroot /home -
I'm assuming you have a chroot.

https://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html#id220463

Running applications inside the chroot (e.g. OpenOffice.org)

To run an application inside the chroot you will need some parts of your
64bit system tree inside the chroot. This can be achieved with a bind
mount. In this example we will bind /tmp to the chroot for the X11
sockets which are in /tmp, and bind /home to access the home directories
from within the chroot. You may also want to mount the /proc and /sys
filesystems within the chroot. Edit your fstab and add the required
paths:

# ia32 chroot
/home           /var/chroot/sid-ia32/home none  bind            0
0
/tmp            /var/chroot/sid-ia32/tmp none   bind            0
0
proc            /var/chroot/sid-ia32/proc proc  defaults        0
0

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business




Reply to: