Initramd to be able mount filesystem.squash installer filesystem and starts unattended installation. ‘dists/$release/main/installer-$arch/current/images/netboot/’ + guess_os + ‘-installer/$arch’ (I installed from a USB stick on to an x220 laptop, but any Ubuntu installation should work). ![]() The Server can be any computer with a wired NIC the Server itself does not need to be UEFI-capable. ‘dists/$release/main/installer-$arch/current/legacy-images/netboot/’ + guess_os + ‘-installer/$arch’ Install a regular Ubuntu system + updates, or use an existing Ubuntu system as the Server. If (guess_os = ‘ubuntu’ & major.to_i >= 20) # support ubuntu focal(20), which moved pxe files to legacy_image ![]() Just to confirm that /usr/share/foreman/app/models/operatingsystems/debian.rb file supports U20 and i’ve created proper directory structure and files under legacy-images I think it’s a initramfs issue which looks like is not designed for netboot. Initrd server is booted properly with the provided kernel but initramfs can’t mount installer medium and gives up with below error. Kernel initrd=initrd.img interface=auto url= ip=dhcp ramdisk_size=10800 root=/dev/rd/0 rw auto BOOTIF=01-$ hostname=test1 auto=true domain=localdomain.local locale=en_US then created U20-desktop media in “Installation media” with previous url in foreman and then created U20-desktop OS in “operating system” menu. ![]() I’ve mounted it and copied the contents to my http server dir which is accessible via url. In this case the setup is based on the use of the 192.168.23.xxx IP range, and the device which is to boot has a fixed Ip-address (192.168.23.2) based on its MAC address. Beware not to forget the semicolons ( ) at the end of lines. Hereby substituting IP and MAC address as needed. I’ve downloaded ubuntu-20.04.1-desktop-amd64.iso which according to it’s all sort of installations including unattended and netinstall. The below lines needs to be added to the default file. ![]() (initramfs) Unable to find a medium containing a live file system
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |