View Single Post
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#1
I have dual-boot 32 bit and 64 bit Ubuntu, but usually boot into 64 bit. I am running 64 bit but have scratchbox working (except for kernel compiles which requries a "mmap" program I get permission denied).

First, I have /dev/sda2 as 32 bit Ubuntu, /dev/sda3 as /home, and /dev/sda4 as 64 bit Ubuntu as the default.

/dev/sda2 has scratchbox installed and working and I was using that.

So, booting into 64 bit:

I mount the 32 bit linux as /media/UBUNTU on bootup.

I switch to root (sudo -s).

Then I mount the duplicate proc in the right places using "mount -a -t proc" as root.

After that I "chroot /media/UBUNTU", then run "/etc/init.d/scratchbox-core start"

I do "su myaccount", then "scratchbox" and it works.

apt-get works. So does all the build stuff except the kernel as I've noted (and which I'm working on tracking down).

This is my mtab:

Code:
/dev/sda2 /media/UBUNTU ext3 rw,relatime,errors=remount-ro 0 0

proc            /media/UBUNTU/proc           proc    defaults        0       0
proc            /media/UBUNTU/scratchbox/users/tz/proc           proc    defaults        0       0