Using AMC on a PC without Linux (with a live-USB key)

Version 4 (Liouba Leroux, 04/04/2018 06:14 pm)

1 4 Liouba Leroux
h1. Using AMC with a Windows(r) PC
2 1
3 1
h2. Main idea
4 1
5 3 Liouba Leroux
AMC is not available for Windows(r) users. Using our tool with this OS could be usefull, either to discover or test AMC easilly, or to use it when OS is not choosen by user! Here are solutions:
6 3 Liouba Leroux
* Using a "bootable" USB key (or disk).
7 3 Liouba Leroux
* Virtualize a Linux distribution including AMC installation.
8 3 Liouba Leroux
* Install a Linux distribution with a dual boot instead of the single Windows installation. This is (not the simpliest, but) the best solution for a intensive use of AMC (others are slower, see comments on the forum).
9 3 Liouba Leroux
10 3 Liouba Leroux
Let's get some details about two first solutions.
11 3 Liouba Leroux
12 3 Liouba Leroux
h2. Solution 1: USB bootable disk or key
13 3 Liouba Leroux
14 3 Liouba Leroux
This solution is not the simpliest one, but once your key is prepared, it is usable with any USB-bootable PC. And if your key/disk is fast enough, it seems to be faster than the virtualization.
15 3 Liouba Leroux
16 1
AMC is available on different Ubuntu versions.
17 3 Liouba Leroux
Therefore, it is possible to create a "live USB key" (in RAM, no hard disk installation) including AMC. *Lubuntu* is perfect for this, because it is lightweight and it permits a classic interface for Windows users.
18 1
19 3 Liouba Leroux
h3. A ready-to-install example (for a 4GB or more USB key)
20 1
21 1
Such a key is *downloadable here*:"http://files.auto-multiple-choice.net/17/customLubuntu1304.partimage.000":http://files.auto-multiple-choice.net/17/customLubuntu1304.partimage.000 (about *2,5GB* should be long!)
22 1
23 3 Liouba Leroux
/!\   *SORRY, BUT IT IS ONLY A FRENCH VERSION*  /!\ But it is quite easy to select your own language to change this whith usual menu...
24 1
25 1
It uses a "persistant mode", so your datas are saved on key when you shut down your PC. You won't find there the latest version of AMC, but it could be usefull or it could be an example to discover what is possible.
26 1
27 3 Liouba Leroux
h3. How-to build your own key
28 1
29 1
A Linux-PC is used during installation.
30 1
* *Download* this "image file":http://files.auto-multiple-choice.net/17/customLubuntu1304.partimage.000 
31 1
* _If possible_, *verify* is md5 sum : <pre> md5sum customLubuntu1304.partimage.000 | grep f4d89cab16ff9ea91851699b936ca74d </pre>
32 1
sould show the you name and footprint of the file.
33 1
* Get an *empty key with 4GB or more space*. If possible, get a fast one.
34 1
35 1
*_Be carefull, it is now necessary to understand what you do: you could erase your whole hard disk!
36 1
Read all instructions before doing anything..._*
37 1
38 1
* With *Partimage* software (launched from bash), *copy this image to USB key*. It will create or fill a 4GB partition.
39 1
* With *Gparted* software, get this partition "bootable" (*add the "boot" flag*).
40 1
* (It is possible to enlarge this partition with Gparted, or to add an other partition, if your key is gets more than 4GB free space).
41 1
* *U(n)mount* your key: it is now ready to boot any recent PC (_if necessary, modify BIOS options_)
42 1
43 1
Persistant mode allows you new software installation (with standard tools like synaptic). Then, you can add your own langage or keyboard settings. But mind free space is not so large...
44 1
45 3 Liouba Leroux
h3. Tips for use
46 1
47 1
When *booting*, you get a choice between:
48 1
* *launching this custom distribution* whithout installation (*_default_*) and
49 1
* Installing standard Lubuntu on PC.
50 1
51 1
With *default choice*, graphic interface is classic and should not disturb any user. *AMC is already installed*, so is *TeXmaker* (and even LibreOffice with Dmaths add-on). It generaly works slower than a real intallation, espacially on slow keys or when RAM lacks.
52 1
53 1
One can add a printer, when one work in a stable environnement. But an other simple solution is to *"print a PDF file"* with pseudo-printer available. Then, one can copy this file on an other key (see in file browser, keep in mind to u(m)ount it before unplugging), or send it by mail or in the cloud via a web page.
54 1
55 1
Some _LaTeX_ packages could be missing, and an error would occur if your document uses them. They can be added like on a normal Ubuntu/Linux distribution.
56 3 Liouba Leroux
57 3 Liouba Leroux
h2. Solution 2: virtualization
58 3 Liouba Leroux
59 3 Liouba Leroux
This solution is simple to install and to use. But it seems to be quite slow, so keep it in mind for big projects. In addition, you have to install it on each machine you use. 
60 3 Liouba Leroux
61 3 Liouba Leroux
You may have a look "here":http://files.auto-multiple-choice.net/17/AMCbuntu_en/AMCbuntu_screenshots.pdf to discover what it looks like before installation...
62 3 Liouba Leroux
63 3 Liouba Leroux
h3. Virtualbox
64 3 Liouba Leroux
65 3 Liouba Leroux
You first need to install this software, used to emulate others OS within Windows (or other OS): your machine is called "host" and the emulated system is the "client" one. Get it "here":https://www.virtualbox.org/wiki/Downloads for installation.
66 3 Liouba Leroux
67 3 Liouba Leroux
h3. Virtual distribution
68 3 Liouba Leroux
69 3 Liouba Leroux
Then you can install any GNU/Linux distribution "inside Virtualbox" and add AMC. Or simply download this "ready-to-import file":http://files.auto-multiple-choice.net/17/AMCbuntu_en/AMCbuntu_Lubu14.10_en.ova called *AMCbuntu* specialy prepared for you ;-) ! A double-clic should launch Virtualbox in order to import this system. Then, you can even choose to have a direct access to AMCbuntu with an icon on Desktop.
70 3 Liouba Leroux
71 3 Liouba Leroux
AMCbuntu is based on a custum Lubuntu14.10 (AMC, TexMaker, LibreOffice included...)
72 3 Liouba Leroux
73 3 Liouba Leroux
For details about AMCbuntu use, see "Virtualbox site":https://www.virtualbox.org/wiki/Documentation and other files "here":http://files.auto-multiple-choice.net/17/AMCbuntu_en/ (specific for AMCbuntu). Don't forget the AMC forum to share about it...