XenialDog (Ubuntu 16.04 'Xenial Xerus' LTS, 32-bit)

A home for all kinds of Puppy related projects
Message
Author
zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

zramswap

#581 Post by zagreb999 »

where is zramswap???

it does not exist!

zram in xenialdog does not work!

regards...

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#582 Post by backi »

Hi !

did you install (with Synaptic ) zram-config ? How to ?

apt-get update
apt-get install zram-config
apt-get clean

Save ----reboot .....
After reboot look if zram is active
in Terminal :
swapon -s

I am now posting from Debian Dog .......mine looks like that :

root@jessie:~# swapon -s
Filename Type Size Used Priority
/dev/zram0 partition 767600 0 10
/dev/sda8 partition 2614268 0 -1

You see /dev/zram shows 767600 0 -1

An Increase in Ram will also be also indicated in Htop .....also look Conky for SWAP .
Go also looking after installation/reboot in /etc/init/zram.config.conf

try also in Terminal :

exec /usr/bin/init-zram-swapping -----for activating
exec /usr/bin/end-zram-swapping-----for deactivating

........watch Difference in Htop/Conky .

Maybe you can try also toput a small script in Startup Folder like this :

#!/bin/sh
exec /usr/bin/init-zram-swapping

Regarding Zswap ........as far as i understood ....Zram and Zswap shall not be used together.......but you have to do your own Research.I dont use Zswap.
My Machine has a single Core Processor with 1gig of Ram.
Zram makes it more fluid somehow ...it does help ..(also have a a 2 gig Swap Partition too on my Hardrive .( in case ...rarely needed )
In Xenial after installing zram-config and rebooting it should work automatically .

For deactivating Zram manually make a script :
swapoff /dev/zram0 (make it executable )

For activating Zram manually make a script :
swapon /dev/zram0 (make it executable )

Test it ....watch Htop >ram -----Increase /decrease

To activate /deactivate normal Swap Partition :
swapoff /dev/sdax
swapon /dev/sdax

To avoid unnecessary swapping set Swappiness to 10....

go look Google for .."How to use Swap and setting Swappiness....
( I am posting from Debian Dog now .....Xenial may be a bit different ).
In Debian Dog activating Zram is also bit different .
In case you have Questions feel free to ask .
Last edited by backi on Wed 10 May 2017, 07:40, edited 1 time in total.

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

zram

#583 Post by zagreb999 »

backi thanks, thanks...!!!

zram works!
Attachments
snapshot3.jpeg
screen
(79.38 KiB) Downloaded 152 times

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#584 Post by backi »

Fine Zagreb :D

Better change in /etc/syscontrol.conf
add at the Bottom of syscontrol.conf this:

vm.swappiness=10
vm.vfs_cache_pressure=50

sometimes it will not be permanent....
better go (with Pcmanfm.... not Rox )

/proc/sys/vm/swappiness

just type in: 10
save

Reason:
as stated above

But dont forget :
if you have mor than 2 Gigs of Ram.....Zram is not recommended

User avatar
Max Headroom
Posts: 421
Joined: Wed 28 Jun 2006, 07:17
Location: GodZone Kiwi
Contact:

#585 Post by Max Headroom »

Progress So Far Guys, eNLightenment Working Great, Different Background Wallpapers per Virtual Desktop Working Great, All Educational Software installed Great, Chrome & Chromium Parked in the Too Hard basket, Besides Much as I like the Familiarity & Comfy Old Slippers Objective of ChromeBook, the Chrome Browser itself is such a Resource Hog! making it Unsuitable & Unsatisfactory 4 Old Refurbished Hardware.

So Accordingly I have 2 Compromise & Settle 4 a Chrome Book Look & Feel Rather than CB Behaviour or Characteristics of which the Most Obvious Actions involves Deleting Desktop icons, Any Further Suggestions Welcome...

Altho I Do Personally Miss & Like the Original info that was on the Rite hand side of the Screen & Wunder How 2 Call that on Demand?

Finally I've Tried 2 ReMaster this & Create an iso File, But in Vain... Any Help on this wood be Appreciated

:)K

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#586 Post by backi »

Hi Max !
Finally I've Tried 2 ReMaster this & Create an iso File, But in Vain... Any Help on this wood be Appreciated
Fred advised me to use Isomaster and gave me instructions to make an Iso from remastered OS .
But never succeeded with that .So i requested to implement a tool for making Iso from remastered System .Something like Live-Remaster and Snapshot .
Maybe your Request will be also some Motivation for someone to look for that .

Regards !

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#587 Post by backi »

Hi Max !
It`s me again .....
Maybe have a look here :

How to create an iso from current installation .

https://askubuntu.com/questions/534210/ ... stallation

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#588 Post by fredx181 »

Hi backi,

I think it will be possible to extend quick-remaster with option yes/no for creating ISO, or perhaps you have other suggestion?

Fred

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#589 Post by backi »

Hi fred !

I am deeply impressed .
What a service here ....!!! :D :D
Sounds like the perfect Solution ,,,,,,,,,,

My Rating :

10 Stars : :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#590 Post by fredx181 »

Hi backi and everyone,

To create ISO from frugal install (e.g. after remaster) install latest package quick-remaster (1.0.7):

Code: Select all

apt-get update
apt-get install quick-remaster
It requires extra dependencies: xorriso and isolinux (these will automatically install)
Added option (checkbox) in Quick-Remaster GUI at the bottom, see 2nd screenshot

Includes also 'mkiso' script see Menu > System > Make ISO from frugal install
This works for both boot-methods; casper-boot and porteus-boot (quick-remaster works only with porteus-boot)

EDIT: For info, /usr/local/isodata contains the skeleton for the ISO creation, if you want to modify something, e.g. the boot entries for the ISO, edit /usr/local/isodata/isolinux/live.cfg before creating the ISO

Fred
Attachments
2017-05-12-173912_529x612_scrot.png
Make ISO from frugal install
(197.46 KiB) Downloaded 1108 times
2017-05-12-173609_298x43_scrot.png
New: Checkbox to create ISO after quick-remaster
(3.4 KiB) Downloaded 656 times

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#591 Post by backi »

Hi fred !

Fine !....and thanks !!

Tried to make an Iso from my running System which booted from Usb Stick ...
but did run out of Space........so i want to ask you please ,if you could make the script give a Chance to choose on which Partition the Iso will be created and stored ( if possible-probably ) .

Despite this minor Flaw ...super .......
I think this Script/Tool is another shining Gem (one of the many ) in this sophisticated Piece of Art .......of " High Class " Linux Projects ........

I don`t want to exaggerate but just my opinion...... "The Dugs " are setting somehow a certain Standard .

Have a nice Day fred !
Last edited by backi on Sat 13 May 2017, 18:59, edited 1 time in total.

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#592 Post by backi »

Deleted
Last edited by backi on Sat 13 May 2017, 18:50, edited 1 time in total.

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#593 Post by backi »

deleted
Last edited by backi on Sat 13 May 2017, 18:51, edited 1 time in total.

User avatar
Max Headroom
Posts: 421
Joined: Wed 28 Jun 2006, 07:17
Location: GodZone Kiwi
Contact:

#594 Post by Max Headroom »

G'day All, Looks like I've Lost Synaptic Package Manager w/ the switch 2 eNLightenment :cry:

Also I've Run the Quick-Remaster, But can't find the Location where the iso is...?

:? K

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#595 Post by backi »

Max you can find the Iso in the live folder .
If you are now in E17 ......your looking for Synaptic ....maybe try "Everything Starter " invoked by ALT/ESC .......type in syn.......if Synaptic is shown select it and hit ENTER ( if Synaptic is not lost somehow )

Seems fred already change the Script with Opportunity to select where to place the Iso .
Look here :
http://www.murga-linux.com/puppy/viewto ... &start=315
Last edited by backi on Sat 13 May 2017, 19:18, edited 1 time in total.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#596 Post by fredx181 »

Hi backi,
Max you can find the Iso in the live folder
It's in the 'casper' folder (for Ubuntu it's 'casper' and for Debian it's 'live'

I modified mkiso, is yad GUI now (Menu > System > Make ISO from frugal install) to have choice of partition to create the ISO on (will be on the 'root' of the partition)
Quick-remaster is unchanged

Install new version 1.0.8

Code: Select all

apt-get update
apt-get install quick-remaster
Edit: I would advice to never mix Ubuntu and Debian packages, e.g. don't install a package from Xenialdog in DebianDog (and the other way around)
Edit2: I made small mistake in the gui of Make ISO from frugal install:
The text "Choose drive to create module on" should be "Choose drive to create ISO on"
(Oh well, I'll change that someday, not very important)

Fred
Attachments
make_iso.png
Menu > System > Make ISO from frugal install
(37.49 KiB) Downloaded 490 times

User avatar
Max Headroom
Posts: 421
Joined: Wed 28 Jun 2006, 07:17
Location: GodZone Kiwi
Contact:

#597 Post by Max Headroom »

G'day Guys, Looks like I'm still Challenged w/ the Config of Me Save Folder, the Mount Wizard knows that I've Got 50Gb of Space Available, But had the Attached Warning Not Enough Space on the Device.

This is a Frugal install & Grub4Dos as Below...

# menu.lst produced by grub4dosconfig-v1.7
color white/blue black/cyan white/black cyan/black
timeout 5
default 2

title XenialDog - porteus-boot Always Fresh
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz from=/ nomagic base_only norootcopy
initrd /casper/initrd1.xz

title XenialDog - porteus-boot in RAM (no save)
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz from=/ copy2ram
initrd /casper/initrd1.xz

title XenialDog - porteus-boot - save on EXIT changes=/changes folder
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz from=/ noauto changes=EXIT:/
initrd /casper/initrd1.xz

title XenialDog - porteus-boot - in RAM save on EXIT changes=/changes.dat file
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz from=/ noauto copy2ram changes=EXIT:/changes.dat
initrd /casper/initrd1.xz

title XenialDog - porteus-boot - changes=/changes.dat file
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz noauto from=/ changes=/changes.dat
initrd /casper/initrd1.xz

title XenialDog - porteus-boot in RAM - changes=/changes folder
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz noauto from=/ copy2ram changes=/
initrd /casper/initrd1.xz

title XenialDog - casper-boot no-persistent
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz boot=casper ignore_uuid cdrom-detect/try-usb=true showmounts union=aufs
initrd /casper/initrd.lz

title XenialDog - casper-boot persistent (in casper-rw file or partition)
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz boot=casper ignore_uuid cdrom-detect/try-usb=true showmounts union=aufs persistent
initrd /casper/initrd.lz

title Reboot computer
reboot
Attachments
2017-05-13-222450_1024x768_scrot.png
(4 KiB) Downloaded 175 times

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#598 Post by fredx181 »

Hi Max, please give more details of what you exacly use, your screenshot shows nothing
Is it this (save on EXIT):

Code: Select all

title XenialDog - porteus-boot - save on EXIT changes=/changes folder
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz from=/ noauto changes=EXIT:/
initrd /casper/initrd1.xz
Or this:

Code: Select all

title XenialDog - porteus-boot in RAM - changes=/changes folder
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz noauto from=/ copy2ram changes=/
initrd /casper/initrd1.xz 
How much RAM you have?

If you have little RAM the 'save on EXIT' may give the 'Not Enough Space on the Device' message because the changes (e.g. everything you install or download) are running in RAM
Advantage of 'save on EXIT' is that the system runs very fast
Disadvantage is that you are limited to the RAM size

So if you plan to use much space, better boot without the 'save on EXIT'

Code: Select all

title XenialDog - porteus-boot- changes=/changes folder
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz noauto from=/ changes=/
initrd /casper/initrd1.xz 
Hope this helps

Fred

User avatar
Max Headroom
Posts: 421
Joined: Wed 28 Jun 2006, 07:17
Location: GodZone Kiwi
Contact:

#599 Post by Max Headroom »

Sorry about the Blank ScreenShot, Both MakeScreenShot & Take ScreenShot made 0 byte Files, the Specimen Laptop has 1 GB RAMemory & 512 MB Swap File

Stop Press, Editing the menu.lst File & inserting

title XenialDog - porteus-boot- changes=/changes folder
uuid 4a4ba614-1b4b-4b47-8ac8-9379899b67d4
kernel /casper/vmlinuz noauto from=/ changes=/
initrd /casper/initrd1.xz

Results in Error 22, No such Partition

Thanx 4 your Help

:)K

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#600 Post by rufwoof »

UUID's can (be) change(d).

blkid shows the current uuid's

I prefer to let grub4dos find out things for itself and include a find statement, for instance

title lucid
find --set-root /lucid/sulu_004.sfs
kernel /lucid/vmlinuz
initrd /lucid/initrd.gz

or simply
find --set-root /menu.lst
if the main files are on the same partition as where the grub4dos menu.lst is located

Here's another example for my DebianDog 32 bit boot choice

Code: Select all

title DD V2 (32 bit)
find --set-root /MAIN/DD/live/jessie-i486.sgn
kernel /MAIN/DD/live/vmlinuz1 init=/bin/systemd from=/MAIN/DD noauto changes=EXIT:/MAIN/DD/live
initrd /MAIN/DD/live/initrd1.xz
that includes the jessie-i486.sgn file in its live folder

Post Reply