Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Slackware - Installation This forum is for the discussion of installation issues with Slackware.


  Search this Thread
Old 06-12-2006, 05:16 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Remote installation of a Slackware Linux


Is there someone who already succesfully perfomed a remote Slackware installation over a previous existing Linux distro (random flavour)? I have a server running already a Debian and I want to install a Slackware 10.2 on it. The problem is that I can not physicaly access the server so none of the installation solution will work for me (floppies, CD-ROM, NFS).

I can boot the server on a busybox/rescue mode but I have no clue how can I launch a Slackware installation afterwards. Any ideas will be appreciated.

Thank you,

Last edited by christophe75; 06-12-2006 at 05:17 AM.
Old 06-12-2006, 11:13 AM   #2
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66

I'll look into it. Some interesting issues here (starting the install, partitioning, etc...)
Old 06-12-2006, 11:58 AM   #3
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Look at thisb thread here. Doesn't look good.
Old 06-12-2006, 12:10 PM   #4
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
From what I could gather, the install/setup program of Slackware doesn't make life easy.

There are some possible options:
Make a install partition on the remote machine, copy the Slackware files over to it, and boot to that partition (I think).

If you had access to the cdrom drive, it would be easy, but the setup you describe is not.

Good luck.

P.S. This is as far as I'll go on this subject.
Reason? It's getting dangerously close to 'Hacking into a remote system, and installing Slackware on it.'

Google is your friend. So is searching the forums here. All the info I got was from those two things.
Old 04-30-2012, 05:00 PM   #5
Registered: Feb 2010
Location: SF Bay Area
Posts: 184

Rep: Reputation: Disabled
Lightbulb remote slackware install to headless server

I have a 13.1 closet backup server and wanted to move to 1337 without
risk, so decided to do a fresh install in a spare partition instead of
upgrade in place. Being inherently efficient [lazy], I did not want to
mess with dragging it out of the closet, connecting a monitor, or PXE.

Thanks to AlienBoB
for the seed idea.

Note that this method could be used to install slackware on any running
system that uses a bootloader.

1. Copy the installation tree to an existing file system on the
server. Note that '1337' is used here as the head and that most
commands must be done as root.

2. Recent lilo versions will not pass the string 'kbd=' as an
'append' or on the command line. The following work-around
prevents a Waiting for Godot scenario for the initial keyboard question
(non-US keyboard users should adjust as usual):

2a. Unpack the initrd install image:
cd 1337/isolinux
mkdir temp && cd temp
zcat ../initrd.img | cpio -i -d -H newc --no-absolute-filenames
2b. Modify the 'read' statement that's waiting for the keyboard answer:
sed -i 's/read ONE$/ONE=0/' etc/rc.d/rc.S
2c. Repack initrd:
find . | cpio -o -H newc | gzip -9 > ../initrd.kbd.img
3. Back to the top of the tree and copy the relevant bits to the current /boot:
cd 1337
mv -v isolinux/initrd.kbd.img /boot/1337ins.initrd.img
zcat kernels/huge.s/ > /boot/
cp -v kernels/huge.s/bzImage /boot/vmlinuz-1337ins
4. Add the following to /etc/lilo.conf:
image = /boot/vmlinuz-1337ins
        initrd = /boot/1337ins.initrd.img
        label = 1337ins
5. Now stage the next reboot and go. My DHCP server will re-assign
the current IP based on MAC address, or substitute an appropriate static address
in your subnet in place of "dhcp", such as "static:"
lilo -v
lilo -R 1337ins nic=auto:eth0:dhcp
6. After ping response (meaning that the '1337ins' image+network+sshd has
started successfully) you'll be able to 'ssh root@<ip_address>'
and get the following greeting:
$ ssh root@
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
Offending RSA key in /home/<your_user_name>/.ssh/known_hosts:2
Simply delete the "Offending" key (2 in this case) and try again:
sed -i '2d' ~/.ssh/known_hosts
ssh root@
Remember the 'source /etc/profile' hint shown and you are good to go.


Last edited by lazardo; 05-01-2012 at 11:51 PM. Reason: 1 correction; copy-ability adjustments
Old 04-30-2012, 05:14 PM   #6
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,613

Rep: Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884
I found a tutorial somewhere* on here, and successfully followed it, to install Slackware from within a running system (in my case Debian) by downloading a mirror and setting up a chroot for the install.
Something similar ought to work but obviously you may have more fun getting the bootloader set up (I just ran update-grub) and you'll need to set up SSH from within the chroot.

*my google-fu is failing but if it sounds feasible to anyone I'll keep trying.
Old 05-01-2012, 05:18 PM   #7
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
I have never tried it in the flesh but have you given a look at this:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to partition HD for Linux (Slackware 10.2) Installation vidguy Linux - Newbie 12 02-15-2006 12:28 PM
is linux capable of remote install and unattended installation? spyghost Linux - Networking 2 08-09-2004 11:28 AM
Installation Of Slackware Linux 8.1 Ultimaterra2005 Slackware 1 02-22-2003 03:37 PM
windo$ remote installation via linux ? saavik Linux - Networking 3 12-02-2002 05:47 PM

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration