<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Rinus Bakker</b> <span dir="ltr"><<a 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 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>