mounting and creating iso files

das paagol at gmail.com
Sat May 5 03:24:54 UTC 2007


On Fri, 2007-05-04 at 22:01 -0500, Jeremy M. Teale wrote:
> sudo mount -t iso9660 foo.iso ./mountpoint

I don't think it will work, though it is true, I have never tried this
mounting without the loop-back thing. 

The command that I so commonly use is, as root:

mount -t iso9660 -o loop=/dev/loop0 <image> <mount-point>

<image> is full path with the name of the image file.

<mount-point> is full path with the name of the mount point.

like say: 
mount -t iso9660 -o loop=/dev/loop0 /home/kelley/k.iso /home/kelley/k
after you created k.iso in your home, and a folder called k there. 

Issue this with 'sudo'. 
What I do is I use su commands so much that I change the root password
in 'Users and Groups' and become 'su' whenever I am going to do these
thing. It frees me from typing 'sudo' every time. After it is done, I
'exit'. 

---
das





More information about the ubuntu-users mailing list