Difference between revisions of "UbuntuChroot"
Jump to navigation
Jump to search
(Created page with "You need a Ubuntu 11.04 host system. sudo apt-get install rootstock sudo rootstock --fqdn touchpad novacom put file://media/ext3fs/armel-rootfs-201107071349.tgz < armel-rootfs...") |
|||
Line 1: | Line 1: | ||
You need a Ubuntu 11.04 host system. | You need a Ubuntu 11.04 host system. | ||
− | sudo apt-get install rootstock | + | sudo apt-get install rootstock |
− | sudo rootstock --fqdn touchpad | + | sudo rootstock --fqdn touchpad |
− | novacom put file://media/ext3fs/armel-rootfs-201107071349.tgz < armel-rootfs-201107071349.tgz | + | novacom put file://media/ext3fs/armel-rootfs-201107071349.tgz < armel-rootfs-201107071349.tgz |
You need a large-enough /media/ext3fs partition created with Meta-Doctor. | You need a large-enough /media/ext3fs partition created with Meta-Doctor. | ||
− | cd /media/ext3fs | + | cd /media/ext3fs |
− | mkdir ubuntu | + | mkdir ubuntu |
− | cd ubuntu | + | cd ubuntu |
− | tar zxvf ../armel-rootfs-201107071349.tgz | + | tar zxvf ../armel-rootfs-201107071349.tgz |
− | cp /etc/resolv.conf ./etc/resolv.conf | + | cp /etc/resolv.conf ./etc/resolv.conf |
− | mount --bind /dev /media/ext3fs/ubuntu/dev | + | mount --bind /dev /media/ext3fs/ubuntu/dev |
− | mount --bind /proc /media/ext3fs/ubuntu/proc | + | mount --bind /proc /media/ext3fs/ubuntu/proc |
− | mount --bind /sys /media/ext3fs/ubuntu/sys | + | mount --bind /sys /media/ext3fs/ubuntu/sys |
− | mount --bind /tmp /media/ext3fs/ubuntu/tmp | + | mount --bind /tmp /media/ext3fs/ubuntu/tmp |
− | chroot /media/ext3fs/ubuntu | + | chroot /media/ext3fs/ubuntu |
Revision as of 05:52, 7 July 2011
You need a Ubuntu 11.04 host system.
sudo apt-get install rootstock
sudo rootstock --fqdn touchpad
novacom put file://media/ext3fs/armel-rootfs-201107071349.tgz < armel-rootfs-201107071349.tgz
You need a large-enough /media/ext3fs partition created with Meta-Doctor.
cd /media/ext3fs mkdir ubuntu cd ubuntu tar zxvf ../armel-rootfs-201107071349.tgz
cp /etc/resolv.conf ./etc/resolv.conf
mount --bind /dev /media/ext3fs/ubuntu/dev mount --bind /proc /media/ext3fs/ubuntu/proc mount --bind /sys /media/ext3fs/ubuntu/sys mount --bind /tmp /media/ext3fs/ubuntu/tmp
chroot /media/ext3fs/ubuntu