Page 15 of 25 FirstFirst ... 51314151617 ... LastLast
Results 141 to 150 of 250

Thread: 32-Bit Chroot How-To

  1. #141
    Join Date
    Dec 2005
    Beans
    17
    Distro
    Ubuntu Breezy 5.10

    Re: 32-Bit Chroot How-To

    In order to get FF32 and Flash working I had to manually install Flash by copying the files to the plguins dir. Then using synaptic32 I installed libXmu-dev.


    EDIT:

    Now I'm having a problem where I can't close any TABS in FF. If I hit the red X, use right-click // close-tab it just won't close. I can open new ones though. It works in the 64bit FF but not the chroot 32bit. It also reports no errors in the console.
    Last edited by draven; December 21st, 2005 at 07:16 PM.

  2. #142
    Join Date
    Jan 2006
    Location
    Surrey; UK
    Beans
    362
    Distro
    Kubuntu Intrepid Ibex (testing)

    Re: 32-Bit Chroot How-To

    Heh. Just a brief post, but if you have made the chroot and decide you want to get rid of it, it seems taking out the new lines in fstab, doing mount -a and then rm -rf /chroot really isn't the best idea.
    I ended up wiping my /home, /tmp, /dev etc.
    After that I just went su, rm -rf /, because I always wanted to try that, but yeah.

    Ooops. >.<.

  3. #143
    Join Date
    Sep 2005
    Location
    Peel, Isle Of Man
    Beans
    214
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: 32-Bit Chroot How-To

    hiya, ran through your HOWTO and it seems to have worked! cheers! i did get this error when running sudo mount -a though:
    [mntent]: warning: no final newline at the end of /etc/fstab

    can anyone tell me what this means?

    also, im trying to run stuff with wine but im getting an error that looks like this:

    paul@ubuntu:~$ wine /DATA/stuff/Brain.exe
    (breezy) wine /DATA/stuff/Brain.exe
    wine: cannot find '/DATA/stuff/Brain.exe'
    dchroot: Child exited non-zero.
    dchroot: Operation failed.

    any ideas? thank you.
    Ubuntu pickles me pink like a summer wildflower caressing the cheek of a jolly schoogirl.

  4. #144
    Join Date
    Feb 2005
    Beans
    11

    Re: 32-Bit Chroot How-To

    Quote Originally Posted by wishyjr
    hiya, ran through your HOWTO and it seems to have worked! cheers! i did get this error when running sudo mount -a though:
    [mntent]: warning: no final newline at the end of /etc/fstab

    can anyone tell me what this means?

    also, im trying to run stuff with wine but im getting an error that looks like this:

    paul@ubuntu:~$ wine /DATA/stuff/Brain.exe
    (breezy) wine /DATA/stuff/Brain.exe
    wine: cannot find '/DATA/stuff/Brain.exe'
    dchroot: Child exited non-zero.
    dchroot: Operation failed.

    any ideas? thank you.
    I'm guessing its because the file in quest isn't in the 32 bit directory structure

    I'm having a related problem - I want to know how I can directly execute a program using wine and chroot, in a single command. The path name of the program I want to wine has spaces in it, but for some reason the "s get stripped out in the process.

  5. #145
    Join Date
    Sep 2005
    Location
    Peel, Isle Of Man
    Beans
    214
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: 32-Bit Chroot How-To

    cheers. yeah, i thought that not long after i'd posted my question.

    regarding yours though, about executing stuff directly through chroot, i used this:

    sudo ln -s /usr/local/bin/do_dchroot /usr/local/bin/wine

    it seems to work, but then again i havent tried it out yet. i can get xwine to run through it though.
    Ubuntu pickles me pink like a summer wildflower caressing the cheek of a jolly schoogirl.

  6. #146
    Join Date
    Jan 2006
    Beans
    152
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: 32-Bit Chroot How-To

    Quote Originally Posted by Navyblue
    I have been in following the how to. I am running Breezy, but still following the Hoary chroot, as someone here recommends to follow word by word unless I know what I am doing. Anyway when I reached the final step of "sudo synaptic32", I get this:

    Code:
    (hoary) synaptic32
    bash: synaptic32: command not found
    dchroot: Child exited non-zero.
    dchroot: Operation failed.
    At the step of "sudo apt-get install synaptic", it doesn't seem to work. I got this message:

    Code:
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
            LANGUAGE = "en_SG:en",
            LC_ALL = (unset),
            LANG = "en_SG.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg: syntax error: unknown group `postdrop' in statusoverride file
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    Any clue?

    Thanks

    Anyone have a solution for this yet? I am having exactly the same issues.

    EDIT:
    no idea why but I decided to try changing all 'hoary' references to 'dapper' and it worked fine, and I have FireFox 1.5
    Last edited by werewolves; January 26th, 2006 at 01:02 PM.

  7. #147
    Join Date
    Jan 2006
    Beans
    2

    Re: 32-Bit Chroot How-To

    Code:
    sarac@zenc:~$ dchroot -d
    Executing shell in 'hoary' chroot.
    sarac@zenc:~$ sudo apt-get install synaptic
    Password:
    Reading package lists... Done
    Building dependency tree... Done
    The following extra packages will be installed:
      defoma docbook-xml fontconfig laptop-detect libatk1.0-0 libexpat1
      libfontconfig1 libfreetype6 libglade2-0 libglib2.0-0 libgtk2.0-0
      libgtk2.0-bin libgtk2.0-common libjpeg62 libpango1.0-0 libpango1.0-common
      libpng12-0 libscrollkeeper0 libtiff4 libvte-common libvte4 libx11-6
      libxcursor1 libxext6 libxft2 libxi6 libxinerama1 libxml2 libxrandr2
      libxrender1 libxslt1.1 perl perl-modules scrollkeeper sgml-base sgml-data
      ttf-bitstream-vera ucf xlibs-data xml-core xorg-common
    Suggested packages:
      defoma-doc psfontmgr x-ttcidfont-conf dfontmgr docbook docbook-doc
      docbook-dsssl docbook-xsl libfreetype6-dev ttf-kochi-gothic ttf-kochi-mincho
      ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp
      ttf-arphic-gkai00mp ttf-arphic-bkai00mp perl-doc libterm-readline-perl-perl
      sgml-base-doc perlsgml doc-html-w3 opensp libxml2-utils debhelper
      x-window-system-core x-window-system
    Recommended packages:
      libft-perl libatk1.0-data libglib2.0-data hicolor-icon-theme gksu deborphan
      libgnome2-perl
    The following NEW packages will be installed:
      defoma docbook-xml fontconfig laptop-detect libatk1.0-0 libexpat1
      libfontconfig1 libfreetype6 libglade2-0 libglib2.0-0 libgtk2.0-0
      libgtk2.0-bin libgtk2.0-common libjpeg62 libpango1.0-0 libpango1.0-common
      libpng12-0 libscrollkeeper0 libtiff4 libvte-common libvte4 libx11-6
      libxcursor1 libxext6 libxft2 libxi6 libxinerama1 libxml2 libxrandr2
      libxrender1 libxslt1.1 perl perl-modules scrollkeeper sgml-base sgml-data
      synaptic ttf-bitstream-vera ucf xlibs-data xml-core xorg-common
    0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/19.4MB of archives.
    After unpacking 70.7MB of additional disk space will be used.
    Do you want to continue [Y/n]?
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg: syntax error: unknown group `postdrop' in statusoverride file
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    sarac@zenc:~$
    I also have this unknown group 'postdrop' error. Upto that point everything went well. Has anyone solved this problem?

  8. #148
    Join Date
    Jan 2006
    Beans
    2

    Re: 32-Bit Chroot How-To

    [QUOTE=tartarin]
    Code:
    sarac@zenc:~$ dchroot -d
    Executing shell in 'hoary' chroot.
    sarac@zenc:~$ sudo apt-get install synaptic
    Password:
    Reading package lists... Done
    Building dependency tree... Done
    .
    ..
    ...
    After unpacking 70.7MB of additional disk space will be used.
    Do you want to continue [Y/n]?
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg: syntax error: unknown group `postdrop' in statusoverride file
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    sarac@zenc:~$
    I have found a solution to this problem but i'm not sure why something like this happened.

    My /var/lib/dpkg/statoverride file is like this:
    hplip root 755 /var/run/hplip
    ----

    but if i cat /chroot/var/lib/dpkg/statoverride i get (i have no idea why):
    root postdrop 02555 /usr/sbin/postqueue
    postfix postdrop 02710 /var/spool/postfix/public
    root postdrop 02555 /usr/sbin/postdrop
    -------

    When i delete the lines that has postdrop postfix groups or users the problem solved.

    One alternative might be adding group and user
    addgroup postdrop
    adduser postfix

    I have no idea what will be the impacts, or is it safe to do this, but i could install the synaptic after these edits.

  9. #149
    Join Date
    Jan 2006
    Beans
    7

    Re: 32-Bit Chroot How-To

    Ok, so I'm having trouble with getting synaptic32 to run in the chrooted environment. I followed this guide step by step, only replacing all instances of "hoary" with "breezy", and when I run the synaptic32 command, it just shows the following:

    Code:
    username@ubuntu:~$ sudo synaptic32
    (breezy) synaptic32
    bash: synaptic32: command not found
    dchroot: Child exited non-zero.
    dchroot: Operation failed.
    I tried to mount the directories one by one, simlinking them... Nothing worked.

    This is a copy of my /etc/fstab file, just in case it's needed:

    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    /dev/sda2       /               ext3    defaults,errors=remount-ro 0       1
    /dev/sda1       /media/sda1     ntfs    defaults	0       0
    /dev/sda6       /media/sda5     vfat    iocharset=utf8,umask=000   0       0
    /dev/sda5       none            swap    sw              0       0
    /dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
    /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
    /dev/sdc        /media/usb0     auto    rw,user,noauto  0       0
    
    #dchroot
    
    /home /chroot/home none bind 0 0
    /tmp /chroot/tmp none bind 0 0
    /dev /chroot/dev none bind 0 0
    /proc /chroot/proc proc defaults 0 0
    /media/cdrom0 /chroot/media/cdrom0 none bind 0 0
    /usr/share/fonts /chroot/usr/share/fonts none bind 0 0
    Any ideas?

    [Off-topic] P.S: BTW, "iocharset=utf8,umask=000 0 0" doesn't seem to work for my FAT32 partition, since it sets permissions to 555 which doesn't let anyone write to it. I can't chmod nor chown it, not even as root... So what gives? [/Off-topic]

    Thanks in advance for any help that you may provide.

  10. #150
    Join Date
    Jan 2006
    Beans
    4

    Re: 32-Bit Chroot How-To

    my usb-gamepad only works with a generic driver(2 buttons, 2 axis!!!) in chroot, although it works perfect in my normal enviroment. In jscalibrator thc console gives this error message:
    Failed to set joystick /dev/js0 correction values: Invalid argument
    does anybody know how to fix this?

Page 15 of 25 FirstFirst ... 51314151617 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •