Jump to content











Photo
- - - - -

PXE boot of gparted iso


  • Please log in to reply
2 replies to this topic

#1 gw1500se

gw1500se
  • Members
  • 2 posts
  •  
    United States

Posted 25 October 2015 - 06:27 PM

I'm trying to set up a PXE server to boot parted.iso and am having limited success. I am at the point where I get this in the log:

 

Rcvd DHCP inform Msg for IP 192.168.0.102, Mac 8C:89:A5:D1:19:FD [25/10 14:02:10.064]
Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 18:A9:05:F7:D1:CF [25/10 14:02:20.186]
DHCP: proposed address 192.168.0.101 [25/10 14:02:23.298]
Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 18:A9:05:F7:D1:CF [25/10 14:02:23.304]
IP address 192.168.0.101 flushed from ARP table [25/10 14:02:23.306]
DHCP: proposed address 192.168.0.101 [25/10 14:02:26.417]
Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 18:A9:05:F7:D1:CF [25/10 14:02:26.421]
IP address 192.168.0.101 flushed from ARP table [25/10 14:02:26.424]
DHCP: proposed address 192.168.0.101 [25/10 14:02:29.535]
Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 18:A9:05:F7:D1:CF [25/10 14:02:34.231]
Previously allocated address 192.168.0.101 acked [25/10 14:02:34.233]
Connection received from 192.168.0.101 on port 2070 [25/10 14:02:34.240]
Read request for file <boot\pxelinux\parted.cfg>. Mode octet [25/10 14:02:34.241]
OACK: <tsize=680,> [25/10 14:02:34.241]
Using local port 56591 [25/10 14:02:34.242]
Peer returns ERROR <TFTP Aborted> -> aborting transfer [25/10 14:02:34.245]
Connection received from 192.168.0.101 on port 2071 [25/10 14:02:34.245]
Read request for file <boot\pxelinux\parted.cfg>. Mode octet [25/10 14:02:34.253]
Using local port 56592 [25/10 14:02:34.256]
<boot\pxelinux\parted.cfg>: sent 2 blks, 680 bytes in 0 s. 0 blk resent [25/10 14:02:34.259]
 

On the client side it gets the IP address and then just hangs. I don't know what the aborted error message means since it is before the transfer of the file. Unfortunately that error message is virtually useless since it does say what the error is. I suspect it is a setting that is wrong somewhere. Here is my ini file:

 

[DHCP]
IP_Pool=192.168.0.100
PoolSize=10
BootFile=boot\pxelinux\parted.cfg
DNS=192.168.0.1
Mask=255.255.255.0
Gateway=162.168.0.1
Lease_NumLeases=0
DNS2=
WINS=192.168.0.1
Option42=
Option120=
DomainName=
Lease (minutes)=2880
AddOptionNumber1=0
AddOptionValue1=
AddOptionNumber2=0
AddOptionValue2=
AddOptionNumber3=0
AddOptionValue3=
AddOptionNumber4=0
AddOptionValue4=
AddOptionNumber5=0
AddOptionValue5=
AddOptionNumber6=0
AddOptionValue6=
AddOptionNumber7=0
AddOptionValue7=
AddOptionNumber8=0
AddOptionValue8=
AddOptionNumber9=0
AddOptionValue9=
AddOptionNumber10=0
AddOptionValue10=
[TFTPD32]
BaseDirectory=E:\PXE Boot
TftpPort=69
Hide=0
WinSize=0
Negociate=1
PXECompatibility=1
DirText=0
ShowProgressBar=1
Timeout=3
MaxRetransmit=6
SecurityLevel=1
UnixStrings=1
Beep=0
VirtualRoot=0
MD5=0
LocalIP=
Services=13
TftpLogFile=
SaveSyslogFile=
PipeSyslogMsg=0
LowestUDPPort=0
HighestUDPPort=0
MulticastPort=0
MulticastAddress=
PersistantLeases=1
DHCP Ping=1
DHCP LocalIP=
Max Simultaneous Transfers=100
UseEventLog=0
Console Password=tftpd32
Support for port Option=0
UseEventLog=0
Keep transfer Gui=5
Ignore ack for last TFTP packet=0
Enable IPv6=0
UnicastBOOTP=0
DHCP Double Answer=0

 

Here is the parted.cfg menu file that appears to have been sent after the abort error:

 

DEFAULT pmagic_iso
TIMEOUT 30

# Boot the kernel and initramfs over PXE 32-bit.
LABEL pmagic
LINUX pmagic/bzImage
INITRD pmagic/initrd.img
APPEND edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256

# Boot the kernel and initramfs over PXE 64-bit.
LABEL pmagic
LINUX pmagic/bzImage64
INITRD pmagic/initrd.img
APPEND edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256

# Boot the entire ISO over PXE.
# This method allows you to use the entire syslinux menu.
LABEL pmagic_iso
LINUX boot/syslinux/memdisk
INITRD pmagic_2013_08_01.iso
APPEND iso

 

The ISO file is in 'BaseDirectory'. Can someone suggest what is wrong? TIA.



#2 RoyM

RoyM

    Frequent Member

  • .script developer
  • 398 posts
  • Interests:Component level repair, Micro-processor based equipment. Computer Repair + Custom Builds.
    (ie. Game Machines, Custom Firewalls\Smoothwalls)
    Network Penetration and testing + Wireless.
    Fishing, Hunting, Camping, Gaming.
  •  
    United States

Posted 26 October 2015 - 07:29 PM

Hi gw1500se

 

I can't help much with tftpd32 aside from the usual troubleshooting stuff.

maybe try, remove the spaces here: BaseDirectory=E:\PXE Boot

 

See if anything here helps.

 
See here:
title GParted live ISO
pxe keep
root (pd)/iso/gparted-live-0.8.1-3.iso
# map (pd)/iso/gparted-live-0.8.1-3.iso (0xff) || map --mem (pd)/iso/gparted-live-0.8.1-3.iso (0xff)
map --mem (pd)/iso/gparted-live-0.8.1-3.iso (0xff)
map --hook
root (0xff)
kernel /live/vmlinuz boot=live config union=aufs noswap noprompt vga=788 ip=frommedia findiso=/iso/gparted-live-0.8.1-3.iso toram=filesystem.squashfs
initrd /live/initrd.img
 
Regards
RoyM


#3 gw1500se

gw1500se
  • Members
  • 2 posts
  •  
    United States

Posted 26 October 2015 - 10:40 PM

Thanks but I don't think it is getting that far. The first thing I should get is the menu and I do not. It there are any errors in the menu file itself then I would see that later, after my selection.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users