LinuxQuestions.org
Help answer threads with 0 replies.
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 08-13-2013, 09:19 AM   #1
mr-roboto
Member
 
Registered: Aug 2006
Location: NYC in the US of A
Distribution: Slax, FreeBSD, PCLinuxOS, Ubuntu, TurnkeyLinux
Posts: 51

Rep: Reputation: 16
I Need a Basic Slackware 14 Bootable Image


I am seeking to create a bootable Slackware image, similar to CHNTPW. The purpose is to run a single program and the bootable image will be launched from a SYSLINUX or GRUB menu. The desired program is Slackware 14-based. Tried it out using Parted Magic. I just dropped the TGZ tarball into PM's /pmodules sub-dir and it was accessible in PM. Unfortunately, PM does too much for what I need and takes too long to boot (for a single program.) My colleague's program is a pure char-oriented program, so the time spent to load a GUI-based Linux is completely unproductive.

Can anyone offer real pointers for starting this effort ? I thought the effort would be trivial, then I saw the Install Help page on the Slackware site and I got the impression this page hadn't been updated in ten years ! No mention of a live Slackware CD/DVD to bootstrap the OS installation process nor is there any mention of bootable UFDs, in any prominent location on the site. Don't get me wrong, I know the history of Slackware as one of the original four or five core Linux distro families. I didn't realize there'd been no modernization of basic OS installation over the years.

The site does mention LQ as a resource, but I discovered LQ years ago. TIA....
 
Old 08-13-2013, 12:50 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I have done single purpose systems in the past like this (when not using Slitaz and its excellent remastering tools):
- Use mkinitrd to create an initrd-tree. This will be the basis for the system.
- Copy all libraries and binaries you need into the initrd-tree (don't forget to use ldconfig, if necessary)
- adapt the init-script to your needs, so that it doesn't try to mount harddisk partitions and switch to a new root system, start your single application on the end of the booting procedure (for simple applications usually an init-script of only a few lines is sufficient)
- Configure your kernel source as you need it (hardware support, filesystems, necessary firmware inbuilt, ...) then use the embedded filesystem option of the kernel and point it to your initrd-tree, compile the kernel. This will give you a kernel with your complete system inbuilt, bootable by any bootloader. Alternatively you also can use the classic initrd approach for the root file-system of your system (the initrd-tree). In both cases you will get a single purpose system that runs completely from RAM.
 
3 members found this post helpful.
  


Reply


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
[SOLVED] Creating bootable Slackware installation image Lexus45 Slackware 14 06-10-2012 08:59 AM
How to make a basic Debian bootable usbflash using floppy images? pwrpnt Linux - Newbie 3 11-13-2008 09:14 AM
linux bootable image dinesha.cit Linux - Newbie 1 07-29-2008 09:33 AM
what are the very basic packages to make a cd bootable.?. sknowonweb Red Hat 1 03-19-2006 04:00 PM
Installing Slackware with non-bootable CD or bootable floppy (but not both) TiddlyPom Slackware 2 03-22-2004 04:15 PM

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

All times are GMT -5. The time now is 03:41 AM.

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