WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can somebody upload the 2 patched files for PXE boot?  (Read 15107 times)

Offline bbmak

  • Newbie
  • *
  • Posts: 6
Can somebody upload the 2 patched files for PXE boot?
« on: October 23, 2011, 11:18:21 PM »
Noob to TC, and my laptop has no usb boot and optical drive. All I can do is PXE boot. Can somebody upload the 2 patched files of TC 4 ?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #1 on: October 23, 2011, 11:46:59 PM »
You don't need any patched files. Just read the wiki.

Offline bbmak

  • Newbie
  • *
  • Posts: 6
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #2 on: October 24, 2011, 12:45:31 AM »
You don't need any patched files. Just read the wiki.


wiki:netbooting
[quoteIf you are running TC or MC prior to Version 2.5 you will need to patch two files in tinycore.gz or microcore.gz.][/quote]

So if 2.5 prior release, I have to patch; however, 2.5 after, I don't have to do anything to the files?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #3 on: October 24, 2011, 12:55:00 AM »
Hi bbmak
That's correct. Current release is 4.0.2.

Offline bbmak

  • Newbie
  • *
  • Posts: 6
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #4 on: October 24, 2011, 01:07:17 AM »
Hi bbmak
That's correct. Current release is 4.0.2.

thank you guys.

Offline bbmak

  • Newbie
  • *
  • Posts: 6
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #5 on: October 24, 2011, 02:01:23 AM »
I got TC 4.2 boot, but right after the boot message, my laptop screen goes blank, nothing show up, but a "-" blinking. Anybody knows why?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #6 on: October 24, 2011, 02:18:09 AM »
Hi bbmak
While I can't help you with PXE, I can offer some advice. When asking a question, you should provide
some information relating to your problem. What you did to set up the server you are booting
from. Config file? Boot codes used? In order for someone to help you they will need to know what
you did.

Offline bbmak

  • Newbie
  • *
  • Posts: 6
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #7 on: October 24, 2011, 02:30:18 AM »
Hi bbmak
While I can't help you with PXE, I can offer some advice. When asking a question, you should provide
some information relating to your problem. What you did to set up the server you are booting
from. Config file? Boot codes used? In order for someone to help you they will need to know what
you did.

I am booting from a Windows 2003 RIS server.
/i386/templates/pxelinux.0
/i386/templates/pxelinux.sif
/i386/templates/boot/tinycore.gz
/i386/templates/boot/vmlinuz
/i386/templates/pxelinux.cfg/default  <-isolinux.cfg rename from default. I didn't modify the file.

I can see TC is booting b/c I see the boot message for like 3 seconds. However, after it boots, nothing show up, except a '-' blinking.
I try to jump to CLI by pressing CTRL+ALT+F1-F7. However, CLI does not show up.
 
=====================================================
Update:
I try to boot it with vmware. it works. it boots up okay. I guess it is my graphic card problem. :(

any help how to modify the isolinux.cfg file to make it to work?
« Last Edit: October 24, 2011, 02:45:48 AM by bbmak »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #8 on: October 24, 2011, 02:41:26 AM »
Hi bbmak
See if  CTRL+ALT+Backspace  gives you a CLI.
You can also search the forum for   blinking cursor

Offline ru60hz

  • Newbie
  • *
  • Posts: 35
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #9 on: October 24, 2011, 04:00:29 AM »

Update:
I try to boot it with vmware. it works. it boots up okay. I guess it is my graphic card problem. :(

any help how to modify the isolinux.cfg file to make it to work?
[/quote]

hi bbmak,
I think you should append this boot option 'xsetup' to your isolinux.cfg just right after the kernel /vmlinuz.
I hope this would help.

BTW, what did you use in your PXE booting? I'm also trying to boot from the network here. I'm using Etherboot
because my network card is not capable of booting through the network. I could see that my client computer receives an ip add. but probably it couldn't  find my kernel so it timed out.
Would you mind posting you're 'default.cfg'? i'll just compare it to mine?
thanks in advance,
Ruel

Offline ru60hz

  • Newbie
  • *
  • Posts: 35
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #10 on: October 24, 2011, 04:08:02 AM »
And, oh. BTW, i'm trying to use  tc-terminal-server here.

Offline ru60hz

  • Newbie
  • *
  • Posts: 35
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #11 on: October 24, 2011, 05:47:47 AM »
Hi all,

A directory /netboot was automatically generated when i fired up terminal server.

/netboot
    pxelinux.0
    pxelinux.0y
    pxelinux.cfg/
                default
    tinycore.gz
    udhcpd.conf
    vmlinuz

default (automatically generated no change is done)
DEFAULT tinycore
TIMEOUT 300
LABEL      tinycore
KERNEL  vmlinuz
APPEND quiet initrd=tinycore.gz


udhcpd.conf (automatically generated)
# The start and end of the IP lease block

start       192.168.0.30
end      192.168.0.60

# The interface that udhcpd will use

interface   eth0

opt   dns   212.119.64.3
option   subnet   255.255.255.0
opt   router   192.168.1.1
option   lease   864000      # 10 days of seconds
option   tftp   198.9.1.111
option   bootfile /netboot/pxelinux.0

Here is the output from my client computer using Etherboot.
          net0:00:50:22:40:1a:4d on PCI00:0d.0 (open)
               [linkup, TX:0 TX:00 RX:0 RXE:0
          DHCP (net0 00:50:22:40:1a:4d)...ok
          net0:192.168.0.30/255.255.255.0 gw 192.168.1.1
          Booting from filename "/netboot/pxelinux.0"
           ftp://0.0.0.0//netboot/pxelinux.0..............connection timed out(0x4c126035)
          no more network devices
gpxe>

could anybody tell me what is wrong here? I'm still trying to learn networking specially network booting.

ruel

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #12 on: October 24, 2011, 08:30:35 AM »
See how the server it uses is 0.0.0.0?

That is a bug in gpxe, I think I filed it over two years ago when it was still called etherboot.
IIRC the DHCP spec has two options for the tftp server, we default to one that the spec says should be preferred over the other.

I don't recall what the other option was called, but if you put the tftp server with that option, gpxe should work.
The only barriers that can stop you are the ones you create yourself.

Offline bbmak

  • Newbie
  • *
  • Posts: 6
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #13 on: October 24, 2011, 10:06:28 AM »
Quote
hi bbmak,
I think you should append this boot option 'xsetup' to your isolinux.cfg just right after the kernel /vmlinuz.
I hope this would help.

BTW, what did you use in your PXE booting? I'm also trying to boot from the network here. I'm using Etherboot
because my network card is not capable of booting through the network. I could see that my client computer receives an ip add. but probably it couldn't  find my kernel so it timed out.
Would you mind posting you're 'default.cfg'? i'll just compare it to mine?
thanks in advance,
Ruel

My Laptop is Portege 2000

@ru60hz
I am booting from lan(tftp from Windows RIS).
For the default.cfg, I just rename the isolinux.cfg -> default. I didn't change anything inside. Regarding to your timeout, I think it due to your tinycore.gz &  vmlinuz path from the pxelinux.cfg/default file. It points to /boot/tinycore.gz & /boot/vmlinuz. You need to add a directory in your /netboot folder or edit the path of the cfg file.

/netboot/boot/tinycore.gz
/netboot/boot/vmlinuz.

Yes, I'll post my default file later. I am unable to access my server box now.

Update:
==========================
Yes I just got myself to the CLI, and I am trying to change the vga mode. I use the 'tinycore vga=ask' command, but I am still unsure which mode am I in. :(

Update: For ru60hz, here is my pxelinux.cfg/default file, I didn't change anything.
==========================
display boot.msg
default tinycore

label tinycore
   kernel /boot/vmlinuz
   append initrd=/boot/tinycore.gz quiet

label tc
   kernel /boot/vmlinuz
   append initrd=/boot/tinycore.gz quiet

implicit 0   
prompt 1   
timeout 300
F1 boot.msg
F2 f2
F3 f3
F4 f4
=================================
« Last Edit: October 24, 2011, 04:25:15 PM by bbmak »

Offline ru60hz

  • Newbie
  • *
  • Posts: 35
Re: Can somebody upload the 2 patched files for PXE boot?
« Reply #14 on: October 24, 2011, 02:01:05 PM »
See how the server it uses is 0.0.0.0?

That is a bug in gpxe, I think I filed it over two years ago when it was still called etherboot.
IIRC the DHCP spec has two options for the tftp server, we default to one that the spec says should be preferred over the other.

I don't recall what the other option was called, but if you put the tftp server with that option, gpxe should work.

Yes, i notice that also. what i did try is to change it 192.168.1.111 on ethrboot config but no chance. Could you recommend floppy boot image i can use to boot from tc-terminal-server? I read somewhre that grub2 could network boot but i could'nt remember.


My Laptop is Portege 2000

@ru60hz
I am booting from lan(tftp from Windows RIS).
For the default.cfg, I just rename the isolinux.cfg -> default. I didn't change anything inside. Regarding to your timeout, I think it due to your tinycore.gz &  vmlinuz path from the pxelinux.cfg/default file. It points to /boot/tinycore.gz & /boot/vmlinuz. You need to add a directory in your /netboot folder or edit the path of the cfg file.

/netboot/boot/tinycore.gz
/netboot/boot/vmlinuz.

Yes, I'll post my default file later. I am unable to access my server box now.

Update:
==========================
Yes I just got myself to the CLI, and I am trying to change the vga mode. I use the 'tinycore vga=ask' command, but I am still unsure which mode am I in. :(


thanks,
i will try that.
 i'm glad you made it to the CLI.