Mounting virtual disk in linux
Hi All,
i have created virtualdisk created in linux machine fro running vxsim. I want to view all the files cretaed in this virtualdisk in linux desktop. The virtual disk had DOS filesystem and i am trying to mount this in linux [root@akshath-OME sp2_vx15]# mount -t vfat /omesim/scripts/sim_ws1/sp2_vx15/virtual_disk_root /mnt/sim mount: /omesim/scripts/sim_ws1/sp2_vx15/virtual_disk_root is not a block device (maybe try `-o loop'?) [root@akshath-OME sp2_vx15 Also tried with -o option [root@akshath-OME sp2_vx15]# mount -o loop -t vfat /omesim/scripts/sim_ws1/sp2_vx15/virtual_disk_root /mnt/sim mount: wrong fs type, bad option, bad superblock on /dev/loop0, or too many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?) Any idea what is the issue here? Thanks in advance, aks |
Look at the file with "file <filename>" as root.
You need to indicate the mount point as well, if it isn't in the fstab file. |
hi,
the file >filename" shows it as data. what do e understand from this? No i have not mentioned abt mount point in fstab. i just cretaed a directory callec sim in /mnt and wnat to see contents here.. coreect me if i am wrong this is my first experience with mount !! [root@akshath-OME sp2_vx15]# file virtual_disk_root virtual_disk_root: data command i gave : mount -o loop -t vfat /omesim/scripts/sim_ws1/sp2_vx15/virtual_disk_root /mnt/sim please let me know if i need to chnage anthing here .. i want to see all the files inside this virtual disk in linux machine... vfat is the correct filesystem right? |
mount -oloop,offset=48 <path to virtual disk file> <path to where
you want to mount it> this works!! refer below link http://groups.google.com/group/comp....996238baf9b1c# thanks all for the info.. |
All times are GMT -5. The time now is 03:08 AM. |