Tiny Core Linux

Tiny Core Extensions => TCE Tips & Tricks => Topic started by: newbie000 on March 30, 2012, 01:01:28 AM

Title: PXE booting TFTPD:can't open file
Post by: newbie000 on March 30, 2012, 01:01:28 AM
Hi all,

I have TC installed on USB drive (fluxbox GUI) and it can be booted succesfully. I used that booted TC to run terminal server...

When i PXE boot from other PC, it is connected to PXE server, got an ip, but there are about 10 or more line messages on the screen:
Trying to load pxelinux.cfg/....
Trying to load pxelinux.cfg/....

Trying to load pxelinux.cfg/default..


On the PXE terminal the message from tftpd is can't open file..has gone through this thread http://forum.tinycorelinux.net/index.php?topic=11745.15 but the boot_file or bootfile both doesn't work for me...

The PXE boot result in text based mode only, no graphic...

Is there any other setting that i have to fixed?
Thanks before..
Title: Re: PXE booting TFTPD:can't open file
Post by: curaga on March 30, 2012, 02:27:23 AM
Quote
Trying to load pxelinux.cfg/....
Trying to load pxelinux.cfg/....

Trying to load pxelinux.cfg/default..


On the PXE terminal the message from tftpd is can't open file..

These are OK. The client checks for a specific config file, and since it doesn't exist, falls back to the default config.

Quote
The PXE boot result in text based mode only, no graphic...

Is there any other setting that i have to fixed?

I assume this is your real issue? It's also working as intended, as from 4.2 the GUI are extensions too. If you'd like to PXE the default TinyCore gui, you can either use the various network options to load the extensions, or share an initrd that has them builtin (see the programming section for maro's script on creating it).
Title: Re: PXE booting TFTPD:can't open file
Post by: newbie000 on March 30, 2012, 03:14:07 AM
Hello there,

After i looked up at the pxelinux.cfg/default <= the boot options has no options to define the GUI or vga options, so i added options
"cde showapps desktop=fluxbox vga=792"

During the boot there are erros saying no file found for libraries like libpng.so and libjpeg...

Are those extensions/libraries that i should share on network as per you said ?

Thanks before.
Title: Re: PXE booting TFTPD:can't open file
Post by: curaga on March 30, 2012, 08:29:50 AM
The script to include them might be easier to use than network shares:
http://forum.tinycorelinux.net/index.php/topic,12300.0.html

I'm curious, where did fluxbox come from to the PXE-booted client? (or whatever extension caused your missing libpng error)
Title: Re: PXE booting TFTPD:can't open file
Post by: newbie000 on April 01, 2012, 07:41:24 PM
Hi there,

I tried the fluxbox boot both from CDROM and installed hdisk, none of them work...

The script stops at copy2fs.lst. I have no ../cde/copy2fs.lst <= could you list tcz files i should put on copy2fs.lst file ?

Thanks!
Title: Re: PXE booting TFTPD:can't open file
Post by: newbie000 on April 01, 2012, 08:56:06 PM
Hello curaga,

I assumed the copy2fs.lst will be the list of tcz required for GUI, so i change copy2fs.lst to online.lst (the only one .lst file under cde directory), and the GUI does appear!

Could you advice what will the mandatory tcz file required for GUI so i can minimize the size of tinycore.gz file, we're going to use the PXE boot on small network bandwidth, very minimum package size will be great to have.

Thanks before.


Title: Re: PXE booting TFTPD:can't open file
Post by: gerald_clark on April 01, 2012, 09:12:57 PM
The wiki has an article on network booting that covers extension loading over the network.
Title: Re: PXE booting TFTPD:can't open file
Post by: newbie000 on April 02, 2012, 06:49:45 AM
Thanks all,

The GUI netbooting is succeed, unfortunately the right click menu doesn't work on thin PC....the boot options on /netboot/pxelinux0.cfg/default seems doesn't work as well, i use desktop=fluxbox options but the desktop in thin PC is set to default.... <= does it mean i have to do any customization on initrd ( .gz) files ?

Thanks.