WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Absolute Minimum Netbooting problems  (Read 14056 times)

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 362
    • Zendrael's home of projects
[SOLVED] Absolute Minimum Netbooting problems
« on: September 06, 2013, 04:51:59 AM »
Hello all!

Following the Absolute Minimum Netbooting Method from the Wiki, I still can't get my clients to boot... they get some IP address but TFTP gives me an error (screenshot attached).

What should get wrong here?

I'm using (Tiny)Core 4.7.7.
« Last Edit: September 11, 2013, 05:06:45 AM by Zendrael »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Absolute Minimum Netbooting problems
« Reply #1 on: September 06, 2013, 05:08:38 AM »
What is client01.pxe?
You should be loading pxelinux.0.

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 362
    • Zendrael's home of projects
Re: Absolute Minimum Netbooting problems
« Reply #2 on: September 06, 2013, 05:17:19 AM »
Hello Gerald_Clark!

I just followed the instructions in the wiki... So, I don't know what is happening, never tested it (the netbooting) before... And in the wiki it doesn't say about pxelinux.0....

Any clues? Ideas? Everything is welcome! =)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Absolute Minimum Netbooting problems
« Reply #3 on: September 06, 2013, 06:50:48 AM »
What wiki article are you referring to?

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 362
    • Zendrael's home of projects
Re: Absolute Minimum Netbooting problems
« Reply #4 on: September 06, 2013, 06:55:58 AM »
This one: http://wiki.tinycorelinux.net/wiki:netbooting

I have configured the Terminal Server app as described then I started folowing the Absolute Minimum step as described too.


Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Absolute Minimum Netbooting problems
« Reply #5 on: September 06, 2013, 07:02:34 AM »
Where in there do you see a client01.pxe?

The absolute minimum method does not refer to an absolute minimum method of netbooting.
It is the absolute minimum changes you need to make to a working pxe boot system to allow for a persistent tce directory on nfs.

Get your pxe boot working before you try any of the network based tce directory options.

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 362
    • Zendrael's home of projects
Re: Absolute Minimum Netbooting problems
« Reply #6 on: September 06, 2013, 07:18:21 AM »
Gerald_Clark, thanks for your reply!

I have no file called client01.pxe... I just have my server and another machine in a VM environment. The client VM (VirtualBox) is called client01 so, if I change its name (for workstation, for exemple) it changes the name of the <file>.pxe... In the server I did nothing about it.

So, if the absolute minimum refers just to persistence, should my system boot just by using the Terminal Server app, right? Well... it is not working... I'm still getting the same error from TFTP... My VirtualBox Server and Client are in the same network.

My setup:
-SERVER VM
   - (Tiny)Core 4.7.7
   - Network adapter 1: (eth0) NAT
   - Network adapter 2: (eth1) Internal Network
- CLIENT VM
   - PXE Boot thru Network adapter 1: Internal Network
« Last Edit: September 06, 2013, 07:35:30 AM by Zendrael »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Absolute Minimum Netbooting problems
« Reply #7 on: September 06, 2013, 10:01:58 AM »
I don't use the terminal server app.
My pxe boot server is CentOS.
You need to get your server's dhcp, tftp, and pxe configuration fixed so you can pxe boot the basic vmlinuz and core.gz files.
Once you have that working, you can add the network persistence to your  pxelinux.cfg/default file.

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 362
    • Zendrael's home of projects
Re: Absolute Minimum Netbooting problems
« Reply #8 on: September 06, 2013, 12:53:24 PM »
Hello Gerald_Clark!

Got the machines booting ok!

Did the "Putting all together" from the wiki but still no nfs... even when I do "ls /mnt/" on the clients, there are just "sr0".

Maybe am I missing something? I get no erros too...

Put a default file at /tftpboot/pxelinux.conf/ with the menu described. Is it correct?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Absolute Minimum Netbooting problems
« Reply #9 on: September 06, 2013, 01:05:56 PM »
The server you specify must have an nfs server running with the specified directory exported.

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 362
    • Zendrael's home of projects
Re: Absolute Minimum Netbooting problems
« Reply #10 on: September 06, 2013, 02:37:10 PM »
I have nfs-utils loaded into the server and already did the exportfs -a after changes in the /etc/exports.

Should I run any command to start the nfs server?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Absolute Minimum Netbooting problems
« Reply #11 on: September 06, 2013, 03:00:14 PM »
/usr/local/etc/init.d/nfs-server start

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 362
    • Zendrael's home of projects
Re: Absolute Minimum Netbooting problems
« Reply #12 on: September 07, 2013, 05:46:06 AM »
Followed all the steps again and after starting the server, had some messages (attached because I could not copy and paste from the VM to here) and still does not work... I can't see the PXE menu either...

Edit: (Attached a client machine booting messages too)
« Last Edit: September 07, 2013, 06:12:34 AM by Zendrael »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11263
Re: Absolute Minimum Netbooting problems
« Reply #13 on: September 07, 2013, 08:01:44 AM »
Hi Zendrael
The  nfsd  message in the first picture suggests you need to install  filesystems-3.0.21-tinycore.tcz

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 362
    • Zendrael's home of projects
Re: Absolute Minimum Netbooting problems
« Reply #14 on: September 07, 2013, 08:29:58 AM »
Hi Rich!

I've installed and loaded it at boot now. But the clients still don't have a /mnt/nfs after booting...

Also I added the pxelinux.0 to the directory /tftpboot/ copying it from /usr/share/syslinux/ - nothing changed...

I tryied to change the default file in the pxelinux.cfg dir to become the client Mac Address and no luck with that too... When my client boots, the Terminal Server app in the server drops a lot of "tftp: can't open file" messages... like if it doesn't know where to find the files...