Quick Ubuntu based Porteus (x64) - UPortabilizer ;)
-
- Contributor
- Posts: 686
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Quick Ubuntu based Porteus (x64) - UPortabilizer ;)
Post#1 by tome » 17 Aug 2018, 17:17
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/casper/vmlinuz from=UP
APPEND initrd=/UP/casper/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.
EDIT: Corrected path for boot entry (IV section).
tome
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Quick Ubuntu based Porteus (x64) - UPortabilizer ;)
Post#2 by brokenman » 20 Aug 2018, 17:53
It can be done with any linux.
Wear your underpants on the outside and put on a cape.
brokenman
-
- Contributor
- Posts: 686
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Quick Ubuntu based Porteus (x64) - UPortabilizer ;)
Post#3 by tome » 20 Aug 2018, 18:39
No this quick way. Alpine isos instead of one image file have many .apk packages to install.
tome
-
- Shogun
- Posts: 217
- Joined: 18 Aug 2013, 12:09
- Distribution: Slackware PartedMagic Xubuntu
- Location: The Netherlands
Quick Ubuntu based Porteus (x64) - UPortabilizer ;)
Post#4 by burdi01 » 21 Aug 2018, 08:37

burdi01
-
- Contributor
- Posts: 686
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Quick Ubuntu based Porteus (x64) - UPortabilizer ;)
Post#5 by tome » 21 Aug 2018, 11:17
Neither this, see:

For random .apk file:
Code: Select all
gzip compressed data, max compression, from Unix
tome
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Quick Ubuntu based Porteus (x64) - UPortabilizer ;)
Post#6 by brokenman » 25 Aug 2018, 21:11
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.Alpine lacks... modularity.
Which is Porteus's greatest strength.
Wear your underpants on the outside and put on a cape.
brokenman
- francois
- Contributor
- Posts: 6514
- 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
Thanks tome.
francois
- francois
- Contributor
- Posts: 6514
- 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

Or maybe neko would do that.

Is it systemd type?
It could also be called ubun2porteus.

francois
- francois
- Contributor
- Posts: 6514
- 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#9 by francois » 19 Oct 2022, 01:52
francois
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Quick Ubuntu based Porteus (x64) - UPortabilizer ;)
Post#10 by Rava » 27 Oct 2022, 00:47
I would also want to try that out
especially following your… laid back approach.

Yours Rava
Rava
- francois
- Contributor
- Posts: 6514
- 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 » 27 Oct 2022, 03:23
I think that you could work it out better than me with the first thread. Fanthom for sure, but also ncmprhnsbl and tome are able to do so. Brokenman also for sure. But if they do not come to help with the job, at least we could try.
Let us analyse the first thread post and put it to date with:
I. Files needed:
1. extract filesystem.squashfs from an ubuntu iso:Ubuntu 22.04.1 LTS
https://ubuntu.com/download/desktop/tha ... ture=amd64
The filesystem.squashfs of ubuntu is very huge 2.1 Gig.
2. initrd1-xd64.xz from a descendant of debian dog, it seems that sparkybonsai is one. And we have ck sparky-kernel-5.11.15-amd64.zip
https://osdn.net/projects/sparkybonsai/releases/p17829
3. 3. vmlinuz and corresponding 000-kernel.xzm and porteus.cfg from Porteus
II. file structure of our new ISO, see first post file structure:
initrd1.xz will replace initrd1-xd64.xz, because this is what we get from sparkybonsai
ubuntu-porteus-fusion.sgncfg will replace porteus.sgncfg with the same content (this is my original touch, if I may). But as it is obsolete on most recent porteus versions, there is much chances that it is not needed.
001-myown-patches.squashfs
- I will leave it for future consideration, the .iso file shoud boot without it (hoping so).
*(k>f): or f<k means that 000-filesystem.squashfs will be looked at first (f as in filesystem...) and 000-kernel.xzm.squashfs after (k as in kernel...). A principle known by porteus users.
III and IV Should be the same as in first post.

francois
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Quick Ubuntu based Porteus (x64) - UPortabilizer ;)
Post#12 by Rava » 27 Oct 2022, 03:28

Good basci info to get started with.francois wrote: ↑27 Oct 2022, 03:23I. Files needed:
1. extract filesystem.squashfs from an ubuntu iso:Ubuntu 22.04.1 LTS
https://ubuntu.com/download/desktop/tha ... ture=amd64
2. initrd1-xd64.xz from a descendant of debian dog, it seems that sparkybonsai is one. And we have ck sparky-kernel-5.11.15-amd64.zip
https://osdn.net/projects/sparkybonsai/releases/p17829
3. 3. vmlinuz and corresponding 000-kernel.xzm from Porteus
II. In first post:
*(k>f): means that 000-filesystem.squashfs will be looked at first (f as in filesystem...) and 000-kernel.xzm.squashfs after (k as in kernel...)
III and IV Should be the same as in first post.
But… what do you think of a more modular approach? With a script included that creates the finale ISO?
Why that?
because if I would build such ISO, I would use my older kernel and corresponding 000-kernel.xzm and nvidia driver that almost no one is interested in because you need the older NVidia hardware to have the need for the kernel and driver combo..
But when we do a modular approach, we could:
tell the script where and what the ubunt2porteus.skeleton.iso is
which vmlinuz, 000-kernel.xzm and eventual other modules to be included are
and then the script would create the finale ubunt2porteus.YYYY-MM-DD.iso
All needed essential files are to be found in the ubunt2porteus.skeleton.iso
And when we have such a script, it should be easy to tweak it (more or less) to adjust it to other kinds of Linux to finally create all sorts of *****2porteus ISOs.
Just my 2 cents on it.

Yours Rava
Rava
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Quick Ubuntu based Porteus (x64) - UPortabilizer ;)
Post#13 by Rava » 27 Oct 2022, 04:17
Do you refer to your typo (I removed that reference from my post, should have PM'd you instead of writing an answer post) or my described modular approach as in my now completely changed article #12 of this thread?
Yours Rava
Rava
- francois
- Contributor
- Posts: 6514
- 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#14 by francois » 27 Oct 2022, 04:20
Adding modifications to the first post according to the basic and more recent files that I have pointed to.
Here it is passed midnight. The ubuntu iso is half downloaded. I will go to bed and have a try tomorrow night maybe.
PM are not needed really, striking the offensing text is enough.

francois
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Quick Ubuntu based Porteus (x64) - UPortabilizer ;)
Post#15 by Rava » 27 Oct 2022, 04:33
Can you please upload a tar.xz or whatever archive format you choose with the extracted files from the (1.) ISO and the (2.) initrd1-xd64.xz for others to experiment on if you have them downloaded and extracted?
Off topic
I thought you were in continental France, that should be more close to my own time. Currently here is 06:42 (we still use the silly daylight savings time in Germoney even when it was a milkmaid's calculation from the very start that should never have been implemented to begin with.
I just now learned that the German name for milkmaid's calculation - Milchmädchenrechnung - comes from a French language fable by Jean de La Fontaine - The milkmaid and her pail ( La Laitière et le Pot au lait ) - according to the German wikipedia entry Milchmädchenrechnung
The world can be at times such a small place, culture and language-wise.

Yours Rava
Rava