Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 34

Thread: knoppix-terminalserver wrong!

  1. #11
    Junior Member registered user
    Join Date
    May 2003
    Location
    zhejiang,China
    Posts
    15
    aay
    I analysis the file -- linuxrc, and I found the terminal client mount "NFSserverIP:/cdrom/KNOPPIX/KNOPPIX" as "/KNOPPIX". So, I think if we can mount hd-install root directory "/" as "/KNOPPIX", mybe we could success. But when I worked with my idea, I found a new problem that initd couldn't run success.

    Mybe, my idea is a way. Should you try it??

    I works hard, but my English still poor. Sorry

  2. #12
    Junior Member registered user
    Join Date
    May 2003
    Location
    zhejiang,China
    Posts
    15
    I find a way to solved this problem. But not the best way.
    1,Boot from Knoppix CD with "knoppix 2".
    2,Then copy the KNOPPIX files to your NFS directory: cp -Rp /KNOPPIX/* /mnt/hda1/cdrom
    (if your hd-intalled the KNOPPIX on hda1)
    3, reboot system without KNOPPIX CD
    4, chroot /cdrom
    5, remaster knoppix
    6, Ctl+D return to hd-installed knoppix
    7, edit /usr/share/knoppix-terminalserver/templates/miniroot/linuxrc, mount NFSDIR as /KNOPPIX, edit relation lines.
    8, run knoppix-terminalserver
    9, boot client
    10, You will found it works great.
    This way too waste hd space.
    I'll find other way to solve this problem.

  3. #13
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Hmm. This is certainly a soluiton of sorts, but apart from the fact that the terminal server is now running from the hd it's not really that different from the cd (since this method just coppies the image). I'm till looking for a way to install so that we can add programs and the like. Keep posting ideas and i'll do the same.

  4. #14
    Junior Member registered user
    Join Date
    May 2003
    Location
    zhejiang,China
    Posts
    15
    aay wrote
    Hmm. This is certainly a soluiton of sorts, but apart from the fact that the terminal server is now running from the hd it's not really that different from the cd (since this method just coppies the image). I'm till looking for a way to install so that we can add programs and the like. Keep posting ideas and i'll do the same.
    This method not as same as copy the KNOPPIX image file into the directory /cdrom/KNOPPIX/. If coppies KNOPPIX image, we couldn't insatll new applications, but this method can. I had installed mplay, mozilla firebird, realone, etc. And I had customed desktop, look-feel, style, splash screen, and so on. So, this is a good soluiton. The client can works great. The shortcome is too waste hd space. Of course, I believe that have another way to solve this problem, and better than this one.

  5. #15
    Junior Member
    Join Date
    Jun 2003
    Posts
    4
    Quote Originally Posted by Omak
    5, remaster knoppix
    7, edit /usr/share/knoppix-terminalserver/templates/miniroot/linuxrc, mount NFSDIR as /KNOPPIX, edit relation lines.
    I am haveing some problems with steps 5 and 7, could you give a bit more detail, please. How do I 'remaster knoppix'? And I was unsure what lines exactly to change in step 7.

    Thanks.

  6. #16
    Junior Member registered user
    Join Date
    May 2003
    Location
    zhejiang,China
    Posts
    15
    Quote Originally Posted by uteck
    Quote Originally Posted by Omak
    5, remaster knoppix
    7, edit /usr/share/knoppix-terminalserver/templates/miniroot/linuxrc, mount NFSDIR as /KNOPPIX, edit relation lines.
    I am haveing some problems with steps 5 and 7, could you give a bit more detail, please. How do I 'remaster knoppix'? And I was unsure what lines exactly to change in step 7.

    Thanks.

    Ok! Give details. Maybe you could hard understand my poor English.

    steps 5, remaster knoppix means you config evironment, install new applications, personalize like change styles, change icons, etc.

    steps 7,
    edit /usr/share/knoppix-terminalserver/templates/miniroot/linuxrc

    you should change these lines:
    1.lines from 242 to 252 you'll find
    # if we have an NFSDIR, try mounting it
    if [ -n "$NFSDIR" ]; then
    echo -n "${CRE}${BLUE}Trying to mount CD on" \
    "${MAGENTA}$NFSDIR${BLUE}...${NORMAL}"
    /static/mount -t nfs -o \
    ro,rsize=8192,wsize=8192,hard,intr$SECUREOPTIONS \
    "${NFSDIR}" /cdrom > /dev/null 2>&1 && MOUNTED="yes"

    # unsuccessful? Blank out NFSDIR and see if pump does better
    [ -z "$MOUNTED" ] && echo "${RED}Failed.${NORMAL}" && NFSDIR=
    fi

    replace with this, you should see the red part
    # if we have an NFSDIR, try mounting it
    if [ -n "$NFSDIR" ]; then
    echo -n "${CRE}${BLUE}Trying to mount CD on" \
    "${MAGENTA}$NFSDIR${BLUE}...${NORMAL}"
    /static/mount -t nfs -o \
    ro,rsize=8192,wsize=8192,hard,intr$SECUREOPTIONS \
    "${NFSDIR}"
    /KNOPPIX > /dev/null 2>&1 && MOUNTED="yes"

    # unsuccessful? Blank out NFSDIR and see if pump does better
    [ -z "$MOUNTED" ] && echo "${RED}Failed.${NORMAL}" && NFSDIR=
    fi


    2.lines from 304 to 321 you'll find
    FOUND_KNOPPIX=""
    if test -f /cdrom/KNOPPIX/KNOPPIX
    then
    echo -n "${CRE} ${GREEN}Accessing KNOPPIX CDROM image at ${MAGENTA}$NFSDIR${GREEN}...${NORMAL}"
    FOUND_KNOPPIX="true"
    else
    dropshell
    fi

    # Harddisk-installed script part version has been removed
    # (KNOPPIX can be booted directly from HD now).

    # DEBUG
    # echo "6" > /proc/sys/kernel/printk

    insmod /modules/cloop.o file=/cdrom/KNOPPIX/KNOPPIX
    mountit /dev/cloop /KNOPPIX "-o ro$SECUREOPTIONS" || FOUND_KNOPPIX=""


    replace with this, you should see the red part
    FOUND_KNOPPIX=""
    #if test -f /cdrom/KNOPPIX/KNOPPIX
    #then
    echo -n "${CRE} ${GREEN}Accessing KNOPPIX CDROM image at ${MAGENTA}$NFSDIR${GREEN}...${NORMAL}"
    FOUND_KNOPPIX="true"

    #else
    #dropshell
    #fi

    # Harddisk-installed script part version has been removed
    # (KNOPPIX can be booted directly from HD now).

    # DEBUG
    # echo "6" > /proc/sys/kernel/printk

    #insmod /modules/cloop.o file=/cdrom/KNOPPIX/KNOPPIX
    #mountit /dev/cloop /KNOPPIX "-o ro$SECUREOPTIONS" || FOUND_KNOPPIX=""

    At last, save it.
    Now if you start knoppix-terminalserver, it would work great.

  7. #17
    Junior Member
    Join Date
    Jun 2003
    Posts
    4
    Thanks for the instructions, I have it working now.
    Now I just have one question about installing programs. Do I install them as I normally would, or do I have to chroot to cdrom and install the packages there?

  8. #18
    Junior Member
    Join Date
    Jun 2003
    Location
    Uppsala, Sweden
    Posts
    4

    Summary and result of the HD-install process of ClusterKnopp

    Hello everybody!

    I have used Knoppix for some time now, and is very impressed by the ClusterKnoppix idea. I am a biologist and looking for a simple way to create Linux clusters for biological computation, and ClusterKnoppix seems to be just right for me . Reading your discussion here, there seem to be some difficulties to do a successful harddisk installation and maintain terminal server and openmosix funtionality if working with an "expanded" (not image) system.

    I was just wondering how it turned out for you guys/gals - did everything work out just fine? Are the clusters running well? Any problems installing new software with apt-get? Moreover, does anybody of you have time/energy to write a brief "step-by-step" summary on how you did it? Or even better, writing a script that does it?

    Have a nice day!

    Regards,

    Beakie

  9. #19
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    I did a ClusterKnoppix hd install and the openmosix clustering works fine, it's just the knoppixterminalserver that is set up to only function while running from CD.

    The only problem I've had, is KDE crashes quite often while running the openmosix kernel (etc.), if I use icewm, xfce, or fluxbox it seems to run fine. I have added the openmosix kernel to a debian unstable box and clustered the two quite easily. The only gotcha is ClusterKnoppix uses a newer openmosix tools package and requires NO configuration, on the system where I added the openmosix packages I had to configure the cluster manually. Which is pretty easy. I think I already posted what I had to do to get that running.

    Are you planning to install to all machines or have one install and run the others from CD?

    If you are willing to run each machine with it's own cd, clustering will operate just fine.

    HTH

    --rock

  10. #20
    Junior Member registered user
    Join Date
    May 2003
    Location
    zhejiang,China
    Posts
    15
    Quote Originally Posted by uteck
    Thanks for the instructions, I have it working now.
    Now I just have one question about installing programs. Do I install them as I normally would, or do I have to chroot to cdrom and install the packages there?
    Yes, you should chroot to cdrom for install packages.

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Option to enable root on knoppix-terminalserver
    By paulrbarnard in forum Ideas
    Replies: 1
    Last Post: 02-05-2005, 01:46 PM
  2. What is wrong with my Knoppix?
    By felixious in forum Hardware & Booting
    Replies: 2
    Last Post: 01-16-2005, 09:46 PM
  3. something is wrong with my knoppix.sh
    By ska_p_te in forum Customising & Remastering
    Replies: 0
    Last Post: 12-08-2004, 05:56 PM
  4. TerminalServer Client with uncompressed KNOPPIX image
    By Levi37 in forum Customising & Remastering
    Replies: 0
    Last Post: 05-25-2004, 01:16 PM
  5. Knoppix-terminalserver w/ sshd on the clients
    By ml1979 in forum Networking
    Replies: 5
    Last Post: 09-02-2003, 05:35 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
  •  


Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$14.77



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$16.00



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$12.00



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$39.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30