Export thread

  • Be sure to checkout “Tips & Tricks”
    Dear Guest Visitor → Once you register and log-in:

    This forum does not automatically send notices of new content. So if, for example, you would like to be notified by mail when Steve posts an update to his blog (or of any other specific activity anywhere else), you need to tell the system what to “Watch” for you. Please checkout the “Tips & Tricks” page for details about that... and other tips!

    /Steve.

PXE boot?

#1

D

drwtsn32

Anyone get this to work with PXE boot? (I have PXE set up on my network to boot to dozen+ utilities.)

I tried booting the IMG file but it didn't work for me.


#2

P

PHolder

Does PXE booting automatically imply non-EFI booting? I've never played with it, so I don't know if there are any ties to legacy booting.


#3

EdwinG

EdwinG

No it doesn't.

PXE booting exists in all three UEFI, EFI and legacy modes. Depends on what architectures your PXE server offers.
The booting firmware, (U)EFI or UNDI, will send out a different DHCP architecture option for themselves.


#4

P

PHolder

I tried booting the IMG file but it didn't work for me.
So according to what @EdwinG said, you may not get PXE to boot a FreeDOS image on a machine without legacy booting support (which implies either BIOS or a CSM.)


#5

D

drwtsn32

Yeah I'm doing legacy boot for sure.

Is there a way to write the IMG to a standard 1.44MB floppy disk image? That's how I boot many utilities with PXE. Alternatively an ISO would also work.


#6

Steve

Steve

@drwtsn32 : The IMG file is for an 8MB file system. So we'll need one for a bootable diskette. I believe that @millQ has assembled one for his bootable CD & ISO... but I haven't popped the stack on my ToDo list far enough yet to do that.


#7

millQ

millQ

Yeah I'm doing legacy boot for sure.

Is there a way to write the IMG to a standard 1.44MB floppy disk image? That's how I boot many utilities with PXE. Alternatively an ISO would also work.
1.44 MB Floppy disk image
It currently places rs.exe in a small 128 kb RAMdrive but it can be disabled in autoexec.bat ( if you prefer to stay on A: )


#8

D

drwtsn32

Thanks @millQ, will check it out...


#9

millQ

millQ

Thanks @millQ, will check it out...
I started AIOBoot-v0.9.9.19 and then PXE booted for the first time :)
(I first made an .ISO from the .img file) and it did not like the splash screen(hangs after enter is pressed :( (no hang when booting from USB)).

So if you have the same problem, then use this Autoexec.bat file instead
(and if you don't need a RAMdrive...then just remove the RAM.BAT line)

Code:
@echo off
SET PATH=\;\FREEDOS
SET DIRCMD=/OGN /Y
SET COPYCMD=/-Y

CALL FIXPATH.BAT
CALL RAM.BAT

fdapm apmdos
alias reboot=fdapm warmboot
alias shutdown=fdapm poweroff
alias edc=edit \config.sys
alias eda=edit \autoexec.sys
menu


#10

D

drwtsn32

I started AIOBoot-v0.9.9.19 and then PXE booted for the first time

I'm not really following this part. AIOBoot looks like a USB boot creation utility, maybe similar to YUMI (which I use quite a bit). I'm not sure how a USB boot utility relates to PXE booting.

By the way, I tried your image file and it wouldn't PXE boot for me. I didn't have time yet to try and troubleshoot why. Strange....


#11

millQ

millQ

I'm not really following this part. AIOBoot looks like a USB boot creation utility, maybe similar to YUMI (which I use quite a bit). I'm not sure how a USB boot utility relates to PXE booting.

By the way, I tried your image file and it wouldn't PXE boot for me. I didn't have time yet to try and troubleshoot why. Strange....

It looks like that, but instead it fixes the menu for the pxe boot => Tiny PXE server 1.0.0.23

I decided to download the Tiny PXE server(for windows portable version) separately
and then by hand editing the files to boot a floppy image file instead
..and this time it had no problem with the splash screen :)

Code:
C:\pxesrv\files\menu.ipxe


item --gap -- ------------------------------ Advanced ---------------------------------
item readspeed  ReadSpeed (using Memdisk)
item spinrite60 Spinrite6.0 (using Memdisk)
item spinrite61 Spinrite6.1 (using Memdisk)


Code:
C:\pxesrv\files\menu.ipxe


######################## other items

:readspeed
kernel ${boot-url}/memdisk
initrd ${boot-url}/images/readspeed.img
boot

:spinrite60
kernel ${boot-url}/memdisk
initrd ${boot-url}/images/spinrite60.img
boot

:spinrite61
kernel ${boot-url}/memdisk
initrd ${boot-url}/images/spinrite61.img
boot

tinyPXE.PNG


#12

D

drwtsn32

I'm also using iPXE and memdisk to boot floppy disk images and ISOs. But it didn't work for me with ReadSpeed.img, presumably because of what has previously been discussed - it's not a floppy image. It also didn't work with the custom img file you provided in the mega.nz link. Your custom img file worked for you with iPXE?


#13

millQ

millQ

I'm also using iPXE and memdisk to boot floppy disk images and ISOs. But it didn't work for me with ReadSpeed.img, presumably because of what has previously been discussed - it's not a floppy image. It also didn't work with the custom img file you provided in the mega.nz link. Your custom img file worked for you with iPXE?
I used my floppy image RSRAM02.img
and renamed it to readspeed.img
and yes it works everytime.

The file you download is 1.4 MB (1 474 560 bytes)?


#14

D

drwtsn32

The file you download is 1.4 MB (1 474 560 bytes)?

Yep, it's exactly the same size as my other floppy images.

I figured out the issue - I was PXE booting a DOS virtual machine that only had 4MB RAM assigned to it. I used a different DOS VM that had 16MB RAM and it worked fine. So...... user error!


#15

D

drwtsn32

it did not like the splash screen(hangs after enter is pressed

I have tested PXE boot on a few machines and all hang at the splash screen as well, so I commented it out of autoexec.bat.

I also PXE boot SpinRite and have no issues with its splash screen, interestingly enough.

Thanks again for making the PXE boot version!