Page 2 of 2

Re: Script Extracting Desktop Module Offline/Online from ISO

Posted: 23 Feb 2017, 00:15
by Ed_P
Bogomips wrote:If wishing to employ the script with a minimum of hassle, at the Code Block holding the Script:
SELECT ALL > Ctl+C > Paste into a Terminal
:shock: Really!! Wow
  1. Root Terminal if getting Online from Mirror.
  2. Any Terminal if getting Offline from Directory in Filesystem.
Offline??


N.B.

Never mind I've figured out what you're saying. Offline mode for ISOs you have already downloaded. :pardon:

Script Extracting Desktop Module Offline/Online from ISO

Posted: 23 Feb 2017, 01:03
by Bogomips
Ed_P wrote:Offline??
Whole idea of reusable code. ;)

Re: Script Extracting Desktop Module Offline/Online from ISO

Posted: 28 Feb 2017, 04:08
by francois
brokenman wrote:What about mounting the file over the internet?

Proof of concept

Code: Select all

iso=http://ftp.vim.org/ftp/os/Linux/distr/porteus/x86_64/Porteus-v3.2.2/modules/003-lxde.xzm
mkdir /mnt/{httpfs2,xzm}
httpfs2 $iso /mnt/httpfs2
mount /mnt/httpfs2/003-lxde.xzm /mnt/xzm
ls /mnt/xzm
Great trick! :)

How about mounting a complete iso to get the desktop environement of your choice (kde for example)? (to be tested)
# iso=http://ftp.vim.org/ftp/os/Linux/distr/p ... x86_64.iso
# mkdir /mnt/{httpfs2,xzm}
httpfs2 $iso /mnt/httpfs2
# mount /mnt/httpfs2/Porteus-KDE-v3.2.2-x86_64.iso
ls /mnt/xzm/porteus/base/004.kde.xzm

Script Extracting Desktop Module Offline/Online from ISO

Posted: 28 Feb 2017, 12:52
by Bogomips
francois wrote: How about mounting a complete iso to get the desktop environement of your choice (kde for example)? (to be tested)
# iso=http://ftp.vim.org/ftp/os/Linux/distr/p ... x86_64.iso
# mkdir /mnt/{httpfs2,xzm}
httpfs2 $iso /mnt/httpfs2
# mount /mnt/httpfs2/Porteus-KDE-v3.2.2-x86_64.iso
Isn't that what mloop already does?

Code: Select all

# mloop $iso    
Put forward by your good self:
francois wrote:What about mloop iso? ;)
:roll:

Re: Script Extracting Desktop Module Offline/Online from ISO

Posted: 28 Feb 2017, 13:54
by brokenman
I think it would be much easier to just put the desktop modules on the server. The script would be best used to extract modules from a local ISO. In this case though, mloop could mount the script and user could copy the module.

Great scripting nonetheless Bogomips.

Script Extracting Desktop Module Offline/Online from ISO

Posted: 06 Mar 2017, 01:37
by Bogomips
Script http://forum.porteus.org/viewtopic.php? ... 1ab#p53221 Enhanced to cope with variable length mirror timings. Also when invoked as function, provides an architecture override. Prior to invocation of function x3get, setting shell variable arc=i586/x86_64 will ensure architecture override. B)