New initrd.xz and cheatcodes (boot parameters) for 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...
tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

New initrd.xz and cheatcodes (boot parameters) for Porteus

Post#1 by tome » 07 Jul 2022, 13:30

Code: Select all

... bfrom= (base from) like from= but:

       1. No porteus-XYZ.cfg file is needed to boot if bfrom=
       2. porteus dir could be renamed ie. you can boot
       /folder/porteus-5.0/base by bfrom=folder/porteus-5.0,
       no need for /.../porteus-5.0/porteus/base deeper path
       various porteus versions could be in the same folder
       nearer without deeper paths - smaller tree of folders.

   ... base=your-base-name        Example: base=base-5.0-final

       New set name for base folder:
       Various porteus bases could be in the same folder
       without deeper paths, easy to switch base in boot menu.

   ... rootcopies=/path/to_folder/with_rootcopies

       Copy files from every rootcopy-XYZ inside this directory 
       directly to the live filesystem. This directory could contain 
       rootcopy1, rootcopy-for-share, rootcopy-private and they all
       will be copied/overwritten in alfabetically order.
       Example: 'rootcopies=/mnt/sda5/my-various-rootcopies'

Modyfication to rootcopy=
      Now by default will be copied/overwritten also same directories 
      with suffixes 2, 3, or 4 if exist. for default rootcopy
      will be copied rootcopy2, rootcopy3, rootcopy4, 
      for rcopyX: rcopyX2, rcopyX3, rcopyX4 also.
      Usefull for testing or split because of destinity.
initrd-tm.xz and linuxrc: https://www.dropbox.com/sh/gdzuwmrramlv ... kfYbZMrUra
You have mind and feelings. Be wise and clever.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

New initrd.xz and cheatcodes (boot parameters) for Porteus

Post#2 by Ed_P » 08 Jul 2022, 21:50

Where does one put these in the ISO?
Ed

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

New initrd.xz and cheatcodes (boot parameters) for Porteus

Post#3 by ncmprhnsbl » 08 Jul 2022, 23:43

Ed_P wrote:
08 Jul 2022, 21:50
Where does one put these in the ISO?
initrd-tm.xz goes in /boot/syslinux, linuxrc is inside initrd-tm.xz, so don't worry about that. just make sure that your porteus.cfg points to initrd-tm.xz or rename it initrd.xz (after backing up the original, of course)

@tome, thanks for this, some interesting ideas :)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

New initrd.xz and cheatcodes (boot parameters) for Porteus

Post#4 by Ed_P » 09 Jul 2022, 06:40

Renamed initrd-tm.xz to initrd.xz and added it to my Porteus 5.0 USB drive's /boot/syslinux folder and the USB drive boots with it.
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

New initrd.xz and cheatcodes (boot parameters) for Porteus

Post#5 by Rava » 19 Aug 2022, 02:14

tome, Is the md5sum correct?

Code: Select all

c68b1987f29f85669246cca38ddb7bc0  initrd-tm.xz
Cheers!
Yours Rava

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

New initrd.xz and cheatcodes (boot parameters) for Porteus

Post#6 by tome » 06 Sep 2022, 18:53

Rava wrote:
19 Aug 2022, 02:14
tome, Is the md5sum correct?
Yes
You have mind and feelings. Be wise and clever.

Post Reply