Brad For Dem Bedded

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 28 February 2011

Multiple Concurrent Linux Distributions in Debian Squeeze

Posted on 04:19 by Unknown
Ted Dziuba inspired me to try installing multiple concurrent Linux distributions inside of an existing distribution.  This is really handy for testing.  Go try it (it won't take long).  It's really awesome!

Ted's instructions are rather minimal, although are a great place to start.  I also found the Debian Wiki - Debootstrap page to be helpful.

In my case, I'm running Debian 6 squeeze on my desktop machine.  I've installed Debian 5 lenny and Ubuntu 10.04 lucid as chroot environments.  If after installing a Debian release, when running apt, you get errors about not being able to authenticate packages, make sure you run "apt-get update" first.  That will take care of it.

There's no "debian-minimal" package like there is for Ubuntu but (as root in the chroot environment) a quick "apt-get update && apt-get install aptitude sudo nano" got me to a place where installing the things I want is easy.

One thing to be careful of, your user is still your user inside the chroot environment and your home directory is still your home directory!  If you delete stuff in your home directory, it really will be gone, whereas if you delete / modify stuff (inside the chroot) from /etc and other system directories, it's only within the chroot.

If you'd like to use rinse to install RedHat based distributions that aren't included by default (no recent Fedoras are for Debian 6's version of rinse), take a look at the rinse Gitorious tree and grab the more up-to-date /etc/rinse/rinse.conf and *.packages files.  I'll be doing this shortly and I'll post a follow up after installing some RedHat distros.

See after the jump for list of commands I used to install both lenny and lucid...

sudo mkdir -pv /opt/chroot/lenny
sudo debootstrap --variant=buildd --arch amd64 \
 lenny /opt/chroot/lenny/ http://mirror.rit.edu/debian/
sudo mkdir -p /opt/chroot/lucid
sudo debootstrap --variant=buildd --arch amd64 \
 lucid /opt/chroot/lucid http://mirror.rit.edu/ubuntu/
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in linux, open source | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Downsides and Upsides of Altera's Configuration Via Protocol
    Yesterday, I wrote a little about reconfigurable FPGAs attached to the PCI-Express bus as an addition to the general purpose computer. The...
  • Toolchain, Check! Kernel, Check!
    I've been working on the CLFS embedded book for a few months now.  I've been learning a lot and my goal has been to get a CLFS embe...
  • KDE4 Sucks
    I upgraded to Debian 6 Squeeze last weekend on my desktop.  I was very excited to get some more up-to-date packages (git, gcc, kernel, and c...
  • Low Cost ARM Computer
    I was thinking about my ARM + FPGA computer idea some more.  There's already a lot of competition in the single board computer space an...
  • Crypto Load Balancer Using Off The Shelf Hardware
    At my day job, I work a reasonable amount of time with cryptographic and authentication systems. Lately, I've been reading about OpenCL...
  • Embedded Linux and Long Term Support / Updates - Part 2
    In my previous post about embedded Linux long term support, I neglected Ubuntu. I had not realized how much effort Canonical are putting i...
  • The TuxedoBoard has a Brain! (picked out)
    I've chosen an ARM SoC (system on chip) for the TuxedoBoard! The Texas Instruments AM1707 ARM9 core will meet my requirements. The AM1...
  • Pick an ARM ABI When Building GCC
    If you follow the CLFS embedded book for ARM , you'll see that your ABI choice isn't used until compiling packages (ie: after you...
  • SanDisk iNAND
    I stumbled upon SanDisk's iNAND products today while doing some searching about SD cards. The iNAND idea looks very appealing to me co...
  • I'm Writing a Book
    I'm writing a book about embedded Linux but I'm not going to compete with traditional technical books.  O'Reilly isn't my co...

Categories

  • beagleboard
  • blog
  • book review
  • business
  • c
  • chairs
  • clfs
  • community
  • computers
  • crypto
  • db
  • debian
  • disapointment
  • embedded
  • energy
  • fedora
  • flash
  • fpga
  • gcc
  • git
  • google
  • health
  • hp
  • internet
  • iOS
  • learning
  • license
  • linux
  • market
  • microsoft
  • movie review
  • my book
  • next steps
  • open source
  • pandaboard
  • rails
  • software
  • SOPA
  • tuxedo
  • web 2.0
  • webOS
  • windows
  • work

Blog Archive

  • ►  2012 (10)
    • ►  January (10)
  • ▼  2011 (70)
    • ►  December (10)
    • ►  November (9)
    • ►  October (7)
    • ►  September (8)
    • ►  August (1)
    • ►  July (3)
    • ►  June (3)
    • ►  May (3)
    • ►  April (8)
    • ►  March (4)
    • ▼  February (5)
      • Multiple Concurrent Linux Distributions in Debian ...
      • Product Compliments & FPGAs, They Don't Get It!
      • Low Cost ARM Computer
      • KDE4 Sucks
      • Pick an ARM ABI When Building GCC
    • ►  January (9)
  • ►  2010 (16)
    • ►  December (6)
    • ►  November (9)
    • ►  October (1)
Powered by Blogger.

About Me

Unknown
View my complete profile