Containers for Quirky

1 Comment
I am thinking about the next-generation Quirky, and through 2016 have played with various software technologies, such as device-mapper and btrfs.

Another one on the list is containers, and I did a bit of reading during 2016, wasn't impressed. A Docker container has an absolute minimum size of 3.6MB. I saw one post where the person was proud that he had reduced the size of his Docker container to 25MB.
This idea of putting everything into a container, is so wasteful, and contrary to our Puppy philosophy.

It is all very well that these days we have heaps of storage, but with containers it is very easy to use it up. I am thinking of Quirky running on a Flash stick. Ideally, I would like Quirky to run happily on a 4GB stick.

I was trying to think how containers can be implemented efficiently, and thought, why not use an overlay filesystem, such as overlayfs or aufs? This is Puppy's home turf! This seems like a very good idea, and so I expected the same idea will have occurred to many other people -- which it has, lots of posts, including using overlayfs for Docker.

Firstly though, what is a container? A filesystem that you can chroot into is a container. An environment that you can run an application with isolation from the rest of the system, is a container. The basic requirement is to provide security, such as prevent a rogue app from getting out, or an outside intrusion from getting out.
Containers go some steps beyond the basic chroot, with extra levels of isolation.

This idea of using overlayfs. Instead of copying everything, libraries, etc., into a container, mount it as an overlayfs, with the read-only system as an SFS file underneath. This SFS file can be shared by all containers. This is extremely space efficient, but it also solves some implementation problems, for example as described here:

Right now, I am just reading and learning more. Nowhere near formulating what the proposed "next gen" Quirky will look like.

Currently studying this, a simple implementation of containers, very interesting:

Linux on E200HA notes

No comments
I have posted a few times about running Linux, specifically Quirky, on my Asus E200HA baby laptop. Here are some posts:

I bought this laptop because of it's small size and light weight, easy to take as carryon when flying. And it is cheap. Unfortunately, it is not very compatible with Linux.

This is a webpage with a summary of the issues of E200HA and Linux:

Here is another page, similar information, also mentions freezing with some versions of Linux:

...there is a kernel boot parameter workaround for freezing, which I haven't tried.

I had freezing issues with the 4.8.x kernel, and rolled back to 4.4.40, which I am now using. No freezing issue.
Odd that later kernels give more trouble with this SoC!

I am still very disappointed that the SD-card interface doesn't work. The above links report that it may work, partly, with later kernels.

One good thing, the USB3 interface seems OK now. There was a freezing problem with kernel 4.4.8, but 4.4.40 is OK.

But I have a new problem. I usually turn off "tap" on the touchpad when using a USB mouse, as I invariably accidentally brush the touchpad when not meaning to.
However, this touchpad is not a Synaptics type, it is recognised as a mouse. I cannot see how to turn it off.

This is all too annoying. It seems that Intel have not bothered much with Linux support for the Cherry Trail SoCs, and things have moved on since then, new SoCs, so it looks like these issues might never get resolved?

I might take out my Quirky installation and restore the Win10 partition to fill the entire drive, and donate this laptop to a charity. Then buy one that is Linux-compatible.

It has to be small and light. There are some out there, I am thinking of Dell, that would be great, but pricey.

Carryon computing

No comments
I have an ongoing project to explore options to "travel light", be it by air, road or foot.

Various walking treks have been documented, with experiments carrying light-weight gear, such as these in 2016:
Trek #3:
Trek #4:

This year, 2017, I will be airborne, traveling within Australia and internationally.

The requirement this time is to carry enough computing gear to be able to continue with my Quirky Linux project, apart from normal Internet access.
I will be staying at places that do not have a room safe, so will need to think about security of my gear while away from my room. At times, I might even be in shared rooms.

I own an Asus E200HA baby laptop, and have Quirky Linux installed on it, sharing the internal 32GB solid state drive with Windows 10. Getting Quirky to work reasonably well on this computer has been a saga -- do a search for "E200HA" on my blog.

A Pacsafe Travelsafe 5L security bag is just right, takes my laptop, with room for a few more things, such as camera. I got together everything that I thought I would need, then split them into four categories: laptop+security bag, computer bag, power bag, and miscellaneous bag.
This is what it all looks like:

The all-up weight is 3.3kg. Hmmm, if I want that to be in my carryon bag, which has a limit of 7kg, that leaves 3.7kg including weight of bag.

Looking inside each bag. By the way, those bags are from Kathmandu, Packngo "SX" size. This is what is in the computer bag:
Wi-fi router, USB mouse, bluetooth mouse, bluetooth keyboard, bluetooth speaker, Raspberry Pi3. The striped bag has SD-cards and USB Flash sticks. What got missed out of that photo, but is included, is a 1TB USB3 hard drive. This lot weighs 909gm:

All three bluetooth devices are USB-rechargeable.

Ok, throwing in a photo of the 1TB USB drive. This will work with the laptop and the Pi3, though in the latter case a very beefy power supply is required. Here is the drive:

Powering all of the devices is a problem. Partly because I will be traveling internationally, so will need to plug into various power sockets. Here is a photo of what I put together, weighing 699gm:

There are three different power adaptors in that photo. At the bottom is the charger for my phone, though strictly not required, as the one above has multiple outputs, 1A and 2.1A and international adaptors. On the left is the adaptor for the laptop.

Also included in the bag is a small immersion rod, for boiling up water for cups of tea or coffee, or just to sterilise water when it is a bit dodgy.
There is also a double-adaptor and a couple of extra socket adaptors.

The miscellaneous bag has my camera, torch, and ear-piece. Both the camera and torch are USB-reachargeable. Weight is 280gm:

Not all items listed above are essential, but I do want some leaway to experiment with the gear while traveling. Now thinking beyond, to definitely non-essential, but maybe good-to-have items. My luxury extras bag is 783gm:

It contains a 5V 6A power supply for the Pi3, so as to be able to run the 1TB drive off the Pi3. Also, a USB optical drive, for creating live-CD Quirkies.

For the carryon bag, that extra "luxuries" bag is not going to make it. If I do have some check-in luggage, then yes, it can come.

Anyway, lots of fun getting this gear together!

Quirky Xerus x86_64 8.1.6 released

No comments
This release of Quirky is codenamed "Xerus" and is built from Ubuntu 16.04 x86_64 binary packages.

The background, announcement and release notes are here:

A very brief announcement blurb:

Quirky Linux 8.1.6 x86_64 is codenamed "Xerus" and is built using the woofQ Quirky Linux build system, with the help of Ubuntu 16.04 binary packages. Thus, Xerus has compatibility with all of the Ubuntu repositories.
The Linux kernel is version 4.4.40 and SeaMonkey is upgraded to version 2.46.
Quirky is a fork of Puppy Linux, and is mainly differentiated by being a "full installation" only, with special snapshot and recovery features, and Service Pack upgrades.

Instructions to install are here:

Quoting from the above link:

Quirky is provided as a 8GB USB Flash stick image, or for an SD-card. This file may be written to an 8GB or greater Flash stick. In the latter case, at first bootup there will be an offer to increase the filesystem to fill the drive.

Very easy install instructions for Windows users. The above link explains how to install from the commandline in Linux, though I intend to develop a simple GUI.

For those who still want one, there is also a live-CD ISO file.

The primary download host is Ibiblio:

There are faster mirrors, such as NLUUG:

You will notice that the Flash-stick image file is 502MB, whereas the ISO file is 398MB. The reason it is so large (by Puppy standards) is because it is gzip compressed. The same file xz-compressed is only 333MB.
Gzip compression is used as that is understood by many Windows image-writer applications. The *.img.gz file is very easy to install for Windows users.

The live-CD ISO is 398MB. It is smaller because internally it uses xz compression.

Setup notes
Please do think about the security of your Quirky. When QuickSetup is running, you will see a button to manage daemons. You can also run this from the menu, System -> Bootmanager -> Manage system services.
I recommend disable all daemons that you don't immediately need.
Also, tick the checkbox for a firewall. Leave the firewall at defaults to block all ports.

You might find that the keyboard layout choices in QuickSetup don't quite meet your country/language/region requirements. Never mind, make the best choice, then later click the "setup" icon on the desktop, and you will find an "Advanced Xorg keyboard configurator", to fine-tune the keyboard localization.

There are some known issues.

1. There is Bluetooth support, but it needs work.
2. SeaMonkey has a few problems. It is stuck on DuckDuckGo for starters.
3. CLI VLC only. A full GUI video player needs to be installed.

Regarding SeaMonkey, it is version 2.46. The SM developers released 2.40 in March 2016, then nothing until 2.46 was released at the end of December 2016. Perhaps they were under pressure to get something out. Whatever, 2.46 has some issues, mostly annoyances.

Choice of video player is left up to the user for now. Here are instructions on how to install Xine or VLC:

Feedback is invited to choose the "best" and hopefully small, video player for inclusion in the next minor-point release.

Forum thread for feedback:

Xine or VLC for Xerus64

No comments
I am just about to upload Quirky Xerus x86_64 8.1.6.

It is working very well, except that the media player is broken. The commandline VLC player is installed, but GUI components are missing. There is a GUI, called SimpleVP, however that is currently not working properly.

Fortunately, working video players can be installed from the Ubuntu package repositories.

These are advance instructions, for after Xerus64 8.1.6 is released.

This is small, with few dependencies.
Run the Puppy Package Manager, and type "xine-ui" in the search-box.
It will be found in the "universe" repository.
Click on the button to find all dependencies, then choose to install them all.

Also install "libcrystalhd3", found in the "universe" repo, and "libnuma" found in the "main" repo.

Type "xine" in a terminal to run it, or it is in the Multimedia menu.

The problem is that VLC is already installed, but it is missing extra packages to run as a GUI application. Unfortunately, the Package Manager won't reinstall it and it's deps.

However, it can be tricked to do so. Open file /root/.packages/Packages-ubuntu-xenial-universe in a text editor, and copy the line starting "vlc_2.2.2-5|vlc|2.2.2-5||Multimedia|..." down to the bottom of the file.
That is, just copy and paste.

Then edit the last line so that it looks like this:


That is, just change the name from "vlc" to "zvlc" in the first two fields.

Then run the Puppy Package Manager and do a search for "zvlc", click on it, click the button to find all deps, and install them.

Note, the list of deps is rather large, and if the window is too high for the screen, hold down the ALT key and drag with the mouse. This is a standard technique in Xorg for moving windows around.

VLC may be run by typing "vlc" in a terminal, or it is in the Multimedia menu.

Default Applications Chooser
You will find this in the Setup menu. You can choose "vlc" or "xine" as the default player.

Which is best?
OK, it is a bit of a hack described above to install VLC! I intend to choose a working multimedia player for inclusion in the next minor-point release of Xerus64. Feedback will be invited on the Puppy Forum as to which one, Xine, VLC, or some other, works best.

I prefer Xine from the size point of view, but does it play most/enough video formats?

Pages: ... [2] [3] [4] [5] [6] [7] ...