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] Devices not available in domain

To: Gisbert Amm <gia@xxxxxxxxxxx>
Subject: Re: [Xen-users] Devices not available in domain
From: Rich Persaud <rich.p@xxxxxxxxxxxxx>
Date: Fri, 08 Apr 2005 09:43:08 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Apr 2005 13:43:07 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42563B1B.3040305@xxxxxxxxxxx>
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: <42555D84.9090202@xxxxxxxxxxx> <425635D2.7020707@xxxxxxxxxxx> <Prayer.1.0.13.0504080851230.8192@xxxxxxxxxxxxxxxxxxxxxx> <42563B1B.3040305@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Gisbert Amm wrote:

Argh, I now understand what I did wrong: I created a file with dd, connected it with a loopback device using losetup, mounted it and populated the filesystem copying the necessary parts of my existing installation into it. However, I missed the preserve option when doing cp! Therefore the permissions e.g. for /dev/null where wrong. I should have done cp -p ...

cd /mnt/newrootfs
(cd /mnt/oldrootfs; tar cf - dir1 dir2 dir3 dir4) | tar xf -

Rich

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