User Tools

Site Tools


Writing /var/lib/dokuwiki/data/meta/tutorials/ubuntu_bionic_chroot.meta failed
Unable to save metadata file. Hint: disk full; file permissions; safe_mode setting.
tutorials:ubuntu_bionic_chroot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:ubuntu_bionic_chroot [2019/04/04 20:56] admintutorials:ubuntu_bionic_chroot [2022/09/20 00:08] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Ubuntu 14.04 inside a Chroot ======+====== Ubuntu Bionic inside a Chroot ======
  
   * Install the base system   * Install the base system
Line 40: Line 40:
       sudo mount none -t devpts $CHROOT_DIR/$CHROOT_NAME/dev/pts       sudo mount none -t devpts $CHROOT_DIR/$CHROOT_NAME/dev/pts
       sudo mount -o bind / $CHROOT_DIR/$CHROOT_NAME/hostfs       sudo mount -o bind / $CHROOT_DIR/$CHROOT_NAME/hostfs
-      #sudo mount -o bind /run/shm $CHROOT_DIR/$CHROOT_NAME/run/shm+      sudo mount -o bind /dev/shm $CHROOT_DIR/$CHROOT_NAME/dev/shm
   fi   fi
      
Line 52: Line 52:
   then   then
       echo "Closing last invocation. Unmounting host system directories"       echo "Closing last invocation. Unmounting host system directories"
-      for i in dev/pts hostfs proc dev sys +      for i in dev/shm dev/pts hostfs proc dev sys 
       do       do
    sudo umount $CHROOT_DIR/$CHROOT_NAME/$i    sudo umount $CHROOT_DIR/$CHROOT_NAME/$i
Line 68: Line 68:
   * Configure schroot. Edit /etc/schroot/schroot.conf file with. Change YOUR_USER_NAME for your username:   * Configure schroot. Edit /etc/schroot/schroot.conf file with. Change YOUR_USER_NAME for your username:
  
-  [ubuntu-trusty+  [ubuntu-bionic
-  description=Ubuntu Trusty+  description=Ubuntu Bionic
   location=/var/chroot   location=/var/chroot
   priority=3   priority=3
tutorials/ubuntu_bionic_chroot.1554411391.txt.gz · Last modified: 2022/09/20 00:08 (external edit)