Results 1 to 3 of 3

Thread: Edit, Schmedit

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    5

    Edit, Schmedit

    I'm using a small scale Knoppix derivative and am having a problem getting a timely answer to a question I raised on their forum. I thought I might get some help here.

    The question pertains to the use of the CD while operating in RAM; it is not a hard disk installation question. Put simply, I'd like to edit /etc/profile to change some of the ANSI color sequences used for the prompt. Using nano, I can access the file but can't edit it and this is so even after running su -. What's happening here, I mean the whole thing is in RAM and will revert to default when I reboot. Why can't I edit this file, anyone know?

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    What error message are you getting? My guess is that even though it is in RAM, the system has mounted itself 'read only' so you would first have to change the read only setting before you could edit it.

  3. #3
    Junior Member
    Join Date
    Jul 2004
    Posts
    5
    Hi CrashedAgain,

    Was able to get the question resolved on the derivative distro's forum. As it turns out, it is necessary to remove the /etc/profile's symlink with:

    rm /etc/profile

    followed by entering "yes" when you're prompted for an answer. Next, copy as follows:

    cp /KNOPPIX/etc/profile /etc/profile.

    Bring up /etc/profile in an editor and edit to your heart's content.

    A search brings evidence of similar questions here on the KNOPPIX forum which are answered in the same way as above. I happened to see them just as my question was addresses on the other forum. Many thanks for your taking the time to reply.

    jlowell

Similar Threads

  1. How do you edit lilo?
    By rrfish72 in forum General Support
    Replies: 2
    Last Post: 07-14-2004, 04:00 PM
  2. linuxrc: how to edit?
    By bongski55 in forum The Lounge
    Replies: 2
    Last Post: 05-11-2004, 11:56 AM
  3. Trying to edit file onn hdd.
    By CyberInzane in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 02-23-2004, 09:33 PM
  4. menu edit
    By sfit in forum Customising & Remastering
    Replies: 1
    Last Post: 10-26-2003, 04:49 AM
  5. iso edit
    By iomari in forum Customising & Remastering
    Replies: 3
    Last Post: 10-10-2003, 10:54 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
  •  


Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro picture

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro

$239.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro picture

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro

$319.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad T14 Gen 1 14

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD

$219.99



Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11 picture

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11

$374.99



Lenovo Thinkpad T14 Gen 2i 14

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black

$313.00



Lenovo Thinkpad T14 Gen 2 14

Lenovo Thinkpad T14 Gen 2 14" 16GB, Thunder Black

$387.46



Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11 picture

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11

$229.99



Lenovo IdeaPad 1 15AMN7 15.6

Lenovo IdeaPad 1 15AMN7 15.6" 8GB 512GB, ABYSS BLUE

$190.99