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
  •  


SUN Blade X6250 Server 8GB RAM DUAL PROCESSORS 594-4531-01 picture

SUN Blade X6250 Server 8GB RAM DUAL PROCESSORS 594-4531-01

$109.99



Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6132 112C 1TB picture

Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6132 112C 1TB

$2699.99



Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6134 64C 1TB picture

Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6134 64C 1TB

$3299.99



SuperMicro X8DTT-HF+ WITH ONE XEON X5650 +24GB RAM FOR CSE-827HD-R1400B picture

SuperMicro X8DTT-HF+ WITH ONE XEON X5650 +24GB RAM FOR CSE-827HD-R1400B

$124.99



DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC picture

DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC

$50.00



2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD picture

2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD

$30.00



Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG picture

Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG

$69.99



Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS picture

Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS

$103.99



Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric picture

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric

$139.99



Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W picture

Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W

$399.00