Slackware as a Linux rescue environment: Difference between revisions

From Notes to self
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
# cd dir
# cd dir
# zcat ../initrd.img | cpio -di</pre>
# zcat ../initrd.img | cpio -di</pre>
*[[Chroot]] to dir and set a root password; exit chroot
*Add to the file <code>dir/etc/hosts</code> the ip address of a Slackware mirror that will be used for installation
*Install
*Install

Revision as of 18:53, 3 October 2015

  • 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
  • Install