Results 1 to 4 of 4

Thread: Booting into command line/overlaying installer options

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Posts
    2

    Booting into command line/overlaying installer options

    Hello, this is my first time on the forums so greetings everyone!

    I'm looking to create an installation CD that allows the user to configure static IP/LAN options during install and then leaves the computer with certain services running (with the OS installed to HD, not running Live CD fashion). The largest range of hardware compatibility is desirable so Knoppix seems a good choice. However, after installation of the CD, I would like the system to run without a GUI and indeed without much of Knoppix's standard programs. So I have two things to learn 1) remastering Knoppix and 2) How to present a screen to the user of network options during, or directly after installation.

    (1) I will need to read about but I wonder if anyone knows whether (2) is possible before I perform lengthy research. It would also be great to hear options on whether Knoppix is the right thing to be using.

    Essentially I would like Apache, PHP, FTP and SSH to be running after installation.

    Thanks in advance for any comments.

  2. #2
    Senior Member registered user
    Join Date
    Jul 2006
    Posts
    122
    Well.... if you are working from a HD install then "remastering" is not what your looking for...


    To answer one of your questions... simply pass the argument "2" (without quotes) to the kernel at boot. Without knowing how your booting the system I cant tell you step by ste what to do...

    for grub: you would edit menu.lst and add a "2" the the end of the "kernel" line....

    same premis with loadlin.... simply change your boot string by adding the "2" to the end.....

    ....knoppix will then start in Runlevel 2 by default....which is multi-user text-only (note: the command " init 5 " (no quotes) as root will start Xorg)

    Since you are running from a HD install....simply configure the services you want and your settings will be saved just as any other Debian system (in theory)..



    Take Care,
    -Justin
    One Mynds Eye

  3. #3
    Junior Member
    Join Date
    Jan 2007
    Posts
    2
    Hi and thanks for the feedback. I don't think I was clear about what I meant by a hard drive installation. The reason I want to remaster is because I want to create a CD which, when installed, creates a server with Apache, PHP, FTP and SSH running. The idea is for this CD to be installed many times on different PCs/Servers. In this case, the remastering process is mainly to get rid of superfluous applications (i.e. mostly everything) and allow me to pre-configure the services. To this end, it may seem a poor choice to use Knoppix given I want to scrub almost every program on it, but the excellent hardware support is what's attractive (to give best chance of the CD installing on most hardware).

    My first question then would be: Do people think it's a good idea to be even using Knoppix for this, maybe there's a better starting option?


    The bit about overlaying a means of configuring networking I should've perhaps left out so as not to confuse the issue....

    Best regards

  4. #4
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    I think your plan is OK, but I have to warn you about the hardware detection: It often dosn't work as well when Knoppix is HD-installed. For instance, I lost contact with the network chip on my laptop after HD install, worked fine off the CD/DVD.. "Solved" it by putting in a PCMCIA card.. What I try out, is using a USB pen instead of CD/DVD, and run everything off that, with partitions on the HD mounted. That has worked quite fine for me with a remastered Knx 5.0.1, except that I could not get it to boot directly from the pen. Got around that by installing GRUB on the HD and making the USB a booting option. The main obstacle with such a setup will be user management, I think.

Similar Threads

  1. Finding a command line
    By topcat in forum Hardware & Booting
    Replies: 4
    Last Post: 02-25-2010, 09:34 PM
  2. Command Line Editors
    By vblazier in forum General Support
    Replies: 2
    Last Post: 10-30-2009, 03:51 AM
  3. DOS Command Line?
    By Mongoose in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 06-07-2006, 12:23 AM
  4. booting into the command line
    By greygooseplz in forum General Support
    Replies: 1
    Last Post: 11-25-2004, 05:58 AM
  5. command line WOES
    By bob58 in forum General Support
    Replies: 1
    Last Post: 03-27-2004, 11:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


SanDisk 32GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46 picture

SanDisk 32GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46

$10.99



SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46 picture

SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46

$12.99



SanDisk 16GB Ultra USB 3.0 Flash Drive - SDCZ48-016G-U46 picture

SanDisk 16GB Ultra USB 3.0 Flash Drive - SDCZ48-016G-U46

$6.25



SanDisk 128GB Extreme PRO USB 3.2 Solid State Flash Drive - SDCZ880-128G-A46 picture

SanDisk 128GB Extreme PRO USB 3.2 Solid State Flash Drive - SDCZ880-128G-A46

$36.99



New TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam & Sentry Mode 128GB picture

New TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam & Sentry Mode 128GB

$18.99



Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory picture

Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory

$24.99



Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack picture

Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack

$4.99



Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof  picture

Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof

$8.37



USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT picture

USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT

$249.37



Lot USB Flash Drive Memory Stick Pendrive Thumb Drive 2GB,4GB, 8G, 32G, 64G 128G picture

Lot USB Flash Drive Memory Stick Pendrive Thumb Drive 2GB,4GB, 8G, 32G, 64G 128G

$414.85