Netboot from ubuntu16.04

Asked by raghuram on 2017-10-11

I have installed ubuntu 16.04 os on my taget hardware, now i want to do a netboot on ubuntu 16.04 using OS. Could any any body help me how to work on netboot for ubuntu 16.04 to boot OS over network.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2017-10-12
Last reply:
2017-10-12

Do you mean setup a PXE server so that you can install Ubuntu without needing any local media?

raghuram (datthu) said : #2

Actually i want to install ubunutu OS image over Ethernet network on my intel based atom target hardware using TFTP boot with out any local media.

Could PXE boot the Ubuntu CD and remaster it with a script to mount the FTP then use dd to transfer your image of the OS to the local drive.
It's not something I've done. I've made PXE boot servers but it just boots the standard Ubuntu install media and does a normal install without needing any disks or optical media.

Maybe others can assist.

Are there videos on YouTube that can help?

Manfred Hampl (m-hampl) said : #4

You have to set up a server from which the target system loads the installation files.
See among others https://help.ubuntu.com/community/PXEInstallServer (not sure if tis is still working for current releases) or https://www.ostechnix.com/how-to-install-pxe-server-on-ubuntu-16-04/

raghuram (datthu) said : #5

Hi Manfred Hampl,

Thanks a lot for you information . We will try out this , and one more thing is that does the target device on which i want to do netboot should have any option in bios to select netboot, it it doesn't has support on it how to proceed could you help me on this.

Thanks,
Raghuram

Manfred Hampl (m-hampl) said : #6

You should check with the manufacturer of the system and/or its BIOS, whether netboot is possible at all. Eventually you have to do a BIOS upgrade first.
If your target device does not have an option in the BIOS to enable netboot, then I do not see a chance to do this.

raghuram (datthu) said : #7

Hi,

I have tried procedure mentioned with the following website for PXE boot :
 https://www.ostechnix.com/how-to-install-pxe-server-on-ubuntu-16-04/
but i got the below error messages
Error in PXE BOOT:

Station IP adress is 192.168.1.3

Server IP adress is 192.168.1.3
NBP filename is pxelinux.0
NBP filesize is 42788 Bytes
Downloading NBP files
succeeded to download NBP file.
Boot Failed.ipv4-boot

could you please help on this issue. Actually i have one doubt is that i am working for ubuntu-16.04 desktop version for my requirement, but when i mount this image on my desktop, but from website i didn't find any files or folder from image as
  install/netboot/*.
Could you helpme on this.

Manfred Hampl (m-hampl) said : #8

The install/netboot/* files are only provided in the server .iso file
They are needed for booting only.

Two steps later the instructions tell to copy all .iso contents to /var/www/html/ubuntu/
Here you can use the desktop installer files.

Can you help with this problem?

Provide an answer of your own, or ask raghuram for more information if necessary.

To post a message you must log in.