The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE boot Ubuntu 18.04 LUN
2019-03-13, 04:45
Post: #1
iPXE boot Ubuntu 18.04 LUN
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:

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!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
iPXE boot Ubuntu 18.04 LUN - n1nj4888 - 2019-03-13 04:45



User(s) browsing this thread: 1 Guest(s)