Page 7 of 25 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 250

Thread: 32-Bit Chroot How-To

  1. #61
    Join Date
    Apr 2005
    Beans
    10

    Re: 32-Bit Chroot How-To

    I tried to set up the 32bit chroot and when I added my cdrom in fstab to /chroot/media/cdrom0 and I went into the chroot enviroment with dchroot -d I couldnt access my cdrom drive.

  2. #62
    Join Date
    Mar 2005
    Location
    Los Angeles, CA
    Beans
    28

    Re: 32-Bit Chroot How-To

    Quote Originally Posted by Sam
    Why not make symlinks instead of copying the files ? The changes aren't reflected to the chroot environnement...
    Because when you're in your chroot env, they will symlink to themselves.

  3. #63
    Join Date
    Mar 2005
    Location
    Los Angeles, CA
    Beans
    28

    Re: 32-Bit Chroot How-To

    Quote Originally Posted by amarra
    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
    Thanks, added!

  4. #64
    Join Date
    May 2005
    Beans
    5

    Re: 32-Bit Chroot How-To

    Hi,
    This is my first post in the forum, i used your tutorial and worked almost perfectly

    Here is a tip for those who want to share partitions with Windows.

    Mounting FAT32 partitions in the CHROOT enviroment

    Here is my #CHROOT section at /etc/fstab, this goes in the 64bit enviroment fstab
    Code:
    ## CHROOT!
    /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
    /mnt/win1    /chroot/mnt/win1 none bind,umask=0000,dmask=0000,uid=0002,gid=users,users 0 0
    /mnt/win2    /chroot/mnt/win2 none bind,umask=0000,dmask=0000,uid=0002,gid=users,users 0 0
    /mnt/win0    /chroot/mnt/win0 none bind,umask=0000,dmask=0000,uid=0002,gid=users,users 0 0

    Now the problems.


    Cant get audio to work, mPlayer displays this error:
    Quote Originally Posted by mplayer
    Could not open/initialize audio device -> no sound
    Also, i cant get XMMS to work on 64bit
    I get this error:
    libmikmod.so.2: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
    That means, "cant open the file of the shared object: the file doesnt exist or the directory."

    This is not a translation error, thats the message, as confusing as it sounds. (at least for me)

    so i sayd well, i make him run in 32bit mode (i dont know if MP3 works in 64bit, i guess it does), but i have no sound! and besides that, the thing freezes at the first file i try to play with it...


    This are the issues im having... so, any ideas??
    Thanks for all the work done here!

  5. #65
    Join Date
    May 2005
    Location
    Southern Louisiana
    Beans
    50
    Distro
    Ubuntu 6.06

    Re: 32-Bit Chroot How-To

    Hrm...
    sykil@ubuntu:~$ sudo apt-get install dchroot debootstrap
    Password:
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package dchroot

  6. #66
    Join Date
    May 2005
    Location
    Milton Keynes, UK
    Beans
    58
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: 32-Bit Chroot How-To

    When I try to run "apt-get update ; apt-get upgrade" in chroot for the first time, it throws up;

    root@balamb:/# apt-get update ; apt-get upgrade
    Err http://security.ubuntu.com hoary-security Release.gpg
    Temporary failure resolving 'security.ubuntu.com'
    Ign http://security.ubuntu.com hoary-security Release
    Ign http://security.ubuntu.com hoary-security/main Packages
    Ign http://security.ubuntu.com hoary-security/restricted Packages
    Ign http://security.ubuntu.com hoary-security/universe Packages
    Ign http://security.ubuntu.com hoary-security/multiverse Packages
    Err http://security.ubuntu.com hoary-security/main Packages
    Temporary failure resolving 'security.ubuntu.com'
    Err http://security.ubuntu.com hoary-security/restricted Packages
    Temporary failure resolving 'security.ubuntu.com'
    Err http://security.ubuntu.com hoary-security/universe Packages
    Temporary failure resolving 'security.ubuntu.com'
    Err http://security.ubuntu.com hoary-security/multiverse Packages
    Temporary failure resolving 'security.ubuntu.com'
    Err http://archive.ubuntu.com hoary Release.gpg
    Temporary failure resolving 'archive.ubuntu.com'
    Ign http://archive.ubuntu.com hoary Release
    Ign http://archive.ubuntu.com hoary/main Packages
    Ign http://archive.ubuntu.com hoary/restricted Packages
    Ign http://archive.ubuntu.com hoary/universe Packages
    Ign http://archive.ubuntu.com hoary/multiverse Packages
    Err http://archive.ubuntu.com hoary/main Packages
    Temporary failure resolving 'archive.ubuntu.com'
    Err http://archive.ubuntu.com hoary/restricted Packages
    Temporary failure resolving 'archive.ubuntu.com'
    Err http://archive.ubuntu.com hoary/universe Packages
    Temporary failure resolving 'archive.ubuntu.com'
    Err http://archive.ubuntu.com hoary/multiverse Packages
    Temporary failure resolving 'archive.ubuntu.com'
    Failed to fetch http://archive.ubuntu.com/ubuntu/dis...ry/Release.gpg Temporary failure resolving 'archive.ubuntu.com'
    Failed to fetch http://security.ubuntu.com/ubuntu/di...ty/Release.gpg Temporary failure resolving 'security.ubuntu.com'
    Failed to fetch http://security.ubuntu.com/ubuntu/di...86/Packages.gz Temporary failure resolving 'security.ubuntu.com'
    Failed to fetch http://security.ubuntu.com/ubuntu/di...86/Packages.gz Temporary failure resolving 'security.ubuntu.com'
    Failed to fetch http://security.ubuntu.com/ubuntu/di...86/Packages.gz Temporary failure resolving 'security.ubuntu.com'
    Failed to fetch http://security.ubuntu.com/ubuntu/di...86/Packages.gz Temporary failure resolving 'security.ubuntu.com'
    Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz Temporary failure resolving 'archive.ubuntu.com'
    Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz Temporary failure resolving 'archive.ubuntu.com'
    Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz Temporary failure resolving 'archive.ubuntu.com'
    Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz Temporary failure resolving 'archive.ubuntu.com'
    Reading package lists... Done
    W: Couldn't stat source package list http://archive.ubuntu.com hoary/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://archive.ubuntu.com hoary/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_restricted_b inary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://archive.ubuntu.com hoary/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_universe_bin ary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://archive.ubuntu.com hoary/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_multiverse_b inary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.ubuntu.com hoary-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.ubuntu.com hoary-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_restricted_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.ubuntu.com hoary-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_universe_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.ubuntu.com hoary-security/multiverse Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    Reading package lists... Done
    Building dependency tree... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    W: Couldn't stat source package list http://archive.ubuntu.com hoary/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://archive.ubuntu.com hoary/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_restricted_b inary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://archive.ubuntu.com hoary/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_universe_bin ary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://archive.ubuntu.com hoary/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary_multiverse_b inary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.ubuntu.com hoary-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.ubuntu.com hoary-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_restricted_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.ubuntu.com hoary-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_universe_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.ubuntu.com hoary-security/multiverse Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hoary-security_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    Any ideas regarding why it cant find the servers? If I try to go on, when it gets to the stage where I enter; "sudo mount -a" it replies;

    mount: mount point /chroot/usr/share/fonts does not exist
    Last edited by Fascination; May 18th, 2005 at 04:14 PM.
    I will plunge you into a nightmare world from which there is no awakening. In a lol way.

  7. #67
    Join Date
    May 2005
    Location
    Milton Keynes, UK
    Beans
    58
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: 32-Bit Chroot How-To

    Just had a thought; could it be anything to do with the fact that I have an alcatel speedtouch usb modem? It has to be set up with additional drivers on a fresh install - would this mean that it would need to be set up on the new 32bit chroot?
    I will plunge you into a nightmare world from which there is no awakening. In a lol way.

  8. #68
    Join Date
    Mar 2005
    Beans
    115

    Re: 32-Bit Chroot How-To

    Hmm... just a thought: could a procedure similar to this be used to install a Ubuntu system from scratch from a live-cd like Knoppix, much in the same way you would install Gentoo? Could be nice for people who like having an optimized system!
    "Windows is something to overcome"

    Howto's by me:
    Tweak firefox! (URL now works..)
    Backup/Restore your system!
    Avoid having to reboot


    Compentux.org
    , the Linux Tip & Howto gathering initiative!

  9. #69
    Join Date
    Nov 2004
    Beans
    2

    Re: 32-Bit Chroot How-To

    There is such thing alredy.
    Debian From Scratch

  10. #70
    Join Date
    May 2005
    Location
    Switzerland
    Beans
    5

    Re: 32-Bit Chroot How-To

    Quote Originally Posted by Crad
    comment out the line in /etc/fstab for /chroot/media/cdrom0 then.
    Shouldn't you just not forget to create the directory /chroot/media/cdrom0

    The same happens with the mounting point for /media/cdrom0, so you have to add
    "sudo mkdir /chroot/media/cdrom0" to your guide before mounting the whole lot or am I completely wrong?

    By the way, @crad: thanks a lot fo ryour brilliant guide

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