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
  •  


Lenovo - Yoga 7i 2-in-1 16

Lenovo - Yoga 7i 2-in-1 16" 2K Touchscreen Laptop - Intel Core Ultra 5 Proces...

$749.99



Lenovo ThinkPad T14 Gen 2 14

Lenovo ThinkPad T14 Gen 2 14" Touchscreen i7-1185G7 16GB RAM 512GB SSD Win 11

$284.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad L390 13.3” Touchscreen Laptop Core i3 8GB RAM 256GB SSD Win 11 picture

Lenovo ThinkPad L390 13.3” Touchscreen Laptop Core i3 8GB RAM 256GB SSD Win 11

$199.99



Lenovo - IdeaPad Slim 3 15.6

Lenovo - IdeaPad Slim 3 15.6" Full HD Laptop - AMD Ryzen 5 40 2025 - 8GB Memo...

$379.99



Lenovo Thinkpad T14 Gen 2i 14

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black

$313.00



Lenovo ThinkPad T14 Gen 2 14

Lenovo ThinkPad T14 Gen 2 14" i7-1165G7 2.80GHz 16GB RAM 512GB SSD Windows 11

$284.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad Yoga 11e Gen 6 Laptop 11.6” Core i5 8GB RAM 256GB SSD Win 11 Pro picture

Lenovo ThinkPad Yoga 11e Gen 6 Laptop 11.6” Core i5 8GB RAM 256GB SSD Win 11 Pro

$169.99



Lenovo ThinkPad X1 Yoga Gen 5 Touch 14” Laptop Core i5 16GB RAM 256GB SSD Win 11 picture

Lenovo ThinkPad X1 Yoga Gen 5 Touch 14” Laptop Core i5 16GB RAM 256GB SSD Win 11

$249.99