Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post tutorials, HOWTO's and other useful resources here.
Post Reply
tome
Contributor
Contributor
Posts: 622
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#1 by tome » 17 Aug 2018, 17:17

I. Files needed:
1. filesystem.squashfs from any Ubuntu x64 based iso image (inside casper folder).
2. initrd1-xd64.xz from https://www.dropbox.com/sh/gdzuwmrramlv ... e-all?dl=0 (extracted from iso from https://debiandog.github.io/doglinux/zz ... aldog.html).
3. vmlinuz and corresponding 000-kernel.xzm from Porteus (based on Slackware).
---

II. Files structure. Rename some files - files tree should look like this:

/mnt/***/UP/casper
                       ├── 000-filesystem.squashfs
                       ├── 000-kernel.xzm.squashfs *(k>f)
                       ├── 001-myown-patches.squashfs
                       ├── vmlinuz
                       ├── initrd1-xd64.xz
                       └── xenial-x86_64.sgn *(create file manually)

(UP~UbuntuPorteus)
---

III. Proposed patches via xzm module, extramod=, changes= or rootcopy= cheatcodes:
1. Set root password within Porteus for Ubuntu (/etc/shadow from filesystem.squashfs -rw-r-----; root:gdm).
2. Add new user within Ubuntu - guest files are kept only temporary.
---

IV. Boot entry for syslinux
LABEL up
MENU LABEL UbuntuPorteus
KERNEL /UP/vmlinuz from=UP
APPEND initrd=/UP/initrd1-xd64.xz

It boots very quickly - like Porteus. Tested only for lubuntu-16.04.3-desktop-amd64.iso
Bugs/Todo: /mnt/live/memory path in initrd scripts should be replaced with /run/initramfs/memory for clean unmounts at shutdown.
No intelligence, no life and no information can exist without prior intelligence, life or information (in place where things change and time is running).

User avatar
n0ctilucient
Shogun
Shogun
Posts: 407
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#2 by n0ctilucient » 20 Aug 2018, 11:32

Can this be done w/ Alpine Linux :%)
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

User avatar
brokenman
Site Admin
Site Admin
Posts: 5932
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#3 by brokenman » 20 Aug 2018, 17:53

Good job Tome. I had this in the back of my mind to do when I got some time. I will take it for a spin.

It can be done with any linux.
How do i become super user?
Wear your underpants on the outside and put on a cape.

tome
Contributor
Contributor
Posts: 622
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#4 by tome » 20 Aug 2018, 18:39

n0ctilucient wrote:
20 Aug 2018, 11:32
Can this be done w/ Alpine Linux :%)
No this quick way. Alpine isos instead of one image file have many .apk packages to install.
No intelligence, no life and no information can exist without prior intelligence, life or information (in place where things change and time is running).

User avatar
n0ctilucient
Shogun
Shogun
Posts: 407
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#5 by n0ctilucient » 20 Aug 2018, 22:41

Sorry Tome...

I meant Alpine Linux Live "Extended" CD iso
instead of the other HDD "installation" images...
https://alpinelinux.org/downloads/

I'm currently using this both on CD and flash drive (from OsDisc.com).
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

burdi01
Black ninja
Black ninja
Posts: 77
Joined: 18 Aug 2013, 12:09
Distribution: Slackware, Xubuntu
Location: The Netherlands

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#6 by burdi01 » 21 Aug 2018, 08:37

For as far as I see there is no live extended CD on that download page ...
:D

User avatar
n0ctilucient
Shogun
Shogun
Posts: 407
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#7 by n0ctilucient » 21 Aug 2018, 09:48

@ burdi01...
??? You did NOT read my last post correctly
and/or the Alpine web site... try again.

If you still do not understand, ask me... "what do you mean"
(referring to the part you don't understand).

Just like Porteus... the Alpine "Extended" iso is live
w/ the option of saving settings to storage media.

@ tome...
Your method opens up many possibilities.
And your approach is a very creative one.

@ tome...
What I meant is... can your method be possible
w/ Alpine Linux live "Extended" CD iso?
see... https://alpinelinux.org/downloads/

I'm currently using "x86" Alpine on live CD
and also on flash drive (from OsDisc.com).
Last edited by n0ctilucient on 26 Aug 2018, 03:00, edited 5 times in total.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

tome
Contributor
Contributor
Posts: 622
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#8 by tome » 21 Aug 2018, 11:17

n0ctilucient wrote:
20 Aug 2018, 22:41
I meant Alpine Linux Live "Extended" CD iso
Neither this, see:
Image

For random .apk file:

Code: Select all

gzip compressed data, max compression, from Unix
No intelligence, no life and no information can exist without prior intelligence, life or information (in place where things change and time is running).

User avatar
n0ctilucient
Shogun
Shogun
Posts: 407
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#9 by n0ctilucient » 21 Aug 2018, 11:46

Unlike xzm's merged approach the apk's appear unconsolidated.

It seems the problem is... Alpine lacks what Porteus has
(although Alpine has many things Porteus lacks).

Alpine lacks... modularity.
Which (for me) is Porteus's greatest strength.

Ok... perhaps there is a similar method that
might work. I will research this possibility.

An Alpine based Porteus would be a very interesting project if it were doable.

I'm taking the lazy route by attempting to unite them using hardware.
Casetronic "rack2tower" CLUSTER build...
Last edited by n0ctilucient on 26 Aug 2018, 01:33, edited 1 time in total.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

User avatar
brokenman
Site Admin
Site Admin
Posts: 5932
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#10 by brokenman » 25 Aug 2018, 21:11

As i've already explained, it is possible with ANY linux. There is nothing different about alpine linux. All linux like operating systems use the same source, just packaged in different ways. Example, ssl is required by slackware, ubuntu and alpine. They all get it from the same place, they just package it differently for their own flavour of linux like operating system. You just need to make modules from the package list of the system you are trying to modularize.
Alpine lacks... modularity.
Which is Porteus's greatest strength.
I'm not sure what you mean by 'modularity'. In my opinion, all linux like systems have modularity. They are all made from modules (packages) which can be added or removed at will. The strength of Porteus is not modularity but rather portability on a fast union system.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5414
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#11 by francois » 25 Aug 2018, 21:16

This might replace my debian installation.

Thanks tome.
Prendre son temps, profiter de celui qui passe.

User avatar
n0ctilucient
Shogun
Shogun
Posts: 407
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#12 by n0ctilucient » 26 Aug 2018, 01:32

I'm not sure what you mean by 'modularity'
"Modules"... as in xzm's (using "bundled" applications)
loaded into memory like a "layer cake" @ boot.

I have done remastering on many distros and I do
not recall seeing this "typically" anywhere else.

Alpine in that context (which I'm currently using)
and many other distros I've used... lack this attribute.
The strength of Porteus is not modularity but
rather portability on a fast union system.
I'm referring to it's strength for my purposes. In
particular remastering (aka... "roll your own").

Therefore, restated...
Plain "vanilla" Alpine lacks... modularity.
Which ("for me") is ("one of") Porteus's greatest strength(s).
For now...
I'm taking the "lazy" way out and uniting a Porteus/x86 (frontend "server node")
and a Alpine/ARM (backend "cluster") through hardware.
You just need to make modules from the package list of the system you are trying to modularize.
I guess when I finish my other projects... perhaps I will attempt this.

An ARM processor variation of an Alpine inspired Porteus
would allow me to drop the x86 frontend and scale from 40
ARM cores to 60 using 2 mITX "clusterboards" and a pITX FPGA.

Of course on that workstation version the Mali
GPU(s) won't be able to play "triple A" games.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

Post Reply