Results 1 to 6 of 6

Thread: process to monitor boot process and all necessary apps

  1. #1
    Junior Member registered user
    Join Date
    Aug 2004
    Posts
    15

    process to monitor boot process and all necessary apps

    Hello,

    I have been building a remastered KNOPPIX. I want to know if anyone might have a good idea for placing a script or application VERY EARLY in the boot process which will allow me to watch ALL apps/processes being started during the boot process. The reason I ask is that I would like to remove many unnecessary apps from the system, and I want to make sure they are not needed prior to removing them. If I can "trace" all necessary apps, then I can determine which apps/files to remove from the system for the application specific build being worked on.

    Thank you in advance for any help,

    Metzelplik

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    just go trough the /etc/rc files for the default runlevel (5 iirc) there it lists all things that are to start...

  3. #3
    Junior Member registered user
    Join Date
    Aug 2004
    Posts
    15
    Thank you for the info, but I already understand that this takes place. I wanted to know if someone could recommend something that would save me time from going through all the scripts and "walking" through all the apps/programs/binaries that are called from this steip forward. Also, by the time the system gets to the rc part, I may have already missed something.

    Thanks again. Much appreciated.

    Metzelplik

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    only kernelwise in that case. not much else happens before the rcfiles get read.
    they mount the disk and read info from there on, before that only kernel and the bios/bootloader.
    here is a more thuroug howto on booting linux diskettes, in general that goes for CD and dvd's aswell.
    http://www.linux.org/docs/ldp/howto/...WTO/index.html
    there is more if you look around.
    hope it helps some.
    EDIT here is a thurough description on the kernel level.
    not useful if you do not know quite a bit about computerhardware and programing (kerneldevelopment).
    http://www.linux.org/docs/ldp/howto/...WTO/index.html
    /EDIT

  5. #5
    Junior Member registered user
    Join Date
    Aug 2004
    Posts
    15
    OErjan...

    thank you for the information. I will take a look at the information in your post later tonight and get back to the forum as to its usefullness. What I want to do is figure out EXACTLY what files on the system are necessary for a very specific build... then, recreate an ISO image with ONLY those files in it. This will not only allow the application that I have written to work, but prevent the system from being used in any other manner. If someone can figure out a way to break into the system via remote attack, their hands will be tied as to what they do from the system.

    I don't want the system to be used for anything else. This is a very specific app.
    I am also curious as to how small of an image I can create using this thinking.

    Thanks again. Your help is much appreciated.

    Metzelplik

  6. #6
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    in that case the floppy tutorial is just the thing for you. it gives ways to shrink everything and so. strace, awk, hexedit, less and grep are tools i recomend you to get familiar with.
    they, either separate or together in diferent ways, can give you exactly the system calls sent from any given app and list them.

    lfs is another good resource for basic linux knowledge.
    lfs is a "recepie" how to make a working linuxdist from scratch, read a few times go trough the process and you know most there is to know about linux.
    i have done it.
    here is a link listing mirrors.
    http://www.linuxfromscratch.org/

    gentoo is another where you can customize but not quite as much.
    their documentation is great though.
    http://www.gentoo.org/main/en/mirrors.xml

Similar Threads

  1. new monitor displays boot process blurry and split.
    By robwelch100 in forum General Support
    Replies: 0
    Last Post: 04-02-2005, 02:48 AM
  2. Removing daemons from the boot-up process...
    By doesnotcompute in forum General Support
    Replies: 3
    Last Post: 03-11-2005, 08:48 PM
  3. Boot process, can't find KNOPPIX file system
    By riviereg in forum General Support
    Replies: 2
    Last Post: 09-04-2004, 12:21 PM
  4. During boot process .. " init: Switching to runlevel: 0
    By eekarum in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 09-01-2004, 08:08 AM
  5. shutdown process
    By m in forum Customising & Remastering
    Replies: 4
    Last Post: 02-01-2003, 12:41 AM

Posting Permissions

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


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



Micron 32GB (16GB x 2) PC4-25600 DDR4-3200MHz ECC RDIMM Memory (sku 0054) picture

Micron 32GB (16GB x 2) PC4-25600 DDR4-3200MHz ECC RDIMM Memory (sku 0054)

$199.00



2 in 1 USB 3.0 Card Reader Micro TF card Reader usb adapter High Speed Cardreder picture

2 in 1 USB 3.0 Card Reader Micro TF card Reader usb adapter High Speed Cardreder

$3.99



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$234.00



Samsung 96GB LPCAMM2 PC5 9600 FE1 E1 LPDDR5X CAMM2 M561K6LC3CL1-CCV DDR5 Memory picture

Samsung 96GB LPCAMM2 PC5 9600 FE1 E1 LPDDR5X CAMM2 M561K6LC3CL1-CCV DDR5 Memory

$2150.00



SK Hynix DDR4 ECC 3200 memory in batches of 8. 128gb Used&Tested picture

SK Hynix DDR4 ECC 3200 memory in batches of 8. 128gb Used&Tested

$700.00



SERVER ECC MEMORY OWC3R2D42R464GB 128GB (2x64GB) 2Rx4 DDR4 3200 RAM picture

SERVER ECC MEMORY OWC3R2D42R464GB 128GB (2x64GB) 2Rx4 DDR4 3200 RAM

$860.00



NMA1XXD128GPS Intel Optane 1X128GB DDR4 PC4-21300 DCPMM Persistent Server Memory picture

NMA1XXD128GPS Intel Optane 1X128GB DDR4 PC4-21300 DCPMM Persistent Server Memory

$75.00



2 Pack USB C SD TF Card Reader Adapter Zinc Alloy USB-C to USB for iPhone 15-17 picture

2 Pack USB C SD TF Card Reader Adapter Zinc Alloy USB-C to USB for iPhone 15-17

$3.35



Apple iPad Mini 5 64GB, Wi-Fi, 7.9

Apple iPad Mini 5 64GB, Wi-Fi, 7.9"

$69.00