Guest User

Untitled

a guest
Jan 19th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. sudo mount --bind /proc /mnt/disk_image/proc
  2. sudo mount --bind /sys /mnt/disk_image/sys
  3. sudo mount --bind /dev /mnt/disk_image/dev
  4.  
  5. sudo chroot /mnt/disk_image
  6.  
  7. sudo apt-get install chromium
  8.  
  9. --instdir=dir
  10. Change default installation directory which refers to the
  11. directory where packages are to be installed. instdir is
  12. also the directory passed to chroot(2) before running
  13. package’s installation scripts, which means that the
  14. scripts see instdir as a root directory. (Defaults to /)
  15.  
  16. --root=dir
  17. Changing root changes instdir to dir and admindir to
  18. dir/var/lib/dpkg.
Add Comment
Please, Sign In to add comment