Page 1 of 1

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

Posted: 07 Jul 2022, 13:30
by tome

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

EDIT:
Next version with NTFS3 changes is here: NTFS3 Kernel Module

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

Posted: 08 Jul 2022, 21:50
by Ed_P
Where does one put these in the ISO?

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

Posted: 08 Jul 2022, 23:43
by ncmprhnsbl
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 :)

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

Posted: 09 Jul 2022, 06:40
by Ed_P
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.

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

Posted: 19 Aug 2022, 02:14
by Rava
tome, Is the md5sum correct?

Code: Select all

c68b1987f29f85669246cca38ddb7bc0  initrd-tm.xz

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

Posted: 06 Sep 2022, 18:53
by tome
Rava wrote:
19 Aug 2022, 02:14
tome, Is the md5sum correct?
Yes