如何chroot Ubuntu + 1?

使用Ubuntu Stable(在我的情况下是11.04)和Ubuntu + 1(11.10)使用chroot的推荐方法是什么?

链接(但可能是单独的)是“为了让Xorg工作,我还需要做些什么吗?”

我问的原因是因为我想测试一些GTK3程序而不会丢失我当前的(稳定的)Ubuntu,或者不得不让我的数据同步。

我想过可能从11.10运行SSH服务器然后使用SSH的X转发,但这看起来相当麻烦。

为了chroot做像..配置/安装grub,做以下事情 –

 #first, mount new install to /mnt/oneiric mount -t proc proc /mnt/oneiric/proc mount -t sysfs sys /mnt/oneiric/sys mount -o bind /dev /mnt/oneiric/dev chroot /mnt/oneiric /bin/bash 

我不会尝试以这种方式开始完整的侏儒。
您真正应该这样做的唯一原因是,由于某些原因您无法启动到Linux安装,但仍需要从中运行一些东西。 你不能只是chroot并改变你正在运行的发行版。