Precise-light - 17March2019 - for older hardware

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#31 Post by nic007 »

Thanks, good to know that only that small pet of 2MB will do the trick. I'll try it when Seamonkey 2.48 gets too old.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#32 Post by musher0 »

Hello all.

For the record, I have just tested it, and SM-2.49.4 with GTK-3 works OOTB
on Puduan-7, which has a similar GTK-3 minimal library installed. (It does not
have the whole thing.)

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#33 Post by nic007 »

Thanks for testing and confirming, musher0. This is excellent.

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#34 Post by jrb »

mavrothal wrote:Nice!
Do not remember if this was also true for Precise original but on first shutdown will not save on ext4 partitions.
This is because guess_fstype reports ext4 as ext3 resulting in failure when trying to "mount -t ext3 /dev/sdxN" to generate the savefile.
The guess_fs in Precise is from Puppy4 2008. http://distro.ibiblio.org/puppylinux/pe ... static.pet seems to be the most up to date .pet available. Guess_fs is now included in WoofCE, don't know if its more current than the .pet.

If someone with ext4 drives wants to give it a try that would be appreciated.

Thanks in advance, J

Correction: http://distro.ibiblio.org/puppylinux/pe ... 6_s700.pet and others are available in the slacko 14.2 directory.

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

#35 Post by sheldonisaac »

jrb (in part) wrote:
mavrothal wrote:.. on first shutdown will not save on ext4 partitions.
This is because guess_fstype reports ext4 as ext3 resulting in failure when trying to "mount -t ext3 /dev/sdxN" to generate the savefile.
The guess_fs in Precise is from Puppy4 2008. http://distro.ibiblio.org/puppylinux/pe ... static.pet seems to be the most up to date .pet available. Guess_fs is now included in WoofCE, don't know if its more current than the .pet.

If someone with ext4 drives wants to give it a try that would be appreciated.
..
Correction: http://distro.ibiblio.org/puppylinux/pe ... 6_s700.pet and others are available in the slacko 14.2 directory.
Oh, maybe I misunderstood when I replied at http://www.murga-linux.com/puppy/viewto ... 24#1024624 ? That said my ext4 partition was ext2.
But there was (if I recall correctly) no problem msking a save folder on that partition.

Anyhow, I just downloaded the http://distro.ibiblio.org/puppylinux/pe ... static.pet. Its guess_fstype says that sda1 is ext4. This is being run under musher0's Xenial 7.06

I have since downloaded these two, and will try them later and report.

Code: Select all

-rw-r--r-- 1 root root      5631 Apr  8 08:44 guess_fstype-i686-20140626.pet
-rw-r--r-- 1 root root      5068 Apr  8 08:44 guess_fstype-20140626-i686.pet
Thank you,
Sheldon
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#36 Post by jrb »

sheldonisaac wrote:said my ext4 partition was ext2.
But there was (if I recall correctly) no problem msking a save folder on that partition.
Thanks for testing Sheldon, While it worked in your case, I'd rather it worked without erroneous messages. Some users are easily confused.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#37 Post by musher0 »

Hi, guys.

All the guess_fstype does is call blkid and fishes some info out.
This is the one from a woofed Puduan-7:

Code: Select all

#!/bin/ash

if [ "$1" = "" ] ; then
	echo "Usage: guess_fstype device"
	exit
fi

if [ ! -b "$1" ] ; then
	echo unknown
	exit 1
else
	res=$(blkid "$1" | grep -o ' TYPE=.*"' | cut -f 2 -d '"')
	if [ "$res" = "" ] ; then
		echo unknown
		exit 1
	else
		echo "$res"
	fi
fi
so it has to be recent. Note: no author, no date.
Now blkid itself on the Puduan-7 Pup is from:

Code: Select all

blkid -V
blkid from util-linux 2.29.2  (libblkid 2.29.2, 22-Feb-2017)
and it needs the libblkid library, as you can see.

util-linux 2.33.1 from Jan. 19 2019 is here.
I'd compile it, except I do not have a Precise-class
Pup anymore on this box. Anyone?

IHTH.
Last edited by musher0 on Mon 08 Apr 2019, 17:53, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

#38 Post by sheldonisaac »

musher0 (in part) wrote:All the guess_fstype does is call blkid and fishes some info out.
Oh, thanks, musher0.
I'm confused by my experiments in the last hours; will take a break now.

I tried
blkid -V
blkid from util-linux 2.27.1 (libblkid 2.27.0, 02-Nov-2015)
and
blkid /dev/sda1
/dev/sda1: LABEL="SSDboot" UUID="d58c24e4-7a41-4cb7-be6d-08c83a6e2105" TYPE="ext4" PARTUUID="00030fea-01"
in your Xenial 7.0.6 which I'm in at present.
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#39 Post by mavrothal »

jrb wrote: The guess_fs in Precise is from Puppy4 2008. http://distro.ibiblio.org/puppylinux/pe ... static.pet
Sorry never realised will be such a fuss for this. :shock:
guess_fstype is a couple of years now a simple script that only depends on (the busybox version of) blkid.
The Precise-light busybox blkid applet, detects ext4 and supports the woof-CE guess_fstype correctly.
So just remove the /sbin/guess_fstype binary file and add the script in its place.

While at it you might want to replace /bin/guess_fstype from the initrd.gz file to avoid potential problems with ext4 installations. The busybox blkid applet in precise-light initrd also supports ext4 fine.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#40 Post by musher0 »

Hello, all.

I installed Precise-light and this works:

Code: Select all

mkdir /mnt/sdb1;mount -t ext4 /dev/sdb1 /mnt/sd1
You'll have access to it, except pmount will keep viewing sdb1 as an ext3
partition. Maybe install a more modern version of Pmount?

I had a devx for a Precise-5.7.1 class Pup, from forum member Dorothée's
Puppy named "PIPOCA". So I mounted that and compiled util-linux-2.33.1.
Made a pet, installed it.

The only thing was, BEFOREHAND, I had to rename (or get out of the way)
BK's mount and unmount bash scripts. Aside from those, it's tit for tat
replacement.

Tested it a bit. Precise-Light seems to have no allergies to this new util-
linux package. Everything continued working fine. IMO, this is much better
than keeping the ex-factory busybox utilities that you don't know how
many parameters have been trimmed from them. Now I am confident that
I have the full utilities.

Available here as a pet or an sfs. This util-linux package can be installed on
all higher-version Pups as well.

IHTH. BFN.
Last edited by musher0 on Mon 08 Apr 2019, 18:39, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#41 Post by musher0 »

Hello again.

On another subject, the "Nimbus Mono L" font mentioned in .Xdefaults is not
in the fonts directory. The console is very wide without it. Plus the size is set
at "14". Again too wide.

So either we find and include the proper Nimbus font or change the urxvt
font line to DejaVuSansMono in .Xdefaults. Very probably the Inconsolata,
Monaco or LiberationMono fonts will work fine too.

IHTH. BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#42 Post by perdido »

Some security updates

Precise light using Bash 4.1 which is vulnerable to Bashbug
http://www.murga-linux.com/puppy/viewtopic.php?t=95819

I updated my Precise 5.7.1 to version bash-4.3.27-1 from this post.
http://www.murga-linux.com/puppy/viewto ... 162#801162
Its no longer available there, I don't know if Frisbee works with the newer bash version in that post so here is the old version bash-4.3.27-1 that
certainly works with Frisbee.
http://ibm-pc.org/puppy/precise/bash-4.3.27-1.pet

There are also a couple openssl updates that should be applied,
Will do some more checking .

.

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

#43 Post by sheldonisaac »

musher0 (in part) wrote:.. Precise-Light seems to have no allergies to this new util-linux package. Everything continued working fine. IMO, this is much better than keeping the ex-factory busybox utilities that you don't know how
many parameters have been trimmed from them. Now I am confident that
I have the full utilities.

If there's a request, I'll make available this util-linux-2.33.1 package for
Precise-Light/min.
musher0, I don't understand some of the technical stuff in your message.
But if this new util-linux will make this Precise-Light/min work better, I'd like to have it.
Will probably need instructions.

Thank you,
Sheldon
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#44 Post by musher0 »

Hi SheldonIsaac.

The "busybox" provides trimmed-down utilities, mostly to condense the
stuff in initrd.gz. In short, in Linux generally, you have a boot-Linux level
(initrd.gz) and a full-Linux level ("the distro proper"). The boot-Linux level
has to be as small as possible until the full-Linux level is in place. (My
understanding; maybe forum members with a degree in computer science
can explain it better.)

Once the user is in the "full-Linux" level, in other words "the distro proper",
there is no need for such trimmed-down utilities, it's even a disadvantage,
IMO.

And it's maddening, when you read the manual for utility X, and all the
Puppy provides is the trimmed-down busybox version of utility X. A
trimmed-down utility prevents the user from doing things he may need to
do with the complete utility. Advanced users like MochiMoppei can easily
(?) compensate because of their deep knowledge of bash, but not the
regular user.

It's NOT that the complete util-linux utilities will make the Puppy run better.

It's that they provide the utilities as they were intended by the original
authors. The util-linux utilities offer the user more parameters than their
anorexic busybox cousins, and thus they can respond to the needs of the
user more completely when the user needs them.
It's at the level of
the user, not of the Puppy.

I hope I was not too technical.

Anyway, I have just included the URL for the util-linux-2.33.1 pet archive
and sfs in my post above.

The only thing you have to do is rename, BEFOREHAND, scripts mount and
unmount in the /bin directory to mount-BK and unmount-BK, respectively.
This gets them out of the way, but keeps them, should you ever need
them again for some reason.

Then install the util-linux-2.33.1 pet as you would any other pet archive.

IHTH.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#45 Post by jrb »

mavrothal wrote:
jrb wrote: The guess_fs in Precise is from Puppy4 2008. http://distro.ibiblio.org/puppylinux/pe ... static.pet
Sorry never realised will be such a fuss for this. :shock:
guess_fstype is a couple of years now a simple script that only depends on (the busybox version of) blkid.
The Precise-light busybox blkid applet, detects ext4 and supports the woof-CE guess_fstype correctly.
So just remove the /sbin/guess_fstype binary file and add the script in its place.

While at it you might want to replace /bin/guess_fstype from the initrd.gz file to avoid potential problems with ext4 installations. The busybox blkid applet in precise-light initrd also supports ext4 fine.
I'm glad you caught it. I installed Precise-light on an ext4 usbdrive and booted it up. As you said it misidentified the drive as ext3 but the more annoying thing was that desktopdrive icons woudn't mount it and pmount woudn't either. When I went to save, usbdrive was not offered as a choice. After rebooting I used the mount command in a console and it saved OK.

Once I installed a new guessfs_type pet it identified the drive as ext4 and the problem disappeared. I will eventually build precise-light-5.7.2 but I think I will wait a week or two to see what else comes up. For the meantime just install the newer guessfs.pet

Interestingly, the guessfs_type in the initrd is a binary dated 4jun2016 and its a different size than the one in /sbin. I haven't been able to figure out where it came from. Doesn't seem to be in WoofCE or precise-packages. :?

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#46 Post by jrb »

perdido wrote:Some security updates

Precise light using Bash 4.1 which is vulnerable to Bashbug
http://www.murga-linux.com/puppy/viewtopic.php?t=95819

I updated my Precise 5.7.1 to version bash-4.3.27-1 from this post.
http://www.murga-linux.com/puppy/viewto ... 162#801162
Its no longer available there, I don't know if Frisbee works with the newer bash version in that post so here is the old version bash-4.3.27-1 that
certainly works with Frisbee.
http://ibm-pc.org/puppy/precise/bash-4.3.27-1.pet

There are also a couple openssl updates that should be applied,
Will do some more checking .

.
Thanks again Perdido. I will rebuild Precise in a week or two and I will definitely incorporate the newer Bash

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#47 Post by musher0 »

And please, oh please, do not address my concerns. I actually do not exist, don't I?
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#48 Post by jrb »

musher0 wrote:And please, oh please, do not address my concerns. I actually do not exist, don't I?
Sorry musher0, didn't mean to ignore you. It's just I'm a slow reader and your posts are so long. :wink: I'll have a look at the font problem soon. I do have some other things happening in my life and I'm in and out all day.

Cheers. J

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#49 Post by musher0 »

Apologies accepted.

~~~~~~~~~
Following perdido's suggestion --
bash-5.0, freshly compiled on and for Precise-Light, available here.

Compiled as per the formula on Linux-From-Scratch.

Since Precise-Light has a lower ldd version, this Bash-5.0 should work
on all modern Pups. I have installed it on Puduan-7, and all is well.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#50 Post by perdido »

A lot of people know about the little Firewallstate utility but thought it was worth a mention since Precise does not include a firewall icon in the tray.

Its a little pet file that puts an icon on the r/s bottom tray for the firewall. Right-click the icon to turn on/off the firewall & adjust other stuff like date/time

After setting up your firewall from Menu-->Network-->
just install the pet and it adds a menu entry to Menu-->Network-->Firewallstate Firewall Tray Icon
More information and pet at this forum post.The firewallstate-2.1.pet works nicely in Precise
http://www.murga-linux.com/puppy/viewtopic.php?t=57725

.

Post Reply