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 Tue 20 Nov 2018, 09:17
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
BionicDog (updated: 2018-06-04)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 23 of 45 [663 Posts]   Goto page: Previous 1, 2, 3, ..., 21, 22, 23, 24, 25, ..., 43, 44, 45 Next
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 3544
Location: holland

PostPosted: Sun 10 Jun 2018, 17:35    Post subject:  

Hi RSH,

RemasterDog makes a remaster of the full system "/", including changes and loaded extra modules.

RemasterCow (COW=CopyOnWrite) makes a module from the save-folder or save-file.

I'd say use one or the other, not both, probably your 01-remaster.squashfs has already the changes included same as in 02-changes.squashfs

Quote:
I suspect when using 01-remaster.squashfs the OS will run on this machine only?


Not sure what you mean. Why would it ?

Quote:
When copying e.g. 02-changes.squashfs to the location of 01-filesystem.squashfs shall I remove everything from directory 'changes' before doing a reboot?


Yes, the 02-changes.squashfs has the changes already, so it would be waste of space if you keep the old changes.
I would not remove content of 'changes' while running the system, there's Menu entry "Clear changes at reboot", better use that.

There's more to say about this all, it's a bit late here, so keeping it short.
I admit it can be confusing how to use these options. (BTW, there's also "Quick-Remaster Gui" which is more convenient to use then RemasterDog)

P.S. I wouldn't recommend using RemasterCow (and loading e.g. 02-changes.squashfs) if your changes contain installed programs with apt-get or synaptic, specially if you kept the checkbox checked "Disable dpkg registration", then the package management doesn't know about these programs.
(for personal changes, added files, configuration etc... it's OK to use it)

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 465

PostPosted: Sun 10 Jun 2018, 19:16    Post subject:  

Thanks for the reply. Smile

Quote:
Not sure what you mean. Why would it ?

I just thought this remaster is equal to puppy remaster with full customized /etc? So, all devices and its settings are customized dependent on the machine doing the remaster?

Ok, as I do understand this so far, .squashfs is equal to .sfs (just a different extension?) and I can create .squashfs files manually, naming them 03-blabla..squashfs, 04-somemoreblabla..squashfs and so on, placing them to the location of 01-filesystem.squashfs and they will load at boot?

If so, which one would be on top layer?

Sorry for so many questions, but I really like this OS and there is a learning curve for me to achieve my goals, since there's many stuff different to puppy. It took me hours to manipulate the Openbox Menu to have a quick-start menu for some preferred applications.

Currently I got a complete Audio Studio running in BionicDog on a Samsung N150 Netbook, including QJackCtl, QTractor, QSynth (ZynAddSubFx is too resource hungry unfortunately), JACK Mixer, Hydrogen (not completely tested yet) and Audacity to record and mix down.

That's really pretty cool! Cool Very Happy

Btw.: when the Samsung N150 turns out to be ready and able for the use as portable Audio Studio e.g. playing sequences to make me able to perform some live drumming to these sequences, I will do a Video about the ability of BionicDog as portable Audio Studio on a Samsung N150 Netbook.

So, thumbs pressed !?

_________________
RSH
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1152

PostPosted: Sun 10 Jun 2018, 19:54    Post subject:  

Quote:
If so, which one would be on top layer?


The *.squashfs files in the /casper (or /live in debian) are loaded in alpha numeric order.

So, 01-filesystem.squashfs would be loaded and then 99-vlic.squashfs would be loaded. In other words, 99-vlc.squashfs would be loaded on top of 01-filesystem.squashfs.

If you load them on-the-fly after you start, then it gives you the choice. If you choose "safe activate" it is loaded underneath, otherwise it is loaded on top.

Definitely give the "Quick Remaster" a try. It is very good.
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2645

PostPosted: Sun 10 Jun 2018, 20:30    Post subject:  

Quote:
The *.squashfs files in the /casper (or /live in debian) are loaded in alpha numeric order.

You can specify which sfs files get loaded and in what order ... see the manual page for liveboot (extract below)
Quote:
live/filesystem.module
This optional file (inside the live media) contains a list of
white-space or carriage-return-separated file names corresponding
to disk images in the "/live" directory. If this file exists, only
images listed here will be merged into the root aufs, and they will
be loaded in the order listed here. The first entry in this file
will be the "lowest" point in the aufs, and the last file in this
list will be on the "top" of the aufs, directly below /cow.
Without this file, any images in the "/live" directory are loaded
in alphanumeric order.

That's for Ubuntu, Debian have similar (I thought the filename listing sfs's was just called filesystem, so check the specific detail as appropriate for your installation).
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 465

PostPosted: Mon 11 Jun 2018, 01:47    Post subject:  

Thanks @rufwoof and @dancytron! Smile

I will try Quick-Remaster Gui soon...

_________________
RSH
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3544
Location: holland

PostPosted: Mon 11 Jun 2018, 03:20    Post subject:  

ITSMERSH wrote:
Ok, as I do understand this so far, .squashfs is equal to .sfs (just a different extension?) and I can create .squashfs files manually, naming them 03-blabla..squashfs, 04-somemoreblabla..squashfs and so on, placing them to the location of 01-filesystem.squashfs and they will load at boot?

Yes, but, as I said, then 03-blabla..squashfs or 04-... better should not contain packages registration, unless you know exactly what you're doing, the package management in the Dogs is very strict and can be easily confused (or even worse, broken). This is a main difference with Puppy.

Quote:
Quote:
Not sure what you mean. Why would it ?

I just thought this remaster is equal to puppy remaster with full customized /etc? So, all devices and its settings are customized dependent on the machine doing the remaster?

Ah, I see, no, it's works different than in Puppy. Nothing dependent on the machine AFAIK (although maybe it can be in some cases, depending on how things are configured, e.g. blacklisted drivers).
EDIT: Oh, and the script does some cleaning, e.g. remove /etc/resolv.conf and more)

Quote:
Btw.: when the Samsung N150 turns out to be ready and able for the use as portable Audio Studio e.g. playing sequences to make me able to perform some live drumming to these sequences, I will do a Video about the ability of BionicDog as portable Audio Studio on a Samsung N150 Netbook.


That would be nice ! Smile

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 465

PostPosted: Wed 13 Jun 2018, 04:53    Post subject:  

Hi.

I tried 'Quick-Remaster Gui', but when rebooting systemd complained about missing libip4tc and booting was stopped/halted... Confused

Don't know if it would complain about other missing libraries...

_________________
RSH
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2272
Location: In The Way

PostPosted: Wed 13 Jun 2018, 10:47    Post subject:  

Now ... Wifi-TrayNet has conflicting deps removed from control file. But will use dhcpcd5 if installed udhcpc if not.

If Wifi-TrayNet autoconnect feature is enabled a selection gui will open offering to backup peasywifi_auto to exauto, and install Wifi-TrayNet autocon. The selection is a checkbox. If unchecked peasywifi_auto will be restored and Wifi-TrayNet auotocon will be removed.

I have taken the udhcpc command from peasywifi, as it is better than mine. I have included in /lib udhcpc and dhcpcd hookscripts. Also the IP-Info script from peasy has been modified with geometry recorder functionality (/usr/sbin/Wifi-Ipinfo to remember position and size.

iPhone lib and manpages have been removed.

I did a lot of testing after de-bugging and optimising, on BionicDog, to make sure it works properly.

When changing interface, two small guis open one is the svg image selector, the other is a text only selector ... this latter can remain open and just selecting interface will change it ... especially useful with continuous scanning-tooltip which has a tray icon countdown from 9 to 0. Change interface for each scan (gimmicky)!

This .deb is in fact noarch.

EDIT: If peasywifi happens to get uninstalled then Wifi-TrayNet does not find udhcpc in path, so need to specify busybox udhcpc in script!
Not only that but during refinement and debugging the cursor gets lost in geany, while I assume it is positioned for the next key stroke, be it deletion or correction, and lo and behold, the damned thing is NOT where I placed it ... and another bug arises ... fu**k fu**k fu**k fu**k FU**K! Sorted now, but really!
wifi-traynet_2.8_i386.deb.gz
Description 
gz

 Download 
Filename  wifi-traynet_2.8_i386.deb.gz 
Filesize  140.79 KB 
Downloaded  53 Time(s) 
2018-06-13-153951_56x41_scrot.png
 Description   
 Filesize   3.15 KB
 Viewed   389 Time(s)

2018-06-13-153951_56x41_scrot.png

2018-06-13-152221_746x405_scrot.png
 Description   
 Filesize   91.99 KB
 Viewed   394 Time(s)

2018-06-13-152221_746x405_scrot.png

2018-06-13-151940_345x542_scrot.png
 Description   
 Filesize   89.64 KB
 Viewed   384 Time(s)

2018-06-13-151940_345x542_scrot.png

2018-06-13-145844_669x406_scrot.png
 Description   
 Filesize   72.75 KB
 Viewed   396 Time(s)

2018-06-13-145844_669x406_scrot.png

2018-06-13-145849_669x406_scrot.png
 Description   
 Filesize   69.42 KB
 Viewed   397 Time(s)

2018-06-13-145849_669x406_scrot.png


Last edited by stemsee on Fri 15 Jun 2018, 04:55; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger 
fredx181


Joined: 11 Dec 2013
Posts: 3544
Location: holland

PostPosted: Wed 13 Jun 2018, 18:14    Post subject:  

@ITSMERSH

Quote:
I tried 'Quick-Remaster Gui', but when rebooting systemd complained about missing libip4tc and booting was stopped/halted... Confused

Don't know if it would complain about other missing libraries...


That's bad, I can't reproduce, because I don't know what you did exactly, always worked fine for me.
Did you find the (older) 01-filesystem.squashfs.bak file (or changes.bak, if you choose to backup changes) to be able to restore to how it was before running the remaster ?
And did you have the same problem when you booted with remaster created by RemasterDog ?

@stemsee, thanks for new Wifi-TrayNet, I will test one of these days.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 996
Location: not Bulgaria

PostPosted: Wed 13 Jun 2018, 19:37    Post subject:  

ITSMERSH wrote:
Hi.

I tried 'Quick-Remaster Gui', but when rebooting systemd complained about missing libip4tc and booting was stopped/halted... Confused

Don't know if it would complain about other missing libraries...


I can confirm, at least for XenialDog64, that quick remaster has always worked fine for me (and I've remastered often). I always get it to automatically remove the changes folder - maybe there would be problems if the old one was also left behind? And always the old 01-filesystem.squashfs is created as a backup file for the rare occasion when I want to go back to that one (though in my usage, I've lost the previous changes folder of course).

As far as I remember, if the quick-remaster has finished it automatically reboots (though I may be wrong about that). Come to think of it, there may have been one time a remaster failed for me - can't say why that would be though - I'm always careful to sync a few times before I do anything major and I leave the quick remaster program alone without doing anything further on the system whilst it is doing its business. I usually use lz4 compression choice.

I'm wondering if there is a possibility a quick remaster might fail if /tmp RAM space is running out? In which case one of the tricks to increase tmpfs RAM (or whatever it is), that I can't recall, might help?

Definitely would be a good idea to make a backup of the changes folder before trying, since having problems with it. And maybe try it with a small changes folder first just to make sure it is basically working before trying a major changes remaster?

My current XenialDog64 lz4-compressed 01-filesystem.squashfs is just over 1 GB in size, so you can see it's had quite a major remaster at some point.

wiak
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 465

PostPosted: Thu 14 Jun 2018, 00:36    Post subject:  

@wiak, @fredx181,

I'm sorry, but this was just a stupid fault by myself.

I happen to have a GIMP .sfs (renamed to .squashfs) loaded at remaster. That GIMP .sfs included a symbolic link /usr/lib/i386-linux-gnu which points to /usr/lib (this is in all Puppies, so I created my PaDS to move everything from /usr/lib/i386-linux-gnu to /usr/lib, remove /usr/lib/i386-linux-gnu and make it a symbolic link to /usr/lib).

It just sat on top at remaster, so everything from /usr/lib/i386-linux-gnu didn't make it into the remastered .squashfs. Rolling Eyes

Thanks.

_________________
RSH
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3544
Location: holland

PostPosted: Thu 14 Jun 2018, 10:20    Post subject:  

ITSMERSH wrote:
@wiak, @fredx181,

I'm sorry, but this was just a stupid fault by myself.

I happen to have a GIMP .sfs (renamed to .squashfs) loaded at remaster. That GIMP .sfs included a symbolic link /usr/lib/i386-linux-gnu which points to /usr/lib (this is in all Puppies, so I created my PaDS to move everything from /usr/lib/i386-linux-gnu to /usr/lib, remove /usr/lib/i386-linux-gnu and make it a symbolic link to /usr/lib).

It just sat on top at remaster, so everything from /usr/lib/i386-linux-gnu didn't make it into the remastered .squashfs. Rolling Eyes

Thanks.

Ah, thanks, that's a relief Wink Yes, watch out with adding SFS's made for Puppy, better use apt2sfs or repo2sfs to create a module (which then includes the packages made for Bionic, so gives more chance to work and avoid problems).

@stemsee
I tried Wifi-TrayNet, sorry to say, but it didn't work for me, no connection could be made for wlan0.
But maybe it's me, I found some things very confusing and complicated, also the timeout dialogs gave me sort of a stress.
Here's output from terminal (I did several things after creating the profile, e.g. reconnect etc..):

Code:
root@live:~# '/usr/sbin/Wifi-TrayNet'
cat: /root/.wifi-connect/geometry/: No such file or directory
Warning: Missing charsets in String to FontSet conversion
no eth1
no usb0
cat: /tmp/Wifi-TrayNet/exip: No such file or directory
cat: /root/.wifi-connect/geometry/Try-Profiles: No such file or directory
xwininfo: error: No window with name "External-Ip-Address" exists!
xwininfo: error: No window with name "External-Ip-Address" exists!
cat: /tmp/Wifi-TrayNet/netsel: No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    14  100    14    0     0     44      0 --:--:-- --:--:-- --:--:--    44
curl: no process found
xwininfo: error: No window with name "Try-Profiles" exists!
xwininfo: error: No window with name "Try-Profiles" exists!
sed: -e expression #1, char 3: extra characters after command
cat: '/root/.wifi-connect/static/"UPC44685"': No such file or directory
environment: line 35: xvkbd: command not found
cat: '/root/.wifi-connect/geometry/Configuration-&-Connection': No such file or directory

(yad:6498): Gtk-WARNING **: 15:20:17.618: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as &

(yad:6498): Gtk-WARNING **: 15:20:17.619: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as &
xvkbd: no process found
Successfully initialized wpa_supplicant
Line 7: Invalid BSSID '"UPC44685"'.
Line 7: failed to parse bssid '"UPC44685"'.
Line 15: failed to parse network block.
Failed to read or parse configuration '/tmp/Wifi-TrayNet/netsel'.
Successfully initialized wpa_supplicant
Line 7: Invalid BSSID '"UPC44685"'.
Line 7: failed to parse bssid '"UPC44685"'.
Line 15: failed to parse network block.
Failed to read or parse configuration '/tmp/Wifi-TrayNet/netsel'.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: icanhazip.com
curl: no process found
Successfully initialized wpa_supplicant
Line 7: Invalid BSSID '"UPC44685"'.
Line 7: failed to parse bssid '"UPC44685"'.
Line 15: failed to parse network block.
Failed to read or parse configuration '/tmp/Wifi-TrayNet/netsel'.
cat: /root/.wifi-connect/geometry/External-Ip-Address: No such file or directory
xwininfo: error: No window with name "External-Ip-Address" exists!
xwininfo: error: No window with name "External-Ip-Address" exists!
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: icanhazip.com
curl: no process found
sed: -e expression #1, char 3: extra characters after command
cat: '/root/.wifi-connect/static/"UPC44685"': No such file or directory
environment: line 35: xvkbd: command not found


Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 465

PostPosted: Thu 14 Jun 2018, 16:16    Post subject:  

Hi.

Is there a counterpart to:

- /etc/profile
- /etc/rc.d/rc.local
- /etc/Puppybackgroundpicture

from Puppy in BionicDog

or in other words:

- how can I pack/unpack the initrd1.xz
- where can I "jump in" to modify stuff at boot up
- where is the settings for a new defined wallpaper stored

???

Be aware, I will come up with some more of these questions... Very Happy

_________________
RSH
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3544
Location: holland

PostPosted: Thu 14 Jun 2018, 17:02    Post subject:  

Hi RSH,
Quote:
Is there a counterpart to:

- /etc/profile
- /etc/rc.d/rc.local
- /etc/Puppybackgroundpicture

/etc/profile = the same
/etc/rc.d/rc.local = /etc/rc.local
/etc/Puppybackgroundpicture = I don't know
Quote:
how can I pack/unpack the initrd1.xz

- Create folder, for example: bionic32
- Copy the initrd1.xz inside it
- Then from terminal inside bionic32
To unpack:
Code:
xz -dc initrd1.xz | cpio -i

To pack again to parent folder of bionic32 (but remove old ./initrd1.xz first):
Code:
find . -print | cpio -o -H newc 2>/dev/null | xz -f --extreme --check=crc32 > ../initrd1.xz

Quote:
where can I "jump in" to modify stuff at boot up

In:
~/Startup
/etc/rc.local
/etc/init.d/ (boot scripts)
Quote:
where is the settings for a new defined wallpaper stored

That depends on which Desktop mode, e.g plain openbox (with tint2) or openbox with rox-pinboard, or pcmanfm providing the Desktop (with "Desktop Manager" you can switch these).
openbox (with tint2) = ~/.config/nitrogen/bg-saved.cfg
openbox with rox-pinboard = ~/.config/rox.sourceforge.net/ROX-Filer/pinbd-OB
pcmanfm providing the Desktop = ~/.config/pcmanfm/default/desktop-items-0.conf [EDITED] previously was wrong

Fred

_________________
Dog Linux website

Last edited by fredx181 on Thu 14 Jun 2018, 17:48; edited 1 time in total
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 465

PostPosted: Thu 14 Jun 2018, 17:29    Post subject:  

Hi fredx181,

I found /etc/profile (first I searched for it in casper's changes directory Rolling Eyes )

Directory /etc/rc.d only includes rc.network, So when I'm creating /etc/rc.d/rc.local its content will be executed at boot?

I'm using the Openbox/Tint2 desktop combination and searched the places/files you mentioned. My wallpaper is /opt/docs/pictures/development.jpg and the changes on the wallpaper is stored, so it's visible after a reboot.

Found the wallpaper in /root/.config/nitrogen/bg-saved.cfg after reboot. Before reboot after changing the wallpaper it wasn't there, so I was a little confused. I'm saving only on exit/reboot, which could be a reason for confusing.

Pcmanfm doesn't provide the wallpaper - even after reboot.

Code:
[config]
bm_open_method=0

[volume]
mount_on_startup=1
mount_removable=1
autorun=1

[ui]
always_show_tabs=0
max_tab_chars=32
win_width=810
win_height=464
splitter_pos=150
media_in_new_tab=0
desktop_folder_new_win=0
change_tab_on_drop=1
close_on_unmount=1
focus_previous=0
side_pane_mode=places
view_mode=compact
show_hidden=1
sort=name;ascending;
toolbar=newtab;navigation;home;
show_statusbar=1
pathbar_mode_buttons=0

Thanks

_________________
RSH
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 23 of 45 [663 Posts]   Goto page: Previous 1, 2, 3, ..., 21, 22, 23, 24, 25, ..., 43, 44, 45 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1224s ][ Queries: 15 (0.0194s) ][ GZIP on ]