grub pxe not working in qemu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Debian) |
Fix Released
|
Unknown
|
|||
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
High
|
Unassigned |
Bug Description
I installed grub into /var/lib/tftpboot/ (which is root of tftpd-hpa)
$ sudo grub-mknetdir --net-directory
Then I created tap0 interface:
$ sudo tunctl -t tap0 -u pali
I trying to boot grub via pxe, but only rescue grub mode is started. I show error "error: no such disk."
$ qemu-system-x86_64 -curses -net tap,ifname=
iPXE (http://
Booting from DVD/CD...
Boot failed: Could not read from CDROM (code 0003)
Booting from ROM...
iPXE (PCI 00:03.0) starting execution...ok
iPXE initialising devices...ok
iPXE 1.0.0+ -- Open Source Network Boot Firmware -- http://
Features: HTTP iSCSI DNS TFTP AoE bzImage COMBOOT ELF MBOOT PXE PXEXT
net0: 52:54:00:12:34:56 using rtl8139 on PCI00:03.0 (open)
[Link:up, TX:0 TXE:0 RX:0 RXE:0]
DHCP (net0 52:54:00:
net0: 10.0.0.
Next server: 10.0.0.1
Filename: /boot/grub/
tftp://
error: no such disk.
grub rescue>
I have 64bit Ubuntu Precise and DHCP and TFTP server are correctly running on tap0 interface.
Look like this is same problem as reported in Debian: http://
affects: | grub (Ubuntu) → grub2 (Ubuntu) |
Changed in grub2 (Ubuntu): | |
status: | New → Confirmed |
Changed in grub2 (Debian): | |
status: | Unknown → Confirmed |
Changed in grub2 (Debian): | |
status: | Confirmed → Fix Committed |
Changed in grub2 (Debian): | |
status: | Fix Committed → Fix Released |
Adding bug watch: http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 635877