Booting Ubuntu Live CD
-
@nsherin The problem you now see is exactly what I described below. Fix your nfsroot path and file locations.
-
@nsherin said in Booting Ubuntu Live CD:
Also, do you know the parameters I’d need in locale= and keyboard-configuration/layoutcode for a UK keyboard?
I would say the local for your side of the pond would be
en_GB.UTF-8
-
Thanks for that - I’ve moved the files from the DVD into /images/os/ubuntu/16.04/mate and modified the parameters to read:
kernel nfs://t-pxe/images/os/ubuntu/16.04/mate/casper/vmlinuz.efi
initrd nfs://t-pxe/images/os/ubuntu/16.04/mate/casper/initrd.lz
imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=t-pxe:/images/os/ubuntu/16.04/mate/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us quiet splash ip=dhcp rw
boot || goto MENUIt’s still complaining about the lack of a file system on the network.
-
@nsherin said in Booting Ubuntu Live CD:
ok next change (understand I’m swagging it a little)Possibly it doesn’t like the dns names here of
t-pxe
. Replace thet-pxe
value with the iPXE menu variable of${fog-ip}
That will then set the ip address of the fog server in there instead of the dns names. Refer to my working menu. on how to place the ipxe variable. -
Thanks! That worked! I replaced t-pxe with the server’s IP 192.168.0.22 and I now have a booted live CD!
-
Oh and for a UK keyboard, the syntax is:
locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb
-
@nsherin Issue solved then?
-
Almost - I’m just trying Ubuntu Server now and have added another menu option:
Menu Item: fog.ubuntu-server
Description: Ubuntu Server 16.04
Parameters:
kernel nfs://192.168.0.22/images/os/ubuntu/16.04/server/install/vmlinuz
initrd nfs://192.168.0.22/images/os/ubuntu/16.04/server/install/initrd.gz
imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.22:/images/os/ubuntu/16.04/server/ locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb quiet splash ip=dhcp rw
boot || goto MENUI have copied the Ubuntu Server CD contents into /images/os/ubuntu/16.04/server/
It boots to the Ubuntu installer and then asks me to insert a CD-ROM.
Any ideas would be great. Thanks!
-
@nsherin Again please review this post (especially
Note1
where the installer asks for the cdrom during installation. And then note2 where it says where to get what you need): https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/6 -
Thanks for that - I’ve got it booting - my menu entry now looks like:
Menu Item: fog.ubuntu-server
Description: Ubuntu Server 16.04
kernel tftp://192.168.0.22/os/ubuntu/16.04/server/vmlinuz
initrd tftp://192.168.0.22/os/ubuntu/16.04/server/initrd.gz
imgargs vmlinuz initrd=initrd.gz root=/dev/nfs netboot=nfs nfsroot=192.168.0.22:/images/os/ubuntu/16.04/server/ locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb
boot || goto MENUMany thanks again for your help!