Results 1 to 6 of 6

Thread: /etc/bootmisc.sh

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    4

    /etc/bootmisc.sh

    Correction: it should be /etc/init.d/bootmisc.sh. Sorry for the typing mistake.

    Hi All: Just installed 3.7 to hard drive. Everything works great, except that the sript /etc/bootmisc.sh doesn't seem to be executed on my machine during booting. I'm sure it's me, but could anybody help. Note: Another Debian-based distribution (installed to hard drive) I tried, does execute the /etc/bootmisc.sh during booting.
    Many thanks, and best regards to all,
    Serge Matovic.
    [email protected]

  2. #2
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Try locate where is bootmisc.sh script is.....usually in /etc/init.d/.
    You need to add link to this script to to your /etc/rcX.d
    run : upadate-rc.d bootmisc.sh defaults


  3. #3
    Junior Member
    Join Date
    Oct 2004
    Posts
    4
    Thanks Shah for your reply. I did the following, as root: "update-rc.d bootmisc.sh defaults" and yes, the /etc/init.d/bootmisc.sh script runs during boot, ***but*** I cannot log in, i.e., it says "System bootup in progress-please wait".

  4. #4
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Try remove all bootmisc.sh symlink in all rc0.d--------->rcX.d except in rcS.d.

  5. #5
    Junior Member
    Join Date
    Oct 2004
    Posts
    4
    Hi shah: did exactly as you instructed. The results are:
    1) Yes, the /etc/init.d/bootmisc.sh is executed during booting.
    2) No, it still won't let me log in.

    Just wanted to ask you, in Knoppix, where is the preferred location to put my own scripts that I want executed during booting?

    Many thanks,
    serge.

  6. #6
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    There is something missing when bootmisc.sh is running. I believed it has something to do with this line:
    echo "System bootup in progress - please wait" > /etc/nologin
    cp /etc/nologin /etc/nologin.boot

    Check if rmnologin script is also running.
    update-rc.d rmnologin defaults


    If you run knoppix with Desktop.......it will boot to level5 (init5).
    So the prefered location will be /etc/rc5.d.
    But if you want to run that script on all level you, put it in rcS.d.
    It will be just fine if you just run : update-rc.d <nameofscript> default......and let the script handle it.


Similar Threads

  1. Bad CRC error and readable only bootmisc.sh- Please help!
    By Knoppax in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 03-05-2004, 04:50 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
  •  


Intel SRG17 Core i7-9700T Desktop Processor CPU picture

Intel SRG17 Core i7-9700T Desktop Processor CPU

$74.99



CPU-RAM-MOBO COMBO-  32gb DDR4 3600MHz, i5 CPU, Asus Prime Motherboard picture

CPU-RAM-MOBO COMBO- 32gb DDR4 3600MHz, i5 CPU, Asus Prime Motherboard

$370.00



CPU+Motherboard Combo (i7-8700, 4xDDR4 ram slots, MicroATX Mobo, with IO sheild) picture

CPU+Motherboard Combo (i7-8700, 4xDDR4 ram slots, MicroATX Mobo, with IO sheild)

$99.90



GAMING COMBO: ASUS Prime H470M-PLUS MOTHERBOARD + i5-10600KF CPU + 16GB DDR4 picture

GAMING COMBO: ASUS Prime H470M-PLUS MOTHERBOARD + i5-10600KF CPU + 16GB DDR4

$229.95



Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065 picture

AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065

$125.00



Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151 picture

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151

$79.99



Intel Core i5-14600KF Unlocked Desktop Processor picture

Intel Core i5-14600KF Unlocked Desktop Processor

$259.99



AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1) picture

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)

$175.00



CPU+Motherboard Combo (i7-6700, 4xDDR4 ram slots, MicroATX Mobo, with IO sheild) picture

CPU+Motherboard Combo (i7-6700, 4xDDR4 ram slots, MicroATX Mobo, with IO sheild)

$81.90