Precompiled versions
Usually you want to use a pre-compiled version of LVP.
Get an appropriate one from SourceForge.
WARNING! YOU NEED TO BE ROOT TO COMPLETE THE REST OF THE SETUP PROCESS IF YOU WANT TO USE ENCRYPTION!
Untar it into a directory where you have enough free diskspace (twice as much as the medium you want to use, e.g. ~1400 MB for CD-Rs or ~8500MB for DVD-Rs).
Then start the config.sh script in the newly created directory.
You'll see a menu like this:
Welcome to the LVP configuration
1 - (plain) How to store data on the LVP
2 - (dvd) What medium are you using
3 - () Parameters to add to mplayer
4 - () Files to put on this medium
5 - [ ] Query for different language settings for .ogm and .mkv files
6 - [ ] Batch mode (assume default answer to everything)
8 - [ ] Count my disks at lvp.crash-override.net
s - Save Configuration
l - Load Configuration
---
c - Create LVP now
i - Create ISO now
x - Clean up
---
w - Warranty disclaimer
L - License information
u - Check for Update
m - Make Author Happy
q - Quit
Enter your choice>
Here's an explanation of the menu entries:
1 - (plain) How to store data on the LVP
You can choose between two values here: plain and encrypted.
plain will store the movie files unencrypted on the medium. This means that you can also play the files from any computer without having to boot into the LVP livesystem. You usually want this.
encrypted will encrypt the movie files on the medium using a symmetrical encryption. The passphrase must be at least 20 characters long and should follow your usual rules of secure passwords/passphrases. The passphrase will be asked during step c - Create LVP now.
Selecting encrypted will also add one new option:
2 - (random) What device to use for creating the pseudo-filesystems
Explanation follows:
2 - (random) What device to use for creating the pseudo-filesystems
Using encrypted mediums requires creation of "pseudo"-filesystems; these will be stored in files and then mounted like "normal" filesystems.
Here you can configure which device will be used as entropy source for the creation of these files. It can take one of three values:
random: Uses /dev/random as entropy source. This will create very good entropy, but take a long time to complete. Moving your mouse during creation will speed this up.
urandom: Uses /dev/urandom as entropy source. This creates worse entropy than /dev/random but most people consider it acceptable. This device is faster than /dev/random.
zero: Uses /dev/zero as entropy source. This basically means that no entropy will be gathered and the pseudo-filesystems will be initialised with 0. THIS IS A SECURITY RISK!
2 - (dvd) What medium you are using
Here you must select what medium you are using. It can take one of three values:
cd: Will assume 704 MB capacity on your medium (normal CD-Rs)
dvd: Will assume 4489 MB capacity on your medium (DVD-Rs)
WARNING: People keep saying that their DVD-Rs have 4.7 GB capacity which would mean 4812 MB. THIS IS WRONG! The 4.7 GB printed on your DVD-Rs are Marketing GigaByte! Which basically means that you have 4.700.000.000 Byte on your DVD-R which is converted to 4489 MB (4.700.000.000 / 1024 / 1024).
other: This will all add another option to your menu where you must enter the capacity of your medium. Please subtract a few MB (3 are usually enough) as safety margin for filesystem-meta-information.
3 - () Parameters to add to mplayer
Here you can enter some free-form parameters to be passed to mplayer. Some examples:
-nofs
Will not start mplayer in full-screen mode.
-hardframedrop
More intense frame dropping (breaks decoding). Leads to image distortion!
-osdlevel 3
Will show a lot of information in the On-Screen-Display (OSD).
See `man mplayer' for more information.
WARNING: Wrong parameters WILL BREAK YOUR LVP!
4 - () Files to put on this medium
Enter the files to put on this medium here. The input has readline-support, so you can use tab-completion and wildcards.
5 - [ ] Query for different language settings for .ogm and .mkv files
Some video container formats (like OGM and MKV) allow for multiple language subtitles to be put into a single file. If you select this option, you will be prompted to enter two subtitle languages for each .ogm and .mkv file you put onto your LVP.
6 - [ ] Batch mode (assume default answer to everything)
If you select this option, then c - create LVP will assume the default answer to most questions (all but the passphrase question, obviously). This can be very convenient.
8 - [ ] Count my disks at lvp.crash-override.net
If you enable this option (it is disabled by default) then upon creation of your LVP a counter at this website will be increased. This counter uses an MD5 checksum of some of your system information as a unique key. This key is not traceable to you directly, but it can be used to identify the number of LVP users. You would make me very happy if you enable this setting :)
s - Save Configuration
l - Load Configuration
This saves or loads your configuration. You should save before doing any of the c or i commands.
The configuration is loaded automatically at startup.
c - Create LVP now
This will prepare your LVP in the directory livesystem/ according to the choices you made at the menu options above.
i - Create ISO now
This will create an ISO-Image of the directory livesystem/ called lvp.iso which you can write to a CD-R or DVD-R or whatever using your favorite CD-Recording tool.
x - Clean up
This will clean up the directory livesystem/ and delete all files that do not belong to the filesystem itself.
You should use this after every plain LVP you have created.
You should not use this after you have created an encrypted LVP and intend to create another one with the same settings as before.
u - Check for Update
Selecting this option will query a page on this site to check if a new version of LVP has been released. You will be presented with a download URL if a new version was released.
m - Make Author Happy
Checking this option will present you with some information on how to make me happy in exchange for giving this software out for free :-)
q - Quit
Leaves the menu and returns to the shell.
WARNING: Your settings will NOT be saved automatically!
Do-it-yourself
If you want to compile or port LVP yourself, please first make sure that you have gcc and all necessary header-files to build a small system in the correct place.
If you don't know what that means, you don't want to do this. Please see the box above.
So if you still want to do this, get the latest source package from SourceForge and extract it.
Alternatively you can also check out the latest trunk or a tag from the Subversion-Repository at:
http://scavenger.homeip.net/svn/lvp/
If you don't know what Subversion is, use the source packages mentioned above.
You must be root for the rest of the process.
Once you've done this, go to the newly created directory and run ./scripts/Config. There you must select (lvp) LVP under - Target Distribution. With version 0.5.0 this is already the default. The rest must be set according to common sense.
Once this is done, use ./scripts/Download -required to download the necessary source-packages.
THIS WILL TAKE UP A LOT OF HARD-DISK-SPACE
The next step is to run ./scripts/Build-Target to actually build the livesystem.
THIS WILL ALSO TAKE UP A LOT OF HARD-DISK-SPACE
After this is done (and didn't cause any errors), there will be a directory called build/*/ROCK/lvp_${lvpversion}_${cpu-optimisation}. This is the complete, pre-compiled LVP. See documentation above on how to continue from here.
|