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 Wed 22 Jan 2020, 01:30
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
EasyOS Pyro 1.3, Buster 2.2, December 27, 2019
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 96 of 149 [2228 Posts]   Goto page: Previous 1, 2, 3, ..., 94, 95, 96, 97, 98, ..., 147, 148, 149 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 5453
Location: Ontario

PostPosted: Sat 09 Mar 2019, 16:48    Post subject:  

blg wrote:

WKG_DIR='easy/'
Also fails in upgrade and frugal installation.



Reading thru the instructions Barry wrote for mele computer...


Quote:
The little tweak that you can do is open BOOT_SPECS in a text editor and specify a directory for WKG_DIR:
WKG_DIR='easy'

_____________________________________
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3717

PostPosted: Sat 09 Mar 2019, 19:34    Post subject:  

The boot and working partitions can be the same. I have vmlinuz, initrd and easy.sfs installed on sda1 in a /easy/1.0.11 folder (and boot using grub4dos).

If using ext4 however and desiring encryption ??? Then I guess they'd have to be separate partitions.
capture14626.png
 Description   
 Filesize   74.02 KB
 Viewed   329 Time(s)

capture14626.png


_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3717

PostPosted: Sat 09 Mar 2019, 21:41    Post subject:  

Is youtube-dl working in 1.0.11 ? (I suspect not, but presently I'm booted into 1.0 and doing a big/long mp4 conversion so I can't test it currently). Not seen it work in any post 1.0 version so far. I tend to use OpenBSD for that, as its reliable. Given that youtube-dl changes often I believe they pull the executable down (???). Looking at their code within youtube-dl ...

Code:
#!/usr/local/bin/python3.6
# EASY-INSTALL-ENTRY-SCRIPT: 'youtube-dl==2019.1.17','console_scripts','youtube-dl'
__requires__ = 'youtube-dl==2019.1.17'
import re
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(
        load_entry_point('youtube-dl==2019.1.17', 'console_scripts', 'youtube-dl')()
    )

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
jd7654

Joined: 06 Apr 2015
Posts: 297

PostPosted: Sat 09 Mar 2019, 22:11    Post subject:  

Manual frugal install to HD, copied files out of 1.0.11 img file from an within older Easy OS.

Couldn't figure out why was failing to boot, until I realized the UUID I was pasting in was upper case and the BOOT_SPECS needs lower case letters. Maybe can add a tr A-Z a-z to that.

Couple of sound issues on two different systems.

One system sound works fine, Intel Skylake with Sunrise Point-LP HD Audio. But keep getting a pop-up window and cannot make go away, says:
"PN Mixer Error"
"Warning: Connection to sound system failed"

Didn't have this problem with Easy OS Ubuntu, only with Pyro.

Another system has sound problems with all Linux I tried, not just Easy OS, with an es8316 chip. But in Easy OS Ubuntu, Xine played a video file, just without sound. In Easy OS Pyro, Xine refuses to play video file with error "The audio device is unavailable. Please verify if another program already uses it."
Don't know if this is a compile option for Xine to ignore or not? But I do need to fix the es8316 issue anyway.
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9174
Location: Perth, Western Australia

PostPosted: Sun 10 Mar 2019, 03:18    Post subject: Re: .iso option
Subject description: running EasyOS exclusively in RAM
 

lp-dolittle wrote:
Hi Barry,

am I right to suppose that your - hopefully not final - decision to abandon the .iso option also means that it no longer will be possible to run EasyOS in RAM exclusively (for example for security reasons, repair, etcetera)?

For sure, this option would be highly appreciated by many EasyOS users who would like to dd the iso-image on a flash stick; but, of course, EsayOS is your OS, and we respect your decisions.

Do you have in mind to offer an alternative, an option to run EasyOS totally in RAM without any additionally attached drive and in absence of an internal hard disk?

kind regards


Actually, the usb-stick did have an option for the working-partition to be in zram, which meant that after bootup you could remove the usb-stick.

I implemented it a few versions back, never mentioned it, but now I have made changes and that won't work.

It would be easy to bring it back, but users such as rufwoof are happy with just rolling back to last snapshot at every bootup, which is just as secure.
Also, rufwoof does some extra checking, see his post above.

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9174
Location: Perth, Western Australia

PostPosted: Sun 10 Mar 2019, 03:25    Post subject:  

blgs wrote:
The working directoy was in my system:
WKG_DIR=' ' without '/' up to and including EasyOS 1.0.8.

But in EasyOs 1.0.11 it fails, both in upgrade and in fresh frugal installations.

WKG_DIR=' /' with '/'
Fails in EasyOs 1.0.11, in upgrade and in fresh frugal installations.

WKG_DIR='easy/'
Also fails in upgrade anf frugal installation.

Somewhere I'm doing something but what!.


OK, post the content of BOOT_SPECS.

For the partition where you have Easy installed, let's say sda3, return these results:

# blkid /dev/sda3
# ls /mnt/sda3

Or, if different boot-partition and working-partition, run 'blkid' and 'ls' on both.

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9174
Location: Perth, Western Australia

PostPosted: Sun 10 Mar 2019, 03:30    Post subject: Re: 1.0.11 SMPlayer  

Rodney Byne wrote:
To Barry,
whoops sorry, I've just found from the petget download, SMPlayer
doesn't launch as it says the QT5 script is missing.

As happens I had QT5-5.10.1-pyro64.pet on a backup files usb,
so installed that and SMPlayer then ran OK.
Regards.


OK, I need to recompile smplayer. Gnome-mpv and VLC were fixed, but they might not work if you have that qt5 pet installed.

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9174
Location: Perth, Western Australia

PostPosted: Sun 10 Mar 2019, 03:41    Post subject: Re: Firefox doesn't launch in 1.0.11  

rufwoof wrote:
Barry does a great job of producing new ideas and sharing those around with others, I for one greatly appreciate that, both learning new things and enjoying the ride. There's a tremendous amount of effort that goes on behind the scenes to get a working package, leaving it to others to polish that off for their own particular requirements/hardware. Have a read through James' FatDog blog article for instance. You shouldn't expect a out of the box quality end product - that's simply not the intent. Unless that is you are prepared to do the polishing and share that around with others and support it - despite more often taking flak for the things that don't work.


jame's post is quite long, I looked through it. Yes, that's it, when people are presented with an end-product, they often don't appreciate what went into creating it. Many months of work!

I will probably have to think about auto-updating of Firefox. Building a new SFS every time there is a new version, takes my attention away from working on improving Easy.

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9174
Location: Perth, Western Australia

PostPosted: Sun 10 Mar 2019, 03:44    Post subject:  

rufwoof wrote:
Forgot to mention that the .img.gz is a hybrid I believe anyway, so can be used to burn to optical.


No, it was the ISO that was the hybrid, you could write it to a USB stick.

Incidentally, you can still use the 1.0.8 ISO to boot on a PC, and then use the files out of the latest easy-*.img.gz for doing a frugal installation.
---that's if your PC cannot boot from USB.

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9174
Location: Perth, Western Australia

PostPosted: Sun 10 Mar 2019, 03:53    Post subject:  

rufwoof wrote:
If using ext4 however and desiring encryption ??? Then I guess they'd have to be separate partitions.


No, they can still be the same partition. Encryption capability has to be enabled in the ext4 filesystem, and I think that you can use Gparted to do that. It doesn't matter if it is an existing partition with other stuff in it.

However, you don't have to actually use encryption in the partition. You can selectively apply encryption to some folders, and that is what Easy does, to the 'releases', 'containers', 'home' and '.session', folders.

What Easy does at first bootup, is create those folders, and uses the 'e4crypt' utility to encrypt them. They have to be empty to do this.

From then on, a password is required to view the contents of those folders.

However, everything else in the partition is unaffected, unencrypted. For example, the 'sfs' folder is not encrypted.

In theory, you can create more encrypted folders in the partition, if you wanted to, you just have to learn how to use the 'e4crypt' utility -- study the 'init' script in the initrd to see an example of usage.

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9174
Location: Perth, Western Australia

PostPosted: Sun 10 Mar 2019, 03:56    Post subject:  

rufwoof wrote:
Is youtube-dl working in 1.0.11 ? (I suspect not, but presently I'm booted into 1.0 and doing a big/long mp4 conversion so I can't test it currently). Not seen it work in any post 1.0 version so far. I tend to use OpenBSD for that, as its reliable. Given that youtube-dl changes often I believe they pull the executable down (???). Looking at their code within youtube-dl ...

Code:
#!/usr/local/bin/python3.6
# EASY-INSTALL-ENTRY-SCRIPT: 'youtube-dl==2019.1.17','console_scripts','youtube-dl'
__requires__ = 'youtube-dl==2019.1.17'
import re
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(
        load_entry_point('youtube-dl==2019.1.17', 'console_scripts', 'youtube-dl')()
    )


Yeah, the youtube-dl GUI really should have an "Update" button.

Youtube.com shifts the goal posts periodically, so as to thwart downloaders like youtube-dl.

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9174
Location: Perth, Western Australia

PostPosted: Sun 10 Mar 2019, 04:02    Post subject:  

jd7654 wrote:
Couldn't figure out why was failing to boot, until I realized the UUID I was pasting in was upper case and the BOOT_SPECS needs lower case letters. Maybe can add a tr A-Z a-z to that.


I am puzzled by this. At bootup, Easy uses the busybox 'blkid' applet to read UUIDs and look for matches with $BOOT_UUID and $WKG_UUID

'blkid' returns all letters in lower-case. What utility shows them in upper-case?

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9174
Location: Perth, Western Australia

PostPosted: Sun 10 Mar 2019, 04:07    Post subject:  

I am just about to embark on another iteration of rethinking how the initrd works, aiming for more simplification.

I will also have another look at the script that "fixes" BOOT_SPECS inside initrd, aiming for it to be automatic and accurate.

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Sage

Joined: 04 Oct 2005
Posts: 5507
Location: GB

PostPosted: Sun 10 Mar 2019, 04:26    Post subject:  

Quote:
You shouldn't expect a out of the box quality end product - that's simply not the intent. Unless that is you are prepared to do the polishing and share that around with others and support it - despite more often taking flak for the things that don't work.

Completely missing the point. There are more putative users than fixit gurus. Innovative solutions are always welcome and appreciated, but distros cited on DW may reasonably be expected to function as advertised.
When Linux first appeared in the early '90s, it was hailed as a route out from the beast. But, it needed development and was unsuitable for the unwashed masses. There followed a long period of gestation in which gurus, mainly, academics, were accused of 'talking amongst themselves'. Whilst they were entirely entitled to so do, it didn't help the industry rid itself of the people's enemy. Eventually, matters settled and distros started appearing suitable for the masses. This was a major breakthrough, and more or less remains so. Fora like this were established wherein updates, fixes and helpful assistance could be had for those either less capable or utterly disinterested in back office machinations. These are your customers, they represent the vast majority. In mitigation, they are not asked for dollaria up-front, so there exists something of a dichotomy between hobbyists sharing their wares gratis and users eager to enjoy their offerings. The question remains as to where the great divide lies. Perhaps in a perfect world SW should be state-funded? That's how it started when GB invented computers at Bletchley and developed the technology at ICL long before our transatlantic allies, despite their claims, got a foothold having traded food for our IPR...
Back to top
View user's profile Send private message 
blgs

Joined: 07 Dec 2018
Posts: 33

PostPosted: Sun 10 Mar 2019, 05:20    Post subject: installation problems EASYos 1.0.11  

BarryK wrote:
blgs wrote:
The working directoy was in my system:
WKG_DIR=' ' without '/' up to and including EasyOS 1.0.8.

But in EasyOs 1.0.11 it fails, both in upgrade and in fresh frugal installations.

WKG_DIR=' /' with '/'
Fails in EasyOs 1.0.11, in upgrade and in fresh frugal installations.

WKG_DIR='easy/'
Also fails in upgrade anf frugal installation.

Somewhere I'm doing something but what!.


OK, post the content of BOOT_SPECS.

For the partition where you have Easy installed, let's say sda3, return these results:

# blkid /dev/sda3
# ls /mnt/sda3

Or, if different boot-partition and working-partition, run 'blkid' and 'ls' on both.



See below as requested for EASYOS 1.0.8 and EASY 1.0.11.
I shall try again to upgrade to 1.0.11 .

QUOTE
EASYOS 1.0.8

BOOT_DISKID='0x02509f4a'
BOOT_PARTNUM=1
BOOT_FS='vfat'
BOOT_DIR=''
WKG_DISKID='0x02509f4a'
WKG_PARTNUM=2
WKG_FS='ext4'
WKG_DIR=''
INIT_DISTRO_VERSION=1.0.8
INIT_DISTRO_BINARY_COMPAT='oe'
INIT_DISTRO_COMPAT_VERSION='pyro'
INIT_DISTRO_TARGETARCH='amd64'
INIT_LANG='nl_NL.UTF-8'

# ls /dev/mmcblk0p2
/dev/mmcblk0p2
# ls /dev/mmcblk0p1
/dev/mmcblk0p1

# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 58,2 GiB, 62537072640 bytes, 122142720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x02509f4a

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 2048 1310719 1308672 639M ef EFI (FAT-12/16/32)
/dev/mmcblk0p2 1310720 122142719 120832000 57,6G 83 Linux


EASYOS 1.0.11

BOOT_UUID='1D44-5E30'
BOOT_PARTNUM=1
BOOT_DIR=''
WKG_UUID='63f3c28c-159e-4e8a-8dfd-8899e402d2cc'
WKG_PARTNUM=2
WKG_DIR=''
INITRD_X_GUI='yes'

# ls /dev/mmcblk0p1
/dev/mmcblk0p1
# ls /dev/mmcblk0p2
/dev/mmcblk0p2

# blkid
/dev/mmcblk0p2: LABEL="easy2" UUID="63f3c28c-159e-4e8a-8dfd-8899e402d2cc" TYPE="ext4"
/dev/mmcblk0p1: LABEL="easy1" UUID="1D44-5E30" TYPE="vfat"
/dev/loop0: TYPE="squashfs"

UNQUOTE
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 96 of 149 [2228 Posts]   Goto page: Previous 1, 2, 3, ..., 94, 95, 96, 97, 98, ..., 147, 148, 149 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.1859s ][ Queries: 12 (0.0534s) ][ GZIP on ]