salix remote installer

User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

salix remote installer

Post by fredg »

Hi,

Salix-Remote-Installer is a script that will download your choosen Salix ISO, check it, mount it in a tmpfs dir and run the install setup.

So, you don't have to boot the installer (no need to burn a CD, to make a USB stick...).
The main purpose of this script was to easily install Salix on a web server.
If you have a rescue-mode, start it, download the script and run it.
If not, make sure you have at least a free partition, download the script, run it from your running session and choose to install "core".

http://salix.svn.sourceforge.net/viewvc ... ler/trunk/
You can download it via subversion:

Code: Select all

$ svn co https://salix.svn.sourceforge.net/svnroot/salix/salix-remote-installer/trunk salix-remote-installer 
Please report any issues, comments, patches, ...

++

Code: Select all

root[salix-remote-installer]# sh salix-remote-installer.sh 

RAM size checked (>= 1GB): 978284 KB
RAM size: OK

Please choose the Salix flavor you want to install:

1:  Xfce
2:  Xfce (64bits)
3:  KDE
4:  KDE (64bits)
5:  LXDE
6:  LXDE (64bits)
7:  Fluxbox
8:  Fluxbox (64bits)
9:  Ratpoison
10: Ratpoison (64bits)
11: MATE
12: MATE (64bits)

Pick up a number [1-12]: 
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: salix remote installer

Post by gapan »

This is awesome! Thank you fredg! :)

Is it possible to mount an iso that you have already downloaded? I'm going to try this soon.
Image
Image
User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

Re: salix remote installer

Post by fredg »

This is awesome! Thank you fredg
You're welcome.
And I'm not alone on this, JRD do a good part of the job ;)
Is it possible to mount an iso that you have already downloaded? I'm going to try this soon.
Not for now, the ISO is downloaded in the tmpfs dir.

++
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: salix remote installer

Post by djemos »

awesome fredg.
amazing :)
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: salix remote installer

Post by Shador »

Nice work. I like the inventive, simple impementation by just involving the complete original installation routine.

Two other installer projects have recently evolved too:
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: salix remote installer

Post by mimosa »

I can't access it either way. I'll look for the script on people.salix.org ... hoping the alpha is included in the list!
User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

Re: salix remote installer

Post by fredg »

Salix projects have moved from SourceForge, new locations are up to date in the wiki:
http://www.salixos.org/wiki/index.php/C ... d_in-house

The one you want:
https://github.com/fredg/salix-remote-installer
hoping the alpha is included in the list!
No, it isn't for now, but you can easily add it yourself ;)

++
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: salix remote installer

Post by mimosa »

Thanks fredg - done that. Hopefully I'll be running current in 64 bits after breakfast!
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: salix remote installer

Post by mimosa »

Actually although the download was fine, then I had trouble:

Code: Select all

Mounting ISO...
cpio: write error: No space left on device
mount: warning: salix seems to be mounted read-only.
mount: mount point proc does not exist
cp: writing `cmdline': No space left on device
cp: failed to extend `cmdline': No space left on device
/usr/local/sbin/salix-remote-installer2.sh: line 301: echo: write error: No space left on device
/usr/local/sbin/salix-remote-installer2.sh: line 305: echo: write error: No space left on device
sed: can't read etc/rc.d/rc.S: No such file or directory
Installation will begin once you press <Enter>.
Select the installation from a pre-mounted dir and specify /salix
directory..
(salix-remote-installer2.sh is the version altered to include current.)
Here I just pressed enter. Looking at the script ('read JUNK'), that seems to have
been correct, though I hesitated. Maybe that last line of instructions would be clearer if
it said something like:

Then once the installer has started, select to install from a pre-mounted dir
and specify "/salix".

Otherwise the user might think they have to do that now somehow. When I
pressed enter:

Code: Select all

chroot: failed to run command `/etc/rc.d/rc.S': No such file or directory
chroot: failed to run command `/sbin/umount': Exec format error
umount: sys: not found
umount: /proc: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: salix remote installer

Post by JRD »

cpio: write error: No space left on device
Seems to be cleary understable. The "device" could here be RAM, so maybe you do not have enougth RAM.
Image
Locked