Page 14 of 25 FirstFirst ... 4121314151624 ... LastLast
Results 131 to 140 of 250

Thread: 32-Bit Chroot How-To

  1. #131
    Join Date
    Nov 2005
    Location
    Canada
    Beans
    Hidden!

    Re: 32-Bit Chroot How-To

    ok, i am running breezy, and am not sure if anybody will even read this, but I followed the exact same procedures, replacing 'hoary' with 'breezy'. Everything was successful up to step 5.

    here is my /etc/dchroot.conf:
    # /etc/dchroot.conf
    #
    # This file configures the chroots that users can access with the 'dchroot'
    # command. Input lines consist of a description and a path separated by
    # whitespace. If more than one input line is present the first will be the
    # default chroot.

    # Example : the following line enables a chroot called 'stable'
    # located at /chroot/stable

    #stable /chroot/stable
    #breezy /chroot

    and here is what happens when executing dchroot -d:

    nalmeth@ubuntu:~$ dchroot -d
    dchroot: No chroots found in config file '/etc/dchroot.conf'.

    any ideas?

    thanks in advance!

  2. #132
    Join Date
    Oct 2005
    Location
    switzerland
    Beans
    22
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: 32-Bit Chroot How-To

    Hi

    Quote Originally Posted by nalmeth
    and here is what happens when executing dchroot -d:

    nalmeth@ubuntu:~$ dchroot -d
    dchroot: No chroots found in config file '/etc/dchroot.conf'.


    any ideas?
    I think you should comment out a chroot, otherwihse dchroot will not know where to chroot to:

    Code:
    # /etc/dchroot.conf
    #
    # This file configures the chroots that users can access with the 'dchroot'
    # command.  Input lines consist of a description and a path separated by
    # whitespace.  If more than one input line is present the first will be the
    # default chroot.
    
    # Example : the following line enables a chroot called 'stable'
    # located at /chroot/stable
    
    #stable /chroot/stable
    breezy /chroot
    HTH

    Best Regards

    Snifffurt

  3. #133
    Join Date
    Aug 2005
    Beans
    18

    Re: HOWTO: 32-Bit Chroot on 64-Bit Installs

    jjm@moped:~$ dpkg-reconfigure locales
    /usr/sbin/dpkg-reconfigure must be run as root

  4. #134
    Join Date
    Aug 2005
    Beans
    18

    Re: 32-Bit Chroot How-To

    In another terminal window (or by existing chroot):
    did you mean exiting?

  5. #135
    Join Date
    Jul 2005
    Location
    Northern CA
    Beans
    634
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: 32-Bit Chroot How-To

    All seemed to go well, but acroread32 doesn't work. I need to dchroot first.

    I have
    Code:
    bob@robert:~$ ls -l /usr/local/bin/
    total 8
    lrwxrwxrwx  1 root root 25 2005-12-04 20:38 acroread32 -> /usr/local/bin/do_dchroot
    -rwxr-xr-x  1 root root 62 2005-12-04 20:18 do_dchroot
    lrwxrwxrwx  1 root root 25 2005-12-04 20:25 synaptic32 -> /usr/local/bin/do_dchroot
    bob@robert:~$ cat /usr/local/bin/do_dchroot
    #!/bin/sh
    /usr/bin/dchroot -d "`echo $0 | sed 's|^.*/||'` $*"
    When I do
    Code:
    sudo synaptic32
    it runs, but
    Code:
    bob@robert:~$ acroread32
    (breezy) acroread32
    bash: acroread32: command not found
    dchroot: Child exited non-zero.
    dchroot: Operation failed.
    However,
    Code:
    bob@robert:~$ dchroot -d
    Executing shell in 'breezy' chroot.
    bob@robert:~$ acroread
    bob@robert:~$
    works fine.

    I'm confused.

    Edit on 12/6/05

    Okay, I figured it out. I needed to link app_name32 to app_name. That is
    Code:
    bob@robert:~$ dchroot -d
    Executing shell in 'breezy' chroot.
    bob@robert:~$ which acroread
    /usr/bin/acroread
    bob@robert:~$ cd /usr/bin/
    bob@robert:/usr/bin$ sudo ln -s acroread acroread32
    bob@robert:/usr/bin$ exit
    exit
    bob@robert:~$ acroread32
    and it works!
    Last edited by rplantz; December 6th, 2005 at 11:40 PM.
    Intel i7-920; Nvidia GT 220, 1GB; MSI X58 Pro-E; 6GB DDR; 64-bit mode.

  6. #136
    Join Date
    Oct 2005
    Location
    Sweden
    Beans
    1,039
    Distro
    Ubuntu

    Re: 32-Bit Chroot How-To

    Hmm I figure it's a update problem or something but at the last step I get

    Code:
    holo@Holokauston:~$ sudo synaptic32 
    (hoary) synaptic32
    bash: synaptic32: command not found
    dchroot: Child exited non-zero.
    dchroot: Operation failed.
    holo@Holokauston:~$
    Tried redoing update and install but that won't override and stops.


    ----------------

    Think I found it

    Running
    Code:
    sudo debootstrap --arch i386 hoary /chroot/ http://archive.ubuntu.com/ubuntu
    I get an error after unpacking it all

    Code:
    I: Extracting whiptail...
    I: Extracting zlib1g...
    I: Installing core packages...
    W: Failure trying to run: chroot /chroot dpkg --force-depends --install var/cach e/apt/archives/base-files_3.1.0ubuntu3_i386.deb var/cache/apt/archives/base-pass wd_3.5.9_i386.deb
    Any ideas?

    --->> NVM got it work, had missed to replace the horay with breezy ^^
    Last edited by Ferrat; December 10th, 2005 at 03:52 PM.

  7. #137
    Join Date
    Jul 2005
    Location
    Northern CA
    Beans
    634
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: 32-Bit Chroot How-To

    Quote Originally Posted by gk_jam
    I'm a total newbie to Linux, just got set up with Breezy and trying to follow this howto. In Step 1, first few commands go good, until

    sudo chroot /chroot/

    When I do that, the terminal pops up this message:

    chroot: cannot run command `/bin/bash': No such file or directory

    I look inside my /bin and there's a file bash. Anyone know why it's doing this, and how to fix?
    Same thing happened to me. Then I realized that in the command
    Code:
     sudo debootstrap --arch i386 breezy /chroot/ http://archive.ubuntu.com/ubuntu
    I had left out the space between "/chroot/" and "http://..." because I was viewing the text in a proportional font. A copy and paste revealed my error.

    After my error, the ls /chroot command showed
    Code:
    http://archive.ubuntu.com/ubuntu
    I deleted the entire /chroot/ directory and started over again. When done correctly, the last line read:
    Code:
    I: Base system installed successfully.
    and I see (in another terminal):
    Code:
    bob@ubuntu:~$ ls /chroot
    bin   dev  home   initrd  media  opt   root  srv  tmp  var
    boot  etc  http:  lib     mnt    proc  sbin  sys  usr
    bob@ubuntu:~$
    Intel i7-920; Nvidia GT 220, 1GB; MSI X58 Pro-E; 6GB DDR; 64-bit mode.

  8. #138
    Join Date
    Dec 2005
    Beans
    17
    Distro
    Ubuntu Breezy 5.10

    Re: 32-Bit Chroot How-To

    [me@host ~]$ sudo apt-get install dchroot debootstrap
    Reading package lists... Done
    Building dependency tree... Done
    Package dchroot is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package dchroot has no installation candidate

    Am I the only one with this problem?

    My source.list contains

    deb http://us.archive.ubuntu.com/ubuntu breezy main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu breezy main restricted
    deb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
    deb http://security.ubuntu.com/ubuntu breezy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

    Do I need any others?

  9. #139
    Join Date
    Sep 2005
    Beans
    2

    Re: 32-Bit Chroot How-To

    Thanks for this - now I can get my wine on!

    (The windows emulator, that is...)

  10. #140
    Join Date
    Dec 2005
    Beans
    17
    Distro
    Ubuntu Breezy 5.10

    Re: 32-Bit Chroot How-To

    Packages are in Universe from /etc/apt/sources.list

    Quote Originally Posted by draven
    [me@host ~]$ sudo apt-get install dchroot debootstrap
    Reading package lists... Done
    Building dependency tree... Done
    Package dchroot is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package dchroot has no installation candidate

    Am I the only one with this problem?

    My source.list contains

    deb http://us.archive.ubuntu.com/ubuntu breezy main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu breezy main restricted
    deb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
    deb http://security.ubuntu.com/ubuntu breezy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

    Do I need any others?

Page 14 of 25 FirstFirst ... 4121314151624 ... 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
  •