on Tue, Dec 27, 2005 at 06:02:46PM +0000, Peter Hollands
(peter.hollands@dale.co.uk) wrote:> Ed
>
> On Monday 26 December 2005 11:56, xen-users-request@lists.xensource.com
wrote:
> > mount -o loop /var/tmp/guest1 /var/tmp/dirinstall
> >
> > and get an error that says loop not recognized and fstab error.
> >
> > may i have some help with this one?
>
> Should''nt you by mounting a loopback device ? (as oppose to a
directory /
> file).
> i.e. something like
> mount -o loop /dev/loop4 /var/tmp/dirinstall
That''s typical if you''ve used losetup to configure a loopback
device,
but the syntax OP suggests should work. It''s possible that adding a
filesystem spec might help, though most ''mount''s will
autodetect a
recognized FS. Might also help to ensure that the ''loop''
module is
loaded:
modprobe loop && mount -o loop -t <filesystem> <image>
<mountpoint>
Alternatively, losetup should work, or fail similarly (e.g.: if
there''s
no loopback module loaded). Make sure you''re specifying an unused loop
device:
/sbin/losetup /dev/loop2 <imagefile>
mount -t <filesystem> /dev/loop2 <mountpoint>
Cheers.
--
Karsten M. Self <karsten@xensource.com>
XenSource, Inc.
2300 Geng Road #250 +1 650.798.5900 x259
Palo Alto, CA 94303 +1 650.493.1579 fax
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users