Howto: Create Bottles of wine (Playonlinux)

Share your own howto's etc. Not for support questions!

Howto: Create Bottles of wine (Playonlinux)

Postby bester69 » 2016-07-10 16:23

we will create the "bottle of wine"; .> This is , create a linux filesystem file, mounted in fstab, and copy inside all the structure windows wine's filesystem created by playonlinux

The best thing about Playonlinux, is that we can create as many bottles of wine (Windows filesystem structure) as we wish, which normally will be one for every differentone application. This way, we can store our windows installed beloved applications in just one file for any different windows application, so whenver we want to run this application, we'll use playonlinux as an runtime machine.

Steps to build the playonlinux runtime's bottles of wine :o :

0- we create the windows wine filesystem:
0.1
Playonlinux wizard- > Install New (New program in a new virtual drive)--> Name for Applicaiton virtual drive--> Select Type (32or64 bits) and we continue with installation of the application


1- we create the "bottle of wine"; .> This is , create a linux filesystem file, mounted in fstab, and copy inside all the structure windows wine's filesystem created by playonlinux during 0.1.
1.1 we create the empty "Bottle of wine" ( a drive file with enought spare space to store playonlinux drive)
dd if=/dev/zero of=/media/PLAYONLINUX/AutoCad200.wine bs=100M count=20
mkfs.ext4 /media/PLAYONLINUX/AutoCad200.wine

1.2 We move the windows filessytem files into the "Bottle of wine"
1.2.1 We mount previously the "bottle" in any temp folder:
mkdir temp
mount -t ext4 /media/PLAYONLINUX/AutoCad200.wine ~/temp

1.2.2 We Fill the "bottle of wine", by copying all the files inside
rsync -aAXv ~/.PlayOnLinux/wineprefix/Acad/ ~/temp/


2. We link playonlinux with the "bottle of wine", and create an entry in fstab to be able to have it available with every boot.
2.1 Delete windows filesystem bottle application
rm -rf ~/.PlayOnLinux/wineprefix/Acad/

2.2. Add entry in fstab in order to mount "bottle of wine"
vi /etc/fstab
Add_> /media/PLAYONLINUX/AutoCad200.wine /home/user/.PlayOnLinux/wineprefix/Acad/ auto rw,exec 0 0 0

------------------------------
RESUMING;

With all these steps, we've achieved an easy way to have avialable our beloved windows applicarion, in such a way, we dont have to intall them any more in life, we just can use them as runtime playonlinux files.
Another advantages l we achieve, not to have to copy the full windows filesytem for movig theses "bottles of wine", as we just use a simple binary file in the process. This way we can move from place the "bottles of wine" (windows applications) to any place (external usb), and just make a soft link to the target fsta
b source mounted point.
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1502
Joined: 2015-04-02 13:15

Re: Howto: Create Bottles of wine (Playonlinux)

Postby Head_on_a_Stick » 2016-07-10 18:41

Doesn't playonlinux manage this automatically?

I thought that was the whole point of the program, or have I missed something?
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10691
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Howto: Create Bottles of wine (Playonlinux)

Postby HuangLao » 2016-07-10 19:12

Head_on_a_Stick wrote:Doesn't playonlinux manage this automatically?

I thought that was the whole point of the program, or have I missed something?


reinventing the wheel and all, kind of like shifting the gears when you remember your car has automatic transmission :shock:
User avatar
HuangLao
 
Posts: 483
Joined: 2015-01-27 01:31

Re: Howto: Create Bottles of wine (Playonlinux)

Postby bester69 » 2016-07-10 22:17

Head_on_a_Stick wrote:Doesn't playonlinux manage this automatically?

I thought that was the whole point of the program, or have I missed something?


Im showing how to mount them in fstab. cos I find that way very usefull
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1502
Joined: 2015-04-02 13:15

Re: Howto: Create Bottles of wine (Playonlinux)

Postby Head_on_a_Stick » 2016-07-11 07:07

OK, thanks for the explanation!
:)
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10691
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Howto: Create Bottles of wine (Playonlinux)

Postby HuangLao » 2016-07-11 18:54

:lol:
User avatar
HuangLao
 
Posts: 483
Joined: 2015-01-27 01:31


Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable