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, 20:43
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Misc
Sparky Bonsai 64bit (not a puppy)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [42 Posts]   Goto page: 1, 2, 3 Next
Author Message
mauros


Joined: 02 Dec 2019
Posts: 22

PostPosted: Mon 02 Dec 2019, 17:16    Post subject:  Sparky Bonsai 64bit (not a puppy)
Subject description: based on Debian/Sparkylinux
 



Sparky Bonsai is a GNU/Linux distribution based on Debian/Sparkylinux in a portable form. Taking advantage of the experience of portable distros such as Slax, Porteus, Puppy and DebianDog, we made a remix of our favor Debian-based distro SparkyLinux. The idea was to make a portable version of the linux distro having already installed at home, in cases we can’t, don’t need or wish to install it properly.

We’ve test it in Stretch Debian version on troubleshooting and repairing other systems, booting diskless machines, checking used PCs for buying, hacking windows-locked office PCs, using machines with no traces and many more. We found it useful, we enjoyed it a lot and we decide to distribute the new Debian Buster based version.

Sparky Bonsai lives in a USB flash 4GB minimum and run with 512 MB of RAM on x86 processors. At the moment it’s only available in 64bit version. It fits on a DVD or CD optical disk and runs in ext2/3/4, fat32, xfs, exFAT file systems. In order to load it to RAM, 1GB is recommended.

It is a minimal Debian Buster file system using Debian linux kernel v. 4.19.0.6 with the BusterDog’s modules for porteus boot, live-boot-3x and aufs support. Kernel updates are not available the way they are on a properly installed linux system. As you may know, BusterDog uses the Antix Linux init system. Sparky Bonsai uses systemd as pure Debian and Sparky Linux. If you don’t wish to use systemd, check the BusterDog (based on Antix) or Beowolf (based on Devuan).

Sparky Bonsai use PCmanFM as file/desktop manager and JWM as windows manager. JWM’s menu construction is based on xdgmenumaker. It comes with Pale Moon as the default web browser, Mousepad as the default text editor and LXterminal as default terminal emulator. All DebianDog’s module and remaster scripts are included as well.

Synaptic package manager is present and you can install all Debian and Sparkylinux packages. The BusterDog’s repository is inactive because of some Antix packets incompatible with Debian. You can use some packets if you’re sure they are compatible but DONT update your system with this repository enabled.

Installation

Download the iso file from: https://osdn.net/dl/sparkybonsai/sparkybonsai-64-2019.iso

1. USB flash or removable Hard Disk Can be fat32 or ext2/3 formatted. Ext4 filesystem is NOT recommended for installation on removable flash media.
    1a.Extract iso files and copy /boot and /live folders at the root of your media OR burn iso on an optical disk (CD/DVD), boot it and copy those folders from /mnt/sr0 to the root of your removable media.
    1b.Open a terminal and cd to (your disk path)/boot/syslinux
    1c. Run the bash script bootinst.sh as root
    Code:
    sudo sh bootinst.sh

    The Slax syslinux install script will make your media bootable ONLY for Sparky Bonsai. The script detects the location you run it, so run it ONLY into the directory of the removable media you wish to boot Sparky Bonsai.This will not format your disk, all other files will remain intact.
    1d. (Optional) Now you can manually edit the file /boot/syslinux/live.cfg and customize your boot options using the proper boot codes.


2. Alongside other Linux installation (grub boot).
    2a.Extract iso files and copy the /live folder OR burn iso on an optical disk (CD/DVD), boot it and copy /mnt/sr0/live folder at the root of your hard disk Can be formatted in any linux compatible filesystem including ext4.
    2b. Edit the file /etc/grub.d/40_custom as root and add a menu entry:
    Code:
    sudo nano /etc/grub.d/40_custom

    add a menuentry with the codes you wish, ie:
    Quote:
    menuentry "SparkyBonsai Porteus Boot" {
    linux /live/vmlinuz1 from=/ changes=/live
    initrd /live/initrd1.xz
    }

    2c. Update grub as root
    Code:
    sudo update-grub

    2d.Reboot and find the custom option on grub’s menu.


3. Network boot (pxe) is also possible using the proper boot parameters in your server’s pxelinux.cfg/default. If you wish to save changes on server, the use of nfs server is recommended. Sparky Bonsai won’t run a pxe server pre-configured (as pure Porteus do), so you have to configure it according to your server’s OS instructions.

Usage
Login:
root with password: toor
puppy with password: puppy

Sparky Bonsai is an ideal portable solution for “sparkers” (sparkylinux users) and Debian users. Some useful sparky tools as APTus are not included in order to keep the filesystem lightweight. You can install anytime APTus or any other sparky tool, but it’s recommended not to do this. You can always install sparky packets straight from Synaptic or apt.

As mentioned before, some sparky tools such as the kernel related ones, are not useful in Sparky Bonsai. There’s no sense also to install a heavyweight desktop environment from sparky repos. If you wish to do so, consider of installing a full version of Sparkylinux on a hard disk or even on a removable media.

Sparky Bonsai will auto-mount all available disk partitions on boot, will use the first swap formatted as swap and mount the rest under /mnt. Find the first partition of the first disk as /mnt/sda1, the first partition of the second disk as /mnt/sdb1, the first optical disk as /mnt/sr0 etc.

After a successful boot, logins automatically as user «puppy» using slim login manager and loads the desktop. So, if you prefer to login manually or auto-login another user, you have to manual edit the file /etc/slim.conf and change the lines "default_user puppy" and "auto_login no" as below:

Code:
sudo nano /etc/slim.conf

or
Code:
xsudo mousepad /etc/slim.conf


Case 1 - To change auto-login username:
find the line containing:
default_user puppy

and change «puppy» to the existing user you wish to auto-login.
Save the file and reboot.

Case 2 - Manual login:
Change the default username as described, if you wish,
find the line containing:
#auto_login no

and change it to:
auto_login no

Save the file and reboot.

Note: There’s also a useful Porteus “cheatcode” login=username for auto-login. Unfortunately, it won’t work with Sparky Bonsai or other Debian-based distros using Porteus-boot.

Puppy user is pre-configure to use sudo, open folders or edit files as root from PCmanFM, running synaptic and gparted without asking for password or running as root X-applications with «spsu» (sparky-su) and xsudo as replacements of the discontinued gksudo, for easy desktop use.
The main aim of Sparky Bonsai is the aufs support, where the filesystem contains compressed (squashfs files), non-compressed (changes directory), even encrypted (if you choose so) parts working together.

There are available for download some compressed, squashfs files and you can always create your own files after installing the packets you choose. Into /live directory there are the linux kernel (vmlinuz1) files for porteus-boot (initrd1.xz) or live-boot-3x (initrd.img) modes, buster 64 signature (buster-x86_64.sgn), the base filesystem (01-filesystem.squashfs) and the porteus structure directories. Find more about it at Porteus website: http://www.porteus.org/tutorials/26-general-info-tutorials/ Those directories, so-called “magic” folders, and their contents will be ignored with the boot code “nomagic”.

The /live/changes directory contains all new uncompressed files, installed packets, configuration flat files etc stored by the system during the session. It contains even deletion data it you choose to remove files from the base filesystem. The use of /live/changes directory requires linux file system (ext2/3/4, xfs etc) formatted disk. Instead of /live/changes directory you can use a “frugal file”, a read/writable image file created by the system on demand. It will ask you at the end of your session if you want to save your changes or ignore them. This file can be encrypted, only visible by the user who created it. Thiw .dat file can be stored in non-linux (fat32/ntfs) formatted disks.

In order to mount your changes on next boot, you have to edit the boot parameter “changes=”. For example, the boot parameter “changes=/live” will load/save the filesystem part located at /live/changes directory. A parameter “changes=/somefolder” will load/save the /somefolder/changes files etc. The boot parameter “changes=/live/changes.dat” will load/save the contents in the frugal file “/live/changes.dat”.

Compressed filesystem modules with the extension “squashfs” will load alphabetically on startup. So, if you wish to load a squashfs module containing kernel modules, firmware etc and you want it loaded before the basic filesystem, you can rename it to something like “00-firmware.squashfs” which is alphabetically before “01-filesystem.squashfs”. Other modules containing apps running at the top of the basic system, can be named to something like “02-firefox.squashfs”, “03-firefox-addons.squashfs” etc.

Installing software packages its as easy as on Sparkylinux, Debian, Ubuntu etc. Just locate them in Synaptic package manager and install them normally. After a successful installation, you can save all your changes in a squashfs module via a DebianDog script in menu, under the “Module Tools” category, named “Create module from changes”, using the “mksquashfs” command. Choose the media (i.e. sda1), the temporary work-directory name (i.e. “works”) and the module name (i.e. “02-firefox.squashfs”). After copying all files in work directory, will ask for the compression method. Before choose your option, you can check the files in the /work directory, in the partition you choose before, edit them or change config files. After that click on your choice of compression (xz is recommended) and the script will proceed to squashfs creation. Now you can copy the new created file in the proper “magic folder” or in the root of /live directory to auto-load on next boot, or keep it in /live/optional directory to load it on demand. Note that after the “create module” procedure all your changes are stored in the squashfs module, so you can remove the contents of your /live/changes directory or .dat file, to prevent double-loading.

Note that JWM menu doesn’t auto-update after installations, so if you are expecting a menu icon from an installed application, you have to restart WM manually from the option under the Shutdown category of menu. You can manually load a squashfs module anytime using the “SFS-Load GUI” under the “Modules Tools” category or right-click on a squashfs module in PCmanFM and choose “Activate module”. In case you’re expecting an icon in the menu, you have to manually restart WM as mentioned. Right-click on an activated squashfs module and choose “Deactivate module” to deactivate it and restart WM to hide the icon (if exists).

If you wish to execute any custom commands on startup, put them in /home/puppy/.startup file. They will be executed on desktop startup, after loading all squashfs modules.

A suggested practice is to load in RAM the basic filesystem (using the boot code “copy2ram”) in porteus-boot mode, with a number of applications in squashfs modules into the /live/optional directory to activate/deactivate on demand and a /live/changes directory (using the boot code “changes=/live”) or .dat file (using the boot code “changes=/live/changes.dat”) to keep your configurations and documents.
Hope to enjoy this floral pup as we did. If you do, consider sending a donation to our favor Debian distribution, Sparkylinux. https://sparkylinux.org/donate/

Links:
Sparky Bonsai github: https://github.com/maurosh/SparkyBonsai/
Debian GNU/Linux https://www.debian.org/
Sparkylinux: https://sparkylinux.org/ forum: https://forum.sparkylinux.org/
DebianDog: https://debiandog.github.io/doglinux/ forum thread: http://murga-linux.com/puppy/viewtopic.php?t=117255
Porteus Linux: http://www.porteus.org/ forum: https://forum.porteus.org/
Slax Linux: https://www.slax.org/
Puppy Linux: http://puppylinux.com/ forum: http://www.murga-linux.com/puppy/

Downloads:
SparkyBonsai 64bit, December 2019: https://osdn.net/dl/sparkybonsai/sparkybonsai-64-2019.iso

Modules:
Firefox ESR: https://osdn.net/dl/sparkybonsai/02-firefox.squashfs
Thunderbird + Lightning addon https://osdn.net/dl/sparkybonsai/02-thunderbird.squashfs
LibreOffice: https://osdn.net/dl/sparkybonsai/02-libreoffice.squashfs
Sparky-play +Sparky-player (simple mp3 and video players): https://osdn.net/dl/sparkybonsai/02-mediaplay.squashfs
Non-free firmware https://osdn.net/dl/sparkybonsai/01-firmware-nonfree.squashfs

Last edited by mauros on Mon 09 Dec 2019, 10:48; edited 8 times in total
Back to top
View user's profile Send private message Visit poster's website 
TiredPup


Joined: 16 Jun 2019
Posts: 40
Location: United States

PostPosted: Tue 03 Dec 2019, 11:46    Post subject: Networking fail  

Thank you for this. Having installed several versions of the *dog series it was a simple matter to copy /live from the iso to hard drive and manually edit the menu.lst. It booted quickly, looks nice and responds smoothly on my Intel Core 2 Duo, 4GB RAM, ultra small form factor Dell Optiplex 745. The only issue so far is an inability to connect to the network via the external USB wireless device by D-Link.

The device is identified by various operating systems as rt2800usb or rt2800pci. and it appears to use the "wext" parameter. Peasywifi recognizes wlan0 as the interface of choice but any effort to scan for an interface results in a "wlan0" is not active message. This occurs even when I use the profile tab to create the profile for my home network.

I issued the following from the terminal:

sudo lsmod (rt2800 was listed)
sudo ifconfig -a
sudo iwconfig

sudo ifconfig wlan0 up

This resulted in an error message "no such file or folder found".

Do you have any suggestions that might help me resolve this issue?

Thank you for the opportunity to test this software.
Back to top
View user's profile Send private message 
mauros


Joined: 02 Dec 2019
Posts: 22

PostPosted: Tue 03 Dec 2019, 13:07    Post subject:  

Thanx for testing Sparky Bonsai,
You just have to install the firmware.
I think firmware-iwlwifi will cover your hardware.
run on terminal:
Code:
sudo apt update
sudo apt install firmware-iwlwifi

If it doesn't respond immediately, reboot with firmware installed and check.
If it works for you, you can make a new module i.e. "02-firmware-wifi.squashfs" and put it into /live for permanent use.
Back to top
View user's profile Send private message Visit poster's website 
TiredPup


Joined: 16 Jun 2019
Posts: 40
Location: United States

PostPosted: Tue 03 Dec 2019, 14:25    Post subject:  

@mauros: Thank you for your quick response.

I cannot use apt to install firmware-iwlwifi since I cannot successfully connect to the network.

I did google firmware-iwlwifi and was able to download it from the debian buster archives on another system.

I booted into Sparky Bonsai 64 and installed firmware-iwlwifi.

I rebooted.

No luck. I have the same experience as reported above.

I find this to be of interest because peasywifi works so well on this box when booting into rcrsn51's Debiandog Stretch and Debiandog Buster Starter Kit builds.

I am interested in finding a solution to this but am not sure what to do next.
Back to top
View user's profile Send private message 
mauros


Joined: 02 Dec 2019
Posts: 22

PostPosted: Tue 03 Dec 2019, 15:08    Post subject:  

According to Debian rt2800xxx drivers are provided by raling firmware package.
For Buster, its in the package firmware-misc-nonfree.
So, if you don't have a wired LAN connection, try to install the stable package:
http://ftp.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-misc-nonfree_20190114-2_all.deb
or the buster-backports package:
http://ftp.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-misc-nonfree_20190717-2~bpo10+1_all.deb

Last edited by mauros on Wed 04 Dec 2019, 08:32; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
TiredPup


Joined: 16 Jun 2019
Posts: 40
Location: United States

PostPosted: Tue 03 Dec 2019, 15:43    Post subject: Success!  

I installed the suggested package http://ftp.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-misc-nonfree_20190114-2_all.deb.

Success! I am posting from Sparky Bonsai now. Thank you for your help.
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1935
Location: lincoln, uk

PostPosted: Tue 03 Dec 2019, 16:03    Post subject:  

mirrored here: http://archive.org/details/Puppy_Linux_SparkyBonsai

Smile
Back to top
View user's profile Send private message Visit poster's website 
oui

Joined: 20 May 2005
Posts: 3499
Location: near Woof (Germany) :-) - 3 PC's: DELL SX280 750 MB Pentium4, Acer emachines 2 GB AMD64. DELL XPS15

PostPosted: Wed 04 Dec 2019, 17:28    Post subject:  

Hum, that is not really some Puppy project.

It is a guest project asking for hosting at the Puppy forum, can be interesting to compare etc. But if a newbie start here considering having start Puppy, it is not good as it is no Puppy at all now and not in the future!

It would be better to offer to all our guests, w have a lot now, a completely separate forum subdivision for guest as we tolerate them for years along now...

What are the other Puppy find having for opinion about that?
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13402
Location: Arizona USA

PostPosted: Wed 04 Dec 2019, 19:19    Post subject:  

I agree. This is definitely not a Puppy Project.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1417

PostPosted: Wed 04 Dec 2019, 19:40    Post subject:  

It isn't a Puppy, but it is a Debian Dog derivative, so a derivative of this forum.

Many have asked many times to get a separate section for all the Dogs and dog derivatives.

Is it really impossible?
Back to top
View user's profile Send private message 
mauros


Joined: 02 Dec 2019
Posts: 22

PostPosted: Wed 04 Dec 2019, 21:54    Post subject:  

Sure, bonsai is a small tree not a puppy.
But somehow or other, dogs love trees. A real puppy should appreciate a bonsai tree.

Technically it's a "puplet", a brunch of a brunch (like ubuntu brunhces for debian etc).

PS: I could put a "not a puppy" on title for pure puppers to ignore the thread.
Back to top
View user's profile Send private message Visit poster's website 
dancytron

Joined: 18 Jul 2012
Posts: 1417

PostPosted: Wed 04 Dec 2019, 22:21    Post subject:  

mauros wrote:
Sure, bonsai is a small tree not a puppy.
But somehow or other, dogs love trees. A real puppy should appreciate a bonsai tree.

Technically it's a "puplet", a brunch of a brunch (like ubuntu brunhces for debian etc).

PS: I could put a "not a puppy" on title for pure puppers to ignore the thread.


Changing the title to show it is a DD derivative and not a puppy would be a good thing to do.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1417

PostPosted: Wed 04 Dec 2019, 22:51    Post subject:  

I installed it with a manual frugal install, save to folder on exit.

As a puppy/dog user, not being root is an annoyance. Please tell us the root password so we can switch.

Other than that, it seems very nice and polished.

One thing/bug. When I attempt to run my portable firefox install, I get the following error:

Quote:
Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.


Are you preloading Palemoon or something?

Anyway, imho, it is a good Dog.
Back to top
View user's profile Send private message 
darry19662018

Joined: 31 Mar 2018
Posts: 657
Location: Rakaia

PostPosted: Thu 05 Dec 2019, 02:34    Post subject:  

I had no trouble recognizing this as a Dog/Sparky based distro as it said it in the subject description and the other Dog projects are in the Puppy Projects area so what is the problem - answer... nothing.
_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 13001
Location: S.C. USA

PostPosted: Thu 05 Dec 2019, 03:08    Post subject:  

Flash wrote:
I agree. This is definitely not a Puppy Project.

Flash,

Why are you not doing something to give the Dogs and other operating systems, like this one, their own section in this forum?
This blending of topics, in the Puppy Projects section, is getting very confusing to anyone new to this forum and Puppy Linux.

I think I will go and find a Ubuntu OS I like and start making topics about it.
It seems, all I have to do is modify what I am offering and it is OK to post it on this forum.

I guess this is not really, as it says in the forum title, Puppy Linux Discussion Forum.
Seems to be turning into any OS you want to put together discussion forum.

I

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [42 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Misc
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.1274s ][ Queries: 13 (0.0202s) ][ GZIP on ]