Tag Archives: mount

Chroot howto in Linux

chroot

To get chroot in linux do the following:

  sudo chroot /mounted/directory
  mount proc
  mount sys
  mount dev

After that you can easily update grub, etc.
Thanx to http://askubuntu.com/questions/110911/how-can-i-run-update-grub-on-a-chroot-filesystem

Mount ISO in Linux

6822624841_e5403de3c9
To mount ISO file as CD disk, try mount command:

mount -o loop,ro /home/user/disk.iso /media/cdrom

To unmount:

umount /media/cdrom

For Ubuntu users see https://help.ubuntu.com/community/MountIso

For GUI performing, use Gmount-iso:

gmount-iso_001

sudo apt-get install gmountiso