[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
wiki:user:bormant:booting_install_from_hdd [2012/10/23 12:53 (UTC)] – [Sources] bormant | wiki:user:bormant:booting_install_from_hdd [2012/10/24 12:02 (UTC)] – [Test It] bormant | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Booting Installation Environment from HDD ====== | + | ====== Booting |
- | This article shows how to boot Slackware installation environment from hard drive (don't ask me why). | + | This article shows how to boot the Slackware installation environment from a hard drive instead of the usual installation media. |
- | Slackware installation environment is a small live Linux system with bysybox, partitioning and another useful utilities, and setup program. It starts automatically when you boot your system from Slackware install media: CD, DVD, USB stick or PXE. | + | The Slackware installation environment is a small live Linux system with busybox, partitioning and another useful utilities, and the '' |
- | To boot Slackware installation environment | + | In order to boot the Slackware installation environment without creating install media you need an image of this boot environment, |
- | ===== Image of Environment ===== | + | |
- | All software you can use after booting Slackware installation media resides in [[wp> | + | ===== Image of the Environment ===== |
+ | All software you can use after booting Slackware installation media resides in an [[wp> | ||
===== Linux Kernel ===== | ===== Linux Kernel ===== | ||
- | Slackware uses (at least now) one of it' | + | Slackware uses (at least now) one of its huge kernels to run the installation environment. You can find the kernel' |
===== Getting The Files ===== | ===== Getting The Files ===== | ||
- | If you already have iso image of Slackware install media you can mount image with loop option and copy the files, for ex. to ''/ | + | If you already have an ISO image of the Slackware install media you can mount this image with the loop option and copy the files, for example |
- | Slackware 14.0 64-bit: < | + | * This is how that looks for a Slackware 14.0 64-bit |
# mkdir -p /mnt/tmp / | # mkdir -p /mnt/tmp / | ||
# mount -o loop / | # mount -o loop / | ||
Line 20: | Line 21: | ||
# umount /mnt/tmp | # umount /mnt/tmp | ||
</ | </ | ||
- | Slackware 14.0 32-bit:< | + | * And for Slackware 14.0 32-bit:< |
# mkdir -p /mnt/tmp / | # mkdir -p /mnt/tmp / | ||
# mount -o loop / | # mount -o loop / | ||
Line 27: | Line 28: | ||
</ | </ | ||
- | You can also download kernel and initrd image from one of Slackware mirrors. There are some examples below. | + | You can also download |
- | Slackware 14.0 64-bit: | + | * Slackware 14.0 64-bit: |
- | * kernel: http:// | + | * kernel: http:// |
- | * initrd: http:// | + | * initrd: http:// |
- | Slackware 14.0 32-bit: | + | * Slackware 14.0 32-bit: |
- | * kernel: http:// | + | * kernel: http:// |
- | * initrd: http:// | + | * initrd: http:// |
===== Boot Loader ===== | ===== Boot Loader ===== | ||
- | There are many boot loaders around. Slackware uses SYSLINUX to boot from install media, installs LILO to boot installed system, provides GRUB-legacy package in /extra (32 bit only). Many distributions use GRUB (renamed from GRUB2) as they main boot loader. If you use a Linux system you probably already have suitable one. You need to put bzImage and initrd.img | + | There are many boot loaders around. Slackware uses SYSLINUX to boot from the install media, installs LILO to boot the installed system, |
==== LILO ==== | ==== LILO ==== | ||
Line 46: | Line 47: | ||
addappend = " | addappend = " | ||
label = SwSetup | label = SwSetup | ||
- | </ | + | </ |
# lilo | # lilo | ||
</ | </ | ||
Line 58: | Line 59: | ||
} | } | ||
</ | </ | ||
- | < | + | < |
- | < | + | < |
==== GRUB-legacy ==== | ==== GRUB-legacy ==== | ||
Line 68: | Line 69: | ||
initrd / | initrd / | ||
</ | </ | ||
- | < | + | < |
- | < | + | < |
===== Test It ===== | ===== Test It ===== | ||
Reboot your system and select SwSetup at boot prompt. | Reboot your system and select SwSetup at boot prompt. | ||
- | If you have unused partition you can install Slackware on it right now. | + | If you have an unused partition you can install Slackware on it right now. |
- | ==== Using ISO Image as Source ==== | + | ==== Using an ISO Image as Source ==== |
- | If you downloaded Slackware DVD iso image you can use it as package source. | + | If you downloaded |
+ | * In the "'' | ||
+ | * enter the name of the disk partition containing the ISO image file, for example | ||
+ | * | ||
+ | * | ||
┌──────────────────────SOURCE MEDIA SELECTION────────────────────────┐ | ┌──────────────────────SOURCE MEDIA SELECTION────────────────────────┐ | ||
│ Please select the media from which to install Slackware Linux: | │ Please select the media from which to install Slackware Linux: | ||
Line 141: | Line 146: | ||
└───────────────────────────────────────────────────────────────┘ | └───────────────────────────────────────────────────────────────┘ | ||
</ | </ | ||
- | Then continue as usually. | + | Then continue as usual. |
- | Slackware setup automatically finds iso image named as '' | + | Slackware setup automatically finds an ISO image if it is named as '' |
- | You can also mount your image by hands before | + | You can also mount your image manually. |
+ | * Before | ||
# mkdir /hd /iso | # mkdir /hd /iso | ||
# mount /dev/sda2 /hd | # mount /dev/sda2 /hd | ||
# mount -o loop / | # mount -o loop / | ||
- | </ | + | </ |
+ | * In the "'' | ||
+ | * In the next dialog window, enter the path to the directory containing the "// | ||
+ | Then continue | ||
====== Sources ====== | ====== Sources ====== | ||
Line 154: | Line 163: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | {{tag> | + | {{tag> |