WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PXE boot problem - Missing file(s)  (Read 5887 times)

Offline poloxyt

  • Newbie
  • *
  • Posts: 10
PXE boot problem - Missing file(s)
« on: March 21, 2010, 06:18:56 AM »
Hi everyone

I've got problem with booting over lan. I followed:
http://wiki.tinycorelinux.com/tiki-index.php?page=Netbooting

When i try pxe boot my client show:


Its look like missing bzImage, but this file is in dir. When i typed monualy: bzImage the system begin load, when this come up:


I see nfs mount problem

I'm using ubuntu 9 .10 for server and Tiny Core 2.9 for client
If anyone can help - I'm waiting  :D

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: PXE boot problem - Missing file(s)
« Reply #1 on: March 21, 2010, 10:09:53 AM »
What's your pxelinux.cfg/default config file? Looks like you don't have one, or it isn't found.

Here's what a TC host would have:
Quote
DEFAULT tinycore
TIMEOUT 300

LABEL tinycore
KERNEL bzImage
APPEND quiet initrd=tinycore.gz
The only barriers that can stop you are the ones you create yourself.

Offline poloxyt

  • Newbie
  • *
  • Posts: 10
Re: PXE boot problem - Missing file(s)
« Reply #2 on: March 21, 2010, 11:02:19 AM »
like that in link above:

Code: [Select]
label ws1
  MENU LABEL WS1
  kernel /nfs/ws1/bzImage
  append initrd=/nfs/ws1/tinycore.gz nfsmount=192.168.1.3:/tftpboot/nfs/ws1 tcplist=192.168.1.3:/nfs/ws1/nfs.list tce=nfs/tce

bzImage and tinycore.gz are in /nfs/ws1/ and also in /tftpboot.

When i change "default" to your version i have the same resultat ;/ my tftpd doesn't share that file

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: PXE boot problem - Missing file(s)
« Reply #3 on: March 21, 2010, 12:31:19 PM »
Anything in your server logs?
The only barriers that can stop you are the ones you create yourself.

Offline poloxyt

  • Newbie
  • *
  • Posts: 10
Re: PXE boot problem - Missing file(s)
« Reply #4 on: March 21, 2010, 12:34:02 PM »
nth suspect. I think it could be problem with tftp serv. Later i'll try reinstall it and start from a begining :P

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: PXE boot problem - Missing file(s)
« Reply #5 on: March 21, 2010, 01:23:11 PM »
If your tftp server is configured with /tftpboot as base, the files should be in
/tftpboot/nfs/ws1/

Offline poloxyt

  • Newbie
  • *
  • Posts: 10
Re: PXE boot problem - Missing file(s)
« Reply #6 on: March 21, 2010, 01:32:15 PM »
I've got files in both directions /tftpboot and /tftpboot/nfs/ws1/

Offline poloxyt

  • Newbie
  • *
  • Posts: 10
Re: PXE boot problem - Missing file(s)
« Reply #7 on: March 26, 2010, 07:25:48 AM »
My /tftpboot contain:

Code: [Select]
pxelinux.0
bzImage       - copied diretcly from live boot cd
tinycore.gz    - copied diretcly from live boot cd
pxelinux.cfg/default

default now contain:

Code: [Select]
label ws1
  kernel bzImage
  append initrd=tinycore.gz

And even with this settings i have the same issue as first. My tftp have to work fine becouse it download pxelinux.0. Any idea?
« Last Edit: March 26, 2010, 07:41:58 AM by poloxyt »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: PXE boot problem - Missing file(s)
« Reply #8 on: March 26, 2010, 07:36:16 AM »
Is it really "default" or "deflaut"?
The only barriers that can stop you are the ones you create yourself.

Offline poloxyt

  • Newbie
  • *
  • Posts: 10
Re: PXE boot problem - Missing file(s)
« Reply #9 on: March 26, 2010, 07:43:15 AM »
At last!!! :P I changed default:

Code: [Select]
DISPLAY boot.txt
Default ws1
prompt 1
timeout 10

label ws1
  kernel bzImage
  append initrd=tinycore.gz,nfs-utils.cpio.gz nfsmount=192.168.1.3:/nfsroot tce=/mnt/nfs/

I dont know why it work but it WORK :P
« Last Edit: March 26, 2010, 10:54:00 AM by poloxyt »

Offline poloxyt

  • Newbie
  • *
  • Posts: 10
Re: PXE boot problem - Missing file(s)
« Reply #10 on: March 26, 2010, 02:56:05 PM »
I have another question. It is posible to boot multiple hosts with one pxe server? If I boot eg 2-3 hosts there will be problem witch common filesystem? If I can - HOW? :P

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: PXE boot problem - Missing file(s)
« Reply #11 on: March 26, 2010, 02:59:33 PM »
Sure, it shouldn't matter how many hosts you netboot. The extensions are mounted readonly.

No changes required.
The only barriers that can stop you are the ones you create yourself.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: PXE boot problem - Missing file(s)
« Reply #12 on: March 26, 2010, 04:54:16 PM »
You can also have config file per machine with separate nfs shares.
This allows for different extensions being installed on each workstation.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: PXE boot problem - Missing file(s)
« Reply #13 on: March 26, 2010, 05:54:48 PM »
Wouldn't having separate lists on the same NFS share have the same effect?
The only barriers that can stop you are the ones you create yourself.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: PXE boot problem - Missing file(s)
« Reply #14 on: March 26, 2010, 10:15:48 PM »
The NFS shares work just like drives.
You can use App Browser to install applications.
You can edit the onboot.lst.
You can run backup to save configuration changes.
Using the same nfs share for multiple workstations is not a good idea.