Page 162 of 212

Posted: Mon 07 Jul 2014, 19:41
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

Posted: Mon 07 Jul 2014, 20:08
by saintless
Hi, Fred.

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

Toni

Posted: Mon 07 Jul 2014, 20:40
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.

Posted: Tue 08 Jul 2014, 06:51
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

Posted: Tue 08 Jul 2014, 12:10
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

Posted: Tue 08 Jul 2014, 15:28
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

Posted: Tue 08 Jul 2014, 17:28
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

Posted: Tue 08 Jul 2014, 17:46
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

Posted: Tue 08 Jul 2014, 18:38
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

Posted: Tue 08 Jul 2014, 20:09
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

Posted: Tue 08 Jul 2014, 20:37
by saintless
No problem testing, Fred :)

Posted: Tue 08 Jul 2014, 22:13
by fredx181
Hi Toni,
Fred wrote: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.
Not even close but impossible I think on distro's with older kernel version than 2.6.38 (not supporting xz compression).
As far as I can see that's the reason why xz compressed .squashfs cannot be mounted on Lupu and the install fails.

Fred

Posted: Wed 09 Jul 2014, 06:20
by saintless
Hi, Fred.

Yes, I agree xz compression and old kernel is the problem after testing unsquashfs and mount -o loop command.

Suggestions:

1. Full install - we loose most DebianDog advantages like sfs options and small size. And still no one reported DebianDog Full install test or use. I suggest removing Full install option from portable installer.

2. Make (Frugal-only or both with red text warning for Full install about old kernel) portable installer executable with chmod +x permissions and include it in the iso outside /live directory. It will be easy to extract it from puppy or other linux and make frugal install for testing. Full install can be made from DebianDog later if needed.

Toni

Posted: Wed 09 Jul 2014, 08:47
by fredx181
Hi Toni,
portable installer executable with chmod +x permissions and include it in the iso outside /live directory. It will be easy to extract it from puppy or other linux and make frugal install for testing. Full install can be made from DebianDog later if needed.
Good idea!
I''l make tonight appimage with frugal install only and removed parted dependency.


Tip for Jwm version for more advanced terminal: roxterm from squeeze (the one from wheezy needs gtk3).
Tested on Jwm by only installing the .deb from here:
https://packages.debian.org/en/squeeze/roxterm

A big advantage IMHO is support for drag 'n drop and tabs.
Only around 600 Kb and you can clean a bit maybe.

Fred

Posted: Wed 09 Jul 2014, 11:29
by saintless
fredx181 wrote:Tip for Jwm version for more advanced terminal: roxterm from squeeze (the one from wheezy needs gtk3).
Tested on Jwm by only installing the .deb from here:
https://packages.debian.org/en/squeeze/roxterm
Thanks, Fred.
I will add it as optional terminal. But after some playing with Wheezy alternative roxterm-gtk2 package I got this wheezy version with edited Control and added what is needed to work from dependencies.
http://smokey01.com/saintless/Fredx181/ ... 1_i386.deb
Seems to work the same way and adding almost the same size.

Toni

Posted: Wed 09 Jul 2014, 13:13
by saintless
Hi, Fred.

New /opt/bin/mount-swap with option to mount swap file instead partition. Works for swap file named pupswap.swp in /live/image (or /mnt/home for OpenBox version).
This way we can automount already existing puppy swap file.

And Make-Swap-File GUI if you like to add it in OpenBox version:
http://smokey01.com/saintless/Fredx181/ ... wap.tar.gz

Image

Toni

Posted: Wed 09 Jul 2014, 18:19
by fredx181
Hi Toni,
I will add it as optional terminal. But after some playing with Wheezy alternative roxterm-gtk2 package I got this wheezy version with edited Control and added what is needed to work from dependencies.
Even better, didn't know about existing roxterm-gtk2 package.
And Make-Swap-File GUI if you like to add it in OpenBox version:
I will add it.

New DebianDog-Installer appimage without needing parted (frugal install only).
Tested and working for me on: dpup Exprimo, Lupu-528, Saluki, Puppy Precise.
https://drive.google.com/file/d/0ByBgCD ... sp=sharing
Edited post on page 214:
http://murga-linux.com/puppy/viewtopic. ... 249#787249

Fred

Posted: Thu 10 Jul 2014, 05:56
by saintless
fredx181 wrote:New DebianDog-Installer appimage without needing parted (frugal install only).
Tested and working for me on: dpup Exprimo, Lupu-528, Saluki, Puppy Precise.
https://drive.google.com/file/d/0ByBgCD ... sp=sharing
Thank you, Fred!
I will test it later today.

Toni

Posted: Thu 10 Jul 2014, 15:33
by fredx181
Hi Toni,
Bugfix for portable DebianDog installer.
After some more testing I found it seems installing right but doesn't boot because of boot flag not set.
See Edit4 on page 214 for more info:
http://murga-linux.com/puppy/viewtopic. ... 249#787249
DebianDog-Installer appimage:
Edit 10 min later Uploaded again because of mistake.
https://drive.google.com/file/d/0ByBgCD ... sp=sharing

Fred

Posted: Thu 10 Jul 2014, 15:53
by saintless
OK, Fred.
New versions replaced on the site also.

Toni