Nemesis 2022 rebooted!

Arch based Porteus community project

Moderator: M. Eerie

User avatar
M. Eerie
Moderator
Moderator
Posts: 618
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Nemesis 2022 rebooted!

Post#16 by M. Eerie » 03 Nov 2022, 16:53

I have noticed that new (polkit) policy rules are present in this new release. I.e.: root user is replaced by normal (wheel) user as I experienced some time ago while developing update-base script.

I use the line below to revert:

Code: Select all

# sed -i 's/wheel/0/' /usr/share/polkit-1/rules.d/50-default.rules
On the other hand, having migrated to gtk3 and including several packages in the shared module, my MATE module has become much thinner.
Last edited by M. Eerie on 04 Nov 2022, 08:56, edited 1 time in total.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Nemesis 2022 rebooted!

Post#17 by ncmprhnsbl » 04 Nov 2022, 01:49

M. Eerie wrote:
03 Nov 2022, 16:53
I have noticed that new (polkit) policy rules are present in this new release. I.e.: root user is replaced by normal (wheel) user as I experienced some time ago while developing update-base script.
hmm, this is from upstream .. remind me what's the upshot of this? (wheel is a group btw)
we have /etc/polkit-1/rules.d/49-rootpw_global.rules :

Code: Select all

/* Always authenticate Admins by prompting for the root
 * password, similar to the rootpw option in sudo
 */
polkit.addAdminRule(function(action, subject) {
    return ["unix-user:root"];
});
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
M. Eerie
Moderator
Moderator
Posts: 618
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Nemesis 2022 rebooted!

Post#18 by M. Eerie » 04 Nov 2022, 09:21

ncmprhnsbl wrote:
04 Nov 2022, 01:49
we have /etc/polkit-1/rules.d/49-rootpw_global.rules :
I don't know exactly when, but I remember checking that file when it failed every time I tried to automatically update packages.

It's funny that it showed up now in your release when it's been almost 2 years since I had those problems and the solution finally came when I made that modification to the file /usr/share/polkit-1/rules.d/50-default.rules (I was looking only at /etc folder)

Try to do some regular admin tasks and you'll see.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Nemesis 2022 rebooted!

Post#19 by ncmprhnsbl » 04 Nov 2022, 13:08

M. Eerie wrote:
04 Nov 2022, 09:21
Try to do some regular admin tasks and you'll see.
might need to be more specific ... any "regular admin task" i do works fine for me as far as i can see...
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
M. Eerie
Moderator
Moderator
Posts: 618
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Nemesis 2022 rebooted!

Post#20 by M. Eerie » 05 Nov 2022, 19:50

It occurs when I tried to activate a module (whichever it was).

I tried to reproduce the error and upload a gif, but now it doesn't happen and I don't know why.

My apologies.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Nemesis 2022 rebooted!

Post#21 by gnintilgyes » 16 Nov 2022, 05:15

It looks like I would have to fix another USB stick like my copy of Porteus.

I tried to install Nemesis on ordinary 32GB drive formatted with FAT but stubborn "Porteus Installation" sh-script failed. I went into GNOME Disk Utility to set the partition to ESP. Then I try to boot it, it shows the Nemesis menu, counts down from ten to one and then resets and starts over. It seems it cannot find a file which is why it does it.

Tried again, reformatting the USB drive, putting the Nemesis files into it like instructed, then going into my copy of Porteus and choosing the "Porteus Installer". Because it was taking a really long time making it look like it was slow-formatting the new drive I aborted. Maybe I should have allowed it to finish, but why?

I had chosen Cinnamon D.E. for Nemesis. I haven't tried it yet but not very eager to have a 28GB "ext4" partition for the sake of a distro I planned to use less than my original Slackware-based Porteus MATE.

A lot of documentation still says "Porteus", and even the "main" directory is called that way but that's less important, so long as it works.

spa_time
White ninja
White ninja
Posts: 20
Joined: 29 Jun 2022, 06:39
Distribution: Porteus 5.1

Nemesis 2022 rebooted!

Post#22 by spa_time » 16 Nov 2022, 07:39

A link with install instructions and porteus kit running also appimages and windows programs

https://www.youtube.com/watch?v=5hNBOCEoCwA

for up-grade just change modules

bour59
Samurai
Samurai
Posts: 181
Joined: 29 Dec 2010, 08:10
Distribution: porteus v5.0-xfce K5.19.7
Location: France

Nemesis 2022 rebooted!

Post#23 by bour59 » 16 Nov 2022, 09:58

@gnintilgyes
in porteus config modify
KERNEL with KERNEL /boot/syslinux/vmlinuz
and INITRD with INITRD /boot/syslinux/initrd.xz

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

Nemesis 2022 rebooted!

Post#24 by beny » 16 Nov 2022, 10:40

hi gnintilgyes if you have an old porteus version you can pick the linux script installer from there but you have to know if you have a guest system like windows you have to use the window installer,but the better way for linux you have to mount the usb device into a directory and run the script into this directory like this example mount /dev/sdx1 /mnt/your directory cd into the directory and run the script if you have a strange target change the script to an old one.

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Nemesis 2022 rebooted!

Post#25 by gnintilgyes » 16 Nov 2022, 19:34

bour59 wrote:
16 Nov 2022, 09:58
@gnintilgyes
in porteus config modify
KERNEL with KERNEL /boot/syslinux/vmlinuz
and INITRD with INITRD /boot/syslinux/initrd.xz
Hi bour59 thank you in advance!

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Nemesis 2022 rebooted!

Post#26 by gnintilgyes » 16 Nov 2022, 21:40

I'm sorry for not trying harder to search for answers on this forum or elsewhere.

The "/etc/porteus.d" is completely empty, is there supposed to be files in there?

Unless this is resolved I cannot download apps or other packages to convert to XZM. Probably could use "pacman". Ran "setup-pman" twice, each time it couldn't sense that I wasn't in "always fresh" mode. I ran "setup-config-pman" which did nothing, made sure "/config" from ISO was in the same partition as "/porteus", largely left the "/config/modules" file untouched. "pman" keeps complaining about something in "/etc/porteus.d".

Went to check my Porteus MATE (Slackware) installation and there is no such folder, but what's going on? There is a "/etc/porteus" folder but I don't think it's what a package manager would look for.

What I'm doing: I'm running on a 10-year-old HP laptop with "Sandy Bridge" CPU. I'm trying to install Nemesis Cinnamon on an external 32GB USB stick which has a 512MB ESP and a c.28GB "ext4" partition where "/porteus" and "/config" reside. I'm not using a savefile and don't want to do it that way.

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

Nemesis 2022 rebooted!

Post#27 by beny » 16 Nov 2022, 21:59

your note have uefi on? if you have a esp partition you need to boot in efi mode and you try to boot porteus or nemesys

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Nemesis 2022 rebooted!

Post#28 by gnintilgyes » 16 Nov 2022, 22:11

Hi beny. I could boot from the USB drive that has to be plugged and could go into Cinnamon desktop. But I'm trying to install some apps through "pman" and I cannot. I prefer not to do it with "pacman" because I have another Arch-based distro that I'm trying to give up for this one.

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

Nemesis 2022 rebooted!

Post#29 by beny » 16 Nov 2022, 22:21

hi you have the devel package installed i think is better that you have, and setup-pman you have to be root all the option of a package manager you need to be root, try to start pman with sudo pman -Syu that start the update of the artix repo do not install the packages that are listed say no, and try to download packages
with sudo pman -S
devel package with go and yay,you can use all the aur repository without limit.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Nemesis 2022 rebooted!

Post#30 by ncmprhnsbl » 17 Nov 2022, 06:44

gnintilgyes wrote:
16 Nov 2022, 21:40
The "/etc/porteus.d" is completely empty, is there supposed to be files in there?
yes there should.. /config being the folder/files that populates /etc/porteus.d ...
"512MB ESP" is fat32? if you you have no intention of using "changes" there's no need for a second ext4 partition ....
i'd have to look into it, but maybe /config needs to be in same partition as /boot and /EFI ....
EDIT: yes, looking at initrd, this seems to be the case, the config files a sourced from $BOOTDEV which is the partition where /boot & /EFI are.... . so.. that's where /config should be too.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply