Auto mount iso image via /etc/fstab
2008-12-08 14:44
381 查看
So, you have a cd image and want to mount automatically every time you start your linux? Here, I’ll show you how to do it.
First step is, put your file at some place where you will not move it again. Why? Because you’ll have to adjust your /etc/fstab entry if you move the file. For this tutorial, we will call it /home/cd_images/some_cd.iso
Then, create a folder where you want it mounted. Let’s call it /home/m_images/mounted.
Next step, open up /etc/fstab. Issue this command on terminal: sudo gedit /etc/fstab.
Add this line to /etc/fstab:
/home/cd_images/some_cd.iso /home/m_images/mounted udf,iso9660 user,loop 0 0
First step is, put your file at some place where you will not move it again. Why? Because you’ll have to adjust your /etc/fstab entry if you move the file. For this tutorial, we will call it /home/cd_images/some_cd.iso
Then, create a folder where you want it mounted. Let’s call it /home/m_images/mounted.
Next step, open up /etc/fstab. Issue this command on terminal: sudo gedit /etc/fstab.
Add this line to /etc/fstab:
/home/cd_images/some_cd.iso /home/m_images/mounted udf,iso9660 user,loop 0 0
相关文章推荐
- linux挂载iso镜像时报错的解决方法 mount: can't find cdrom in /etc /fstab or /etc/mtab
- linux挂载iso镜像时报错的解决方法 mount: can't find cdrom in /etc /fstab or /etc/mtab
- linux挂载iso镜像时报错的解决方法 mount: can't find cdrom in /etc /fstab or /etc/mtab
- 练习 19:文件系统:挂载,mount,/etc/fstab
- linux下查看文件系统类型 df -T ;/etc/fstab;mount
- 设置/etc/fstab,使系统在启动时像mount --bind命令一样装载目录
- 关于nfs,远程mount的两个配置文件 /etc/export /etc/fstab
- linux 磁盘管理三部曲——(3)mount挂载,-etc-fstab配置文件
- auto mount iso
- How to: Mount an ISO image under Linux(Linux 下 mount .iso 镜像文件)
- Linux fstab 格式异常导致 mount 时报错:no final newline at the end of /etc/fstab
- 报错:mount: can't find /mnt/cdro in /etc/fstab or /etc/mtab,执行mount /mnt/cdrom时。
- mount挂载分区,和/etc/fstab开机自动挂载
- 开机挂载mount etc/fstab与/etc/rc.d/rc.local区别
- 通过/etc/fstab自动挂载iso镜像的ISO格式问题
- mqd-mount一个分区,并在/etc/fstab写入了挂载信息,后卸载并删除硬盘,导致无法开机
- Linux mount ISO fstab
- mount /etc/fstab 中解释
- linux 磁盘管理三部曲——(3)mount挂载,/etc/fstab配置文件
- mount命令及/etc/fstab文件详解