Koozali.org: home of the SME Server

boot thinclient to smeserver 9.1

Offline fhoffmann

  • 2
  • +0/-0
boot thinclient to smeserver 9.1
« on: July 31, 2016, 02:46:50 PM »
Hello,
I have installed on sme 9.1 dhcp, tftp, ubcd.iso; the thinclient gets a IP-address, a tftp prefix: ubcd/, it is loading pxelinux.cfg/default, then booting ubcd iso, loading memdisk....
And then appears "could not find ramdisk image: ubcd.iso"
Next line is: boot:
What should I do now?
Greetings
fhoffmann

Offline ReetP

  • *
  • 3,740
  • +5/-0
Re: boot thinclient to smeserver 9.1
« Reply #1 on: July 31, 2016, 09:13:51 PM »
Post your config might help... :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,740
  • +5/-0
Re: boot thinclient to smeserver 9.1
« Reply #2 on: July 31, 2016, 09:21:47 PM »
And as a follow up to that..... I think you either need to mount the iso via nfs or extract the contents of the iso and configure accordingly. There is a lot of info around if you search for "pxe boot ubcd" or similar.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,740
  • +5/-0
Re: boot thinclient to smeserver 9.1
« Reply #3 on: July 31, 2016, 10:48:30 PM »
A few extra notes....

I have a directory called /tftpboot/images where I keep the required files

I extracted the UBCD ISO into :

/tftpboot/images/UBCD/

Now look in /tftpboot/images/UBCD/ubcd/images and you should see various img.gz files

If you then look in /tftpboot/images/UBCD/ubcd/menus/syslinux you will see various config files for each of the applications above.

I basically copied the bits I wanted to a file called /tftpboot/pxelinux.cfg/diag which looks a bit like this :


[root@server pxelinux.cfg]# cat diag
menu title --== UBCD, UBCD Menu ==--
menu background graphics/background.png
menu tabmsgrow 22
menu cmdlinerow 22
menu endrow 24

menu color title                1;34;49    #eea0a0ff #cc333355 std
menu color sel                  7;37;40    #ff000000 #bb9999aa all
menu color border               30;44      #ffffffff #00000000 std
menu color pwdheader            31;47      #eeff1010 #20ffffff std
menu color hotkey               35;40      #90ffff00 #00000000 std
menu color hotsel               35;40      #90000000 #bb9999aa all
menu color timeout_msg          35;40      #90ffffff #00000000 none
menu color timeout              31;47      #eeff1010 #00000000 none

prompt 0
noescape 1
allowoptions 0
timeout 0

default com32/vesamenu.c32

label main
 menu label Back to ^Main Menu
  kernel com32/vesamenu.c32
   append pxelinux.cfg/default

LABEL -
MENU LABEL Drive Fitness Test V4.16 (IBM/Hitachi)
TEXT HELP
 Quickly and reliably tests SCSI, IDE and SATA drives. For Ultrastar 10K300,
 Ultrastar 15K73 and DK32XX, use the OGT Diagnostic Tool (Windows only). Does
 not support Microdrive Digital Media products. Supports all Travelstar HDDs,
 except 8E, 10E and C4K series. Does not support external USB/Firewire drives.
ENDTEXT
COM32 linux.c32 memdisk
kernel images/memdisk
INITRD images/UBCD/ubcd/images/dft.img.gz

blah.....

With that you should get a menu for each application to run directly via tftp, rather than trying to load the whole ISO which will require NFS set up.

Makes life a bit easier.

Note partedmagic may take a little more messing with - look in /tftpboot/images/UBCD/ubcd/menus/syslinux/main.cfg for samples

HTH

B. Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline fhoffmann

  • 2
  • +0/-0
Re: boot thinclient to smeserver 9.1
« Reply #4 on: August 21, 2016, 08:09:43 PM »
Hello John,
thank you for yours answers. I am back from holidays and try again thinclients running. I have thought, that the ubcd.iso would be extracted when I added it in the thinclient configuration. How can I extract ubcd.iso in /tftpboot/ubcd/? You have asked me for my config. How can I post it to you?
Best regards.
Frank.

Offline ReetP

  • *
  • 3,740
  • +5/-0
Re: boot thinclient to smeserver 9.1
« Reply #5 on: August 23, 2016, 03:09:16 PM »
Hello John,
thank you for yours answers. I am back from holidays and try again thinclients running. I have thought, that the ubcd.iso would be extracted when I added it in the thinclient configuration. How can I extract ubcd.iso in /tftpboot/ubcd/? You have asked me for my config. How can I post it to you?
Best regards.
Frank.

No, tftpd will not extract a file for you. It is extremely dumb. It just sends exactly what is asked and cannot do anything particularly complicated. You can search for 'pxe boot UBCD' or similar

As explained above you have two options:

NFS share the ISO
tftpd will then pass the entire iso to the client

Extract the required utilities and make each one available separately
tftpd will them pass each required utility to the client

To extract them you can loop mount the ISO - have a Google on how to do this

If you get stuck after some more searching please ask.

B. Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation