Results 1 to 5 of 5

Thread: difficulty with remastering knoppix

  1. #1
    Junior Member
    Join Date
    Nov 2008
    Posts
    3

    difficulty with remastering knoppix

    Hello all...

    I am new to the forums. I have come here because I am starting to drive myself mental in my attempts to remaster knoppix.

    I am to create a remastered live cd of knoppix.

    I want to change the default windows manager to fluxbox.

    I have successful done this (I think so anyways)

    I have a custom menu and a custom style and background that I would like to use.
    I have copied everything necessary to do this to the /etc/skel file, as well I have changed the files in the /etc/X11/fluxbox to reflex my custom setup.

    I also changed the /etc/init.d/knoppix-autoconfig to make sure it boots fluxbox by default

    So far I have been successful in getting it to work (well sort of, i actually haven't been able to test it 100%)

    The problem that i am having is that when I add the .fluxbox directory to the /home/knoppix directory and go into fluxbox (from the livecd) my custom style shows up but for some reason my background won't show up unless I issue the command:
    Code:
    fbsetbg -f ~/.fluxbox/backgrounds/smile_joker.jpg
    I have installed feh and it is working but still for some reason my background just isn't loading and I can't figure out why. It loads though if i do it manually and all the transparency settings work like a charm

    The other thing that I find really weird. If I create a new user with the 'useradd -m <whatever>' command. When I log into the users account, the custom theme shows up but for some reason the .bashrc file is completely ignored and I am given a prompt of: 'sh-3.1$'
    It doesn't matter what files I change I can't seem to edit my prompt
    It will not read the .bashrc file at all and for some reason the prompt starts at /UNIONFS/root and NOT the users /home directory


    Creating new users isn't essential for this livecd because it will only be a live cd and nothing more. But I wanted to test if what I have done so far is working.. and it seems like it is only half working

    My fear is that with this testing. When I boot up my remastered knoppix CD and the /home/knoppix/ (the default user) user is created and fluxbox is booted, the environment will not reflect the changes that I have made.


    If anyone could help shed some light on changing knoppix over to running fluxbox by default with a custom setup that would be amazing.

    I have checked through the forums and as of yet I have not been able to come across the answers I need, or the answers are very vague.

    Any help would greatly be appreciated

    thank you in advance


    cheers

    todd

  2. #2
    Junior Member
    Join Date
    Nov 2008
    Posts
    3
    Bummer... failure big time

    Code:
    Can't find KNOPPIX filesystem, sorry.
    Dropping you to a (very limited) shell.
    Press reset button to quit.
    After burning the image to a CD and booting the remastered knoppix I get this error.
    My custom boot screen image showed up, and the hardware detection get to detecting the CD-ROM drive and then after that I get this error message..

    I am totally at a lose as to what is causing this. Can anyone please help point me in the direction of what might have caused this?

    I would be so grateful for any help anyone can give me


    thank you in advance


    cheers

    todd

  3. #3
    Junior Member
    Join Date
    Nov 2008
    Posts
    3
    So I have been doing a little poking around about this problem both in these forums and on other forums. It seems that there might be an issue with the directory structure for isolinux directory?

    Code:
    mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 \
       -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
       -hide-rr-moved -o /media/sda7/knx/knoppix.iso /media/sda7/knx/master
    This is the command I used to create the final ISO image. From what I have there is a possibility that under the current directory structure of '/media/sda7/knx/master/boot/isolinux' i should try '/media/sda7/knx/master/isolinux'. Is this an option that I can try? I don't know if it will fix it but at this point I am willing to try just about anything.

    I guess I should also mention that I am remastering the most recent version of knoppix. During the compression of the ISO everything went smoothly and I had no error at all


    any help would greatly be appreciated


    cheers

    todd

  4. #4
    Senior Member registered user
    Join Date
    Jan 2005
    Location
    UK
    Posts
    282
    I had a similar problem with menu items in KDE, think the problem is in that remastering knoppix not all changes are copied back to /etc/skel from the
    chroot environment.

    This link should help:

    http://www.knoppix.net/forum/viewtopic.php?t=28305

    Use the rsync command to sync changes and let us know if it works.

  5. #5
    Junior Member
    Join Date
    Jun 2008
    Posts
    3
    try to create and put a file called "45Xsession" in /etc/X11/Xsession.d/ directory
    and inside that file you put
    ==================================
    #!/bin/bash

    # this is your background..
    fbsetbg -f ~/.fluxbox/backgrounds/smile_joker.jpg

    # you can also put all the personalized setting commands here.
    ==================================

    note, in that file, if you call a program, let's say firefox

    "/usr/bin/firefox" and "/usr/bin/firefox &"

    makes the different!! have a try.


    -------------------------

    cd can't boot can be a lot of reasons, can you try run a md5 check sum on your burnt CD?
    try to double check with that before you boot your CDs.

    ------------------------

    the command you used...
    Code:
    mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 \
       -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
       -hide-rr-moved -o /media/sda7/knx/knoppix.iso /media/sda7/knx/master
    mmm......... it seems ok.
    but this is what i usually do.
    Code:
    cd /media/sda7/knx/master
    mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 \
       -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
       -hide-rr-moved -o /media/sda7/knx/knoppix.iso .
    and yes there is a dot at the end of this command.

    for more info see.
    http://www.knoppix.net/wiki/Knoppix_...mpressed_Image

    Winson

Similar Threads

  1. newbie in difficulty: can't use the CD or internet after HD
    By ginestre in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-17-2006, 07:36 PM
  2. difficulty with 'bootfrom'
    By jwally in forum Customising & Remastering
    Replies: 4
    Last Post: 10-13-2005, 10:36 AM
  3. Difficulty Booting into X server
    By lewisp in forum Hardware & Booting
    Replies: 1
    Last Post: 03-22-2005, 02:22 PM
  4. difficulty in installing knoppix
    By db in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-19-2004, 11:45 AM
  5. CD/HDD Video difficulty
    By dfloyd4 in forum General Support
    Replies: 6
    Last Post: 12-16-2003, 02: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
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1499.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots picture

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots

$745.00



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99