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

#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.

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

#51 Post by saintless »

nooby wrote:Does T stand for Test most likely?
Yes, Nooby.
I'm not planning to make T2 too soon. Lets collect some information from tests for about a month and see what problems we will find.

Cheers, Toni

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

#52 Post by fredx181 »

saintless wrote:
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.
Just tried your new T1 wheezy...
Yes, /lib/live/mount/medium is rw mounted now,which is an improvement at least :)
Persistence still doesn't work if on same partition but to be fair it's no big deal for me (I found it works allright when on other partition, so it's ok for me)

Another thing you didn't mention, or I am missing something:
When boot seems to get stuck I needed to do Ctrl+Alt+F1 to be able to type startx and get to desktop.
Normal autologin does not work?

One more thing about the persistence options
live-media-path=.... is not needed to specify if the squashfs file(s) are in "/live" folder (/live is the default)
Same goes for "persistence-label=..." (persistence is the default)
These options can be handy if you have several "frugal" installs and/or several savefiles.

Good luck

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

Re: Light-Debian-Core-Live-CD-Wheezy

#53 Post by James C »

saintless wrote:edit 11.12.2013 - Uploaded Light-Debian-Core-Wheezy-T1.iso 149 Mb.

snip

You will get to command prompt as root. Type startx to enter GUI. This will be fixed for the next version to autologin.
Booted directly to JWM as root here.

Ran apt-get update (after deleting the file you mentioned) and installing Iceweasel now.

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

#54 Post by James C »

Persistence works .......
Attachments
Live Wheezy.jpg
(26.03 KiB) Downloaded 769 times

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#55 Post by anikin »

A quick thought - the squeeze based LD seems to be lighter and easier to use. Debian is so flexible - just change a few lines in apt-get configuration and your OS will upgrade itself to Wheezy, Jessie, or SID and can be rolled back to Squeeze, if the changes are not to your liking. The procedure is well documented and easy to follow. Is it worth the trouble, to pursue two projects? James C, you're the debianist here, you've played with SID - what you say?

One more, I've done some googling and found tons of info on Debian Live. The whole world seems to be revolving around it. Clonezilla and Gparted Live are based on LD, so that you know. The findings make me believe, that it's easier to build a live system (with greater precision), than reverse engineering an existing one. Have a look at these two articles:
http://l3net.wordpress.com/2013/09/21/h ... an-livecd/
http://willhaley.com/blog/create-a-cust ... vironment/.
A collection of usefull config options:http://www.clonezilla.org/clonezilla-li ... config.php
Here's some more:http://syn.theti.ca/2013/06/22/tutorial ... ce-on-usb/

tony
Posts: 334
Joined: Sat 14 Jan 2006, 10:52
Location: Montreal.ca

#56 Post by tony »

HI,

another request from a puppian.

Can someone advise on a wallpaper setter and how to use it.

I'm fed up with the black screen at boot.

Regards Tony.

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

#57 Post by sunburnt »

I asked Sergey. I like to know where people are from, it makes this a bit more personal.
I have a Russian girlfriend from Saint Petersburg. Her son "Sergey" is still living there.

Sergey; I assume that live-build only makes a build of the running Deb. version.?
# It would seem a good idea to be able to build using an iso as the base distro.

I installed "live-build" on Toni`s Squeeze last night ( took a while )
Tried making a live distro., took hours, but it failed as the next morning I can`t find it.
None of the changes are being saved to the next boot. But I did make a save file...

I`ll try again tonight with Wheezy. Maybe OpenBox instead of JWM, or maybe PekWM.
Maybe IceWeasel in place of H3W. Xfe suite is a good starting point, but Geany`s better.

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

#58 Post by sunburnt »

I got Wheezy working with the save file, shows it mounted.
Did "update" and installed live-build, all okay.

The instructions for tutorial2 in the Live manual say this:

mkdir tutorial2, so I made it on sda3
cd tutorial2
echo "task-lxde-desktop iceweasel" >> config/package-lists/my.list.chroot

Now this last line is impossable as the path doesn`t exist.
There is a config in the Wheezy tree, but I assume they want a path in /tutorial.
So I made the path with sudo, but Wheezy won`t let me make the file: my.list.chroot

# Any suggestions.? Or am I doing this wrong.?

The last step is to run: sudo lb build 2>&1 | tee build.log

Thanks for any help guys. Terry
.

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

#59 Post by saintless »

fredx181 wrote:Another thing you didn't mention, or I am missing something:
When boot seems to get stuck I needed to do Ctrl+Alt+F1 to be able to type startx and get to desktop.
Normal autologin does not work?
Mentioned in the first post update. Just use autologin in your boot menu list code and you will get to X as root. It will be fixed in the iso boot code for the next version.

Cheers, Toni

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

#60 Post by saintless »

Hi, Anikin,
anikin wrote:Is it worth the trouble, to pursue two projects?
anikin wrote:The findings make me believe, that it's easier to build a live system (with greater precision), than reverse engineering an existing one.
Yes and No to both questions. It depends what you like to have as a result.
For example Sergey uses the method you offer and he gets very good results.
I see Sunburnt also tries this method. Lets wait to see his result.
With reverse-engineering method (thanks, Sunburnt, I like this better than Dr Frankenstein in his lab :) )I have as a result squeeze-no-xorg.squashfs 37Mb and wheezy-no-xorg.squashfs 65 Mb. This is the base to start adding applications on top of them. Maybe i have to upload them as a base for others to create what they like from Debian-Live.
I'm sure it can be done the same way or even better by building it with chroot but you will have to built an image which will be have some files to clean after. This means to do again reverse-engineering to slimm down the size and the size is the point of this project. After adding more programs you will have to clean more files again the same way.
Starting with standard-debian-light.iso gives me a list what packages I have inside and if you ask me the process is easier.
We have squeezy 68Mb iso and wheezy 149 Mb iso booting to X with working internet. Don't forget wheezy has two kernels inside. If I remove one of them the size will be 120 Mb or even less.
Anyway this is the way I choosed to fallow and to share. I prefer not to start with another one before finishing what I plan. If someone gets better results it will be wonderfull.
I still think of Light-Debian as a way to help puppy when you can't run some application on puppy. If we start adding more and more programs the size will grow up and grtow up and we will need more and more cleaning. This means to make a cleaning script and it will be done, but the problem is squeeze and wheeze has different structure. Still learning what we can remove from wheezy. If we can automate the rebuild and cleaning squashfs proces for both squeezy and wheezy with one aproach it could become fine small distro similar to puppy in size and better package manager.

Cheers, Toni

Post Reply