Skip to content. | Skip to navigation

Personal tools


You are here: Home / Notes / Sage / othe sage chroot notes

othe sage chroot notes

by ACalcutt last modified Jul 04, 2011 08:09 AM
just some other random stuff found while chrooting sage

mount: Not a directory when mounting image file

I originally was following (  but had issues at the following step

Then we add the line

/sage_chroot.image /sage_chroot ext3 bind   0     0

(Of course, the above values should be changed to reflect the directory location and filesystem type you chose previously.) Then finally to mount it we run:

$ sudo mount -a

Whenever I ran "mount -a" I was getting the error

mount: Not a directory

I eventually found this was because to mount a file with fstab you need to use the loop option instead of bind, like the following

/sage_chroot.image /sage_chroot ext3 loop   0     0

While this did seem to work, I didn't end up using a image file like that because none of the other chroot examples I read did it that way

Ubuntu 9.10 404 errors on apt-get

I had 404 errors from "sudo apt-get install texlive xpdf evince" in ubuntu 9.10. I installed the following packages manually then re-ran "sudo apt-get install texlive xpdf evince" to get around this.

Document Actions