way back ..saintless wrote:Hi, Alphadog.
I think with some help it will be possible to give full install option.
I will do some testing how it can be done proper with Debian.
In the meantime you can have something very close to full install but only with live-boot-v.2.x and live-boot-v.3.x It will not work with porteus-boot.
Make frugal install on sda1 (for example).
Create sda2 ext partition and label the partition live-rw (for live-boot-v.2.x) or persistence (for live-boot-v.3.x it will also need persistence.conf file inside).
Extract the content of /live/01-filesystem.squashfs on top of sda2 partition.
Delete 01-filesystem.squashfs.
Then create new empty 01-filesystem.squashfs from empty folder (/live/empty for example).
Code: Select all
mksquashfs /live/empty /live/image/live/01-filesystem.squashfs
Reboot the computer with the same code for frugal install.
Now you boot DebianDog with empty squashfs module and all files are inside sda2 save partition uncompressed in RW mode.
The difference from full install is you still have initrd file in use.
Toni
Another variation (for liveboot 3 style) that at least works for Debian Jessie (I'm running the amd64 version) :
http://murga-linux.com/puppy/viewtopic. ... 639#915639
In summary : format a ext3 primary partition sda1 perhaps. Install grub4dos to that partition, set its flag as 'boot' and allocate it a partition label = "persistence" (i.e. its also the save partition).
Grab a copy of
Debian LiveCD ISO, open it and copy the live folder across to that partition (so for instance sda1 now has a /live folder), extract the content of the /live/filesystem.squashfs to the root of that partition and create a empty replacement filesystem.squashfs in the live folder. Edit the menu.lst file in the root (/) directory to look something like :
Code: Select all
# menu.lst
color white/blue black/cyan white/black cyan/black
timeout 4
default 1
title Debian Jessie Frugal RW
find --set-root /live/vmlinuz
kernel /boot/vmlinuz-3.16.0-4-amd64 boot=live config persistence quickreboot noprompt showmounts live-media-path=/live/ config
initrd /boot/initrd.img-3.16.0-4-amd64
title Debian Jessie Frugal RO
find --set-root /live/vmlinuz
kernel /boot/vmlinuz-3.16.0-4-amd64 boot=live config persistence persistence-read-only quickreboot noprompt showmounts live-media-path=/live/ config
initrd /boot/initrd.img-3.16.0-4-amd64
and boot that. Best to boot into RW mode first, do all the setting up/updating/configuring etc. as that saves changes instantly (RO boot mode can run out of memory space if a large amount of updates occur). Reboot into RO (read only) mode ... and no saves will occur ... unless you install and run something like the snapmergepuppy script in that other thread link I posted above i.e. enables save on demand in a otherwise read only session.
No overlays (other than what runs in memory during a read only session - or if you have one or more .squashfs in /live that get loaded at bootup (I think there's a limit of 7 maximum ??) - best avoided if you want the package manager (apt-get/synaptic) not to get messed up), like a full install, but with choices of read only no changes saved, save changes on demand or save changes continually. And all contained within the same single partition (menu.lst boot loader alongside persistence saves, alongside /live boot folder). And of course access to the extensive and stable Debian repository (and relatively quick security updates).
Note that to extract the /live/filesystem.squashfs to the / folder I first extracted it to a sub directory (I accepted the default choice of squashfs-root i.e. I just ran unsquashfs filesystem.squashsh) and then moved all of that squashfs-root folder content to /