Technical issues/questions of an intermediate or advanced nature.
-
Ed_P
- Contributor

- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#16
by Ed_P » 23 Feb 2017, 00:15
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

Really!! Wow
- Root Terminal if getting Online from Mirror.
- 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.

Ed_P
-
Bogomips
- Full of knowledge

- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Post#17
by Bogomips » 23 Feb 2017, 01:03
Ed_P wrote:Offline??
Whole idea of reusable code.

Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Bogomips
-
francois
- Contributor

- Posts: 6501
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#18
by francois » 28 Feb 2017, 04:08
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
Prendre son temps, profiter de celui qui passe.
francois
-
Bogomips
- Full of knowledge

- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Post#19
by Bogomips » 28 Feb 2017, 12:52
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?
Put forward by your good self:
francois wrote:What about mloop iso?


Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Bogomips
-
brokenman
- Site Admin

- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#20
by brokenman » 28 Feb 2017, 13:54
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.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
Bogomips
- Full of knowledge

- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Post#21
by Bogomips » 06 Mar 2017, 01:37
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.

Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Bogomips