Results 1 to 2 of 2

Thread: Way to alter files in etc when booted from CD

  1. #1
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611

    Way to alter files in etc when booted from CD

    I'm testing this out....

    What I've done is make a folder in the desktop of user knoppix- /home/knoppix/Desktop/config_dir/

    I move the original config files that I want to be able to change to /etc/skel/Desktop/config_dir so they will be copied into the directory on knoppix's desktop at boot.

    Then in /etc/ I make symlinks that point to /home/knoppix/Desktop/config_dir/foo for each config file I do this to.

    That way my remaster should allow for changing config files as in the standard way.

    Edit: didn't work for hostname
    vi /etc/hostname for example would follow the symlink and start editing the file in ramdisk on my desktop

    I'm testing this now. I think it will work.

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    ok, I can change hostname by editing the /etc/init.d/knoppix-autoconfig script, and also by running /etc/init.d/hostname.sh after changing my /etc/hostname file that I moved into the ramdisk and symlinked the original location.

    I get some strange errors though when I su

    one about gethostname not being ablke to find my new hostname, and one about smail having moved its log to a different location (probably trying to send mail to [email protected] to report a problem with gethostname)

    Seems to work fine other than that little annoiance though. I'm trying to write in a cheatcode to knoppix-autoconfig so the user can set the hostname like that.

Similar Threads

  1. Booted KNOPPIX 3.7 from USB, help with a few things ??
    By tadpole in forum Customising & Remastering
    Replies: 0
    Last Post: 03-31-2005, 05:39 PM
  2. Remaster: Install Knoppix to HDD, alter then burn to ISO
    By lorddecker in forum Customising & Remastering
    Replies: 0
    Last Post: 01-05-2005, 06:08 PM
  3. booted and its slow...
    By TanZed in forum General Support
    Replies: 6
    Last Post: 05-23-2004, 08:17 PM
  4. getting booted from java sites?
    By nachral in forum General Support
    Replies: 0
    Last Post: 12-17-2003, 04:33 AM
  5. remastering while booted from harddrive
    By John in forum Customising & Remastering
    Replies: 0
    Last Post: 02-07-2003, 07:52 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
  •  


Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR picture

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR

$23.00



(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT) picture

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)

$700.00



INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH picture

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH

$179.99



Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151 picture

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151

$79.99



AMD Ryzen 5 5500 Processor ( read Description) picture

AMD Ryzen 5 5500 Processor ( read Description)

$59.00



Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor picture

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor

$114.99



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$67.99



Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590 picture

Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590

$129.00



Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested picture

Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested

$35.00