Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 15 Dec 2019, 17:20
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Precise-light - 17March2019 - for older hardware
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 17 [254 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 15, 16, 17 Next
Author Message
nic007


Joined: 13 Nov 2011
Posts: 3200
Location: Cradle of Humankind

PostPosted: Mon 08 Apr 2019, 05:21    Post subject:  

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.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14554
Location: Gatineau (Qc), Canada

PostPosted: Mon 08 Apr 2019, 05:35    Post subject:  

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
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 3200
Location: Cradle of Humankind

PostPosted: Mon 08 Apr 2019, 05:50    Post subject:  

Thanks for testing and confirming, musher0. This is excellent.
Back to top
View user's profile Send private message 
jrb


Joined: 11 Dec 2007
Posts: 1329
Location: Smithers, BC, Canada

PostPosted: Mon 08 Apr 2019, 08:32    Post subject:  

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/pet_packages-common/guess_fs-20130215-x86-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/pet_packages-slacko14.2/guess_fstype-20140626-i686_s700.pet and others are available in the slacko 14.2 directory.
Back to top
View user's profile Send private message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 869
Location: Philadelphia, PA

PostPosted: Mon 08 Apr 2019, 08:56    Post subject:
Subject description: ext4 problem?
 

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/pet_packages-common/guess_fs-20130215-x86-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/pet_packages-slacko14.2/guess_fstype-20140626-i686_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/viewtopic.php?p=1024624#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/pet_packages-common/guess_fs-20130215-x86-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:

-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, Ermine, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Mini 9, Acer Aspire One, EeePC 1018P
Back to top
View user's profile Send private message 
jrb


Joined: 11 Dec 2007
Posts: 1329
Location: Smithers, BC, Canada

PostPosted: Mon 08 Apr 2019, 09:25    Post subject:
Subject description: ext4 problem?
 

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.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14554
Location: Gatineau (Qc), Canada

PostPosted: Mon 08 Apr 2019, 11:26    Post subject:  

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:
#!/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:
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.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)

Last edited by musher0 on Mon 08 Apr 2019, 13:53; edited 1 time in total
Back to top
View user's profile Send private message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 869
Location: Philadelphia, PA

PostPosted: Mon 08 Apr 2019, 11:48    Post subject:
Subject description: ext4
 

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
Quote:
blkid -V
blkid from util-linux 2.27.1 (libblkid 2.27.0, 02-Nov-2015)


and
Quote:

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, Ermine, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Mini 9, Acer Aspire One, EeePC 1018P
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3089

PostPosted: Mon 08 Apr 2019, 12:45    Post subject:  

jrb wrote:

The guess_fs in Precise is from Puppy4 2008. http://distro.ibiblio.org/puppylinux/pet_packages-common/guess_fs-20130215-x86-static.pet

Sorry never realised will be such a fuss for this. Shocked
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.

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14554
Location: Gatineau (Qc), Canada

PostPosted: Mon 08 Apr 2019, 14:13    Post subject:  

Hello, all.

I installed Precise-light and this works:
Code:
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.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)

Last edited by musher0 on Mon 08 Apr 2019, 14:39; edited 1 time in total
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14554
Location: Gatineau (Qc), Canada

PostPosted: Mon 08 Apr 2019, 14:22    Post subject:  

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
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 1446
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Mon 08 Apr 2019, 14:36    Post subject:  

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/viewtopic.php?p=801162#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 .

.
Back to top
View user's profile Send private message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 869
Location: Philadelphia, PA

PostPosted: Mon 08 Apr 2019, 14:39    Post subject:  

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, Ermine, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Mini 9, Acer Aspire One, EeePC 1018P
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14554
Location: Gatineau (Qc), Canada

PostPosted: Mon 08 Apr 2019, 15:01    Post subject:  

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
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
jrb


Joined: 11 Dec 2007
Posts: 1329
Location: Smithers, BC, Canada

PostPosted: Mon 08 Apr 2019, 17:37    Post subject:  

mavrothal wrote:
jrb wrote:

The guess_fs in Precise is from Puppy4 2008. http://distro.ibiblio.org/puppylinux/pet_packages-common/guess_fs-20130215-x86-static.pet

Sorry never realised will be such a fuss for this. Shocked
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. Confused
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 17 [254 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 15, 16, 17 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0696s ][ Queries: 12 (0.0084s) ][ GZIP on ]