LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 03-28-2016, 07:48 PM   #1
slacker1337
Member
 
Registered: Jun 2012
Location: Connecticut, USA
Distribution: Slackware
Posts: 148

Rep: Reputation: 40
Attempting to install Slackware from pre-existing Debian install on a remote server


I recent bought/leased a server from online.net and I'm looking to install Slackware64-14.1 on it (with the intention of upgrading to 14.1 when it's available).
The technical support team at online.net told me I could use debootstrap along with rescue mode to do my task, but I'm not remotely familiar with debootstrap. So I thought I might try a different way by editing the Debian /etc/grub.d/40_custom and loading the Slackware huge.s kernel and associated initrd.img from the installation DVD.

So far, I've been successful in booting slackware on a test platform running Debian 8 (virtual machine), but I realize I'm going to have a problem accessing the machine once it's booted in Slackware as it will have no network configuration and ssh/dropbear won't be running.

Now to my question(s), since I haven't toyed much with rebuilding an initrd.
1. Can I append a kernel parameter to Debian's 40_custom grub configuration to force an IP address? If so, how do I do this because I've already tried using the following:
Code:
linux /huge.s ip=:::<ip address>:<netmask>::eth0:none
but when I reboot the virtual machine, I'm greeted with no configured ethernet controller.
2. How can I get dropbear started automatically from the initrd? Do I need to rebuild it or is there an easier/better way?

Finally, I'm confident I can install this way - provided I haven't overlooked anything. Your guidance is greatly appreciated!
 
Old 03-29-2016, 06:55 AM   #2
slacker1337
Member
 
Registered: Jun 2012
Location: Connecticut, USA
Distribution: Slackware
Posts: 148

Original Poster
Rep: Reputation: 40
Ok, lesson learned. the "ip" kernel parameter is for NFSROOT. My apologies for not seeing that before. I have however rebuilt the stock initrd to include a stock rc.inet1 and rc.inet1.conf, so I'm confident I can get the ethernet controller up and running.
 
Old 03-29-2016, 08:07 AM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
This document was written by kikinovak and is in French, but in the past, Google has done a decent job of translating things, plus the commands are all universal. It covers getting Slackware set up on servers from online.net.

http://www.microlinux.fr/microlinux/...ibox-HOWTO.txt
 
1 members found this post helpful.
Old 03-29-2016, 11:22 AM   #4
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
I suspect you could also use the recovery environment (mentioned in kikinovak's article) to bootstap the installer, e.g.:
  • Bring up the network if a connection is not already configured
  • Use wget or curl to fetch the initrd.img from the isolinux subdirectory of the Slackware version you wish to install, using a nearby mirror
  • Unpack initrd.img (using zcat and cpio) into a newly created directory (e.g. /Slackware)
  • Chroot into that directory (after first using mount to bind /dev, /sys and /proc from the host system and copying over /etc/resolv.conf)
  • Setup the $PATH and other variables needed to run the installer (by sourcing the chooted Slackware profile, i.e. ". /etc/profile")

Now you can proceed to install the normal way via partitioning the disk and then running setup. Just remember to do a network install and point at mirror you selected earlier.

Last edited by ruario; 03-29-2016 at 11:23 AM.
 
Old 03-30-2016, 07:44 AM   #5
slacker1337
Member
 
Registered: Jun 2012
Location: Connecticut, USA
Distribution: Slackware
Posts: 148

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by bassmadrigal View Post
This document was written by kikinovak and is in French, but in the past, Google has done a decent job of translating things, plus the commands are all universal. It covers getting Slackware set up on servers from online.net.

http://www.microlinux.fr/microlinux/...ibox-HOWTO.txt
I'd completely forgotten that he wrote this. Thanks for the reminder. I'm rolling through that now, because my previous attempts to do it were unsuccessful. Thanks!
 
Old 03-30-2016, 07:46 AM   #6
slacker1337
Member
 
Registered: Jun 2012
Location: Connecticut, USA
Distribution: Slackware
Posts: 148

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by ruario View Post
I suspect you could also use the recovery environment (mentioned in kikinovak's article) to bootstap the installer, e.g.:
  • Bring up the network if a connection is not already configured
  • Use wget or curl to fetch the initrd.img from the isolinux subdirectory of the Slackware version you wish to install, using a nearby mirror
  • Unpack initrd.img (using zcat and cpio) into a newly created directory (e.g. /Slackware)
  • Chroot into that directory (after first using mount to bind /dev, /sys and /proc from the host system and copying over /etc/resolv.conf)
  • Setup the $PATH and other variables needed to run the installer (by sourcing the chooted Slackware profile, i.e. ". /etc/profile")

Now you can proceed to install the normal way via partitioning the disk and then running setup. Just remember to do a network install and point at mirror you selected earlier.
I attempted this as well and into issues partitioning the disk from this environment (it might have been completely operator error). After attempting using the methods in my initial post, I've decided to go with kikinovak's documentation. Thanks for the reply!
 
Old 03-30-2016, 11:50 AM   #7
slacker1337
Member
 
Registered: Jun 2012
Location: Connecticut, USA
Distribution: Slackware
Posts: 148

Original Poster
Rep: Reputation: 40
Well, long story short. I rebuilt the Slackware installer initrd, made necessary changes to the Debian grub.cfg and rebooted. The machine booted as far as bringing eth0 up, but I couldn't ssh into it. I cut my losses and tried using rescue mode (Ubuntu 14.04 iirc) and chroot into the installer, no joy.
Finally, I followed kikinovaks documentation, and I can happily say that I'm the proud maintainer of a new Slackware machine! I plan on deploying it to provide as many mirrors of Slackware, LiveSlack, etc.
 
Old 03-30-2016, 01:14 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I am using a similar server rented from online.net, it is running bear.alienbase.nl and more importantly, docs.slackware.com.

What I did to install Slackware was in a nutshell
  • boot the server into rescue mode (Ubuntu Live)
  • repartition the server's hard disk to my liking
    Code:
    /dev/sda1 = 2GB for swap
    /dev/sda2 = 100 MB for /boot
    /dev/sda3 = <remaining space> for /
  • reboot again into rescue mode since the kernel is not notified of the change in partitioning until after reboot
  • download the Slackware mini installer ISO into the Live OS
    Code:
    cd /
    wget http://www.slackware.com/~alien/slackboot/mini/14.1/slackware_x86_64-14.1-mini-install.iso
  • mount the downloaded mini ISO and extract the initrd contained within:
    Code:
    mkdir /mychroot
    mount -o loop /slackware_x86_64-14.1-mini-install.iso /mnt
    cd /mychroot
    gunzip -cd /mnt/isolinux/initrd.img | cpio -dvim
    umount /mnt
  • format the to-be root partition with ext4, mount it to /mnt in the Live OS, create a directory /mnt/alien (pick your own name)
    Code:
    mkfs.ext4 /dev/sda3
    mount /dev/sda3 /mnt
    mkdir /mnt/alien
  • ...and download a complete Slackware package tree:
    Code:
    rsync -av --progress rsync://slackware.uk/slackware/slackware64-current/slackware64 /mnt/alien/
  • chroot into the extracted inird (which contains the Slackware installer), now it's almost as if you had booted a Slackware DVD
    Code:
    mount --bind /dev /mychroot/dev
    mount --bind /proc /mychroot/proc
    mount --bind /sys /mychroot/sys
    chroot /mychroot
  • inside the chroot, source the profile (normally happens automatically when you boot a Slackware install DVD) and start Slackware setup:
    Code:
    source /etc/profile
    setup
  • now you can do a Slackware installation as usual; as the package source you need to select "Install from a hard drive partition" and then select the hard disk's root partition and enter the path to the package root (/alien/slackware64)
  • in the end, seup lilo; I was unable to make this work with a generic kernel plus initrd so I stayed with the huge kernel
  • if you want to access the server's serial console to see it boot up (and catch any errors like kernel panic!) enable the serial console /dev/ttyS2: in /etc/lilo.conf you need this in the global section:
    Code:
    serial = 1,9600n8
    and this in the "append" line:
    Code:
    append="console=tty0 console=ttyS1,9600 <other options>"
    In /etc/inittab you need to enable the line:
    Code:
    s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100
 
9 members found this post helpful.
Old 03-30-2016, 01:34 PM   #9
slacker1337
Member
 
Registered: Jun 2012
Location: Connecticut, USA
Distribution: Slackware
Posts: 148

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by Alien Bob View Post
Code:
source /etc/profile
setup
I suspect this is where I went wrong on my second attempt.
Quote:
Originally Posted by Alien Bob View Post
[*]if you want to access the server's serial console to see it boot up (and catch any errors like kernel panic!) enable the serial console /dev/ttyS2: in /etc/lilo.conf you need this in the global section:
Code:
serial = 1,9600n8
and this in the "append" line:
Code:
append="console=tty0 console=ttyS1,9600 <other options>"
In /etc/inittab you need to enable the line:
Code:
s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100
[/LIST]
This is very helpful, Thanks AlienBob!
 
Old 08-07-2016, 09:16 AM   #10
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Since I happend to buy Dedibox XC SATA 2016 I decided to detail my method of Slackware installation.

This mini HOWTO repeats some information from the previous posts and introduces some new information. It wouldn't be possible to write it without first following Alien Bob's instructions to have the first grasp. Thanks!

The highlights (or not ;-)) of my method are:
* full utilization of Slackware's installer provided tools (e.g. cfdisk),
* tagfile based installation using HTTP mirror,
* syslinux for booting,
* generic kernel + initrd,
* partition management with LVM2.

Here it comes:

1. Login into online.net's console and choose your server from the server list.

2. Since Slackware installation is not supported by online.net, we will use [RESCUE] mode. [RESCUE] mode might not be available until there is some OS already installed, so use [INSTALL] action to install whichever distribution they support. After the installation has completed, [RESCUE] mode becomes available. But do not start it yet!

3. Basically, [RESCUE] mode starts selected (from predefined list) operating system, allowing you to interact with the hardware in, you guessed it, rescue mode ;-) But since [RESCUE] operating system takes some time to load, it is helpful to be able to watch the loading progress. Use [SERIAL CONSOLE] to get access to the serial console. It is important that you start [SERIAL CONSOLE] now, since the option disappears once [RESCUE] mode is started.

4. Now start [RESCUE] mode, choosing [Ubuntu 14.04 (amd64)] as the rescue operating system. Let the rescue OS load and then connect over ssh, using the details provided on the website. BTW, [SERIAL CONSOLE] seems to not always work in [RESCUE] mode (you cannot observe the booting progress), so you might just want to try to ssh into the rescue OS periodically, until the login succeeds.

5. Give yourself a bit more power:
Code:
$ sudo su -
(use the same password as for ssh login)
6. Download and unpack Slackware's installer initrd:
Code:
$ mkdir /setup
$ cd /setup
$ wget http://mirrors.kernel.org/slackware/slackware64-14.2/isolinux/initrd.img
$ gunzip -cd initrd.img | cpio -dvim
7. chroot into the Slackware's installer:
Code:
$ mount -t proc /proc proc
$ mount --rbind /sys sys
$ mount --rbind /dev dev
$ mount --rbind /run run
$ chroot /setup /bin/bash --login
NOTE:
I used --rbind instead of --bind. Using --bind seems to be a problem for correct operation of lvcreate.

8. Set terminal type, so that fonts are displayed correctly:
a) if you login from X terminal:
Code:
  $ export TERM=xterm
b) if you login from VT:
Code:
  $ export TERM=linux
9. Partition and format the hard drive:
See Appendix A for the exact commands I used to partition and format the hard drive.

I prefer to use cfdisk for the task of partitioning. Since I am going to use LVM2 and it seems that syslinux does not support booting from LVM partitions, I created two partitions. The first one is going to be used for booting, that is, it is going to contain the kernel image, initrd and syslinux config file. The other partition is going to be managed by LVM.

When creating partition table, I choose to use dos type as opposed to gpt type. For that reason, I cannot tell if gpt would work as well.

The boot partition has to have the bootable flag set. As for the file system, I have chosen ext2. The size is set to 128MiB and should be more than sufficient.

NOTE:
I have seen the problem with the kernel not being notified about partition table change, but only once, and I do not recall under what conditions. If you are not able to correctly partition the drive from within the Slackware's setup chroot, then you might have more luck using the method explained before by Alien Bob.

In addition, executing:
Code:
$ partprobe
after you are done with the partitioning might be also a good idea.

Format the partitions. Although it can be done from within the setup program itself, I prefer to do it on the command line. This way you can watch the progress. (If you were installing locally, you would just switch to the VT, where the progress is being reported, but well, you are not installing locally and you do not have another VT ;-)).

After partitioning, LVM-ing and formatting, I come up with the following partitions:
Code:
/dev/sda1 (ext2, 128MiB, mbr, bootable)
/dev/sda2 (lvm)
/dev/mapper/vg0-rootfs (ext4, rootfs)
10. Add nameserver address to make DNS work:
Code:
$ echo nameserver 62.210.16.6 >> /etc/resolv.conf
$ echo nameserver 62.210.16.7 >> /etc/resolv.conf
$ ping google.com
This is necceassary for the HTTP based installation to work correctly.

11. Run the setup program:
Code:
$ setup
When prompted, add the /dev/sda1 to fstab. It has to be mounted under /boot directory.

12. Once you get to [SOURCE MEDIA SELECTION], choose [Install from FTP/HTTP server] and provide the required details. I prefer to use the following:
Code:
* URL OF FTP/HTTP SERVER: http://mirrors.kernel.org/
* SOURCE DIRECTORY:       /slackware/slackware64-14.2/slackware64/
I used tagpath / tagfile based installation, with fairly basic packages selection. My selection does not include lilo, so the setup program will not ask me to perform LILO configuration step. If, on the other hand, you decide to perform full installation or you happen to install LILO, then, when prompted, skip the LILO configuration step. We will not use LILO, but syslinux instead.

And if you wonder how I got my custom tagfiles available for the setup program, then the answer is: I scp'ed them from my local machine and then I upacked them under /setup/tagfile. This is possible, since you can have many ssh connections to the [RESCUE] operating system. See Appendix B for some more info on tagfiles.

13. Once the setup program has finished, there are a few tasks to be performed and they require that you chroot into your freshly installed Slackware, so do not reboot the machine when prompted now. What is more, you are going to chroot from already chroot'ed /setup directory. This is kinda important, because when the setup program fishes, it leaves your root partition mounted on /mnt and your boot partition mounted on /mnt/boot. Proceed as follows:
Code:
$ chroot /mnt /bin/bash --login
14. Bootloader:
Execute the following commands to install syslinux/extlinux bootloader:
Code:
$ extlinux --install /boot
$ dd count=1 bs=440 conv=notrunc if=/usr/share/syslinux/mbr.bin of=/dev/sda
Create /boot/syslinux.cfg:
Code:
PROMPT  0
TIMEOUT 0
DEFAULT vmlinuz-generic
SERIAL  1 9600

LABEL vmlinuz-generic
  KERNEL vmlinuz-generic
  APPEND console=ttyS1,9600 printk.time=0 quiet ipv6.disable=1 ro
  INITRD initrd.gz
This configuration will enable the messages to appear on the [SERIAL CONSOLE]. I also specify some kernel parameters (printk.time=0 quiet) to considerably silence its output (error messages would still appear). As I don't want to bother with IPv6, I disable it at kernel level (ipv6.disable=1). As you can see, we will use the generic kernel with initrd. This is the only way (that is, by means of initrd) the LVM2 can be made operational.

Please note that, the kernel and initrd paths specified in syslinux.cfg have to be relative. This is because syslinux is unable to read from LVM based root partition, so something like /boot/vmlinuz-generic wouldn't work.

If you want to be able to login on the [SERIAL CONSOLE], you will have to uncomment the following:
Code:
$ grep s2 /etc/inittab
s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100
and
Code:
$ grep ttyS1 /etc/securetty
ttyS1
Additionally, since the server has no keyboard and display, it is worth disabling tty1 .. tty6:
Code:
$ grep c[1-6] /etc/inittab
#c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux
#c2:12345:respawn:/sbin/agetty 38400 tty2 linux
#c3:12345:respawn:/sbin/agetty 38400 tty3 linux
#c4:12345:respawn:/sbin/agetty 38400 tty4 linux
#c5:12345:respawn:/sbin/agetty 38400 tty5 linux
#c6:12345:respawn:/sbin/agetty 38400 tty6 linux
BTW, my favorite console editor is mcedit and it is possible to use it to edit the files from within the chroot. It is also possible to prepare all the config files on the local machine and then scp them to the server in question.

15. initrd:
Create /etc/mkinitrd.conf:
Code:
# mkinitrd.conf
# See "man mkinitrd.conf" for details on the syntax of this file
#
#SOURCE_TREE="/boot/initrd-tree"
CLEAR_TREE="1"
#OUTPUT_IMAGE="/boot/initrd.gz"
KERNEL_VERSION="$( readlink /boot/vmlinuz-generic | rev | cut -f1 -d- | rev )"
#KEYMAP="us"
MODULE_LIST="ext4"
#LUKSDEV="/dev/sda2"
#LUKSKEY="LABEL=TRAVELSTICK:/keys/alienbob.luks"
ROOTDEV="/dev/mapper/vg0-rootfs"
ROOTFS="ext4"
#RESUMEDEV="/dev/sda2"
#RAID="0"
LVM="1"
#UDEV="1"
#MODCONF="0"
WAIT="0"
As the comment says, see "man mkinitrd.conf" for details on the syntax of this file ;-) This file is sourced by the /sbin/mkinitrd script, so it is possible to use shell commands in it: for example, KERNEL_VERSION is determined based on the installed kernel version by extracting the version portion from the kernel image file name. This becomes useful when you are recreating the initrd after the kernel has been updated.

Since my setup makes use of LVM, the LVM variable is set to 1. If you are not using LVM, then leave the value at 0. And remember to set ROOTDEV variable to point to the device on which your root filesystem is actually located.

Once the /etc/mkinitrd.conf has been tuned, to create the initrd, run:
Code:
$ mkinitrd -F
16. Before you reboot:
While still in the Slackware installation chroot, you might consider performing some administrative tasks, like adding another user and setting up its key based ssh login. Remember that you can use scp to send all the files you need.

For example, I edited /etc/fstab, so that /boot partition is mounted read-only and fsck is disabled. This could also be done once the system is booted.

17. Reboot:
I am not sure, how much of these is necessary, but I did the following as a safety measure before rebooting the system:
I exited the Slackware's installation chroot, back to the /setup chroot:
Code:
$ exit
Then I umounted all the file systems mounted on /mnt:
Code:
$ cat /proc/mounts | grep mnt
/dev/mapper/vg0-rootfs /mnt ext4 rw,relatime,data=ordered 0 0
/dev/sda1 /mnt/boot ext2 rw,relatime,stripe=4 0 0
/proc /mnt/proc proc rw,relatime 0 0
sysfs /mnt/sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
udev /mnt/dev devtmpfs rw,relatime,size=8185100k,nr_inodes=2046275,mode=755 0 0

$ umount /mnt/dev
$ umount /mnt/sys
$ umount /mnt/proc/
$ umount /mnt/boot
$ umount /mnt
While still in /setup chroot, I stopped LVM:
Code:
$ /sbin/vgchange -an
  0 logical volume(s) in volume group "vg0" now active
$ /bin/sync
Then I went to the online.net's console and executed the [BOOT IN NORMAL MODE] action, immediately switching to the [SERIAL CONSOLE] to watch the boot process :-)

My system has booted without any problems whatsoever.

18. Don't panic if you misconfigured something and the system does not boot.
Use [SERIAL CONSOLE] to debug the problem and then [RESCUE] mode to fix it ;-)


Appendix A: partitions and LVM2:

Code:
# Clear the master boot record and partition table, just in case:
$ dd count=1 bs=512 if=/dev/zero of=/dev/sda

# Partition the disk:
$ cfdisk /dev/sda
  -> Select label type: dos
  -> [New] -> 128M -> [primary] -> [Bootable]
  -> [New] ->  ALL -> [primary] -> [Type] -> 8e Linux LVM
  -> [Write] -> yes -> [Quit]

# Just in case:
$ partprobe

# Format /boot partition:
$ mke2fs -t ext2 /dev/sda1

# Create LVM, see [https://wiki.archlinux.org/index.php/LVM] for more details:
$ pvcreate /dev/sda2
$ pvdisplay
$ vgcreate vg0 /dev/sda2
$ vgdisplay
$ lvcreate -L 4G vg0 -n rootfs
$ lvdisplay
$ vgscan
$ vgchange -ay

# Format root file system partition:
$ mke2fs -t ext4 /dev/mapper/vg0-rootfs

Appendix B: tagfiles, virtual machine:
For tagfile generation I used Alien's tagfile_generator.sh. First, I installed and tested my selection of packages under QEMU. Then I used tagfile_generator.sh to generate tagfiles, that I later scp'ed to the server and used them to perform the installation.

QEMU is worth mentioning here for another reason. It allowed me to easily test the installation and configuration before doing anything on the remote server. Things like LVM2, syslinux or serial console were first made to work and tested within QEMU and later on transplanted onto the remote server.


Please let me know if you find errors or inconsistency.
I will edit the post to correct for possible mistakes.


--
Best regards,
Andrzej Telszewski
 
5 members found this post helpful.
Old 08-07-2016, 02:08 PM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
You could add this as a new HOWTO page to the Slackware Documentation Project you know.
 
Old 08-07-2016, 02:15 PM   #12
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by Alien Bob View Post
You could add this as a new HOWTO page to the Slackware Documentation Project you know.
Will do.

--
Best regards,
Andrzej Telszewski
 
Old 11-10-2016, 03:17 PM   #13
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

My Dedibox's disk is failing and I'm moving to another machine.
It's gonna be a good time to do the write up.

--
Best regards,
Andrzej Telszewski
 
Old 05-02-2018, 03:45 AM   #14
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Long overdue, but there you go ;-)

Install Slackware on an online.net Dedibox BareMetal Server.

--
Best regards,
Andrzej Telszewski
 
2 members found this post helpful.
Old 02-27-2022, 02:57 PM   #15
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64-15.0 multilib
Posts: 116

Rep: Reputation: 35
Hey atelszewski, I used your guide at https://docs.slackware.com/howtos:sl...remetal_server and wanted you to know that it worked for OVH servers as well with slackware-15.

Just a note. The new initrd.img of slackware-15.0 is not in gzip format anymore, so this step

Quote:
Originally Posted by atelszewski View Post

6. Download and unpack Slackware's installer initrd:
Code:
$ mkdir /setup
$ cd /setup
$ wget http://mirrors.kernel.org/slackware/slackware64-14.2/isolinux/initrd.img
$ gunzip -cd initrd.img | cpio -dvim
had to be adjusted like this

Code:
wget https://slackware.osuosl.org/slackware64-15.0/isolinux/initrd.img
xz -dc < initrd.img | cpio -i --make-directories
Thanks a lot!

Last edited by roberto967; 02-27-2022 at 03:00 PM.
 
2 members found this post helpful.
  


Reply



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 install pre existing wordpress directory on a existing wordpress to run a web ajbardhan Linux - Software 3 04-28-2012 07:01 PM
Pre-existing GRUB eats LILO on fresh install of SW13 anarchic_birdsong Slackware 31 11-04-2009 05:01 AM
chroot and run a pre existing Linux install from another one fakie_flip Linux - Software 1 09-25-2006 12:43 PM
How to install slackware on a remote linux server. Kronis Linux - Newbie 1 09-06-2006 03:24 AM
Installing Win98 on slave drive to pre-existing linux install on primary eliszka Linux - Software 8 11-07-2001 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 09:15 PM.

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