← Back to team overview

lubuntu-qa team mailing list archive

Re: Alternate testcase changes

 

[posting at the end]

Den 2015-02-26 08:45, Nio Wiklund skrev:
> [posting at the end]
> 
> Den 2015-02-26 07:36, Nio Wiklund skrev:
>> Den 2015-02-26 02:17, Walter Lapchynski skrev:
>>> We were having some trouble with LVM with the alternate installer and
>>> it made me really question why we have it at all. We don't have a
>>> similar testcase for desktop. Considering the little support we have
>>> for alternate images among the release team, I don't really with to
>>> push the envelope. That being said, I have dropped the testcase.
>>>
>>> My plan is to replace it with a testcase for manual partitioning to
>>> match the one we have for desktop. The [merge request][1] for this is
>>> up for review if you have any comments or concerns.
>>>
>>> If you have any questions, I'm all ears. Thanks, everyone!
>>>
>>> [1]: https://code.launchpad.net/~wxl/ubuntu-manual-tests/alternate-manual/+merge/251026
>>>
>>
>> Hi Walter and all Lubuntu users,
>>
>> @ Walter: I suggest that we have at least one testcase with LVM,
>> encrypted disk and encrypted home. If we cannot keep the one that exists
>> now for the alternate iso, I suggest that we make one for the desktop iso.
>>
>> @ all other Lubuntu users: Please tell Walter what *you* think!
>>
>> Best regards
>> Nio
>>
> 
> Hi again Walter,
> 
> I tested the Lubuntu Vivid beta 1 *alternate* ISO file for the testcase
> with LVM encrypted disk and encrypted home. I have tested it with
> several previous versions, so I know it by heart, and can run it even
> when you have removed it from the iso tracker.
> 
> The computer is an hp Probook 6450b laptop with Intel i5 cpu:
> 
> http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c02218879
> 
> There is a minor bug, that it wants to install the bootloader into the
> live drive. When selecting /dev/sda manually for the bootloader, it
> works :-)
> 
> The installed encrypted Lubuntu system runs beautifully in my computer
> now, except that it failed to swapon (but this computer with 4 GB RAM
> can manage pretty well without swap).
> 
> /dev/mapper/ubuntu--vg-swap_1 exists, but when I try to swapon it
> directly, it complains: read swap header failed.
> 
> sudo swapon -a
> 
> complained that /dev/mapper/cryptswap1 does not exist.
> 
> So this is another bug, maybe not easy to squash.
> 
> I'll check, if the corresponding thing works with the Lubuntu Vivid beta
> 1 *desktop* ISO file
> 
> Best regards
> Nio
> 

Hi again Walter and all Lubuntu users,

I tested the Lubuntu Vivid beta 1 *desktop* ISO file corresponding to
the testcase with LVM encrypted disk and encrypted home. It is also
reported in the qa-tracker.

The computer is an hp Probook 6450b laptop with Intel i5 cpu:

http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c02218879

Trying to use the whole drive with encrypted LVM and encrypted home, It
complained about existing swap (which is zram), so I had to turn it off with

sudo swapoff -a

and restart Ubiquity. It complained that partman failed:

ubi-partman failed with exit code 141. Further information may be found
in /var/log/syslog. Do you want to try ...

The installled system worked, but I had the same error as with the
alternate iso file: there is no swap.

I wiped the drive (wrote zeros to the first megabyte using mkusb (dd))
and made an MSDOS partition table using gparted.

Then I tried again with Ubiquity, and succeeded: The installed system
works, and there is swap. See the attached file :-)

-o-

This method might work also in the alternate iso (if you also swap off,
wipe [the first megabyte of] the internal drive and create a new
partition table).

Best regards
Nio

tester@tester-HP-ProBook-6450b:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu Vivid Vervet (development branch)
Release:	15.04
Codename:	vivid
tester@tester-HP-ProBook-6450b:~$ uname -a
Linux tester-HP-ProBook-6450b 3.18.0-13-generic #14-Ubuntu SMP Fri Feb 6 09:56:10 UTC 2015 i686 i686 i686 GNU/Linux
tester@tester-HP-ProBook-6450b:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          3842        539       3302         54         21        321
-/+ buffers/cache:        196       3646
Swap:         3887          0       3887
tester@tester-HP-ProBook-6450b:~$ sudo lsblk -fm
[sudo] password for tester: 
NAME                     FSTYPE      LABEL UUID                                   MOUNTPOINT NAME                       SIZE OWNER GROUP MODE
sda                                                                                          sda                      111,8G root  disk  brw-rw----
├─sda1                   ext2              6b065cac-806b-4331-ba22-e5633b57e68c   /boot      ├─sda1                     243M root  disk  brw-rw----
├─sda2                                                                                       ├─sda2                       1K root  disk  brw-rw----
└─sda5                   crypto_LUKS       ddf9ae0c-df0a-4d73-bf58-c5bf044953c2              └─sda5                   111,6G root  disk  brw-rw----
  └─sda5_crypt           LVM2_member       msAG9Y-npSX-0olr-20In-bsB5-JY5Y-BrJIpg              └─sda5_crypt           111,6G root  disk  brw-rw----
    ├─lubuntu--vg-root   ext4              768127d4-a05e-4999-8a6f-4af174577ec2   /              ├─lubuntu--vg-root   107,8G root  disk  brw-rw----
    └─lubuntu--vg-swap_1 swap              12781f84-baab-4964-811c-7692e6707c1d   [SWAP]         └─lubuntu--vg-swap_1   3,8G root  disk  brw-rw----
sr0                                                                                          sr0                       1024M root  cdrom brw-rw----
tester@tester-HP-ProBook-6450b:~$ 


Follow ups

References