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

For talk and support relating specifically to Puppy derivatives
Message
Author
anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#3211 Post by anikin »

Strange, but the terminal doesn't seem to follow its action - no output at all. I recall there was some insignificant message earlier in the terminal, when tmpfs wasn't set the way it is now.
Attachments
gluingfailed.jpeg
(10.98 KiB) Downloaded 481 times

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

#3212 Post by saintless »

Hi, Anikin.
The problem is indeed missing files from Puppy. Here is working sfs:
http://smokey01.com/saintless/Fredx181/ ... syglue.sfs

Toni

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

#3213 Post by saintless »

anikin wrote:
Small change in RemasterCow needed because of puppy initrd boot
Toni,
I must have missed a discussion, what is puppy-initrd-boot, what does it do and why it's needed?
It is something I experiment with. It is not needed actually. Just adapting some existing scripts for it as optional boot. It will be available as separate kernel+initrd.gz module for download. Not included in the iso.
In general all new separate kernel-modules for puppy like from slacko 6 and kernels from Stemsee will be able to boot debiandog giving closer puppy structure while using the same 01-filesystem.squashfs.
For the moment we have working save file and save folder with boot choice which one to use and proper auto-created links /live/image and /live/cow needed for RemasterDog and RemasterCow to work proper with puppy initrd file.

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

#3214 Post by anikin »

Works like a charm.
I see, it needs a bit more deps, libs and symlinks and a proper structure.
Toni, did you get the stuff from a Puppy or Debian? I want to have it in my SID as well.
rcrsn51,
I will post a feature request in peasyglue thread.

Many thanks to both of you, guys.
Attachments
done.jpg
(31.51 KiB) Downloaded 470 times

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

#3215 Post by fredx181 »

Hi Toni,
Fred wrote:New portable DebianDog Installer:
Fixed now and links are back on previous page.
http://murga-linux.com/puppy/viewtopic. ... 249#787249

Flashplayerchoice is working fine, tested all options, Thanks Toni!
Small change in RemasterCow needed because of puppy initrd boot.
Ok!

Here's new debdog-full-install for DebianDog itself (attached).

I didn't like that unsquashfs uses so much RAM (more than 500Mb on my laptop).
So instead 01-filesystem.squashfs is mounted and copied from there to the selected drive (shows Xdialog progress).

Fred
Attachments
debdog-full-install-new.tar.gz
New DebianDog Full Installer
(3.88 KiB) Downloaded 237 times

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

#3216 Post by saintless »

Hi, Anikin.
Files inside sfs are taken from puppy. Do not use this sfs. I just made quick test what is missing.
Here is deb package:
http://smokey01.com/saintless/Fredx181/ ... 7_i386.deb
After installing run:

Code: Select all

apt-get -f install
It will download the missing dependencies keeping them debian official.
I don't know if it works in SID but I guess it will.

Toni

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

#3217 Post by saintless »

fredx181 wrote:
Fred wrote:New portable DebianDog Installer:
Fixed now and links are back on previous page.
http://murga-linux.com/puppy/viewtopic. ... 249#787249
Thanks, Fred. I will test later and upload the files on the site.
Flashplayerchoice is working fine, tested all options,
OK, we add it for next version then :)
Here's new debdog-full-install for DebianDog itself (attached).
I will add it for next version change and test it tomorrow.

Toni

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

#3218 Post by fredx181 »

Anikin, on your picture of df -h output on previous page I see /dev/shm is mounted on /live/image, I've never seen that, how come?

Fred

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

#3219 Post by anikin »

Honestly, I don't know why that entry is there. Most likely, because I have this:

Code: Select all

root@debian:~# ls /live
01-filesystem.squashfs  cow  image
root@debian:~#
but I never intended to have them there. I must have mixed up versions and boot options, or overcooked while remastering. This one is a workhorse for experiments. Must be an older version too, it shows wheezy 7.2 somewhere. I think, I have 2, or 3 more releases of DD (all heavily cooked), but I don't have the latest one - shame on me. When the next release is out, I will ditch them all and start afresh.

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

#3220 Post by saintless »

anikin wrote:

Code: Select all

root@debian:~# ls /live
01-filesystem.squashfs  cow  image
root@debian:~#
Having /live/cow and /live/image means live-boot-2x (initrd1.img).
/live/01-filesystem.squashfs appear when showmounts is added to the kernel boot line.
But it does not change /dev/shm linked to tmpfs /run/shm with live-boot-2x.
RemasterDog does not copy /live but recreates empty /live directory before making new module. It should be some testing you made to end up with /live populated.
I can't make appear /dev/shm mounted on /live/image while running df -h

Toni

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

#3221 Post by fredx181 »

Hi anikin.
root@debian:~# ls /live
01-filesystem.squashfs cow image
root@debian:~#
Nothing wrong with the above but /live/image should be the mountpoint of the home drive I think, not /dev/shm.

Fred

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

#3222 Post by saintless »

Hi, Fred.

Nothing wrong with /live/image mountpoint for /dev/shm
I bet Anikin uses copy to ram live boot 2x.

Toni

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

#3223 Post by anikin »

Upon reading your comments, I changed the menu entry and removed "showmounts" and yes, I had initrd1 changed it to initrd:

Code: Select all

LABEL DebianDog beta
MENU DebianDog LB-3x in RAM
LINUX /live/vmlinuz1
append initrd=/live/initrd.img boot=live toram=01-filesystem.squashfs config nouser nopersistent noswap nosmp noprompt nocd noeject quickreboot autologin elevator=noop video=i915:modeset=1 i915.i915_enable_rc6=1 i915.lvds_downclock=1 i915.i915_enable_fbc=1 ipv6.disable=1
ENDTEXT
and

Code: Select all

root@debian:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs         1010M  4.3M 1005M   1% /
udev             10M     0   10M   0% /dev
tmpfs           202M  280K  202M   1% /run
/dev/shm        158M  153M  4.9M  97% /lib/live/mount/medium
/dev/loop0      153M  153M     0 100% /lib/live/mount/rootfs/01-filesystem.squashfs
tmpfs          1010M     0 1010M   0% /lib/live/mount/overlay
tmpfs          1010M     0 1010M   0% /lib/live/mount/overlay
aufs           1010M  4.3M 1005M   1% /
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           1.2G     0  1.2G   0% /run/shm
tmpfs           1.2G   16K  1.2G   1% /tmp
root@debian:~#
Live is empty now. Forgot to mention, I also have this in fstab:

Code: Select all

aufs / aufs rw 0 0
tmpfs /tmp tmpfs nodev,nosuid,size=60%,mode=1777 0 0
which is wrong, I think, because this should be in fstab.d/live (if I understand it correctly). I mean I only added the tmpfs line - I don't know how the aufs line gets written there.

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

#3224 Post by saintless »

Hi, Anikin.
Nothing wrong. Using toram= option your boot partition is tmpfs /dev/shm
anikin wrote:

Code: Select all

/dev/shm        158M  153M  4.9M  97% /lib/live/mount/medium
/live/image is for boot partition in squeeze (initrd1.img) and /lib/live/mount/medium is for boot partition in wheezy. in short:
/lib/live/mount/medium = /live/image
As I wrote nothing wrong with your previous boot with initrd1.img and now with initrd.img Just I and Fred never use toram= and we did not know why /live/image was mount point for /dev/shm
Now we know :)
I also have this in fstab:

Code: Select all

aufs / aufs rw 0 0
tmpfs /tmp tmpfs nodev,nosuid,size=60%,mode=1777 0 0
which is wrong, I think, because this should be in fstab.d/live (if I understand it correctly). I mean I only added the tmpfs line - I don't know how the aufs line gets written there.
Nothing wrong here also. In Wheezy Live /etc/fstab.d/live content goes in /etc/fstab Normal Wheezy Live bahaviour. It was different in Squeeze. This is actually difference in live-boot version 2 and 3 and it is included and executed from initrd1.img and initrd.img
Using initrd.img you get Wheezy structure and behaviour.
Using initrd1.img you get Squeeze structure and behaviour.

Toni

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

#3225 Post by saintless »

Hi, Fred.

Tested portable DebianDog-Installer in Lupu-528 and Fluppy.
Lupu-528 - Frugal and Full install failed.
Fluppy - Full failed Frugal success.

Fluppy and Lupu-528 booted from usb (using Plop boot manager from floppy) on computer with 256 Ram. Install from iso as choice on hard drive partition /dev/sda6

More details here:
http://smokey01.com/saintless/Fredx181/ ... f/test.txt

Toni

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

#3226 Post by fredx181 »

Toni wrote:Tested portable DebianDog-Installer in Lupu-528 and Fluppy.
Lupu-528 - Frugal and Full install failed.
Fluppy - Full failed Frugal success.
That's not a very good score :)
Thanks for testing and the details.
I thought already that there could be missing libraries but there are probably also other factors that make it fail.

Anyway here's new portable folder with missing libraries added .
Can you test again when you have time?, it's not very important so absolutely no hurry.

https://drive.google.com/file/d/0ByBgCD ... sp=sharing
(Extract and run AppRun inside folder)

Fred

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

#3227 Post by saintless »

Hi, Fred.
Unfortunately I get segmentation fault:

Code: Select all

# /mnt/home/downloadspuppy/debdoginstall/AppRun
SCRIPTDIR=/mnt/home/downloadspuppy/debdoginstall
library_path=/mnt/home/downloadspuppy/debdoginstall/usr/lib:/mnt/home/downloadspuppy/debdoginstall/usr/lib/i386-linux-gnu:/lib:/usr/lib:/usr/X11R7/lib:/root/my-applications/lib:/opt/qt4/lib:/usr/lib/seamonkey:/opt/samba/lib
/mnt/home/downloadspuppy/debdoginstall/AppRun: line 18:  5448 Segmentation fault      Xdialog --title "DebianDog Installer" --clear --radiolist "Please select what type install you would like to do:         " 13 110 3 "frugal-install" "bootloaders grub4dos, syslinux and extlinux are supported." off "full-install" "bootloader grub4dos is supported (works with ext2,3,4, NTFS and FAT)." off 2>$tempfile
Can you confirm md5sum is the same?

Code: Select all

87f21ad743afc7618aff7cbf5d245189 debdoginstall.tar.gz
Toni

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

#3228 Post by fredx181 »

Hi Toni,
Unfortunately I get segmentation fault:
Code:
# /mnt/home/downloadspuppy/debdoginstall/AppRun
SCRIPTDIR=/mnt/home/downloadspuppy/debdoginstall
library_path=/mnt/home/downloadspuppy/debdoginstall/usr/lib:/mnt/home/downloadspuppy/debdoginstall/usr/lib/i386-linux-gnu:/lib:/usr/lib:/usr/X11R7/lib:/root/my-applications/lib:/opt/qt4/lib:/usr/lib/seamonkey:/opt/samba/lib
/mnt/home/downloadspuppy/debdoginstall/AppRun: line 18: 5448 Segmentation fault
Yes, sorry, added one library to much that's apparently conflicting. I just noticed the same while testing on Puppy Exprimo
Uploaded again (same link in above post) (it's now running well on Exprimo btw), also I tested on Saluki but it gave GLIB wrong version error. I realize it's probably to much to ask to make it work on most puppy's.
Maybe if it doesn't depend on parted there's better chance.

Fred

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

#3229 Post by saintless »

Hi, Fred.

Full failed, Frugal Success on both Lupu-528 and Fluppy:
http://smokey01.com/saintless/Fredx181/ ... /test2.txt

I don't think you can make it work on all puppy versions and no need to try. Even pet packages and puppy-sfs files can't work on all.

Toni

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

#3230 Post by fredx181 »

Toni wrote:Full failed, Frugal Success on both Lupu-528 and Fluppy:
http://smokey01.com/saintless/Fredx181/ ... /test2.txt

I don't think you can make it work on all puppy versions and no need to try. Even pet packages and puppy-sfs files can't work on all.

Toni
There's improvement! Yes!
Thanks again for trying.
Yes, I agree it can't work on all puppy versions but looking at your output I think it's just one thing that fails: mounting 01-filesystem.squashfs on /media/target. So it's close to working.
Also I could remove the parted dependency (it was just for setting the boot flag only, which can be done with fdisk also)
If you don't mind I'll bother you within the next few days to test again :)
Going to install Lupu myself to test on it.

Fred

Post Reply