LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-07-2013, 07:53 AM   #1
GregIthaca
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?

Greg
 
Old 05-10-2013, 06:51 PM   #2
gdizzle
Member
 
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:

Code:
mknod -m 660 /dev/loop10 b 7 10
 
  


Reply

Tags
loopback, ubuntu 12.04, vmware



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 11:11 PM.

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