Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 26326  / 3 Years ago, fri, july 30, 2021, 8:04:34

I'm trying to set up PXE in order to install Ubuntu 13.10 Server x64 through local network. So far, I can boot through PXE and, when using pxelinux.cfg/default provided by default, be able to install Ubuntu by downloading it from a mirror.



I want to be able to install Ubuntu from NFS. I edited pxelinux.cfg/default like this:



1  # D-I config version 2.0
2 default ubuntu-installer/amd64/boot-screens/vesamenu.c32
3 menu title Ubuntu setup
4 label ubuntu-13.10-server-amd64
5 menu label ubuntu-13.10-server-amd64
6 kernel 3.11.0.18-generic
7 append netboot=nfs initrd=install/initrd.gz nfsroot=192.168.1.75:/↵
exports/ubuntu-13.10-server-amd64 ip=dhcp rw



  • 192.168.1.75 is the IP of the server I use for DHCP, DNS and NFS,

  • I got the kernel 3.11.0.18-generic by running uname -r,

  • showmount -e 192.168.1.75 gives:




    Export list for 192.168.1.75:

    /exports/ubuntu-13.10-server-amd64 192.168.1.0/24




    The directory contains the contents of the original ubuntu-13.10-server-amd64 image.




When booting from PXE, I get the original screen (see screenshots below), then another one. Pressing Tab shows the command:




3.11.0.18-generic netboot=nfs initrd=install/initrd.gz nfsroot=192.168.1.↵
75:/exports/ubuntu-13.10-server-amd64 ip=dhcp rw




Pressing Enter does nothing.



I imagine there is something wrong with my changes of pxelinux.cfg/default.



What's wrong with it?



Is there a comprehensive documentation of the options to set?



Are there logs which can help understanding what is wrong?



enter image description here



enter image description here


More From » boot

 Answers
2

It sounds like your kernel and init are not loading (hence the hang). Are you sure your paths are correct? Also, check your filenames -- I'm not sure where you got 3.11.0.18-generic, my 14.04 server DVD netboot kernel is a file called "linux".



This line:



6          kernel 3.11.0.18-generic


Implies that a file called 3.11.0.18-generic exists in the root of your TFTP server, e.g. something like ftpboot3.11.0.18-generic or arlib ftp3.11.0.18-generic. Let's call this TFTPROOT. Similarly for install/initrd.gz - is there a file TFTPROOT/install/initrd.gz?



Your path on line 2 (default ubuntu-installer/amd64/boot-screens/vesamenu.c32) implies that you've copied the contents of DVDISO/install/netboot into your TFTP server root. E.g. you've likely got a folder called TFTPROOT/ubuntu-installer. However, the proper kernel and init file for netboot are(for me) contained in DVDISO/install/netboot/ubuntu-installer/amd64. So your paths should be kernel ubuntu-installer/amd64/linux and append initrd=ubuntu-installer/amd64/initrd.gz ...


[#26110] Friday, July 30, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
enytidge

Total Points: 169
Total Questions: 105
Total Answers: 107

Location: Papua New Guinea
Member since Tue, Aug 24, 2021
3 Years ago
;