WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] OT: mounted img file read-only.

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] OT: mounted img file read-only.
From: jim burns <jim_burn@xxxxxxxxxxxxx>
Date: Mon, 21 Apr 2008 19:25:18 -0400
Delivery-date: Mon, 21 Apr 2008 16:26:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1208536455.20924.10.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1208536455.20924.10.camel@xxxxxxxxxxxxxxxxxxxxxxxx> (sfid-20080421_124321_777611_8F6BFB2C)
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
On Friday April 18 2008 12:34:15 pm James Pifer wrote:
> I also had my first failed conversion. It fails in the steps replacing
> the HAL version. When I mount the img file like:
> mount -o loop,offset=$((63*512)),rw server.img /mnt
>
> I can view the file system, but when I try to put the right HAL.dll in
> place I get:
> cp: cannot remove `/mnt/WINNT/system32/hal.dll': Read-only file system

Since you didn't specify a -t parm to mount, I assume it is defaulting to 
ntfs. Try '-t ntfs-3g'. You can confirm this is the problem by 
doing 'df -T /mnt'. It will either say ntfs, which would be ro, or fuseblk, 
which would be rw.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>