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
  •  


Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK picture

Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK

$39.00



Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24 picture

Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24

$117.00



Cisco SG95-16 16-Port Gigabit Switch SG95-16-SG picture

Cisco SG95-16 16-Port Gigabit Switch SG95-16-SG

$47.00



8 Ports Unmanaged Industrial Ethernet Switch Network Gigabit Ethernet Switch picture

8 Ports Unmanaged Industrial Ethernet Switch Network Gigabit Ethernet Switch

$85.00



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$18.99



New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub picture

New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub

$11.49



Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch picture

Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch

$21.99



NetGear ProSafe GS748T V4 48-Port Gigabit Smart Switch w/ Ears + Cord picture

NetGear ProSafe GS748T V4 48-Port Gigabit Smart Switch w/ Ears + Cord

$30.00



Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED picture

Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED

$99.97



Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch picture

Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch

$99.99