Slackware as a Linux rescue environment

From Notes to self
Revision as of 19:03, 3 October 2015 by Verbovet (talk | contribs)
Jump to navigation Jump to search
  • Download from one of the Slackware mirrors the kernel and initrd image, which Slackware uses for the installation:
http://mirrors.slackware.com/slackware/slackware64-14.1/kernels/huge.s/bzImage
http://mirrors.slackware.com/slackware/slackware64-14.1/isolinux/initrd.img
  • Unpack initrd image (as root):
# mkdir dir
# cd dir
# zcat ../initrd.img | cpio -di
  • Chroot to dir and set a root password; exit chroot
  • Add to the file dir/etc/hosts the ip address of a Slackware mirror that will be used for installation
  • Pack the modified initrd image cd dir; find . | cpio -o -H newc | gzip -9fv > ../initrd.img
  • Install