Released: WDLGO_UbuntuFocal64 mini-apt/dpkg experimental system
Announcing the release of the WDLGO_UbuntuFocal64 bootable distro.
These README notes created 20Jan2021 and revised 20Jan2021.
Download the (simple non-EFI) iso via the get_wdlgo_focal64_3.0.0-rc1-allfirmware.sh script available here:
https://weedoglinux.rockedge.org/viewto ... p=332#p332
This distro a full-multiuser capable but an absolutely minimum dpkg/apt package manager UbuntuFocal64 compatible system. Except can be made much smaller using slimmed down firmware/modules (fwmods sfs) and deleting docs/man/locale pages etc.
However... being "an absolutely minimum dpkg/apt install" it is primarily provided for development/educational/experimental purposes. DISCLAIMER: USE ENTIRELY AT YOUR OWN RISK!
Since you may need to google many things whilst learning how to use it, you may find it most useful booted into a virtual machine (or chroot into uncompressed firstrib_rootfs; though in chroot need to run its /root/.profile to set the executables' PATH).
Whilst the provided iso should boot (on non EFI machines anyway) out-of-the-box, there are things the user needs to do to make it connect to the Internet and basically 'work'. For example, it does not contain udev support (though that could be user-added) so user needs to know their ethernet or wlan interface details and load the appropriate modules (e.g. for iwlwifi module is iwldvm). Below usage is an exemplar, which refers to modprobe of wifi module for my own system only. You need to substitute for whatever your system needs:
Usage:
(Note: default is boot to RAM with no persistence unless copied from /mnt/layers/RAM/upper_changes. If using options /mnt/sda1/wdlive or /mnt/sdb1/wdlive then these wdlive directories must be created and formatted ext2/3/4 first - idea copied from rockedge's recent WD_Void. You can press tab on boot menu to change these save folder locations)
1. Once booted login as user root, passwd root (ignore FossaPup kernel saying bionicpup64, this WDLGO distro is definitely Focal Fossa)
2. Load wifi module
Code: Select all
modprobe iwldvm
# my system only - you need to find your own interface module requirements (maybe, for example, from running Puppy lsmod report)
or load ethernet module
Code: Select all
modprobe e1000e
# my system only
3. connect to internet using the provided simple wiakwifi script:
Code: Select all
wiakwifi reset
# on next boot just use 'wiakwifi reconnect'
and follow the script instructions to connect
4. Update the apt repositories
Code: Select all
apt update
And here you will probably get some Error messages concerning some 'security-related' repos... That's because no provision is provided in this 'to-be-user-developed' system for setting correct system time that apt requires. Here is one approach (of many):
5.
Code: Select all
apt install tzdata
# and enter your timezone info when asked during installation
Then you can try something simple first, like apt install file or apt install nano.
You will probably need to use the likes of DuckDuckGo or Google from now on... Check your system time via utilities such as hwclock and so on. As I said this is a distro for learning on, developing, and merging into other distros as an addon to provide them with dpkg/apt facilities. A dedicated developer can of course build it up into a full polished distro, though a Ubuntu/Debian debootstrap-type build far easier for that in most cases. No debootstrap was used in its creation...
Anway, apt works, but understand that apt expects a full Debian/Ubuntu system underneath (one that includes all so-called 'essential' packages such as provided by a debootstrap build); this distro only includes the minimum for dpkg/apt to work (well, could be smaller if I took out wpasupplicant and its many dependencies+firmware), but not all Debian/Ubuntu 'essential' packages. That's the disadvantage - you will often get dpkg/apt complaining and have to resolve the issue yourself (good for learning...). But in practice I found it easy to apt install, for example, openshot-qt (but check tips below), so the system is far from being a 'toy'...
Using apt to install further commandline apps/utilities will often work fine (so excellent for building a commandline-only UbuntuFocal system. But you can also build full X desktop with it (but expect dpkg/apt issues to resolve along the way...). One tip for graphical installs:
glib is generally used by X windows apps rather than only plain libc, and apt simply expects it to be there (the X-type apps do not list it as dependencies so apt does not know...). So good idea if trying to install such apps, and sometimes avoid apt errors at end is to pre-install glib items with:
Code: Select all
apt install libglib2.0-0
and maybe:
Code: Select all
apt install libglib2.0-bin libglib2.0-data
You will definitely need to master various dpkg/apt fixing commands, such as (but not only):
Code: Select all
apt -f install
dpkg --configure -a
apt list --installed | less
dpkg --list
and sometimes maybe need to reinstall individual deb packages forcibly with the likes of:
Code: Select all
dpkg -i --force-depends <deb-package-name>
It is possible to use the 01firstrib_rootfs.sfs part of this distro as an addon for FossaPup64, but should be slimmed down first to not overwrite some existing crucial FossaPup64 config files. I will later upload a modified 01firstrib_rootfs.sfs purely for that purpose, whose contents could alternatively be permananently merged into a FossaPup64 for the same funtionality. BUT big DISCLAIMER!!!! DO NOT TRY THIS ON AN EXISTING FossaPup64 install (you WOULD almost certainly break it if you did) - such addon is for experiment only at YOUR OWN RISK and should only be attempted if you know what you are doing and on a specially made new frugal install of the underlying FossaPup.
Good Luck and use as you wish but entirely at your own risk!
Feedback is welcome either here or at https://weedoglinux.rockedge.org/viewtopic.php?p=332
EDIT: Forgot to add how to use it in typical frugal install via grub4dos menu.lst and similar. Here is the menu.lst stanza I use (substitute in the uuid and directory you put the files in):
Code: Select all
title WDLGO_focal64 UUID method (on my system ata-interfaced SSD harddrive)
find --set-root uuid () a36a6ce1-8c76-4aca-be99-5fc57039z299
kernel /WDLGO/development/vmlinuz w_bootfrom=UUID=a36a6ce1-8c76-4aca-be99-5fc57039z299=/WDLGO/development
initrd /WDLGO/development/initrd.gz
In that frugal install configuration the upper_changes save folder goes by default into /WDLGO/development (which is on /mnt/sda1 on my own system). The only files you need to copy from the iso to there would be: 01firstrib_rootfs.sfs, 00fwmodsXXX.sfs, initrd.gz,and vmlinuz
wiak
note iso md5sum : 563c484af6016b0e4a0c1d137c4f630c wdlgo_focal64_3.0.0-rc1-allfirmware.iso