Results 1 to 5 of 5

Thread: mnt-system "Knoppix" shortcut respawns

  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    6

    mnt-system "Knoppix" shortcut respawns

    Hi, I'm running 6.4.4/LXDE on a persistent USB and am curious why I can't delete the "Knoppix" desktop shortcut. It respawns on reboot, even if I delete it as root.

    Thanks.

  2. #2
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by hhhorb View Post
    Hi, I'm running 6.4.4/LXDE on a persistent USB and am curious why I can't delete the "Knoppix" desktop shortcut. It respawns on reboot, even if I delete it as root.
    Thanks.
    Without any information given we don't if you have set up your "persistent USB" correctly. Might be you just have a poor-man flash install on USB without a persistent store. You can check using these few commands 'df', 'cat /proc/mounts', 'fdisk -l' etc. There should be a /KNOPPIX-DATA directory if you have a persistent store.

  3. #3
    Junior Member
    Join Date
    Jun 2011
    Posts
    6
    @kl522, thanks for responding:^)

    With Knoppix 6.4.4, making a persistent USB is absurdly simple... transfer the ISO to a USB using Unetbootin, boot from the drive and you will be asked if you wish to add persistency on first boot, and the prompt lists a minimal storage amount (200MB) and max available (280MB on my 1G USB). If you skip this step you will get prompted on each subsequent boot. Even with a measly 280MB of memory for user files, I was able to configure Compiz settings, get Flash working (create the folder "plugins" in ~/.mozilla and dump the plugin file there), save and set a desktop wallpaper, install an icon set, a GTK theme and numlockx, customize Iceweasel including installing Adblock Plus, and customize Lxpanel, all of which are restored perfectly on reboot. Really an amazing distro.

    So yeah, persistency works, except for this desktop symlink named "Knoppix" reappearing. In the symlink's "Properties" it says the target is /mnt-system, if I click it it takes me to /home/knoppix/Desktop/KNOPPIX, the file structure inside is the same for both paths. KNOPPIX-DATA exists and here is the output of "df"...
    Code:
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/sdb1              1011760   1010680      1080 100% /mnt-system
    tmpfs                  2097152         0   2097152   0% /ramdisk
    /dev/cloop             1975134   1975134         0 100% /KNOPPIX
    /dev/loop0              282599    150586    132013  54% /KNOPPIX-DATA
    unionfs                 282599    150586    132013  54% /UNIONFS
    unionfs                 282599    150586    132013  54% /home
    tmpfs                    10240        64     10176   1% /UNIONFS/var/run
    tmpfs                    10240         0     10240   0% /UNIONFS/var/lock
    tmpfs                   102400        48    102352   1% /UNIONFS/var/log
    tmpfs                  2097152         8   2097144   1% /tmp
    udev                     20480       352     20128   2% /dev
    tmpfs                  2097152         4   2097148   1% /dev/shm
    Obviously this "problem" is a triviality as it only takes a moment to delete the shortcut, I was just curious about Knoppix's boot process and file structure.

    Thanks again for your response(s).

  4. #4
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by hhhorb View Post
    So yeah, persistency works, except for this desktop symlink named "Knoppix" reappearing.
    Since your persistency is working except for this desktop symlink, it is likely it is re-created each time. True enough if you look at /etc/X11/Xsession.d/45knoppix, the symbolic link is recreated each time X is started.

  5. #5
    Junior Member
    Join Date
    Jun 2011
    Posts
    6
    @kl522, DING DING DING DING DING!!!

    In /etc/X11/Xsession.d/45knoppix there are lines #199 & #200...
    Code:
    # Create a link to our KNOPPIX DVD 
    [ -r /mnt-system/KNOPPIX ] && ln -snf /mnt-system "$HOME"/Desktop/KNOPPIX || rm -f "$HOME"/Desktop/KNOPPIX
    Commenting out line #200 prevented the symlink from being created. Many thanks! :^)

    Moderators, please mark this thread "Solved", 5 star rating.
    Last edited by hhhorb; 07-18-2011 at 06:36 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$37.41



Juniper Networks EX Series EX2300-24P - switch - 24 ports - managed - rack-mount picture

Juniper Networks EX Series EX2300-24P - switch - 24 ports - managed - rack-mount

$549.38



JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER picture

JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER

$210.00



Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord picture

Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord

$54.99



Juniper EX3300-48P 48-Port 10/100/1000BASE-T (48 PoE+ ports) with 4 SFP+ picture

Juniper EX3300-48P 48-Port 10/100/1000BASE-T (48 PoE+ ports) with 4 SFP+

$74.00



Juniper SCBE2-MX-S Enhanced MX Switch Control Board Spare MX240 MX480 MX960 picture

Juniper SCBE2-MX-S Enhanced MX Switch Control Board Spare MX240 MX480 MX960

$260.00



Juniper Networks SRX345 Service Gateway 8 Port Gigabit 8 SFP 1G picture

Juniper Networks SRX345 Service Gateway 8 Port Gigabit 8 SFP 1G

$229.00



Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$59.95



Juniper EX3300-48T EX3300 Series 48-Port 10/100/1000BASE-T no power cord picture

Juniper EX3300-48T EX3300 Series 48-Port 10/100/1000BASE-T no power cord

$40.00



Juniper EX4550-32F-AFO 32x 1/10GbE SFP+ Switch 2x AC Powers picture

Juniper EX4550-32F-AFO 32x 1/10GbE SFP+ Switch 2x AC Powers

$600.00