Skip to content

Porteus boot

MintPup edited this page Jan 7, 2016 · 6 revisions

DebianDog porteus-boot:

Encrypted save file supported.

Never use the same live folder name for more DebianDog frugal install on different partitions. Use different folder name for more DebianDog frugal install. You will find information and example boot code at the end of this post.

The initrd1.xz file is edited from Fred with help from sfs from puppyrus.org for use only with DebianDog.

Different from Porteus this boot method uses .squashfs modules extension instead .xzm and /live instead /debian folder, but the save file options are the same as in Porteus.

You can skip from=/ in the kernel boot line but it is better to keep it this way. For example if want to place folder /live inside folder /deb you need to use from=/deb/

copy2ram parameter will copy all available modules inside /live and its subfolders in RAM.

Boot code examples after extracting /live folder from the iso on top of sda1:

Copy to RAM without saving changes:

title Debian-PorteusDog Wheezy (sda1)
root (hd0,0)
kernel /live/vmlinuz1 noauto from=/ copy2ram
initrd /live/initrd1.xz

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

title Debian-PorteusDog Wheezy (sda1) 
root (hd0,0)
kernel /live/vmlinuz1 noauto from=/ changes=/live/
initrd /live/initrd1.xz

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

title PorteusDog (sda1) 
root (hd0,0)
kernel /live/vmlinuz1 noauto from=/ changes=/live/changes.dat
initrd /live/initrd1.xz

This way of saving changes is equivalent of “pupmode=13” in puppy , saving changes only at shutdown:
title PorteusDog (sda1) 
root (hd0,0)
kernel /live/vmlinuz1 noauto from=/ changes=EXIT:/live/changes.dat
initrd /live/initrd1.xz

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

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

title PorteusDog (sda1) 
root (hd0,0)
kernel /live/vmlinuz1 noauto from=/ changes=EXIT:/live/
initrd /live/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.
Note about changes=EXIT:/ boot code: It is recommended to check for free space before saving changes on Exit or using save2flash. Read here how to do it.
Or use this new save setup module from Fred.
The testing module is available for download with sfs-get and from here: 99-new-save-setup.squashfs
99-new-save-setup-Readme.txt

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

title PorteusDog (sda1) 
root (hd0,0)
kernel /debiandog_jwm/live/vmlinuz1 noauto from=/debiandog_jwm/
initrd /debiandog_jwm/live/initrd1.xz

Examples for several DebianDog frugal install on different partitions and different save files (using from=):

title PorteusDog (sda1) 
root (hd0,0)
kernel /DD-1/live/vmlinuz1 noauto from=/DD-1/ changes=/DD-1/live/changes.dat
initrd /DD-1/live/initrd1.xz
title PorteusDog (sda2) 
root (hd0,1)
kernel /DD-2/live/vmlinuz1 noauto from=/DD-2/ changes=/DD-2/live/changes.dat
initrd /DD-2/live/initrd1.xz
title PorteusDog (sda3) 
root (hd0,2)
kernel /DD-3/live/vmlinuz1 noauto from=/DD-3/ changes=/DD-3/live/changes.dat
initrd /DD-3/live/initrd1.xz
Clone this wiki locally