An excellent suggestion.ncmprhnsbl wrote: ↑21 Mar 2025, 05:15another one: option to download a browser module from the mirror/modules folder and place it in porteus/modules


An excellent suggestion.ncmprhnsbl wrote: ↑21 Mar 2025, 05:15another one: option to download a browser module from the mirror/modules folder and place it in porteus/modules
Hopefully our users note that.
How does your script know which ISO to download? Use the same approach.
There is, your script could note that to users. It could also note there is a Porteus Install app they can use.
Code: Select all
sh /opt/porteus-scripts/xorg/psu "/opt/porteus-scripts/pinstaller"
Which does not work on a plain disk without partitions and it is not useful for a automatic management like creating a VM, and booting them without tweaking by hands (for example). Or a on-demand usb-key initialisation.
+ 8624869 - 2025-03-21 - porteus-usb-install.sh: mode --ext4-install, tested
An option that would support this, reduce operating overhead, and support saving changes is the EXIT= cheatcode. Changes are saved in memory until shutting down Porteus where a user has the option to exit without saving changes or to save them.ncmprhnsbl wrote: ↑21 Mar 2025, 05:15while i'm thinking of options, one for no persistence might be nice too...
A long post to suggest me to stick to 512MB as default size, default name `porteussave.dat` and default XFS otherwise end-users relying on default Porteuse apps are in the mud, seriously?
Some people think that they switched to "Linux" because they managed to burn a ISO file on a USB stick and boot a PC with it.
I think that if people posting and commenting on technical forum would stick to "facts" - all these "emotional psychodramas" will end soon.
Bah, disse un saggio - non basta una vita per conoscere se stessi, eppure c'è gente che giudica.
Code: Select all
#!/bin/bash
#
# (C) 2025, Roberto A. Foglietta <[email protected]> - 3-clause BSD
#
# Support for expert users wishing to test on-demand installation starts from
#
# URL: https://raw.githubusercontent.com/robang74/porteus-usb-installer
# VER: /refs/tags/v0.3.1/porteus-net-install.sh
# MAN: ?tab=readme-ov-file#usage-quick--dirty
#
# It is suggest testing on a spare machine that does NOT hold valuable data,
# possibly using a Porteus MATE v5.0.1 with the network support available.
#
################################################################################
Code: Select all
'head: unable to open '' for reading: file or directory does not exist.
Fastest --> <--
updated 'porteus-mirror-selected.txt' file
updated 'porteus-mirror-allhttps.txt' file
created 'porteus-mirror-selected.log' file
Hi, M. Eerie
Code: Select all
# as user -- not root -- on Ubuntu 22.04
roberto@x280[3]:~mkdir -p /tmp/test; cd test
roberto@x280[3]:/tmp/test$ bash -i <(wget -qO- tinyurl.com/2csl7ae3) --clean
WARNING: the ISO image files are left untouched, do it manually
roberto@x280[3]:/tmp/test$ bash -i <(wget -qO- tinyurl.com/2csl7ae3)
-> pwd: /tmp/test/moonwalker
###############################################
This is an on-demand from remote running script
###############################################
WARNING: script suggests 'v0.3.1' as last tagged, check for updates? [Y/n]
-> tag: v0.3.1
WARNING: no any mirror selected, using 'https://mirrors.dotsrc.org'
Do you want to check for the fastest mirror available? [Y/n]
WARNING: the script 'porteus-mirror-selection.sh' is missng
Downloading file: porteus-mirror-selection.sh
Do you want to download it from github? [Y/n]
porteus-mirror-selection.sh 100%[===...=>] 2.87K --.-KB/s in 0.009s
Sending one ping to all the mirrors, DNS caching ... done
Download speed testing for every mirror, wait.
01: https://ftp.cc.uoc.gr/pub/linux/porteus/
02: https://ftpmirror1.infania.net/mirror/porteus/
03: https://ftp.nluug.nl/os/Linux/distr/porteus/
04: https://ftp.riken.jp/Linux/porteus/
05: https://ftp.vim.org/ftp/os/Linux/distr/porteus/
06: https://linux.rz.rub.de/porteus/
07: https://mirrors.dotsrc.org/porteus/
08: https://mirror.yandex.ru/mirrors/porteus/
09: https://www6.frugalware.org/mirrors/linux/porteus/
10: https://www.mirrorservice.org/sites/dl.porteus.org/
10-wget-log: 1100 KB/s
08-wget-log: 741 KB/s
03-wget-log: 720 KB/s
07-wget-log: 674 KB/s
06-wget-log: 617 KB/s
02-wget-log: 535 KB/s
01-wget-log: 498 KB/s
04-wget-log: 203 KB/s
Fastest --> https://www.mirrorservice.org/sites/dl.porteus.org/ <-- 10: 1100 KB/s
updated 'porteus-mirror-selected.txt' file
updated 'porteus-mirror-allhttps.txt' file
created 'porteus-mirror-selected.log' file
done.
Downloading file: sha256sums.txt
Are you sure to continue? [Y/n]
[b]ERROR: downloading 'sha256sums.txt', abort![/b]