Skip to content

Porteus boot

Saintless edited this page Jun 27, 2017 · 1 revision

MintPup porteus-boot – porteus initrd1.xz made for Ubuntu kernel (thanks to Fred and sfs). Chose this one if you are familiar with Porteus, DebianDog or Puppy linux. Option to use encrypted save file.

Never use the same casper folder name for more MintPup frugal install on different partitions. Use different folder name for more MintPup frugal install.

It is not the exact Porteus boot method since it uses .squashfs modules extension instead .xzm and /casper instead /porteus folder, but the save file options are the same as in Porteus. copy2ram parameter will copy all available modules inside /casper and its subfolders in RAM.

Boot code examples (grub legacy or grub4dos) after copy /casper folder from the iso at top of sda1:

Copy to RAM without saving changes:

title MintPup porteus-boot in RAM (no save) (sda1)
root (hd0,0)
kernel /casper/vmlinuz noauto from=/ copy2ram
initrd /casper/initrd1.xz

This will create automatically /casper/changes folder for changes:

title MintPup porteus-boot save in /casper/changes folder (sda1)
root (hd0,0)
kernel /casper/vmlinuz noauto from=/ changes=/casper/
initrd /casper/initrd1.xz

This need to be created “changes.dat” (or whatever custom name) save file first for saving changes:

title MintPup porteus-boot changes in /casper/changes.dat file (sda1)
root (hd0,0)
kernel /casper/vmlinuz noauto from=/ changes=/casper/changes.dat
initrd /casper/initrd1.xz

This way of saving changes is equivalent of “pupmode=13” in puppy , saving changes only at shutdown:

title MintPup porteus-boot save on EXIT in /casper/changes.dat file (sda1)
root (hd0,0)
kernel /casper/vmlinuz noauto from=/ changes=EXIT:/casper/changes.dat
initrd /casper/initrd1.xz

Note for last example: there will be prompt for save or not to save. Also for prompt to create save file first time boot.


Like the previous one saving changes only at shutdown but in folder changes:

title MintPup porteus-boot save on EXIT in /casper/changes folder
root (hd0,0)
kernel /casper/vmlinuz noauto from=/ changes=EXIT:/casper/
initrd /casper/initrd1.xz

For the last two boot codes only “changes=EXIT:/path-to-save-file/folder” you can type from terminal:

save2flash

This will save in the middle of a session.


Porteus initrd1.xz file depends now on /casper folder. It will search for folder with name casper and if it is not found an error message will appear. But you can move /casper in any folder with different name and to use this code (inside folder /mintpup for example):

title MintPup inside /mintpup/casper (sda1)
root (hd0,0)
kernel /mintpup/casper/vmlinuz noauto from=/mintpup/
initrd /mintpup/casper/initrd1.xz
Clone this wiki locally