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

#1141 Post by saintless »

Thank you, Fred :)

No need to hurry much. I think today will finish all changes we have to the moment and tomorrow I will start separating the kernels for the new configuration.

Toni

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

System and big programs

#1142 Post by sklimkin »

Hi Fred!
Fred: But now with the modprobe line it works.
It is not as advanced as porteus cheatcodes but from=/... works and saving changes also.
Example grub4dos in case folder "lldeb":
Opening!
I am Hoping that grub4dos only for example? ie isolinux.cfg:

Code: Select all

label Porteus-to-Debian-Live
	MENU LABEL lldeb (sda3/lldeb)
	root (hd0,0)
	## or maybe: root (sda1)
	linux /lldeb/vmlinuz
	initrd /lldeb/initrd.xz
	append from=/lldeb
also will work fine?
Fred: Some things need to worked on, e.g. /dev/shm is mounted instead of /run/shm
using what is found sda3/lldeb?
using by /dev/shm (modprobe line in initrd-3.2.0-4-486-linux-live.xz)?

Hi Toni !

I have nothing against involvement in firefox-xxxx.sfs - a desire to understand.
Connecting modules (programs) with one click from the menu - it's very good.
I was just reminded of the limitations that has any FRUGAL-system.
And that "advanced" web browsers powerfully loaded and even "garbage will be" system.
Due to the fact that I use for a virtual machine (VMware), I see such restrictions more clearly than in the system is installed on a physical disk partition.
But in this and in another case, the system works in FRUGAL-mode.
I've had cases where after watching two movies in FireFox on youtube FRUGAL-system on a physical disk partition informed about resource depletion (especially memory) - helped only manually delete the cache /.mozilla/firefox/*
So I found it possible to reminded any such restrictions and differences of systems operating in FRUFAL-made and in FULL-mode.

Sergey.

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

#1143 Post by saintless »

Hi, Sergey.

Yes, I agree with you about the limits of frugal OS. But DebianDog and Debian-Live as general has two options to fix this limits:

1. Cache folders to be links to hdd partition folders.
2. Converting frugal to full install - you can make it easy this way:
Create empty squashfs from empty folder. Copy all the content of the main module in ext partition with label live-rw or big save file called live-rw. Remove the main module (squashfs).
Then boot with this empty squashfs file in /live and you really have full install DebianDog. This is the way I made the first small base.

Toni

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

System and big programs

#1144 Post by sklimkin »

Hi Toni !

My job only in the virtual machine pushed out of my attention these important features (aspects) DebianDog.
Thanks for the clarification. Sorry.
I want to install DebianDog on USB-flash-disk and continue work from USB-drive.

Sergey.

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

#1145 Post by fredx181 »

Hi sergey
I made mistake which may make confusion with this:

Code: Select all

title lldeb (sda3/lldeb)
  root (hd0,0)
  kernel /lldeb/vmlinuz from=/lldeb
  initrd /lldeb/initrd.xz
"title lldeb (sda3/lldeb" should be: title lldeb (sda1/lldeb
to correspond with : root (hd0,0)
But this probably doesn't help because you need isolinux.
I need to find out how linux-live-scripts works with iso and get back to you later.

Fred

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

#1146 Post by sklimkin »

Hi Fred!

Obtained as follows: loader isolinux created only for CD-ISO and DOS-partitions (?).
But maybe this:
for isolinux replace root (hd0,0) to:

Code: Select all

APPEND ro root=/dev/hda1 initrd=/lldeb/initrd.xz
or to:

Code: Select all

# instead boot from CD next example boot from hdd
LABEL hdd - boot from first partition of first HDD
    localboot 0x80
Sergey.

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

#1147 Post by fredx181 »

Hi Sergey, Hi Toni
First, new revision of "initrd-3.2.0-4-486-linux-live.xz"
Solved problem with warning about /dev/shm (it will create empty /etc/fstab now).
https://drive.google.com/file/d/0ByBgCD ... sp=sharing
Also modified initrd to be default directory "/live" (same as live-boot works)
The nice thing about linux-live-scripts is that these things can be modified very easy.
The files to modify in the initrd are:
/init
/lib/livekitlib
/lib/.config

I you want other directory than /live you need to specify "from=/<folder>" as boot option.

@Sergey, How to create iso:
Assuming you have squashfs module with debian kernel 3.2.0-4-486 (with .squashfs extension, you could rename .xzm to .squashfs)
Create on iso root: folder "live"
Place in then in /live :
- squashfs module (e.g. 01-port-wheezy2.squashfs)
- vmlinuz (3.2.0-4-486)
- initrd.xz (the one downloaded from above link and rename to initrd.xz)
And in isolinux.cfg e.g.:

Code: Select all

default /live/vmlinuz initrd=/live/initrd.xz
This setup may look difficult, but in fact it corresponds very much with the debian "live-boot" setup.
EDIT: Did not see your last post until now: my advice:
It's easier than you might thiink.
Tell me if you still got problems.

Fred

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

#1148 Post by saintless »

fredx181 wrote:Hi Sergey, Hi Toni
First, new revision of "initrd-3.2.0-4-486-linux-live.xz"
Solved problem with warning about /dev/shm (it will create empty /etc/fstab now).
https://drive.google.com/file/d/0ByBgCD ... sp=sharing
Also modified initrd to be default directory "/live" (same as live-boot works)
The nice thing about linux-live-scripts is that these things can be modified very easy.
The files to modify in the initrd are:
/init
/lib/livekitlib
/lib/.config

I you want other directory than /live you need to specify "from=/<folder>" as boot option.
Thank you, Fred :)
I will try to test it tomorrow and write back. Unfortunately I'm too busy with separating kernel and modifying the changes for Porteus-DebianDog work for multiuser. I will write what I did and upload just for preview iso version DebianDog+PorteusDog.iso with separated kernel. Maybe I will have some questions to you about obshutdown-porteuswheezy package.

Toni

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

#1149 Post by fredx181 »

Hi Toni :)
I will try to test it tomorrow and write back. Unfortunately I'm too busy with separating kernel and modifying the changes for Porteus-DebianDog work for multiuser.
Take your time, there's no deadline.

Fred

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

#1150 Post by fredx181 »

Hi Sergey
Sorry, I thought making it easy for you and me by making iso with the new linux-live boot but unfortunately I can't make it boot (well, it boots but cannot find data).
So it works with grub4dos, but to get it working with iso will need some more studying.
You may try on usb-stick with syslinux (I did not try yet)

Fred

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

#1151 Post by sunburnt »

Toni; I found more WallPapers errors and fixed them. Lots to rewriting apps for multi user.
I got the gui working finally and made improvements to it. Hopefully tomorrow I`ll post it all.

I want to finish this up so I can work on OpenWith. And I started a Firefox download-installer.
.

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

#1152 Post by saintless »

Hi, all.

I have some troubles making one Debian-Porteus-Dog Cd boot and work well for both versions but I'm almost there.

Thank you, Terry. I will wait for your wallpapers GUI and fixes.

Toni

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

#1153 Post by saintless »

Hi, all :)

At last I'm happy with the result. I will not update first post. This is only testing version mostly for development suggestions.
Download DebianDog-PorteusDog-test.iso -103Mb with separate kernel module here:
http://www.smokey01.com/saintless/Light ... g-test.iso
All fixes to the moment are included. It is newer than 01-v3.squashfs
Only 486 kernel included. Dpkg database for the kernel is not updated but there is a script included if you like to do it manual.
No need to do it at all. The point of separate kernel is to make easy changing the kernel. You can install linux-headers for example without updating the kernel information.

If you like to make frugal install to boot porteus version you have to make again the symlinks from/live to /live/debian/base otherwise it will not boot with porteus initrd1.xz
Symlinks works right only from CD boot. Tested on 3 computers and it boots with debian or porteus initrd.

I will continue testing the new live-boot initrd from Fred and get back.

Terry, William. This iso is only preview test to share the idea with separate kernel module.
Next 01-v4.squashfs will be with both kernels included as the previous one. This way it will be easier for all of us to develop further. At the end I will separate the kernels for the final version.

Toni

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

#1154 Post by saintless »

fredx181 wrote:Hi Sergey, Hi Toni
First, new revision of "initrd-3.2.0-4-486-linux-live.xz"
Solved problem with warning about /dev/shm (it will create empty /etc/fstab now).
https://drive.google.com/file/d/0ByBgCD ... sp=sharing
Also modified initrd to be default directory "/live" (same as live-boot works)
The nice thing about linux-live-scripts is that these things can be modified very easy.
The files to modify in the initrd are:
/init
/lib/livekitlib
/lib/.config

I you want other directory than /live you need to specify "from=/<folder>" as boot option.
Thank you, Fred.
looks very similar to porteus boot process and boots very fast. I use /live/changes.dat for save file.
I like I can make direct symlink /mnt/live/memory/data (which is the boot drive) to /live/image
I can't do this with porteus initrd. It has submount points like sda1, sda2 ... depending on the boot drive.
One more great boot option for DebianDog :)

Toni

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

#1155 Post by sklimkin »

Hi All!

I seem a little confused by the ability to download 'Light-Wheezy-2' and 'Light-Wheezy2-porteus' from one CD-image

I remake CD-image.
1. change loader to grub4dos
menu.lst:

Code: Select all

title 1. LF DW live-deb boot=live from=/live
##	root (hd0,0)
	root (cd)
	kernel (cd)/live/vmlinuz boot=live from=/live
	initrd (cd)/live/initrd.xz

title 2. LF DW live-deb boot=live
	kernel /live/vmlinuz boot=live config swapon noprompt quickreboot autologin
	initrd /live/initrd.xz

title 3. LF Light-Wheezy3-porteus nomagic base_only norootcopy
##	root (hd0,0)
	kernel /vmlinuz nomagic base_only norootcopy
	initrd /initrd.xz

title 4. LF Light-Wheezy3-porteus noauto copy2ram changes=EXIT
	kernel /vmlinuz noauto copy2ram changes=EXIT:/debian/changes.dat
	initrd /initrd.xz
2. remake structure of the CD-image
for loading by title 1. or title 2.
-----------------------------------
if /live/01-v3.squashfs (102 MB) - not loaded
if /live/01-port-wheezy2.squashfs (120 MB renamed *.xzm) - is loaded
/live/initrd.xz (6.9 MB) - last by Fred
/live/vmlinuz (2.4 MB)

for loading by title 3. or title 4.
-----------------------------------
/debian/base/01-port-wheezy2.xzm (120 MB)
/initrd.xz (6.4 MB) - previous by Fred
/vmlinuz (2.4 MB)

3. then test loading
loading by title 1. or title 2. for 01-v3.squashfs
--------------------------------------------------

Code: Select all

... ... ... 
* Adding bundles to union
* 01-v3.squashfs
Live Kit done, starting live
mkdir: can't create directory 'mnt': No such file or directory
mkdir: can't create directory 'mnt/': No such file or directory
pivot_root: No such file or directory
loading by title 1. or title 2. for 01-port-wheezy2.squashfs (reamed *.xzm)
---------------------------------------------------------------------------
all fine - workig version with last 01-port-wheezy2 (120 MB)

loading by title 3. or title 4.
-------------------------------
all fine - workig version with last 01-port-wheezy2.xzm (120 MB)


But I expect that also loaded '01-v3.squashfs' from 'Light-Wheezy-2'
This is not happening.
I hoped in this way to combine into a single image Debian and Porteus,
2 different ways to download Debian-live and Porteus-to-Debian.

Fred, where am I wrong?

Sergey.

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

#1156 Post by saintless »

sklimkin wrote:

Code: Select all

... ... ... 
* Adding bundles to union
* 01-v3.squashfs
Live Kit done, starting live
mkdir: can't create directory 'mnt': No such file or directory
mkdir: can't create directory 'mnt/': No such file or directory
pivot_root: No such file or directory
Hi, Sergey.
in 01-v3.squashfs /mnt is link to /media
I guess this is the reason for this message. initrd lis looking for real folder /mnt

Toni

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

#1157 Post by sklimkin »

Thank you Toni,
If I unpack the module, and how painless fix that?
If I replace the symlink to the real DIR it will not break the system?

Sergey.

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

#1158 Post by saintless »

Hi, Sergey.

Just tested and this is the reason for the problem.
You can unpack and replace the /mnt link with real /mnt folder
You can create 02.squashfs with only empty /mnt folder inside and include it in the CD
Both ways will work.
But I think the next version 01-v4.squashfs will be with real /mnt folder. Changing /mnt with link to /media may cause other troubles in the future.

Toni

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

#1159 Post by sklimkin »

Hi Toni !

Only for testing replaced @mnt by @mnt2 and added an empty DIR /mnt
Packed as '01-v4.squashfs' and added to the ISO-image.
Now downloading: all OK and the system works.

Sergey.

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

#1160 Post by fredx181 »

Hi Toni
I tried your new DebianDog-PorteusDog-test.iso.
Could not get porteus option to work at first and thought maybe because of symlinks.
So I just copied the squashfs files to "base" and renamed to .xzm.
Still no luck.
Then I found that adding "noauto" made it work(I forgot to add that) and it's a mystery to me how this could be.
btw, relative symlinks work also, then the user does not need to make symlinks to the squashfs files.
Open terminal standing in the "base" directory:

Code: Select all

ln -s ../../01-base-nokernel.squashfs 01-base-nokernel.xzm     
ln -s ../../011-kernel-486.squashfs 011-kernel-486.xzm    
It's great to have both boot options in one iso, clever work :)

I have unfortunally not much time this week, busy working in daytime and in the evening very tired, I will make the RemasterCow script but it will need a few days probably.
Oh, and the /etc/profile.d/auto-swapon script doesn't execute mountlink.
It's very important for other things to work properly.
There should be symlinks "home" and "saved" in /mnt (executed by mountlink script)
But we will maybe discuss this later.

Fred

Post Reply