OverlayFS Porteus

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
maia
Samurai
Samurai
Posts: 116
Joined: 08 Aug 2019, 16:56
Distribution: Porteus-5 64b Openbox
Location: Brasil

OverlayFS Porteus

Post#76 by maia » 10 Feb 2022, 23:57

neko wrote:
06 Feb 2022, 23:15
1. (Language: English)
OV.Porteus-XFCE4.12-v5.0rc3-k5.17-rc3.iso (669 M)
2. (Language: Japanese, English)
OV.APorteus-XFCE_ja-v22.02.02-x86_64.iso (691 M)
OV.Porteus-XFCE4.12-v5.0rc3-k5.17-rc3.iso (669 M)
Works nice for me on kvm and HD.

OV.APorteus-XFCE_ja-v22.02.02-x86_64.iso (691 M)
Test on kvm and stuck on boot
Image
Sorry my english is really, g##gle-tr4nsl4t0r

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

OverlayFS Porteus

Post#77 by neko » 11 Feb 2022, 08:37

@maia
Thank you for your report.


At running "CINNAMON desktop" of APorteus-MULT_ja-v22.02.08-x86_64.iso
(kernel 5.16.8 and archlinux package version at 2022.02.08; qemu 6.2.0-2),
I too have tested some cases.

case 1:
ISO Built with kernel 5.17-rc3 and archlinux package version at 2022.02.02.
"Openbox desktop" of OV.APorteus-XFCE_ja-v22.02.02-x86_64.iso on QEMU Emulator.
result ---> stuck on boot (at start x).

casse 2:
ISO Built with kernel 5.16.5 and archlinux package version at 2022.02.02.
"Openbox desktop" of APorteus-XFCE_ja-v22.02.02-x86_64.iso on QEMU Emulator.
result ---> stuck on boot (at start x).

case 3:
ISO Built with kernel 5.16.8 and archlinux package version at 2022.02.08.
"Openbox desktop" of APorteus-v22.02.08-x86_64.iso on QEMU Emulator.
result ---> stuck on boot (at start x).

case 4:
ISO Built with kernel 5.15-rc4 and archlinux package version at 2021.10.02.
"Openbox desktop" of APorteus-BUDGIE_ja-v21.10.02-x86_64.iso on QEMU Emulator.
result ---> success

case 5:
ISO Built with kernel 5.17-rc3 and archlinux package version at 2021.10.02.
"Openbox desktop" of OV.APorteus-BUDGIE_ja-v21.10.02-x86_64.iso on QEMU Emulator.
result ---> success.

conclusion:
I gues that it might have a issue the ISO with the 001 and 002 modules
which were built with new archlinux version.
Therefor I wait for archlinux update.


Thanks.

User avatar
maia
Samurai
Samurai
Posts: 116
Joined: 08 Aug 2019, 16:56
Distribution: Porteus-5 64b Openbox
Location: Brasil

OverlayFS Porteus

Post#78 by maia » 11 Feb 2022, 09:18

Really qemu-kvm stuck, but i run a test (Language: Japanese, English) OV.APorteus-XFCE_ja-v22.02.02-x86_64.iso (691 M) installed on HD and work nice.
Sorry my english is really, g##gle-tr4nsl4t0r

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

OverlayFS Porteus

Post#79 by neko » 11 Feb 2022, 09:51

@maia
Me too same.

Thank you for your report.

Note:
[Archlinux 2021.10.02 : 2022.02.08]
The package construction member of 001 & 002 modules are same but the versions of many packages are differ.


Thanks.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

OverlayFS Porteus

Post#80 by beny » 11 Feb 2022, 17:28

hi neko in qemu your OV.APorteus-XFCE_ja-v22.02.02-x86_64.iso load all the modules and show a black screen but in virt-manager run like a charm so i don't know if is a qemu issue i am now on slackware 15, ps: the speed of the virt-manager is impressive the load of the iso take 5 second to the desktop ready

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

OverlayFS Porteus

Post#81 by neko » 11 Feb 2022, 22:42

@maia
I am sorry that I can't analyze this issue more.


Thanks.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

OverlayFS Porteus

Post#82 by neko » 14 Feb 2022, 02:06

[Example Kernel 5.17-rc4 OverlayFS ISO]

1. (Language: English)
OV.Porteus-XFCE4.12-v5.0rc3-k5.17-rc4.iso (670 M)
deleted
md5sum: 2c913cbc083247a2fa6acee40896b7c9 OV.Porteus-XFCE4.12-v5.0rc3-k5.17-rc4.iso

Web browser:......brave-browser 1.35.101, firefox-en-US 97.0
Chat:................skype


2. (Language: Japanese, English)
OV.APorteus-XFCE_ja-v22.02.13-x86_64.iso (752 M)
deleted
md5sum: 5e7e477f98bbdd1850a4ae513c5673bd OV.APorteus-XFCE_ja-v22.02.13-x86_64.iso

Web browser:......opera 83.0.4254.54
Sound & Video:....smplayer
Office:..............office (abiword, gnumeric)
Game:..............game (chess, sudoku, solitaire, etc.,)
Virtual PC:....QEMU 6.2.0-2
Utility:................kdeconnect


Thanks.

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

OverlayFS Porteus

Post#83 by evergreen » 20 Feb 2022, 23:23

Hello neko

I found a mistake with the script aufs-remove

we need a basename for
MOD=/mnt/live/modules/"$BASE" due $1 have full path

I did several modifications to have a standalone Activate Deactivate for Alien Slackware-Live, I have used your script and the same stuff from Porteus to rewrite everything
code is below
https://jsanki.ar/slackware/ov.tar.xz

Thanks :oops:
neko wrote:
14 Feb 2022, 02:06
[Example Kernel 5.17-rc4 OverlayFS ISO]

1. (Language: English)
OV.Porteus-XFCE4.12-v5.0rc3-k5.17-rc4.iso (670 M)
https://www.mediafire.com/file/j0144jis ... 17-rc4.iso
md5sum: 2c913cbc083247a2fa6acee40896b7c9 OV.Porteus-XFCE4.12-v5.0rc3-k5.17-rc4.iso

Web browser:......brave-browser 1.35.101, firefox-en-US 97.0
Chat:................skype


2. (Language: Japanese, English)
OV.APorteus-XFCE_ja-v22.02.13-x86_64.iso (752 M)
https://www.mediafire.com/file/oapabokv ... x86_64.iso
md5sum: 5e7e477f98bbdd1850a4ae513c5673bd OV.APorteus-XFCE_ja-v22.02.13-x86_64.iso

Web browser:......opera 83.0.4254.54
Sound & Video:....smplayer
Office:..............office (abiword, gnumeric)
Game:..............game (chess, sudoku, solitaire, etc.,)
Virtual PC:....QEMU 6.2.0-2
Utility:................kdeconnect


Thanks.
AMD A8-7410, APU AMD Radeon R5 Graphics M330

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

OverlayFS Porteus

Post#84 by neko » 23 Feb 2022, 11:47

@evergreen

Thank you very much for your fixing my bug.
Other related routines are under checking.

At next OV ISO update, this bug will be fixed.

Code: Select all

$ ls *
bug:
aufs-remove

fix:
aufs-remove

org:
aufs-remove

$ diff -r bug fix
diff -r bug/aufs-remove fix/aufs-remove
9c9,10
< MOD=/mnt/live/memory/images/"$1"
---
> BASE=$(basename "$1")
> MOD=/mnt/live/memory/images/"$BASE"
$
$ head org/aufs-remove
#!/bin/bash
# Remove a module from the /union on the fly.
# This may fail for many cases, most likely when your module is 'busy'
# - for example if you have files open from the module yet.
#
# Author: Tomas M. <http://www.linux-live.org>
# Completely rewritten for Porteus by fanthom.

BASE=$(basename "$1")
MOD=/mnt/live/memory/images/"$BASE"
$
Thanks.

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

OverlayFS Porteus

Post#85 by evergreen » 24 Feb 2022, 16:24

@neko

there remain other bug when module is busy

auf-remove

need a base name for this line /opt/ov/ov.deact.sh $BASE

and

ov.deact.sh

after this condition

Code: Select all

if [ ! -f $STACK/$PKG ]
then
	echo "activated $PKG at boot"
	exit 1
fi
I added this lines below to try to umount and remove then check if module still busy before to execute your code and clean everything

Code: Select all

umount -nd "$LOOPMNT/$PKG" >/dev/null 2>&1
rmdir "$LOOPMNT/$PKG" 2>/dev/null

if [ -d "$LOOPMNT/$PKG" ];
then
	echo "$PKG busy"
	exit 1
fi
my files fixed are here
https://jsanki.ar/slackware/ov1.1.tar.xz

In the future I guess that I will merge this files

auf-insert
ov.deact.sh

auf-activate
ov.act.sh

due there remain some lines to clarify and clean

Thanks
neko wrote:
23 Feb 2022, 11:47
@evergreen

Thank you very much for your fixing my bug.
Other related routines are under checking.

At next OV ISO update, this bug will be fixed.

Code: Select all

$ ls *
bug:
aufs-remove

fix:
aufs-remove

org:
aufs-remove

$ diff -r bug fix
diff -r bug/aufs-remove fix/aufs-remove
9c9,10
< MOD=/mnt/live/memory/images/"$1"
---
> BASE=$(basename "$1")
> MOD=/mnt/live/memory/images/"$BASE"
$
$ head org/aufs-remove
#!/bin/bash
# Remove a module from the /union on the fly.
# This may fail for many cases, most likely when your module is 'busy'
# - for example if you have files open from the module yet.
#
# Author: Tomas M. <http://www.linux-live.org>
# Completely rewritten for Porteus by fanthom.

BASE=$(basename "$1")
MOD=/mnt/live/memory/images/"$BASE"
$
Thanks.
AMD A8-7410, APU AMD Radeon R5 Graphics M330

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

OverlayFS Porteus

Post#86 by neko » 14 Mar 2022, 15:24

@evergreen
For new version aufs-insert/aufs-remove
"activate/deactivate" commands provided by "symbolic link" (ln -sf)
are under construction.


Thanks.

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

OverlayFS Porteus

Post#87 by babam » 15 Mar 2022, 12:32

neko, Is it based on Slackware 15.0?
Sorry, my English is bad.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

OverlayFS Porteus

Post#88 by neko » 15 Mar 2022, 12:49

@babam
It is from VIP.

Thanks.

@ncmprhnsbl
I do not access the module of VIP more.
Last edited by ncmprhnsbl on 21 Mar 2022, 01:03, edited 1 time in total.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

OverlayFS Porteus

Post#89 by neko » 17 Mar 2022, 13:08

The implementation has been changed.
Please refer to the top article of this thread.

Thanks.

--------------------------
@evergreen
About implementation, please refer to the top article of this thread.

Thanks

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

OverlayFS Porteus

Post#90 by neko » 19 Mar 2022, 18:12

@ncmprhnsbl
I do not access the module of VIP more.
Last edited by Ed_P on 20 Mar 2022, 17:38, edited 1 time in total.

Post Reply