Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5839  / 1 Year ago, fri, december 9, 2022, 3:05:26

I set up a PXE server which hosts both Ubuntu Desktop and Ubuntu Server.




  • Ubuntu Desktop is installed successfully from PXE.


  • Ubuntu Server seems to successfully load vmlinuz and initrd.gz, asks for the language, then the location, then the keyboard layout, and finally complains that it can't mount the CD-ROM:




Your installation CD-ROM couldn't be mounted. This probably means that the CD-ROM was not in the drive. If so you can insert it and try again. Retry mounting the CD-ROM? (Yes) (No)



The content of /var/lib/tftpboot/pxelinux.cfg/default is the following:



default ubuntu-installer/amd64/boot-screens/vesamenu.c32
menu title Ubuntu setup
label ubuntu-14.04-desktop-amd64
menu label ubuntu-14.04-desktop-amd64
kernel ubuntu-14.04-desktop-amd64/vmlinuz.efi
append initrd=ubuntu-14.04-desktop-amd64/initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.1.41:/exports/ubuntu-14.04-desktop-amd64 splash --
label ubuntu-14.04-server-amd64
menu label ubuntu-14.04-server-amd64
kernel ubuntu-14.04-server-amd64/vmlinuz
append initrd=ubuntu-14.04-server-amd64/initrd.gz root=/dev/nfs boot=install netboot=nfs nfsroot=192.168.1.41:/exports/ubuntu-14.04-server-amd64 splash --


What explains the fact that it requests the CD-ROM and how to avoid it?


More From » server

 Answers
0

I had the same problem trying to PXE boot the 14.04 server-amd64 disc. I finally noticed I had used the wrong initrd.gz. Make sure you are using the one from /install/netboot/ubuntu-installer/amd64 on the disc. The filesize for mine (14.04, not 14.04.1) is: 21256771.



Here is my pxeconfig entry:
LABEL Ubuntu 14.04 Server amd64
kernel http://172.20.1.9/tftpboot/Ubuntu/14.04/server-amd64/vmlinuz
append boot=casper netboot=nfs nfsroot=172.20.1.9:/images/Ubuntu/14.04/server-amd64/ initrd=http://172.20.1.9/tftpboot/Ubuntu/14.04/server-amd64/initrd.gz ip=dhcp --
MENU LABEL Ubuntu 14.04 Server amd64
TEXT HELP
Ubuntu Server 14.04 amd64 with NFS root
ENDTEXT

[#24819] Friday, December 9, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kroapathe

Total Points: 445
Total Questions: 117
Total Answers: 99

Location: Botswana
Member since Sun, Sep 19, 2021
3 Years ago
;