![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 | |
|
5 Cups of Ubuntu
![]() |
Most of this comes from http://digital-conquest.ath.cx/wiki/...h_debbootstrap but I wanted to put together a cleaned up version that worked for me here (There are typos and inaccuracies on the wiki page).
Quote:
Please let me know of any errors, enhancements, or corrections Last edited by Crad; May 13th, 2005 at 05:12 PM.. Reason: Updated to include making a directory for cdrom0 |
|
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() |
Re: 32-Bit Chroot How-To
To get Firefox setup with Flash I did the following:
As of right now sound is not working. If I figure out how to get the sound stuff working across the chroot, I'll post it here. Last edited by Crad; April 13th, 2005 at 03:49 PM.. Reason: Updated with symlink per minuo's suggestion |
|
|
|
|
|
#3 |
|
Has an Ubuntu Drip
![]() Join Date: Mar 2005
Beans: 743
Ubuntu 9.10 Karmic Koala
|
Re: 32-Bit Chroot How-To
To get sound working, you need to mount --bind /dev /chroot/dev (or the equivalent fstab line).
In my case, I also had to add my username to the right group to have permission to write to /dev/dsp; but that was because I was using my old Mandrake system as the chroot, and it used a different number for the audio group. For an Ubuntu chroot, you should be set already. In another thread, someone said it was also necessary to modprobe ioctl32 before starting the chroot. I've not found that to be the case here, but perhaps that's because my chroot is using OSS. (?) |
|
|
|
|
|
#4 | |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2005
Location: San Francisco, US
Beans: 141
Hardy Heron (Ubuntu Development)
|
Re: 32-Bit Chroot How-To
Quote:
I tried this, and I have verified that I have the 32bit version of firefox running, but I get the following message: LoadPlugin: failed to initialize shared library /home/mthaddon/.mozilla/plugins/libflashplayer.so [libXmu.so.6: cannot open shared object file: No such file or directory] I've checked that the file exists: ls -l /home/mthaddon/.mozilla/plugins/libflashplayer.so -rwxr-xr-x 1 mthaddon mthaddon 2096844 2004-05-20 07:34 /home/mthaddon/.mozilla/plugins/libflashplayer.so Any idea what's happening here? --------------------------------- Resolution: Found out I needed to install libxmu6 - fixed the problem. Now have 32bit firefox version running nicely. Thanks, Tom
__________________
Dell Inspiron 1420n running Hardy i386. Last edited by mthaddon; April 12th, 2005 at 08:58 PM.. |
|
|
|
|
|
|
#5 | |
|
5 Cups of Ubuntu
![]() |
Re: 32-Bit Chroot How-To
Quote:
Regards, --gordon |
|
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Beans: 1
|
Re: 32-Bit Chroot How-To
Hey I found this thread hoping to answer my questions, but havn't quite got it. Now I'm wondering if you can answer them for me.
I'm trying to set up a webserver, in which my mates can host their own websites. So I want to setup a user for them, so they can logon remotely via ssh, and have their website hosted in their home directory. But want I don't want them to be able to access the rest of the system. Even though I know they can't do anything because they wont have root permissions, I just want them to be able to access their home folder, and just their home folder. I thought I could do this my chrooting their user, can anyone expand on this, help me out, or point me in the right direction? Thanks in advance for any hints and tips. |
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2005
Beans: 1
|
Re: 32-Bit Chroot How-To
Thanks for the howto
vox@Hagalaz:~$ vlc32 (breezy) cho /usr/local/bin/vlc32 | sed 's|^.*/||' bash: cho: command not found but if i run it from within the 32bit enviro, it works fine. What've i done wrong? ***Edit*** Gah ok. this was an issue with the joe editor. I'll go crawl back under my rock now.. Last edited by vox; October 10th, 2005 at 01:25 PM.. |
|
|
|
|
|
#8 | |
|
5 Cups of Ubuntu
![]() |
Re: 32-Bit Chroot How-To
Quote:
I get sound in Firefox now! What a nice surprise! Peace, Tim
__________________
Be the change you want to see in the world. Code the change you want to see in the program. Spare some change, we are all sisters and brothers. And be accepting of change, for it is the nature of the world we know. |
|
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Location: Ciudad Juárez
Beans: 12
Ubuntu 6.10 Edgy
|
Re: 32-Bit Chroot How-To
First of all: THANK YOU!
My only remark is that I can have both version of Firefox working at the same time: it won't work if I make a Gnome launcher, but if I launch firefox32 from the shell, a new window of firefox32 appears, even if firefox64 is already runing My next problem is for the sound... But I have already problems on my 64bits system, so I'm not sure I have any chance to have it to work in the chroot... Nobody spoke of OSS... Did somebody already try with it? Last edited by Ephack; April 23rd, 2005 at 05:54 PM.. |
|
|
|
|
|
#10 |
|
Spilled the Beans
![]() Join Date: Apr 2005
Location: Galatina, LE - Italy
Beans: 14
Kubuntu 7.04 Feisty Fawn
|
Re: 32-Bit Chroot How-To
Hi to all,
this is my first message in the Ubuntu Forums after my registration. I've a suggestion for this excellent HOWTO. I think that it may be useful to add the following line in the /etc/fstab /usr/share/fonts /chroot/usr/share/fonts none bind 0 0 so that fonts from the 64 bit environment become available to the 32 bit chrooted environment. My 32 bit Firefox won't list all the fonts on my system before. I hope this can be useful to someone. Bye |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|