Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#31 Post by saintless »

Hi, Sklimkin,
I guess you mean building new debian base with chroot?
I've never tried loading on the fly. I'm 100% positive it is possible because I know JBV is working on this option for FoxyRoxyLinux and he has a solution.
Live-snapshot - I guess you mean something like:

Code: Select all

mksquashfs /live/cow /live/image/live/shapshot.squashfs
Wheezy does not have Copy On Write or cow folder anymore. It least I can't find any place where the changes take effect. It uses tmpfs on few places I guess. It is a mistery for me why they changed this useful option to create snapshot with your changes without having save file.
Anyway there is a way to remaster wheezy with shapshot from save file or partition called persistence with persistence.conf file inside. This configuration file gives options to save all changes or even changes in only one or few folders (which is good). I think it will be easy to automate snapshot process for both wheezy and squeeze.

I've never build debian with chroot like you so I don't think I can give advice how to fix things there. If I missunderstand something from your post, please, clarify it again.

Cheers, Toni

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#32 Post by sunburnt »

Smithy and any others; It`s important to distinguish between the Deb-Live distro and Puppy builds.
They are not at all the same... Saintless is basically reverse-engineering Puppy here.

If Deb-Live just keeps changing the setup, then make a stand-alone snapshot builder.
Then it won`t matter what changes they`ve made, set it up as you want and make a clone.
.

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#33 Post by Smithy »

Yes I understand what Saintless is doing Sunburnt, he is doing a Dr Frankenstein in his lab.

I've not even tried it yet, because it might be a little advanced for me, and I know me way round Puppy quite a bit, and lately Pemasu Wheezy, so I will hang with that for now, 'cos it is doing everything I need it to and I'm sure the pc seems to run more quietly with it.

I think it's good that people are doing stuff with Puppy, beats ram raiding or drivebye's.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#34 Post by sunburnt »

I don`t know if I would characterize it as a Dr. Frankenstein, but it`s innovative.

Actually in reality, Puppy is the Frankenstein, or Frankinweeny.? ( Disney movie )
Debian on the other hand is the base for most Linux distros being made today.

# From another post:
amigo called Puppy a square wheel that was being reinvented ( Very Funny... :lol: ).
His apt analogy points out, that to develop Puppy you`re starting out with damaged goods.

I like Saintless`s approach better. Take Deb. Wheezy and reverse engineer a Puppy clone.
Now apt-get and all the other "it-just-works" things about Debian is all part of the package.
Not to mention Debian`s excellent repository of nearly every freeking app ever made.
I don`t intend to pretend that Deb. is perfect, but many have my opinion it`s the best choice.
.
Last edited by sunburnt on Tue 10 Dec 2013, 23:54, edited 4 times in total.

sklimkin
Posts: 157
Joined: Wed 11 Jul 2012, 21:21
Location: Russia Moscow

Debian (wheezy & squeese) - live-tools

#35 Post by sklimkin »

Hi Toni,
If I missunderstand something from your post, please, clarify it again.

To clarify (I do not know English) here are some links.
How could I tried to express their thoughts and results in English.
I hope that you do not scare the inscription in Russian online sharing services.

http://yadi.sk/d/Juoa0RVbCouhv - debian-live dir shared
-------------------------------------------------------
about-debian-live.txt 1 KB
http://yadi.sk/d/YN4EpoJcE85q4

HowToMake-custom-Live-CD-ISO.txt 14 KB
http://yadi.sk/d/sGStG4-QDFA4m

install-debian+LXDE+slim-log.txt 24 KB
http://yadi.sk/d/40iR7vznE86Sk

debian-wheezy-LXDE-live.iso 262.6 MB
http://yadi.sk/d/jaDtHF5RDF9FD


http://yadi.sk/d/yjJolP5ICqWMB - ubuntu-live dir shared
-------------------------------------------------------
ubuntu-lucid-gnome-panel_sfs.iso 307.9 MB
http://yadi.sk/d/tIT2aDSEDr8q9

http://yadi.sk/d/yOT-R-iv7x8Qc - ubuntu-sfsl-130809-live (mod) dir shared
-------------------------------------------------------------------------
ubuntu-live-130809m.iso 146.8 MB
http://yadi.sk/d/6ASHDRMzDFArX

!!! The best !!!
----------------
http://blog.willhaley.com/create-a-cust ... vironment/
https://wiki.debian.org/ReduceDebian

Sergey.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#36 Post by sunburnt »

Hi sklimkin; I downloaded your ubuntu-live-130809m.iso and it booted straight up.!
Got the login and can`t go any further. How do I get a first login going.?

Also I wondered if you are in Russia, and if so what part / city ?

I tried to get Wheezy iso also, but Yandex is the worst web drive I`ve seen. "Copy" is better.
.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

Re: Debian (wheezy & squeese) - live-tools

#37 Post by saintless »

sklimkin wrote:I hope that you do not scare the inscription in Russian online sharing services.
Not at all :)

I'm downloading debian and the smallest ubuntu iso. I will check out the documents sooner I can. Ubuntu best size result is impressive.

Cheers, Toni

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#38 Post by saintless »

Smithy wrote:he is doing a Dr Frankenstein in his lab.
:shock: :shock: :shock:
I take debian live official iso and extract it in read and write mode.
Then I use its own download package manager to remove not essential packages from it and some files, which will be auto-generated again from the system.
I compress the result again.

Cheers, Toni

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#39 Post by nooby »

Toni a big difference between regular Debian
and your version is that your versions allowed for
that even a total noob could be root while on Debian

On Debian Chat when SickGut asked them about such
the Debian Devs hesitated to even help him to be root.

He solved it anyway as you also have.
So that is to me a big difference in attitude to being root. :)
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#40 Post by James C »

sunburnt wrote:Hi sklimkin; I downloaded your ubuntu-live-130809m.iso and it booted straight up.!
Got the login and can`t go any further. How do I get a first login going.?
.
User = root Password = root

Works with both the Ubuntu and Wheezy versions.

Now if I could only read russian....... :lol:

Both versions booted to a correct desktop and get on the net with Dillo. Exploring Ubuntu live right now.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#41 Post by saintless »

I'm happy to tell you Wheezy and Squeeze will have unified save file option. When Wheezy version is ready (today I hope) will upload example save file from 1Gb which will be universal for both versions + instructions how to make one for yourself.

Cheers, Toni

sklimkin
Posts: 157
Joined: Wed 11 Jul 2012, 21:21
Location: Russia Moscow

Debian (wheezy & squeese) - live-tools

#42 Post by sklimkin »

All greetings from Russia.
I live in Moscow (who asked?).

Thank you for seeing my version of Debian/Ubuntu
This is not fun, but seek opportunities to reduce the monstrous official the distribution.
But by themselves *. Iso which I have laid out in free access - only illustrations (or studies) opportunities for the average user.
I mean "make such distribution, which wants to see anyone."

Sorry I forgot to specify passwords, Everywhere 3 Users:
root - root
user - user
q - 111111
But in ubuntu-live-130809m.iso works only user root (root) - it's features sudo + my poor knowledge of Linux.
Now if I could only read russian .....
I'm not supposed to show their work outside the Russian forums, for the reason that the system has only two locale EN and RU, and the interface is fully localized for Russia.
So please take it only as an illustration of the theme: Debian + full squashfs (live-boot live-config live-snapshot) support.

And if this is enough for Ubuntu install packages live-boot and live-initramfs, then Debian is not working:
ubuntu.iso has DIRs /live/cow/ and /live/image/
debian.iso does not.
That's what my question to the author of the theme Toni.

I would be grateful to anyone who will tell me how to fix it in makeshift distributions Debian (squeeze wheezy).

Sergey.

P.S.
Looked at the ubuntu-live-130809m.iso by German eyes - by Englishman ...
Yes it's hard to understand these Russian. Harder only Chinese-Japanese-Korean.
Fortunately, many menu items have a clue with English program names and icons and all are international. Midnight-Commander always written as mc
Therefore, here is a screenshot of switching screen-resolution:
Attachments
MONITOR-RESOLUTIONS_ubuntu-live-130809m VMware Player.png
(187.9 KiB) Downloaded 854 times

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

Re: Debian (wheezy & squeese) - live-tools

#43 Post by saintless »

sklimkin wrote:ubuntu.iso has DIRs /live/cow/ and /live/image/
debian.iso does not.
That's what my question to the author of the theme Toni.

I would be grateful to anyone who will tell me how to fix it in makeshift distributions Debian (squeeze wheezy).
Privet, Sergey :)

Debian Squeeze (oldstable) does have /live/cow and /live/image
Debian Wheezy (stable) changed /live/image to /lib/live/mount/medium
It also mounts /lib/live/mount/medium in read-only mode. Do not ask me way. Security matter I guess.
Debian Wheezy does not have /live/cow anymore, so you can not make snapshots without save file like you can do that in Debian Squeeze and Ubuntu.
Work around for this is:
Download from here 1Gb-persistence-or-live-rw.zip :
http://www.smokey01.com/saintless/
Extract it on top of any partition but not on the partition you boot from (/lib/live/mount/medium). It is mounted read-only on boot nad it can't use the save file.
You have inside the archive 1 Gb save file called persistence with configuration file called persistence.conf and content / union
This gives you save file to save all changes.
Add to the kernel boot line the word persistence and reboot. Debian Wheezy will use the save file.
Didn't test it yet but this file will get location /lib/live/mount/overlay
You can easy create snapshot from your working system with:

Code: Select all

mksquashfs /lib/live/mount/overlay /lib/live/mount/medium
If you wander way /lib/live/mount/medium since it is read-only mounted I have a fix for this. Soon I will post it.

BTW you can rename persistence to live-rw and use it with Debian Squeeze also.

Cheers, Toni

sklimkin
Posts: 157
Joined: Wed 11 Jul 2012, 21:21
Location: Russia Moscow

Debian (wheezy & squeese) - live-tools

#44 Post by sklimkin »

Thank you, Toni (especially for the word "Privet").
Your method is probably the most effective response to the "machinations" of the debian team :lol:
After reading your article http://www.murga-linux.com/puppy/viewtopic.php?t=90629
I suddenly found that I have debian-7.2 - a big difference for the live-... utils.

The situation is a little clearer.
Toni uses debian-live-6.0.0-i386-standard.iso
I worked with debian-minbase analogue debian-live-7.2-i386-standard.iso
Here are some (essential for live-boot and live-snapshot) differences:
debian-live-6.0.0-i386-standard.iso 05-Feb-2011 23:00 222M
------------------------------------------------------------
linux-base 2.6.32-30
linux-image-2.6-486 2.6.32+29
linux-image-2.6-686 2.6.32+29
linux-image-2.6.32-5-486 2.6.32-30
linux-image-2.6.32-5-686 2.6.32-30

debian-live-6.0.8-i386-standard.iso 21-Oct-2013 07:48 282M
[ ] debian-live-6.0.8-i386-standard.iso.packages 21-Oct-2013 07:47 6.0K
----------------------------------------------------------------------------
linux-base 2.6.32-48squeeze4
linux-image-2.6-486 2.6.32+29
linux-image-2.6-686 2.6.32+29
linux-image-2.6.32-5-486 2.6.32-48squeeze4
linux-image-2.6.32-5-686 2.6.32-48squeeze4

live-boot 2.0.15-1
live-boot-initramfs-tools 2.0.15-1
live-config 2.0.15-1
live-config-sysvinit 2.0.15-1
live-initramfs 2.0.15-1

[ ] debian-live-7.2-i386-standard.iso 13-Oct-2013 21:03 539M
[ ] debian-live-7.2-i386-standard.iso.packages 13-Oct-2013 20:59 14K
-----------------------------------------------------------------------
linux-base 3.5
linux-image-3.2.0-4-486 3.2.51-1
linux-image-3.2.0-4-686-pae 3.2.51-1
linux-image-486 3.2+46
linux-image-686-pae 3.2+46

live-boot 3.0.1-1
live-boot-doc 3.0.1-1
live-boot-initramfs-tools 3.0.1-1
live-config 3.0.23-1
live-config-doc 3.0.23-1
live-config-sysvinit 3.0.23-1
live-manual 1:3.0.2-1
live-manual-epub 1:3.0.2-1
live-manual-html 1:3.0.2-1
live-manual-odf 1:3.0.2-1
live-manual-pdf 1:3.0.2-1
live-manual-txt 1:3.0.2-1
live-tools 3.0.20-1

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

Re: Debian (wheezy & squeese) - live-tools

#45 Post by saintless »

Hi, Sklimkin,

small correction. I've started with 6.0.0 but it was upgraded to 6.0.8 with dist-upgrade command. So Light-Debian-Core--Squeezy is 6.0.8 + Kernel from 7.2

If your result is 200 Mb iso with LXDE Debian 7.2 it is very good result I think. Mine result from 72 Debian Wheezy is 150 Mb with JWM which is much smaller then LXDE.

Cheers, Toni

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#46 Post by fredx181 »

Hi
Great initiative!
My first post at the puppy forum, couldn't resist to tell you, saintless, how wonderful this is.
Can't wait for your wheezy next version
I've been trying to make a debian live system as small as possible (used remastersys) but couldn't make it less than 200M.

Here's a hint for the persistence option:

Take a look here:

http://live.debian.net/manpages/current ... oot.7.html

for example (grub(4dos)):

kernel /deb-live/vmlinuz boot=live live-media=removable live-media-path=/deb-live persistence persistence-media=removable persistence-label=debsave

where is:
- live-media-path=/deb-live >> path where squashfs file(s) found
- live-media=removable >> search for "/deb-live" directory only on removable drives (do not use this when on hdd)
- persistence >> use persistence (used to be persistent on squeeze)
- persistence-media=removable >> search for persistence file or partition only on removable media such as usb (do not use this when on hdd)
- persistence-label=debsave >> will search for partition labeled "debsave" or a file (simular to the old "live-rw") named "debsave"
NOTE: this file "debsave" (or whatever) file must not be on the same partition as the, in this example, "/deb-live" folder, as stated before, that it's mounted read-only, hope this can be solved, would be great!

@saintless
for me persistence file is mounted on /lib/live/mount/persistence/loop1 and persistent partition on /lib/live/mount/persistence/sdxx (not on overlay,this is mounted as tmpfs, not sure what for)

Cheers!

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#47 Post by saintless »

Light-Debian-Core-Wheezy-T1.iso 149 Mb with two kernels + live-build tools uploaded for testing. First post updated with more information.

Mount-sfs script is still the same. Will be updated in the next version with Sunburnt's improvements.
Last edited by saintless on Wed 11 Dec 2013, 19:09, edited 1 time in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#48 Post by saintless »

fredx181 wrote:@saintless
for me persistence file is mounted on /lib/live/mount/persistence/loop1 and persistent partition on /lib/live/mount/persistence/sdxx (not on overlay,this is mounted as tmpfs, not sure what for)

Cheers!
Thank you for the information and the persistent options, Fredx181.
I still learning how wheezy structure is changed. With information from you and others I hope we will get to the bottom.
The new version is uploaded, first post updated. There is 1 Gb save file ready for download to be used after extracting the content.

Cheers, Toni

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#49 Post by nooby »

Toni much appreciated that you made that save file.
I also downloaded the Light-Debian-Core-Wheezy-T1.iso

Does T stand for Test most likely? I maybe test tomorrow
because next week I am very busy. I get back when I know
how it works on my gear.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#50 Post by saintless »

fredx181 wrote:NOTE: this file "debsave" (or whatever) file must not be on the same partition as the, in this example, "/deb-live" folder, as stated before, that it's mounted read-only, hope this can be solved, would be great!
It is solved with the uploaded version, but not the best way as I wish to.
Take a look at the script in /etc/profile.d
The partition with your /deb-save (or /lib/live/mount/medium) is remounted as rw on boot. Unfortunately not soon enough to mount persistence file from this partition.
Anyway searching for better fix.

Post Reply