Please help me install os via network

Discussion in 'Virtualization' started by rollerkoster, Apr 5, 2012.

  1. rollerkoster

    rollerkoster MDL Novice

    Jan 24, 2012
    5
    0
    0
    #1 rollerkoster, Apr 5, 2012
    Last edited by a moderator: Apr 20, 2017
    first of all, i don't have 20 posts, which means i can't post url and/or image. so i'm sorry for doing this. i just don't think i can't state my problem clearly without these links and images. :sorry:

    so hi. noob here trying to install OS via network. got curious after reading these tutorials :
    Code:
    overclock.net/t/345500/how-to-install-windows-over-network
    fooninja.net/2010/10/07/linuxbsd-network-install-using-pxe-and-windows/
    and let's call these tutorial A and B.

    since i only have one computer, i use vmware to achieve this goal. after vmware installed, it automatically installs 3 different networks as shown in this image:
    Code:
    i.imgur.com/wFFts.png
    so based on those two tutorials and virtual network that vmware had created, i configure tftpd32 into something like this:
    Code:
    i.imgur.com/zXir2.png
    1. is my virtual drive on XP. it emulates iso of linux mint
    2. it's selected because it matches dhcp from virtual network that my vm is currently using
    3. same as 1
    4. i don't know what i'm doing with this. i'm just guessing. by default it's not checked.
    5. is based on virtual network editor from image 1
    6. [end address]-[start address] from image 1
    7. modified from tutorial because i'm using iso image and different from those two tutorials. i have no idea whether i filled this correctly or not
    8. this i guessed too
    9. just like the one on tutorial
    10. same as 4

    it managed to boot and it's been given IP by dhcp server (as i understand based on this picture) but it stopped at this point.
    Code:
    i.imgur.com/FkBeT.png
    so please help. thank you very much and excuse my confusing english. :biggrin:
     
  2. 100

    100 MDL Expert

    May 17, 2011
    1,354
    1,590
    60
    tftpd32 provides its own DHCP server, so you need to disable VMware's for the network that the VM is connected to (vmnet1). Otherwise VMware's DHCP will assign IP addresses and not include the PXE options configured in tftpd32, which is why the VM gets an IP but no boot file.
     
  3. rollerkoster

    rollerkoster MDL Novice

    Jan 24, 2012
    5
    0
    0
    #3 rollerkoster, Apr 5, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    not working. this is the content of log the log file:

    Code:
    vmware dhcp disabled >> isolinux\isolinux.cfg
    Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0C:29:E6:16:65 [05/04 22:20:43.187]
    Client requested address 0.0.0.97 [05/04 22:20:43.187]
    DHCP: proposed address 192.168.178.128 [05/04 22:20:45.125]
    5412 Request 2 not processed [05/04 22:20:45.140]
    5412 Request 2 not processed [05/04 22:20:45.140]
    Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:0C:29:E6:16:65 [05/04 22:20:45.281]
    Previously allocated address 192.168.178.128 acked [05/04 22:20:45.281]
    Connection received from 192.168.178.128 on port 2070 [05/04 22:20:45.296]
    Read request for file <isolinux\isolinux.cfg>. Mode octet [05/04 22:20:45.296]
    OACK: <tsize=1242,> [05/04 22:20:45.296]
    Using local port 1132 [05/04 22:20:45.296]
    5412 Request 2 not processed [05/04 22:20:45.296]
    Connection received from 192.168.178.128 on port 2071 [05/04 22:20:45.296]
    Peer returns ERROR <TFTP Aborted> -> aborting transfer [05/04 22:20:45.312]
    Read request for file <isolinux\isolinux.cfg>. Mode octet [05/04 22:20:45.312]
    OACK: <blksize=1456,> [05/04 22:20:45.312]
    Using local port 1133 [05/04 22:20:45.312]
    5412 Request 2 not processed [05/04 22:20:45.312]
    <isolinux\isolinux.cfg>: sent 1 blk, 1242 bytes in 0 s. 0 blk resent [05/04 22:20:45.312]
    
    Code:
    vmware dhcp enabled >> isolinux\isolinux.cfg
    Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0C:29:E6:16:65 [05/04 22:21:26.890]
    Client requested address 0.0.0.97 [05/04 22:21:26.890]
    DHCP: proposed address 192.168.178.128 [05/04 22:21:29.125]
    Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0C:29:E6:16:65 [05/04 22:21:29.140]
    Client requested address 0.0.0.97 [05/04 22:21:29.140]
    DHCP: proposed address 192.168.178.128 [05/04 22:21:31.125]
    5412 Request 2 not processed [05/04 22:21:31.140]
    5412 Request 2 not processed [05/04 22:21:31.140]
    5412 Request 2 not processed [05/04 22:21:31.140]
    5412 Request 2 not processed [05/04 22:21:31.156]
    Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:0C:29:E6:16:65 [05/04 22:21:33.000]
    Previously allocated address 192.168.178.128 acked [05/04 22:21:33.015]
    Connection received from 192.168.178.128 on port 2070 [05/04 22:21:33.031]
    Read request for file <isolinux\isolinux.cfg>. Mode octet [05/04 22:21:33.031]
    OACK: <tsize=1242,> [05/04 22:21:33.031]
    Using local port 1322 [05/04 22:21:33.031]
    5412 Request 2 not processed [05/04 22:21:33.031]
    Peer returns ERROR <TFTP Aborted> -> aborting transfer [05/04 22:21:33.031]
    Connection received from 192.168.178.128 on port 2071 [05/04 22:21:33.031]
    Read request for file <isolinux\isolinux.cfg>. Mode octet [05/04 22:21:33.046]
    OACK: <blksize=1456,> [05/04 22:21:33.046]
    Using local port 1323 [05/04 22:21:33.046]
    5412 Request 2 not processed [05/04 22:21:33.062]
    <isolinux\isolinux.cfg>: sent 1 blk, 1242 bytes in 0 s. 0 blk resent [05/04 22:21:33.062]
    
    there are 2 .cfg file in that iso. log above was using isolinux\isolinux.cfg. these are log for boot\grub\loopback.cfg

    Code:
    vmware dhcp enabled >> boot\grub\loopback.cfg
    Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0C:29:E6:16:65 [05/04 22:26:01.859]
    Client requested address 0.0.0.97 [05/04 22:26:01.859]
    DHCP: proposed address 192.168.178.128 [05/04 22:26:04.140]
    Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0C:29:E6:16:65 [05/04 22:26:04.156]
    Client requested address 0.0.0.97 [05/04 22:26:04.156]
    DHCP: proposed address 192.168.178.128 [05/04 22:26:06.125]
    5412 Request 2 not processed [05/04 22:26:06.140]
    5412 Request 2 not processed [05/04 22:26:06.140]
    5412 Request 2 not processed [05/04 22:26:06.140]
    5412 Request 2 not processed [05/04 22:26:06.156]
    Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:0C:29:E6:16:65 [05/04 22:26:08.000]
    Previously allocated address 192.168.178.128 acked [05/04 22:26:08.000]
    Connection received from 192.168.178.128 on port 2070 [05/04 22:26:08.031]
    Read request for file <boot\grub\loopback.cfg>. Mode octet [05/04 22:26:08.031]
    OACK: <tsize=680,> [05/04 22:26:08.031]
    Using local port 2065 [05/04 22:26:08.031]
    5412 Request 2 not processed [05/04 22:26:08.031]
    Connection received from 192.168.178.128 on port 2071 [05/04 22:26:08.046]
    5412 Request 2 not processed [05/04 22:26:08.046]
    Peer returns ERROR <TFTP Aborted> -> aborting transfer [05/04 22:26:08.046]
    Read request for file <boot\grub\loopback.cfg>. Mode octet [05/04 22:26:08.046]
    OACK: <blksize=1456,> [05/04 22:26:08.046]
    Using local port 2066 [05/04 22:26:08.046]
    <boot\grub\loopback.cfg>: sent 1 blk, 680 bytes in 0 s. 0 blk resent [05/04 22:26:08.046]
    
    Code:
    vmware dhcp disabled >> boot\grub\loopback.cfg
    Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0C:29:E6:16:65 [05/04 22:29:27.484]
    Client requested address 0.0.0.97 [05/04 22:29:27.484]
    DHCP: proposed address 192.168.178.128 [05/04 22:29:29.125]
    5412 Request 2 not processed [05/04 22:29:29.140]
    5412 Request 2 not processed [05/04 22:29:29.156]
    Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:0C:29:E6:16:65 [05/04 22:29:29.546]
    Previously allocated address 192.168.178.128 acked [05/04 22:29:29.546]
    Connection received from 192.168.178.128 on port 2070 [05/04 22:29:29.562]
    Read request for file <boot\grub\loopback.cfg>. Mode octet [05/04 22:29:29.562]
    OACK: <tsize=680,> [05/04 22:29:29.562]
    Using local port 2570 [05/04 22:29:29.562]
    5412 Request 2 not processed [05/04 22:29:29.562]
    Connection received from 192.168.178.128 on port 2071 [05/04 22:29:29.578]
    Read request for file <boot\grub\loopback.cfg>. Mode octet [05/04 22:29:29.578]
    OACK: <blksize=1456,> [05/04 22:29:29.578]
    Using local port 2571 [05/04 22:29:29.578]
    5412 Request 2 not processed [05/04 22:29:29.578]
    <boot\grub\loopback.cfg>: sent 1 blk, 680 bytes in 0 s. 0 blk resent [05/04 22:29:29.578]
    Peer returns ERROR <TFTP Aborted> -> aborting transfer [05/04 22:29:29.578]
    
     
  4. rollerkoster

    rollerkoster MDL Novice

    Jan 24, 2012
    5
    0
    0
    @sebus
    will try 1st and 2nd link. the rest is kept for later. seems a lot to take in. :biggrin: thank you.