Page 1 of 1

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Posted: 17 Aug 2018, 17:17
by tome
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.

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Posted: 20 Aug 2018, 17:53
by brokenman
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.

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Posted: 20 Aug 2018, 18:39
by tome
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.

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Posted: 21 Aug 2018, 08:37
by burdi01
For as far as I see there is no live extended CD on that download page ...
:D

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Posted: 21 Aug 2018, 11:17
by tome
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

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Posted: 25 Aug 2018, 21:11
by brokenman
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.

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Posted: 25 Aug 2018, 21:16
by francois
This might replace my debian installation.

Thanks tome.

Re: Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Posted: 08 Dec 2018, 10:16
by francois
Hello tome. By any means could you provide an iso for this ubuntu installation. This would be for the most lazy of us all. ;)
Or maybe neko would do that. :)

Is it systemd type?

It could also be called ubun2porteus. :D