Gentoo Wiki


From time to time we need to setup a gentoo system and we have another linux system on the drive. When we've got a basic linux system and an X server sorted, it'd be nice to play some music and browse the web while we're compiling gnome.

Here's how

First of all, let's assume you have my hard disk layout:

hdb3other linux (e.g. Ubuntu)

So you're in your new gentoo, and you want to put on some music.

Code: Mount ewwBuntu like so
mount -t ext3 /dev/hdb3 /mnt/eww
Code: Copy over your /dev directory
mount -o bind /dev /mnt/eww/dev
Code: And Enter the chroot
chroot /mnt/eww /bin/bash

At this point you're still root, so you may want to become yourself : su james

Code: And then let's open firefox and gaim
firefox &; gaim &
Note: It's important to use the '&' which runs the command in the background, or you won't be able to use the command line

I have yet to get audio working, but i'll update when i manage it

Retrieved from ""

Last modified: Sun, 14 Jan 2007 17:49:00 +0000 Hits: 3,924