VirtualBox

Changes between Initial Version and Version 1 of Ticket #20589


Ignore:
Timestamp:
Oct 5, 2021 8:34:25 PM (3 years ago)
Author:
janitor
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20589 – Description

    initial v1  
    44
    55Workaround: switch to an alternative TFTP server on localhost:
    6 
    7     VBoxManage modifyvm SLESInst --nattftpserver1 10.0.2.2
    8 
     6{{{
     7VBoxManage modifyvm SLESInst --nattftpserver1 10.0.2.2
     8}}}
    99Steps to reproduce:
    1010
    1111- Generate Grub dir without grub.cfg or vmlinuz/initrd (they're not needed for testing)
    12 
    13     [root@reallin il]# grub-mknetdir --net-directory=/srv/tftp --subdir=/boot/grub -d /usr/lib/grub/i386-pc
     12{{{
     13[root@reallin il]# grub-mknetdir --net-directory=/srv/tftp --subdir=/boot/grub -d /usr/lib/grub/i386-pc
    1414Netboot directory for i386-pc created. Configure your DHCP server to point to /srv/tftp/boot/grub/i386-pc/core.0
    15 
     15}}}
    1616- Copy the files to the default TFTPPrefix
    17 
    18     cp -rT /srv/tftp/boot ~/.VirtualBox/TFTP/boot
    19 
     17{{{
     18cp -rT /srv/tftp/boot ~/.VirtualBox/TFTP/boot
     19}}}
    2020- point the VBox DHCP server to the right file
    21 
    22     # If I use leading slash here boot fails sooner
    23     VBoxManage modifyvm MyVM --nattftpfile1=boot/grub/i386-pc/core.0
    24 
     21{{{
     22# If I use leading slash here boot fails sooner
     23VBoxManage modifyvm MyVM --nattftpfile1=boot/grub/i386-pc/core.0
     24}}}
    2525- Boot a guest from Network
    2626
     
    3030
    3131Additional info:
    32 
    33     [il@reallin ~]$ atftp 10.0.2.4
    34     tftp> get boot/grub/i386-pc/core.0
    35     Overwrite local file [y/n]? y
    36     tftp> get /boot/grub/i386-pc/core.0
    37     Overwrite local file [y/n]? y
    38     tftp: error received from server <Access violation>
    39     tftp: aborting
    40     tftp>
    41    
     32{{{
     33[il@reallin ~]$ atftp 10.0.2.4
     34tftp> get boot/grub/i386-pc/core.0
     35Overwrite local file [y/n]? y
     36tftp> get /boot/grub/i386-pc/core.0
     37Overwrite local file [y/n]? y
     38tftp: error received from server <Access violation>
     39tftp: aborting
     40tftp>
     41}}}

© 2023 Oracle
ContactPrivacy policyTerms of Use