{"id":548,"date":"2007-05-07T03:12:28","date_gmt":"2007-05-07T08:12:28","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/05\/07\/skype-on-64-bit-ubuntu-feisty-fawn-via-i386-chroot-and-gizmo-project-too"},"modified":"2007-05-07T03:21:53","modified_gmt":"2007-05-07T08:21:53","slug":"skype-on-64-bit-ubuntu-feisty-fawn-via-i386-chroot-and-gizmo-project-too","status":"publish","type":"post","link":"https:\/\/www.bytebot.net\/blog\/archives\/2007\/05\/07\/skype-on-64-bit-ubuntu-feisty-fawn-via-i386-chroot-and-gizmo-project-too","title":{"rendered":"Skype on 64-bit Ubuntu Feisty Fawn via i386 chroot (and Gizmo Project too)"},"content":{"rendered":"<p>Most of the software I use is open source software. However, some software I use is just plain free software that has no source associated with it (like Skype and Gizmo Project). I took the challenge of wanting to run a 64-bit desktop, and I guess there are problems, but thats the beauty of Linux &#8211; you&#8217;ll want to <strong>fix<\/strong> said problems.<\/p>\n<p>Google is always helpful &#8211; I found the Cedega <a href=\"http:\/\/cedegawiki.sweetleafstudios.com\/wiki\/Ubuntu\">wiki on<\/a> how to setup a clean 32-bit chroot with debbootstrap. I improvised a little. I now have Skype running.<\/p>\n<p><strong>Setting up a 32-bit chroot on your 64-bit Ubuntu<\/strong><\/p>\n<ul>\n<li><tt>sudo apt-get install dchroot debootstrap<\/tt><\/li>\n<li><tt>sudo mkdir \/chroot<\/tt> (\/chroot is arbitrary. You can call it \/feisty32 or \/hoary32 or whatever you please depending on your requirements.)<\/li>\n<li><tt>echo \"feisty \/chroot\" &gt; \/etc\/dchroot.conf<\/tt><\/li>\n<li><tt>sudo debootstrap --arch i386 feisty \/chroot http:\/\/archive.ubuntu.com\/ubuntu<\/tt><\/li>\n<li><tt>sudo chroot \/chroot<\/tt><\/li>\n<li><tt>dpkg-reconfigure locales<\/tt> (I chose en_AU, you probably want to chose whatever else you use)<\/li>\n<li>Edit \/<tt>chroot\/etc\/apt\/sources.list<\/tt> and make it so that its:\n<pre>deb http:\/\/archive.ubuntu.com\/ubuntu feisty main restricted universe multiverse\r\ndeb http:\/\/security.ubuntu.com\/ubuntu feisty-security main restricted universe multiverse<\/pre>\n<\/li>\n<li>Now, perform the <tt>apt-get update; apt-get upgrade<\/tt> routine<\/li>\n<li>Out of the chroot, there are some interesting files to copy into the chroot:<\/li>\n<\/ul>\n<ul>\n<li><tt>sudo cp \/etc\/passwd \/chroot\/etc\/<\/tt><\/li>\n<li><tt>sudo cp \/etc\/shadow \/chroot\/etc\/<\/tt><\/li>\n<li><tt>sudo cp \/etcgroup \/chroot\/etc\/<\/tt><\/li>\n<li><tt>sudo cp \/etc\/sudoers \/chroot\/etc\/<\/tt><\/li>\n<li><tt>sudo cp \/etc\/hosts \/chroot\/etc\/<\/tt><\/li>\n<\/ul>\n<li>Now, edit <tt>\/etc\/fstab<\/tt> and make the following additions (at the bottom of the file, is OK):\n<pre>\/home   \/chroot\/home    none    bind 0 0<\/pre>\n<pre>\/tmp    \/chroot\/tmp     none    bind 0 0\r\n\r\n\/dev    \/chroot\/dev     none    bind 0 0\r\n\r\n\/proc   \/chroot\/proc    none    bind 0 0<\/pre>\n<\/li>\n<li><tt>sudo mount -a<\/tt><\/li>\n<li><tt>Now create <\/tt><tt>\/usr\/local\/bin\/do_dchroot<\/tt> and add the following. After that, make sure its executable (<tt>sudo chmod 755 \/usr\/local\/bin\/do_dchroot<\/tt>).\n<pre>#!\/bin\/sh\r\n\r\n\/usr\/bin\/dchroot -d \"`echo $0 | sed 's|^.*\/||'` $*\"<\/pre>\n<\/li>\n<p>That&#8217;s it. You&#8217;ve now got a 32-bit chroot environment, and can install any 32-bit apps you please.<\/p>\n<p><strong>Installing Skype<\/strong><br \/>\nFirst up, go download the .deb file from Skype. Then:<\/p>\n<ul>\n<li><tt>dchroot -d<\/tt><\/li>\n<li><tt>dpkg -i skype.deb<\/tt> (Now, it will complain about missing debs. Then, I ran sudo apt-get install libstdc++5 libqt3-m. It will complain, so just do a sudo apt-get -f install.)<\/li>\n<li>Excellent, Skype is now installed. Exit the chroot.<\/li>\n<li><tt>sudo ln -s \/usr\/local\/bin\/do_dchroot \/usr\/local\/bin\/skype<\/tt><\/li>\n<li>Now, run Skype!<\/li>\n<\/ul>\n<p>I did this similarly for Gizmo Project. Sound works a charm (thanks to \/dev being mounted). The applications seem to run just fine.<\/p>\n<p>Technorati Tags: <a href=\"http:\/\/technorati.com\/tag\/skype\" class=\"performancingtags\" rel=\"tag\">skype<\/a>, <a href=\"http:\/\/technorati.com\/tag\/64bit\" class=\"performancingtags\" rel=\"tag\">64bit<\/a>, <a href=\"http:\/\/technorati.com\/tag\/32bit\" class=\"performancingtags\" rel=\"tag\">32bit<\/a>, <a href=\"http:\/\/technorati.com\/tag\/chroot\" class=\"performancingtags\" rel=\"tag\">chroot<\/a>, <a href=\"http:\/\/technorati.com\/tag\/gizmo\" class=\"performancingtags\" rel=\"tag\">gizmo<\/a>, <a href=\"http:\/\/technorati.com\/tag\/debian\" class=\"performancingtags\" rel=\"tag\">debian<\/a>, <a href=\"http:\/\/technorati.com\/tag\/ubuntu\" class=\"performancingtags\" rel=\"tag\">ubuntu<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of the software I use is open source software. However, some software I use is just plain free software that has no source associated with it (like Skype and Gizmo Project). I took the challenge of wanting to run a 64-bit desktop, and I guess there are problems, but thats the beauty of Linux [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-548","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4vJD-8Q","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=548"}],"version-history":[{"count":0,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/548\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}