Results 1 to 4 of 4

Thread: regenerating ld.so.cache & modules.dep

  1. #1
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981

    regenerating ld.so.cache & modules.dep

    Knoppix autoconfig regenerated these each boot on a Knoppix style HD install. Is this necessary? I have edit knoppix-autoconfig so that it doesn't do this, seems to be working OK. (No emoticon for fingers crossed!)
    Should I expect this to cause problems?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Doesn't a "Knoppix-style install" regenerate everything when you restart it, just like Knoppix does when running off the CD with a persistent home? Including zapping any root/user passwords you may have set the last time around, regenerating /etc/fstab, and so on?

    There was an in-depth doc about how "Knoppix-style," "Beginner-style," and "Debian-style" installs differed that seems to be unavailable since the Documentation section is still down. But a "Debian-style" install seems to be the way to go if you want your configuration to "stick" from session to session (although you can probably load your saved configuration into a "Knoppix-style" install by passing a "cheatcode" as a kernel parameter in your bootloader).

  3. #3
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    In theory a Knoppix style regenerates everything but actually not, passwords stay, fstab is normally regenerated but you can override this by including the nofstab cheatcode in the lilo append= line. xf86config-4 only overwrites if an existing one is not found so it stays as is. However, since you are on HD the old configs are still there until they are overwritten by the startup script so it shouldn't be necessary to overwite everything, hdware setup is still the same, etc. so I have eliminated regenerating ld.so.cache & modules.dep to speed up startup.

    A debian style install might have been a better choice but I did the Knoppix style because I wanted to make a remaster from it. You can make a remaster from an operating knoppix style system instead of fiddling about with chrooting into a special system, I wrote a how-to...

    Now this system have been running for some time, it has been extensively customized, I don't want to reinstall, so I'm just tweaking a bit.
    I usually tweak 'til it's broken, just wondering if it's going to break sooner or later.

  4. #4
    Member registered user
    Join Date
    Jun 2004
    Location
    U.P., MI, USA
    Posts
    35
    Quote Originally Posted by CrashedAgain
    In theory a Knoppix style regenerates everything but actually not, passwords stay, fstab is normally regenerated but you can override this by including the nofstab cheatcode in the lilo append= line. xf86config-4 only overwrites if an existing one is not found so it stays as is. However, since you are on HD the old configs are still there until they are overwritten by the startup script so it shouldn't be necessary to overwite everything, hdware setup is still the same, etc. so I have eliminated regenerating ld.so.cache & modules.dep to speed up startup.

    A debian style install might have been a better choice but I did the Knoppix style because I wanted to make a remaster from it. You can make a remaster from an operating knoppix style system instead of fiddling about with chrooting into a special system, I wrote a how-to...

    Now this system have been running for some time, it has been extensively customized, I don't want to reinstall, so I'm just tweaking a bit.
    I usually tweak 'til it's broken, just wondering if it's going to break sooner or later.
    Hi!

    I'm also working with a Knoppix style HD installation, but in my case it wasn't really an intentional choice (as vs. the other options). It's just that this is the first time it actually resulted in a working OS on HD; i.e., other, previous installation attempts using "Beginner" & "Debian-like" flopped. I definitely resemble that remark, re. tweaking till it breaks, except my such experiences in the past were with Windows systems (I'm still a bit of a newbie, in Linux). Reading your post here, I wondered:

    1) What exactly did you do in knoppix-autoconfig, to disable the regeneration routine?
    2) Have you seen any detrimental side effects yet?
    3) After tweaking knoppix-autoconfig to disable the regeneration routine, was it still necessary to use the "nofstab" param during boot-up to avoid over-writing the fstab?

Similar Threads

  1. Skip regenerate ld.so.cache and modules.dep by cheat code
    By onemyndseye in forum Tips and Tricks
    Replies: 11
    Last Post: 01-15-2008, 10:47 AM
  2. Using cache partition with PMI and LiveCD
    By j.drake in forum General Support
    Replies: 0
    Last Post: 02-28-2005, 04:00 PM
  3. Can't open dependencies file /lib/modules/extra/modules.dep
    By wicking in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 08-06-2004, 07:50 PM
  4. Modules.conf more recent the modules.dep
    By Ambrose in forum Customising & Remastering
    Replies: 3
    Last Post: 08-12-2003, 05:01 PM
  5. Konquorer Cache
    By OldFNG in forum General Support
    Replies: 0
    Last Post: 07-30-2003, 05:27 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
  •  


Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$219.99



Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture

Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive

$269.99



Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot

$188.09



Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture

Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot

$109.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$15.50



Samsung SSD 860 EVO 1TB 2.5 Inch SATA III Internal Solid State Drive picture

Samsung SSD 860 EVO 1TB 2.5 Inch SATA III Internal Solid State Drive

$49.99



WD BLUE 3D NAND 250GB 2.5

WD BLUE 3D NAND 250GB 2.5" SATA Laptop SSD Solid State Tested,Wiped -WDS250G2B0A

$16.00



SAMSUNG 256GB SSD SM841 2.5'' MZ-7PD256D 6Gb/s SATA Solid State Drive picture

SAMSUNG 256GB SSD SM841 2.5'' MZ-7PD256D 6Gb/s SATA Solid State Drive

$14.00



Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III Internal Solid State Drive 512GB 256 lot picture

Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III Internal Solid State Drive 512GB 256 lot

$178.69



Brand New SSD 870 EVO SATA III SSD 1TB 2.5'' Solid State Drive Upgrade PC Laptop picture

Brand New SSD 870 EVO SATA III SSD 1TB 2.5'' Solid State Drive Upgrade PC Laptop

$59.50