Install GRUB2 to a virtualbox vdi image
Hi!
I tried to install grub2 to a mounted virtual box vdi image, but when I started the virtual machine it didn't work.
I used the following commands for compile and installation:
(in decompressed folder: )
./configure --prefix=/mnt/ --exec-prefix=/mnt/
make
make install
(in /mnt/sbin folder: )
./grub-install --boot-directory=/mnt/boot /dev/nbd0
The error massage was: „no such device: xxx”
The grub.cfg file doesn't load.
Please someone help me what should I do.
|