Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 05-07-2013, 07:53 AM   #1
LQ Newbie
Registered: Jun 2010
Posts: 7

Rep: Reputation: 0
Loopback device /dev/loop* appears to be read-only under VMWare?

I am having a problem running Ubuntu 12.04.1 under VMWare 9.0.1. I think that it has to be VMWare related because the same operations work fine as far back as RedHat 7.2 and Ubuntu 8.04.4.

Assume the existence of a file called 'image.bin' created by copying data from e.g. a CF card.

Steps are:
losetup -o 16384 /dev/loop0 image.bin
mount /dev/loop0 /mnt/tmp -t vfat

Under the working OS, it just mounts. In the VMWare configuration, it reports:
mount: block device /dev/loop0 is write-protected, mounting read-only

Of course, this makes it difficult to add the required data to the file! I have tried any number of things like mounting with -o remount,rw but nothing seems to make a difference. I am running as root in all cases just to make sure there are no permissions issues related to this, but the file permissions seem like they should be fine:

-rwxrwxrwx 1 root root 130023424 May 6 17:55 image.bin
brw-rw---- 1 root disk 7, 0 May 6 18:08 /dev/loop0

Any insights?

Old 05-10-2013, 06:51 PM   #2
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
Ok this is a strange one, but by chance try creating a fresh loop device to mount with:

mknod -m 660 /dev/loop10 b 7 10


loopback, ubuntu 12.04, vmware

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
no /dev/sd** device appears when I plug in a card to the laptop's card reader nass Slackware 12 10-16-2010 03:53 PM
Vmware missing device /dev/vmmon blavish Linux - Software 4 08-01-2010 04:49 AM
How to read a v4l loopback device? rylan76 Linux - Hardware 0 01-16-2006 01:04 PM
New Kernel -> Can't read device /dev/hda flamesrock Linux - Software 2 02-07-2005 04:43 PM
loop: can't open device /dev/loop0: No such device or address miaviator278 Linux - Security 3 06-09-2004 09:24 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration