Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post tutorials, HOWTO's and other useful resources here.
Post Reply
tome
Contributor
Contributor
Posts: 637
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, no information and no love can exist without prior intelligence, life, information or love. You won't find nonexistent thing/idea.

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

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#2 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: 637
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#3 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, no information and no love can exist without prior intelligence, life, information or love. You won't find nonexistent thing/idea.

burdi01
Samurai
Samurai
Posts: 133
Joined: 18 Aug 2013, 12:09
Distribution: Slackware, Xubuntu
Location: The Netherlands

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

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

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

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

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#5 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, no information and no love can exist without prior intelligence, life, information or love. You won't find nonexistent thing/idea.

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

Quick Ubuntu based Porteus (x64) - UPortabilizer ;)

Post#6 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: 5896
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#7 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
francois
Contributor
Contributor
Posts: 5896
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#8 by francois » 08 Dec 2018, 10:16

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
Prendre son temps, profiter de celui qui passe.

Post Reply