2019-03-13, 04:45
Hi Guys,
iPXE noob starting out and I’m trying to use iPXE to boot an iSCSI LUN which contains an installed Ubuntu 18.04 LTS O/S, the LUN appears to boot since it shows the Ubuntu Grub menu but then drops out to BusyBox with a few errors as below.
Any idea what I’m doing wrong here?
The steps I took were as follows:
(A) Use KVM (proxmox) to map the empty iSCSI LUN as single disk to a VM (UEFI 64 bit)
(B) Install Ubuntu 18.04 LTS to the empty LUN
© Check Ubuntu is installed to the VM as expected then stop the VM and detach the LUN from the VM.
(D) Boot a different VM (with only a simple 1GB disk attached but set to Network Boot) to iPXE and choose the following menu option:
(E) iPXE boots the LUN to the Ubuntu "GNU Grub version 2.02" menu and I select “Ubuntu” to start Ubuntu
(F) After a minute or so, the following errors are shown in the terminal and I'm dropped to a BusyBox (initramfs) prompt:
Thanks!
iPXE noob starting out and I’m trying to use iPXE to boot an iSCSI LUN which contains an installed Ubuntu 18.04 LTS O/S, the LUN appears to boot since it shows the Ubuntu Grub menu but then drops out to BusyBox with a few errors as below.
Any idea what I’m doing wrong here?
The steps I took were as follows:
(A) Use KVM (proxmox) to map the empty iSCSI LUN as single disk to a VM (UEFI 64 bit)
(B) Install Ubuntu 18.04 LTS to the empty LUN
© Check Ubuntu is installed to the VM as expected then stop the VM and detach the LUN from the VM.
(D) Boot a different VM (with only a simple 1GB disk attached but set to Network Boot) to iPXE and choose the following menu option:
Code:
:iscsi-boot-ubuntu-18-04-lts
set initiator-iqn [iSCSI-TARGET IQN]
set root-path iscsi:[iSCSI-TARGET-IP-ADDRESS]:::1:${initiator-iqn}
set keep-san 1
echo Booting Ubuntu 18.04.2 LTS (Linux ${arch}) for ${initiator-iqn}
sanboot ${root-path} || goto failed
goto start
(E) iPXE boots the LUN to the Ubuntu "GNU Grub version 2.02" menu and I select “Ubuntu” to start Ubuntu
(F) After a minute or so, the following errors are shown in the terminal and I'm dropped to a BusyBox (initramfs) prompt:
Code:
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Volume group "ubuntu-vg" not found
Cannot process volume group ubuntu-vg
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Volume group "ubuntu-vg" not found
Cannot process volume group ubuntu-vg
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Volume group "ubuntu-vg" not found
Cannot process volume group ubuntu-vg
Gave up waiting for suspend/resume device
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Volume group "ubuntu-vg" not found
Cannot process volume group ubuntu-vg
Gave up waiting waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mapper/ubuntu--vg-root does not exist. Dropping to a shell!
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.1) built-in shell (ash)
Enter 'help' for a list of built-in commads.
(initramfs) _
Thanks!