[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Devices not available in domain



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.