[Bug 1001325] Re: grub pxe not working in qemu

Bug Watch Updater 1001325 at bugs.launchpad.net
Fri Sep 7 02:19:01 UTC 2012


** Changed in: grub2 (Debian)
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1001325

Title:
  grub pxe not working in qemu

Status in “grub2” package in Ubuntu:
  Confirmed
Status in “grub2” package in Debian:
  Fix Committed

Bug description:
  I installed grub into /var/lib/tftpboot/ (which is root of tftpd-hpa)
  $ sudo grub-mknetdir --net-directory=/var/lib/tftpboot/

  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=tap0,script=/bin/true,downscript=/bin/true -net nic

  iPXE (http://ipxe.org) 00:03.0 C900 PCI2.10 PnP PMM+17FC92A0+17F892A0 C900      
                                                                                                                    
                                                                                                                    
  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://ipxe.org             
  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:12:34:56)...... ok                                          
  net0: 10.0.0.10/255.255.255.0 gw 10.0.0.1                                       
  Next server: 10.0.0.1                                                           
  Filename: /boot/grub/i386-pc/core.0                                             
  tftp://10.0.0.1//boot/grub/i386-pc/core.0... ok                                 
  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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635877

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1001325/+subscriptions




More information about the foundations-bugs mailing list