LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Unable to boot on virtual machine using Extlinux bootloader (https://www.linuxquestions.org/questions/linux-general-1/unable-to-boot-on-virtual-machine-using-extlinux-bootloader-4175541760/)

-Soufiane- 05-06-2015 04:20 AM

Unable to boot on virtual machine using Extlinux bootloader
 
I use a bash script that automatically generates a debian virtual machine installed on a virtual disk image. The original bootloader is grub2 , but I want to use extlinux instead so added it to the script. yet it installs without errors and configuration files are generated correctly, but when starting it is as if there were no bootloader and the virtual machine does not boot.
The disc is an NBD block device associated with a loopback module, so I try to use the loop module UUID in /boot/extlinux/linux.cfg configuration.

Here are the commands that are executed by the script:

sed -i -e 's / initrd = \ / boot \ /initrd.img-3.2.0-4-amd64/initrd = \ / boot \ /initrd.img-3.2.0-4-amd64 root = UUID = `blkid | egrep '/dev/loop.*' | cut -d "" -f 2` / g '/boot/extlinux/linux.cfg

extlinux --install / boot / extlinux /

The script is called genvm and is located at:
http://sourceforge.net/projects/genvm/

Can anyone please provide me with explanation or guidance to address this issue ?

onebuck 05-07-2015 08:13 AM

Moderator response
 
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of http://www.linuxquestions.org/questi...9/#post5359054


All times are GMT -5. The time now is 08:31 AM.