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
  •  


Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25 picture

SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25

$109.99



WD_BLACK 1TB D30 Game Drive SSD for Xbox Summer Collection - WDBAMF0010BSU-WESN picture

WD_BLACK 1TB D30 Game Drive SSD for Xbox Summer Collection - WDBAMF0010BSU-WESN

$109.99



SanDisk 1TB Ultra Dual Drive Go USB Type-C Flash Drive, Black - SDDDC3-1T00-G46 picture

SanDisk 1TB Ultra Dual Drive Go USB Type-C Flash Drive, Black - SDDDC3-1T00-G46

$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

$19.99



1000 GB HHD 2.5

1000 GB HHD 2.5" 1TB Mixed Brands Samsung WD HGST TOSHIBA, Tested Formatted

$14.90



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.85



Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ... picture

Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ...

$71.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$580.99



Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot picture

Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot

$703.19