How to get it. [README FIRST] and discussion

Arch based Porteus community project
User avatar
brokenman
Site Admin
Site Admin
Posts: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

How to get it. [README FIRST] and discussion

Post#1 by brokenman » 03 Oct 2015, 03:07

aus9 edit, with the arrival of the Tutorials and Documentation forum this first post is now here as well
https://forum.porteus.org/viewtopic.php?f=138&t=5481 and this post remains in the main forum to allow discussion

****************************************************************************************************************************
ncmprhnsbl and francois edit april-06-2017
Nemesis update april-06-2017 procedure
To update nemesis to the most current current version please replace the following modules in /porteus/base:
updated 001-core, 002-gui, 003-xtra modules are available from this topic: viewtopic.php?f=138&t=6484
and newer kernels from this topic(check through the posts for the latest) : viewtopic.php?f=137&t=6481
Also you should remove:
003-lxde.xzm
003-lxdextra.xzm
003-shared.xzm

vmlinuz has to be placed in /boot/sysllinux

Please post your comments for Nemesis update april-06-2017 in the following thread:
viewtopic.php?f=137&t=6815

******************************************************************************************************************************


IMPORTANT NOTE:
Support is only offered for the latest version as there is often major changes in the core at this alpha testing stage. As of v3.5 we have settled on a Manjaro base using the openrc init system.

The name of this release is Porteus Nemesis so as to relate it to arch based porteus. All development of the older Nemesis (with nemesis graphics) has ceased.

### Where can I get it?
http://brokenman.porteus.org/porteus/x86_64/iso/
http://brokenman.porteus.org/porteus/i686/iso/

Devel module that contains everything needed for compiling.
http://brokenman.porteus.org/porteus/x86_64/modules/

### How to install it
Installation is the same as other versions of porteus.
1) Unpack the provided ISO onto your installation device
2) On EFI machines that is all you have to do.
3) On standard BIOS machine you now cd into the boot folder on the installation media
4) Run the Porteus-installer-for-XXXX.com file

5) Now take a look at the configuration files inside the config folder. Use these to set up things how you want them.

### I've booted so now what?
Open a root console and run:

Code: Select all

setup-pman
This will setup the package managers for Porteus. It also updates the ca-certificates.
There are two ways to handle packages. Both are run from a console.

6) If you are booting without changes= cheatcode then use pman.
e.g: pman -S firefox
This will download your package and generate a porteus compliant module that will be placed in the folder you designated in step 5.
If no folder was designated then the modules will be in your modules folder (/mnt/sdXy/porteus/modules) or in /tmp if the modules folder is not writable.
In order for modules to persist a reboot they need to be in the modules folder.

7) If you are saving changes then the package manager called pacaur can be used (as guest user). This will not generate porteus modules. It will first search the official arch repositories for packages and if none are found it will search the arch user repositories and try to build your package. In order to build packages you will need the 05-devel module and kernel packages. You can get these by running: get-devel

Use your chosen package manager to download an internet browser.
pman -S firefox

### Modules
From a command line you can now avoid the gui popup when activating a module by issuing: activate /path/to/module.xzm quiet
When activating multiple modules only one popup appears at the end with a report of the activation result.
You can fetch the 05-devel.xzm module (required for pacaur or compiling) by issuing: get-devel

#### Notes

Browser icon in panel
If you want your browser icon to automatically show in the lxpanel, copy the desktop file to /usr/share/applications/browser.desktop
cp /usr/share/applications/firefox.desktop /usr/share/applications/browser.desktop
echo "NoDisplay=true" >> /usr/share/applications/browser.desktop
This can be done with any browser.

Activating modules
From a command line you may issue the 'quiet' switch to avoid popping up a report at the end of activation.

Fixed partitions not showing in pcmanfm
To have a fixed partition show in pcmanfm issue: gvfs-partition-toggle /dev/sda9
This allows people with 15 partitions not to have pcmanfm cluttered and choose which partitions to show.

Extracting/Converting packages
Extract an installed package by issuing: arc2xzm firefox
Convert arch packages to modules (with deps pulled in) by issuing: pkg2xzm /path/to/package.tar.xz

Man pages
The config file config/manpages allows you to download man pages locally for later reference.
This requires an internet connection.

Autorun script on boot
It is possible to keep the /etc/rc.local system
https://forum.porteus.org/viewtopic.php?f=137&t=5450

You can also create a .desktop file as in: /etc/xdg/autostart/mouse.desktop
Or take a look at the files in /etc/lxdm

05-devel
This release allows you to download the 05-devel.xzm file which contains:
crippled kernel source
kernel headers
extracted application headers
extra firmware
This should be everything you need to compile programs. Later versions will separate these file.

Happy testing
Last edited by francois on 07 Apr 2017, 03:35, edited 8 times in total.
Reason: added links to updated module topics
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5078
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Looking for maintainers, developers & helpers

Post#2 by francois » 03 Oct 2015, 04:46

Do I meet the requirements?
Voltaire: Le mieux est l'ennemi du bien.

User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Re: Looking for maintainers, developers & helpers

Post#3 by blue4meridian » 03 Oct 2015, 19:06

Salutations... :good:

I could help with LxQt? :unknown: I could rebuild it on your core and xorg. My current build less than 1 week old.
I also see this as an opportunity to bring Cuda to this derivative as an addon module.
If successful it could increase the processing cores in my gear from 4 to 20.

Best Regards... :beer:

Posted by 100.1.102.215 via http://webwarper.net
This is added while posting a message to avoid misusing the service

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 970
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Looking for maintainers, developers & helpers

Post#4 by ncmprhnsbl » 03 Oct 2015, 20:51

brokenman wrote:f you have the ability to pull it apart and make improvements
pull apart i can do... improvements ..maybe...
i use arch and systemd daily, so i could be usefull..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
brokenman
Site Admin
Site Admin
Posts: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Looking for maintainers, developers & helpers

Post#5 by brokenman » 03 Oct 2015, 21:33

@francois
Of course.

@blue4meridian
I am interested in text mode at the moment. Getting this perfected is the first step. Adding 002-xorg is next.

@ncmprhnsbl
Excellent.

I edited the first post with the git details. Please clone the repository. When using it be aware that if you pollute the git folder these files may be removed when next updating. Probably best to make a copy of the folder somewhere if you want to add files and play around and leave the git folder untouched. When I push an update you can simply enter inside the git folder and issue: git pull
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 970
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Looking for maintainers, developers & helpers

Post#6 by ncmprhnsbl » 03 Oct 2015, 21:46

havnt used git in a little while...
am getting

Code: Select all

$ git clone https://brokenman@bitbucket.org/brokenman/usb-linux.git git
Cloning into 'git'...
remote: Not Found
fatal: repository 'https://brokenman@bitbucket.org/brokenman/usb-linux.git/' not found
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
brokenman
Site Admin
Site Admin
Posts: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Looking for maintainers, developers & helpers

Post#7 by brokenman » 03 Oct 2015, 22:34

Man you were fast! I changed the name around a minute after posting. Copy and paste from the first post again.

https://brokenman@bitbucket.org/brokenman/usb-linux.git --> https://brokenman@bitbucket.org/brokenman/archeus.git
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 970
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Looking for maintainers, developers & helpers

Post#8 by ncmprhnsbl » 04 Oct 2015, 00:49

i'm so fast i figured it out already ;)
cloned and checking it out...
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
brokenman
Site Admin
Site Admin
Posts: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Looking for maintainers, developers & helpers

Post#9 by brokenman » 04 Oct 2015, 18:23

Last name change. Sorry. Since there was only one pull request I decided to change the name for the final time in light of the great suggestion by stiffling. The name is now 'Nemesis'. Please see the first post for instructions on how to download the scripts.

@ncmprhnsbl
You can the file archeus/git/.git/config and just edit the name there instead of re-cloning.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5078
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: How to get it. [README FIRST]

Post#10 by francois » 04 Oct 2015, 21:06

@brokenman:
pman for the package manager is a simple and great name for this archlinux and porteus kind of hybrid. And its nice that you have retained nemesis for the os.

This project is exciting! :D

@bluemeridian:
I could help with LxQt?

The Xorg environment is quite easy to install under archlinux. If brokenman pman permits creation of archlinux modules, this should be quite simple. Then you could move to any window manager or desktop environment with arch linux wikis.

Installing lxqt will be fairly easy if you install xfce first. Then working from the X environment in xfce you could follow the arch lxqt wiki:
https://wiki.archlinux.org/index.php/LXQt

You will need to install some packages from AUR.

Then you could remove the xfce environment and stay with lxqt alone.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: How to get it. [README FIRST]

Post#11 by brokenman » 04 Oct 2015, 22:00

Yes adding desktops should be simple once 002-xorg is in place. Right now we are at stage: 001-core and ironing out systemd gotchas.

I will need to add pman automatically produces modules from packages. I will probably have to write a wrapper for yaourt to do the same.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5078
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: How to get it. [README FIRST]

Post#12 by francois » 04 Oct 2015, 22:07

@brokenman:
NOTICE: I am working in root mode from arch linux vbox guest:

On your first post:
1.0 Maybe you can add in at the end of section:
How to build it:
For example, if your nemesis folder is on sda5:

Code: Select all

root@porteus:/mnt/sda5/nemesis/git/x86_64/iso# cd /mnt/sda5/nemesis/git/x86_64/iso/porteus/
root@porteus:/mnt/sda5/nemesis/git/x86_64/iso/porteus# ./make_iso.sh  
2.0 AFTER BOOTING:
If you have no network connection run: systemctl dhcpcd start

Code: Select all

ip link
And use the ip link info about the enp<x>s<y> to start dhcpcd (in my case enp3s0):

Code: Select all

dhcpcd enp0s3
and then to make it permanent (given that persistant mode works, which does not seem to be the case presently)

Code: Select all

systemctl enable dhcpcd@enp0s3.service
3.0 As people are in command line only, to facilitate transfer to the modules folder, maybe you should provide it already on the structure of the system. Presently in my /mnt/sda5/porteus folder there is no modules folder.

4.0 setup-pman:
It seems that I am not saving my changes.

What could be missing on my menu.lst:
title porteus on sda1 64bit_v31rc1 NEMESIS
root (hd0,0)
kernel /64bit_v31_nemesis/boot/syslinux/vmlinuz from=/dev/sda1/64bit_v31_nemesis changes=/64bit_v31_nemesis login=root
initrd /64bit_v31_nemesis/boot/syslinux/initrd.xz
boot


5.0 is pman already working to save the changes in the additional modules provided by each run of pacman?

I have been building up to xfce4 environment yet. Everything works fine except for saving changes. :(

6.0 Message at poweroff:
A stop job is running for session c1 us user root. This last for 1m30 sec.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 5078
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: How to get it. [README FIRST]

Post#13 by francois » 05 Oct 2015, 02:02

@brokenman:
Gorgeous! :D

I just found pman command line. So what I understand is that instead of using pacman, I will just use pman instead, isn't it?

I can write a quick tutorial on how to use git if needed.

Please do so.

Thanks.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: How to get it. [README FIRST]

Post#14 by brokenman » 05 Oct 2015, 02:08

Correct. pman is a wrapper around pacman that will automatically convert pacages to modules and leave them in your modules folder if it can detect it.

Also dhcpcd should run against all devices. You should already have an internet connection after booting in vbox. Is this not the case?
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5078
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: How to get it. [README FIRST]

Post#15 by francois » 05 Oct 2015, 02:29

Ethernet
No. To have an internet connection, the only thing that works is:
And use the ip link info about the enp<x>s<y> to start dhcpcd (in my case enp3s0):

Code: Select all

dhcpcd enp0s3
As:

Code: Select all

ip link
yields enp0s3 (the equivalent of eth0 under porteus)
Voltaire: Le mieux est l'ennemi du bien.

Post Reply