Download the ISO file using wget.
[root@memberserver ~]# cd tmp;wget http://cdimage.debian.org/debian-cd/7.6.0/multi-arch/iso-cd/debian-7.6.0-amd64-i386-netinst.iso
Create a directory which you will use to mount the ISO file to.
[root@memberserver ~]# mkdir /isodir
Edit the /etc/fstab as per the below entry:
[root@memberserver ~]# vi /etc/fstab
/tmp/debian-7.6.0-amd64-i386-netinst.iso /isodir iso9660 defaults,loop 0 0
Run partprobe to make the kernel aware of the disk changes and finally run mount -a to mount the ISO.
[root@memberserver ~]# partprobe
[root@memberserver ~]# mount -a
mount: /dev/loop0 is write-protected, mounting read-only
[root@memberserver ~]# df -hk | grep isodir
/dev/loop0 496640 496640 0 100% /isodir
Recent Comments