http://ubuntuforums.org/showthread.p...d=1#post361939Originally Posted by draugen
killall esd
restart firefox32 - sound is back.
http://ubuntuforums.org/showthread.p...d=1#post361939Originally Posted by draugen
killall esd
restart firefox32 - sound is back.
I have an issue with this chroot. I've modified the fstab slightly, in the first post, here's the only add's :Originally Posted by Crad
#
* /media/cdrom0 /chroot/media/cdrom0 none bind 0 0
* /media/cdrom1 /chroot/media/cdrom1 none bind 0 0
* /usr/share/fonts /chroot/usr/share/fonts none bind 0 0
# sudo mkdir /chroot/media/cdrom0
# sudo mkdir /chroot/media/cdrom1
Now after reboot, I can access cdrom0 and cdrom1 just fine with my normal interface:
root@w0-rm-h0-l3:/media # cd cdrom0
root@w0-rm-h0-l3:/media/cdrom0 # ls
autorun.exe DirectX7 _INST32I.EX_ Readme.txt _sys1.cab
autorun.ico Docs ip.cfg _Setup.dll _sys1.hdr
autorun.inf Dsetup.dll Ip.exe Setup.exe Tapsplash640.bmp
ConfigINI.exe dxMedia.exe _ISDel.exe SETUP.INI _user1.cab
data1.cab Eaukhelp.hlp lang.dat setup.ins _user1.hdr
data1.hdr Eula.txt layout.bin SetupInstall.exe
DATA.TAG FinalSetup.exe os.dat setup.lid
But, when I try to access these drives from chroot :
root@w0-rm-h0-l3:/media/cdrom0 # chroot /chroot
root@w0-rm-h0-l3:/ # cd /media
root@w0-rm-h0-l3:/media # cd cdrom0
root@w0-rm-h0-l3:/media/cdrom0 # ls
root@w0-rm-h0-l3:/media/cdrom0 #
Nada, zip, zilch.
What am I doing wrong here? There's got to be some way to get the cdroms to be recognized and mountable in the chroot here...
I don't quite understand this. Using this and calling "do_dchroot firefox --verbose", the script will callOriginally Posted by Crad
/usr/bin/dchroot -d "do_dchroot firefox --verbose"
so it will call do_dchroot in the chrooted directory, which isn't there.
Is there some bit I am missing?
Yes, you can. You have to modify /usr/lib/mozilla-firefox/firefox for this. The PING_STATUS will determine if the script uses an existing browser running on the X server or if it starts a new one, It's enough to add these two lines:Originally Posted by Crad
I have also added a diversion of the .mozilla folder in /etc/fstab to make sure that the two browsers are not interfering with each otherCode:diff -c5 /usr/lib/mozilla-firefox/firefox /chroot/usr/lib/mozilla-firefox/firefox *** /usr/lib/mozilla-firefox/firefox 2005-09-22 20:02:48.000000000 +0200 --- /chroot/usr/lib/mozilla-firefox/firefox 2005-09-28 01:53:55.000000000 +0200 *************** *** 367,376 **** --- 367,379 ---- DISPLAY="${CMDLINE_DISPLAY}" ${MOZ_PROGRAM} -remote 'ping()' \ > /dev/null 2>&1 PING_STATUS=$? fi + # force standalone start + PING_STATUS=2 + echo_vars PING_STATUS # Clean user profile if we are not trying to use the running instance and only # if the check was successful (status 2) if [ "${REMOTE}" -eq 0 ] && [ "${TRY_USE_EXIST}" -eq 0 ] && [ "${PING_STATUS}" -eq 2 ]; then
For that, one has to mkdir ~/.mozilla32, of course.Code:/home/sockpuppet/.mozilla32 /chroot/home/sockpuppet/.mozilla none bind 0 0
One bad thing about the the "remote" call used by the Mozilla shellscripts to find an existing browser instance is that one cannot tell if it is talking to the 32 or the 64 bit browser.
So I still need to find out how one can make sure that clicks in other applications will always be opened by the 64 bit browser.
Last edited by Sockpuppet; September 28th, 2005 at 01:30 AM.
Problem is, of course, that now the two browsers look absolutely identical. (In my case, there is one difference: German menus for 64 bit and English for 32 bit, but that's too subtle to notice it while working with it.)Originally Posted by Sockpuppet
Is there any way I can force a colour scheme onto firefox, so that I can run the 32 bit firefox with a different menu / background colour?
I have "solved" this now by using a suitably ugly firefox theme for the 32 bit version to tell them apart. But I don't really like this, so I will try to find a way to change the application's GTK colour theme through the console.Originally Posted by Sockpuppet
Also, the firefox callup script needs to be changed to identifying the 32 and the 64 bit apps on the system. Right now, I can close the 64 bit version and if I then try to restart it, "remote ping" will find the already running 32 bit version and open a new window there.
I have an amd64 with breezy installed and have run into the following problem:
I took these steps:
# sudo apt-get install dchroot debootstrap
# sudo mkdir /chroot/
# sudo gedit /etc/dchroot.conf
* Add this line: hoary /chroot
# sudo debootstrap --arch i386 hoary /chroot/ http://archive.ubuntu.com/ubuntu
# sudo chroot /chroot/
now when I get to the sudo chroot /chroot/
I get this error:
"chroot: cannot run command `/bin/bash': No such file or directory"
all goes well until I execute this command the chroot dir is in the / directory I tried cd /chroot/ then issuing the command got the same error.
Since all others have had such great success I know it must be my error.
Thanks for any help.
Hey thanks nevermind I figured it out. bad on me I did not place a space between the hoary /chroot/ and the http: stuff so debootstrap made my directory structure /chroot/http:/archive/ubuntu/com/ubuntu/ then I got the normal directory structure.
So I did a:
cd /http:/archive/ubuntu/com/ubuntu/
sudo mv * /chroot/
sudo rm -drf /chroot/http:
after that all worked well now I am after flash-macromedia. Which BTW is the only reason I needed to do this in the first place.
Thanks for what I know would have been a great answer.
i work from behind a proxy server..so, i guess you can add a section in the first post mentioning how to first set the proxy settings for wget(which is used by the 4th step, namely
sudo debootstrap --arch i386 hoary /chroot/ http://archive.ubuntu.com/ubuntu )..which involves editing ~/.wgerc to include these lines..
i dont think anyone would use wget at all what with d4x and synaptic to do all the work..just a thought..(came out of personal experience )Code:http_proxy = <proxy_addy> use_proxy = on wait = 15
in my laptop the howto does'nt work. If i write:
i receiveHTML Code:dchroot -d
but if i giveHTML Code:Executing shell in 'breezy' chroot.i receive nothing...so i can't proceed with the howto.HTML Code:sudo apt-get install synaptic
if i writei receive this:HTML Code:exit
i've addedHTML Code:dchroot: Child exited non-zero. dchroot: Operation failed.ideas?HTML Code:snip /
HP NX6125
CPU: AMD Turion 64bit
HardDisk: 80GB HD
RAM: 512 MB
Video: Integrated ATI Mobility Radeon X200
Audio: Conexant AC '97 CODEC, Integrated Sound Blaster Pro-compatible audio
Bookmarks