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

[Libguestfs] read-write in LIBGUESTFS 1.20



How can i open a virtual disk in read-write mode ?


# guestmount --rw -d winxp -m /dev/sda1 /media/

# rm -f /media/pagefile.sys
rm: cannot remove ‘/media/pagefile.sys’: Operation not permitted

# cd /media && touch file
touch: cannot touch ‘file’: Permission denied

# cd && fusermount -u /media

I've tried with guestfish also.

I have compiled libguestfs with this conf:

    ./configure \
	PYTHON=/usr/bin/python2 \
	--prefix=/usr --libdir=/usr/lib \
	--mandir=/usr/share/man \
	--sysconfdir=/etc \
	--disable-probes \
	--disable-gobject \
	--enable-introspection=no \
	--disable-lua \
	--disable-erlang \
	--disable-php \
	--disable-haskell \
	--disable-ruby \
	--without-java \
	--with-default-attach-method=libvirt


am i missing something ?


-- 
Evaggelos Balaskas - Unix System Engineer
http://gr.linkedin.com/in/evaggelosbalaskas


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