Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mounting VirtualDsik in linux machine

17 views
Skip to first unread message

Akshatha

unread,
May 11, 2009, 8:32:22 AM5/11/09
to
Hi All,
i have created virtualdisk in linux host machine for running vxsim
simulator.
I want to view all the files created in this virtualdisk in linux
desktop as i see from vxsim's winshell.

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

peter....@gmail.com

unread,
May 11, 2009, 9:09:03 AM5/11/09
to
The VxWorks virtual disk has a 48 byte header on it. So, if you want
to mount the virtual disk from linux, try ...
mount -oloop,offset=48 <path to virtual disk file> <path to where
you want to mount it>

Sparky.

Akshatha

unread,
May 12, 2009, 4:31:44 AM5/12/09
to
> > aks- Hide quoted text -
>
> - Show quoted text -


yes this works. Thanks a lot for the info.

Akshatha

unread,
May 20, 2009, 7:43:14 AM5/20/09
to
> yes this works. Thanks a lot for the info.- Hide quoted text -

>
> - Show quoted text -

Hi,
what if i dont have a root acess to mount this disk?
Can i use pmount? i dont find pmount in my linux machine.. but found
soem rpm package fro pmount. Can i use this so that user can mount
this disk?

0 new messages