Wednesday, August 22, 2012

GAiA tricks - mounting DVD

One more thing missing in GAiA is DVD/CD mount point. If you try to do mount /mnt/cdrom on GAiA, you get an error, because of the two reasons:

1. There is not mount point
2. fstab does not have corresponding info.

Let's make it work again.

1. Open fstab to edit with "vi /etc/fstab" and add there the following:

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

2. create /mnt/cdrom folder for using as a mount point: mkdir /mnt/cdrom

Now you are ready to mount your DVD or CD to the machine.


2 comments:

  1. Nice post.
    We are thinking about something similar but with USB stick instead of DVD.
    The big advantage of an USB stick is, that you can create it with ISOmorphic and you are good to go. But furthermore, if you want to make an upgrad at a later time, it should be possible to download the new image file with the filewall and replace the ISO file on the stick with the new one. So you would need no help from local IT like burning a dvd etc.
    We have not yet tested this though. :-)

    ReplyDelete
  2. USB or not, if you are mounting a CD/DVD, you need to prepare fstab. ISOmorphic is to create bootable drives, and there is no problem to boot from CD ro DVD anyway.

    The post was about using a CD on an installed system. If you are looking to mount ISO file on GAiA, it works the same way as described here: http://checkpoint-master-architect.blogspot.ch/2011/02/how-to-use-iso-image-on-splat-instead.html

    ReplyDelete