<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Op 20-09-11 12:15, sleepless schreef:
<blockquote cite="mid:4E7867AC.1040601@hetnet.nl" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
After I found a watertight method to run Virtual box on windows, I
can see the advantages of testing in an virtual environment. But
as starting windows (5 minutes) and quiting windows (installing
update 1 from 7, do not shut down your computer) is not excactly a
nice experience, I would like to do the same on Ubuntu.
Supprisingly the procedure and the glitches is excacly the same.
except for that the mounted drives in the virtual machine are
locked. I can even not issue ¨ls¨ without sudo, and found yet not
a way that it let me change rights.<br>
<br>
Some smart person around to solve this for me?<br>
<br>
TIA<br>
Rinus<br>
</blockquote>
To answer my own question, the problem has been caused by wrong
parameters in the fstab mount.<br>
So, indeed the procedure for Ubuntu->VM->Ubuntu is exact the
same as Windows->VM->Ubuntu.<br>
If you want to mount a ntfs drive in virtual Ubuntu the correct
mount syntax on the master Ubuntu system should be like this:<br>
UUID=01CC6EEE5C443EF0 /media/FOTO ntfs-3g defaults,locale=en_US.utf8
0 0<br>
If this drive is mounted in Virtual Ubuntu with sudo mount -t vboxsf
F_DRIVE FOTO (see my former description) The drive is fully
accessible in the virtual system and digikam can be used normal. No
issues with copying files as was the case in
Windows->VM->Ubuntu.<br>
<br>
Good luck,<br>
Rinus<br>
<blockquote cite="mid:4E7867AC.1040601@hetnet.nl" type="cite"> <br>
Op 09-09-11 13:02, Rinus Bakker schreef:
<blockquote
cite="mid:CABosQbjU-OCmUispPsSt7WvQMLaK4Kz+zuqpbDuSkSN6u=KBkg@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">Rinus Bakker</b> <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:sleeplessregulus@gmail.com">sleeplessregulus@gmail.com</a>></span><br>
Date: 2011/9/9<br>
Subject: how to digikam on VM: to quit or not to quit, Blood
will tell, here is my solution<br>
To: <a moz-do-not-send="true"
href="mailto:digikam-users@kde.org">digikam-users@kde.org</a><br>
<br>
<br>
Hi all,<br>
<br>
This "how to run digikam 2.0 on ubuntu 11.4 in Oracle Virtual
Machine 4.1.2 on windows 7 running on an amd 64 laptop" is
build upon a setup where digikam db is on an internal harddisk
and the photo collection is on external usb harddrive and no
networking involved.<br>
<br>
I did successfully repeat the procedure on a 32 bit desktop
computer.<br>
<br>
I needed to make a few minor additions to my former
suggestions to prevent from some likely to happen issues.<br>
<br>
I would like to hear if this procedure works for others too on
different setups, other distro's, other versiones, other
machines and so on.<br>
<br>
If someone has an other setup that works great, with network
share or whatever I would like to have a detailed explanation.
All my efforts via that route have failed.<br>
<br>
<br>
One issue I could not resolve sofar. There is something wrong
with copying files either in digikam or in nautilus. Some
times it works, some times it result in zero byte copies,
sometimes there is an error statement about slicing problem
protocol error. It looks like it can be done from command line
or else outside the VM. On thw web you will find questions
about this issue but no answers, it is a common phenomenon.<br>
Else I have not encountered any problem sofar using digikam.
In fact it works quite well and is almost as responsive as in
my usual setup however there is some slowdown at read write
activity.<br>
<br>
######################################################<br>
MY PROCEDURE<br>
######################################################<br>
<br>
Instal Oracle VM 4.1.2 using default options<br>
Install guest extensions mind to download corresponding
version (4.1.2)<br>
(After download it is automatic opened by VM if you choose
so.)<br>
go in VM to Management or Settings (or whatever it is called
in english)-> shared folder<br>
Point to the drive or folder you want to mount in Ubuntu<br>
Give the drive a short and simple name which differs from the
name you want it to have in Ubuntu and do not use special
characters.<br>
(My F drive wil become /media/FOTO in Ubuntu, so I will not
call it FOTO but F_DRIVE,<br>
this way it is easy to recognise as my F drive without calling
it FOTO)<br>
Mind NOT to choose "automount" (very important)<br>
(There is no need to make it a shared folder in windows, just
leave it as is)<br>
Select in VM "New" and follow instructions, give it a name
"Ubuntu 11.04", make the memory bigger if possible, at least
1000MB (or even more if you have 2GB+ installed), point where
to place it etc etc, create, done.<br>
Click in VM on your new Ubuntu and the green arrow to start
installation.<br>
Browse to the iso file you just downloaded<br>
Selcect download updates and instal third party software<br>
Choose "erase disk" (it is your new created vitual disk) and
install<br>
Do not modify any config file. Do notting with fstab or mtab.
Do nothing with fuse. Do not use a mount manager. Do not
install Samba.<br>
Just type in terminal:<br>
cd /<br>
cd media<br>
sudo mkdir FOTO<br>
sudo mount -t vboxsf F_DRIVE FOTO<br>
<br>
(This steps, without the mkdir command, you have to follow
each time you want to work in your VM,<br>
if someone knows how to automate it at startup, and you have
verified info, please share)<br>
<br>
type: nautilus, browse to /media and there you are.<br>
If you see foldernames within media with crosses in it,
usually starting with sf_ it's there because of formerly
followed wrong procedures and are no longer good for anything
but confusion. It has been created while trying to automount
which failed and consequentely prevent from decent manual
mount.<br>
<br>
You may want to remove them<br>
type sudo nautilus and remove it, but be sure notting is
mounted at that time, else you may loose data.<br>
you can unmount your drives using umount.<br>
<br>
Now add Philip Johnsson's ppa to your sources<br>
launch synaptic<br>
install digikam 2 and kipi-plugins 2<br>
setup your digikam and go.<br>
Or if you have an existing dk installation on your machine.<br>
tell digikam where the db is and where the photos.<br>
It will reread everything, so thats going to take awhile.<br>
(If someone has any information how to reuse existing
collection and db in a new setup without rereading everything,
please share your knowledge)<br>
#####################################################################<br>
DONE<br>
####################################################################<br>
If someone needs at certain point more specific information,
just ask!<br>
<br>
Good luck!<br>
Have a nice day!<br>
<font color="#888888">Rinus<br>
</font></div>
<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Digikam-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/digikam-users">https://mail.kde.org/mailman/listinfo/digikam-users</a>
</pre>
</blockquote>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Digikam-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/digikam-users">https://mail.kde.org/mailman/listinfo/digikam-users</a>
</pre>
</blockquote>
<br>
</body>
</html>