[Freepto] [RFT] freepto-usb-utils

Delete this message

Reply to this message
Author: paskao
Date:  
To: Everything about freepto
Subject: [Freepto] [RFT] freepto-usb-utils
I the new Freepto version, the persistence will not be created with
"makefreepto" script. When you burn your usb with Freepto image, you
start it in Live mode and with the program Persistence Helper you can
crate the persistence.
Here there are all tests to check if it works.

===================
Burn Freepto on USB
===================

Download your Freepto image:
+ Italian:
http://dev.freepto.mx/dev/paskao-evince-usb-utils/140910_00.36_v0.1.1-194-g3c24738-it/140910_00.36_v0.1.1-194-g3c24738-it.img
+ Spanish:
http://dev.freepto.mx/dev/paskao-evince-usb-utils/140910_13.11_v0.1.1-194-g3c24738-es/140910_13.11_v0.1.1-194-g3c24738-es.img
+ English:
http://dev.freepto.mx/dev/paskao-evince-usb-utils/140910_14.22_v0.1.1-194-g3c24738-en/140910_14.22_v0.1.1-194-g3c24738-en.img

Burn the usb with dd. Example for the italian image:
$ sudo dd if=140910_00.36_v0.1.1-194-g3c24738-it.img of=/dev/sdX
$ sync

=============================
HowTo test Persistence Helper
=============================

The test is split in 5 phases. For each phase there are some steps
identified with a line starting with "#". For example the first step of
the first phase is "# Get the freepto device". So if you report a bug,
please include the phase and the step where you find it.



1. Test check-persistence
=========================

Run Freepto and open a terminal.

# Get the freepto device
Run: check-persistence get-root-device; echo $?
Excepted output (/dev/sdb can be something different depending on your
disks):
/dev/sdb
0

# Get freepto device size
Run: check-persistence get-device-size; echo $?
Excepted output (7,3G is the size of the disk where is Freepto, so it
can be different depending on your disk):
7,3G
0

# Get live partition size
Run: check-persistence get-live-size; echo $?
Excepted output:
1,1G
0

# Check if persistence exists
Run: check-persistence has-avail-persistence; echo $?
Excepted output:
10

# Check persistence size
Run: check-persistence get-persistence-size; echo $?
Excepted output:
10

# Check if persistence is mounted
Run: check-persistence is-mounted; echo $?
Excepted output:
10

If some output command is not the excepted one, please copy paste your
results and send them to the mailing list.



2. Test persistence helper
==========================

# Check live icon localization (issue #2)
In the notification area of the desktop (in the right-top position)
there is an icon represented as a CD-ROM. If you move the mouse over it,
a tooltip will de displayed with a description. Click on it and a window
named "Persistence helper" will be opened. Please check if every text is
localized correctly.

# Check device infos (issue #2)
On the right side of "Persistence helper" window there are the device
infos, that must be the same of the previous phase ("1. Test check
persistence"). Check them:
- 1st line "Freepto device:" must be "/dev/sdb"
- 2nd line "Persistence available:" must be "No"
- 3rd line "Persistence mounted:" must be "No"
- 4th line "Disk size:" must be "7,3G"
- 5th line "Live size:" must be "1,1G"
- 6th line "Persistence size:" must be "-"
Please check if every text is localized correctly.

# Check description and status localization (issue #2)
On the left side there is a description about what is persistence and
which is its status. The status say you that the persistence is not
available and the CD-ROM icon is displayed. Please check if every text
is localized correctly.

# Check form (issue #2)
Then you can find a box called "Options" where you can put the
passphrase for your persistence. You shouldn't be able to put a
passphrase lesser then 8 characters. "Fill with random data" is enabled,
but you can disable to make the test faster. Please check if every text
is localized correctly.

# Check passhprase is not displayed in the gksudo command (issue #14)
To start the persistence creation click on "Create persistence" button,
and a new window will be opened asking you for the root password to
execute a command. Check if your passphrase isn't displayed in the
command to execute.

# Check that you can't stop persistence creation (issue #2, #10, #12)
Put the root password and click ok. Into another window called "Creating
persistence" a terminal is displayed with all details of the process.
Check that you can't close that window until the process ends.
Please check if every text is localized correctly.

# Check device info refresh (issue #2, #13)
When the process ends, the top waring will change with a description of
the result. It must say you that the persistence creation is completed.
If an error occurred, please report it.
If the process completed successfully, close this window. Check if the
main window (called "Persistence helper") is refreshed. The status
description now will display a red ball and will say that persistence is
available but is not used. Please check the device infos block:
- 1st line "Freepto device:" must be "/dev/sdb"
- 2nd line "Persistence available:" must be "Yes"
- 3rd line "Persistence mounted:" must be "No"
- 4th line "Disk size:" must be "7,3G"
- 5th line "Live size:" must be "1,1G"
- 6th line "Persistence size:" must be "6,2G"
Also the icon in the notification area (in the top-right side) of the
desktop is now represented with a red ball, instead of the CD-ROM image.
Please check if every text is localized correctly.


3. Re-test check-persistence
============================

# Check if persistence exists
Run: check-persistence has-avail-persistence; echo $?
Excepted output (/dev/sdb2 can be diffedent depending on your disks):
/dev/sdb2
0

# Check persistence size
Run: check-persistence get-persistence-size; echo $?
Excepted output (6,2G can be different depending on the size of your disk):
6,2G
0

# Check if persistence is mounted
Run: check-persistence is-mounted; echo $?
Excepted output:
10

If some output command is not the excepted one, please copy paste your
results and send them to the mailing list.


/!\ WARNING /!\
IF YOU HAVE SOME PROBLEMS TO REPORT, DO IT NOW. IN THE NEXT PHASE THE
SYSTEM WILL BE REBOOTED AND YOU'LL LOST THE RESULTS OF PREVIOUS TESTS.


4. Reboot and check persistence mounted
=======================================

# Check reboot (issue #2, #15)
Now you can reboot your system clicking on the button "Reboot the
system", displayed underside of the status description in the
"Persistence helper" window. The system will reboot without asking root
password. Please check if every text is localized correctly.

# Insert your passphrase
When Freepto starts will ask you the passphrase you choose. Put it.

# Check green icon (issue #2, #11)
In the notification area of the desktop (in the right-top position)
there is an icon represented with a green ball image. Click on it. The
"Persistence helper" window will be displayed and the status will say
you that persistence is available and used. Also in the status area the
green ball icon is displayed. Please check if every text is localized
correctly.

# Check device infos
Please check the device infos block:
- 1st line "Freepto device:" must be "/dev/sdb"
- 2nd line "Persistence available:" must be "Yes"
- 3rd line "Persistence mounted:" must be "Yes"
- 4th line "Disk size:" must be "7,3G"
- 5th line "Live size:" must be "1,1G"
- 6th line "Persistence size:" must be "6,2G"



5. Re-test check-persistence
============================

# Check if persistence exists
Run: check-persistence has-avail-persistence; echo $?
Excepted output (/dev/sdb2 can be diffedent depending on your disks):
/dev/sdb2
0

# Check persistence size
Run: check-persistence get-persistence-size; echo $?
Excepted output (6,2G can be different depending on the size of your disk):
6,2G
0

# Check if persistence is mounted
Run: check-persistence is-mounted; echo $?
Excepted output (/dev/mapper/sdb2 can be different depending on your disks):
/dev/mapper/sdb2
0


If some output command is not the excepted one, please copy paste your
results and send them to the mailing list.