Thursday, January 20, 2011

How to mount iso and ntfs drive(flash) in linux

In Windows, when you want to mount iso image, you will need application such as VirtualCD, MagicCD, Daemon tool etc. But in Linux what do you need for mount iso image?
To mount iso image you don't need any thing, because mount command is already install for you since you first install Linux.
1. I have an image iso called suse.iso in /root folder (/root/suse.iso) that i want to mount to /mnt folder so the command will be,
mount -t iso9660 /root/suse.iso /mnt -o loop
Now you successfully mount suse.iso to /mnt folder
2. How to mount ntfs filesystem drive, for example, when you plug a flash with ntfs filesystem and it is attached to /dev/sdb1, the command will be:
mount -t ntfs-3g /dev/sdb1 /mnt
Note: you need to install ntfs-3g, http://www.tuxera.com/community/ntfs-3g-download/
and if you don't know your flash attach to which device you can use command fdisk -l

No comments:

Post a Comment