Virtualbox and Grub issue

February 29th, 2008  |  Published in FYI  |  7 Comments

For the past few hours I have been battling with Virtualbox to install Hardy as a Guest. It would always get to the end and then provide an error that Grub could not be installed. Fine, let me try Lilo, same thing. Well, I figured out the problem. I had been setting the Virtualbox hard drive setting for the guest to dynamic, which would make the drive allocation expand if and when needed. I decided to give it a static size, which means if I give it 6GB of space it will setup 6GB of space instead of expanding when necessary. Well, I went ahead and started the install and it just finished, had no problems installing Grub this time around.

Moral of the story, if you experience this Grub installation issue on Virtualbox, use a static (bottom radio button) size for the drive allocation when creating a new guest.

Responses

  1. EnosNo Gravatar says:

    April 10th, 2008 at 03:12:13 (#)

    Oh was it so easy? :-) Too bad it’s too late for me – txs tho!

  2. kvzNo Gravatar says:

    April 15th, 2008 at 04:07:13 (#)

    Thanks! Wish I had found this earlier.

  3. odotNo Gravatar says:

    March 1st, 2009 at 09:51:22 (#)

    Thank you. I encountered the same problem and this fixed it.

  4. VirtualBox – problémy s Grubom? says:

    December 15th, 2009 at 06:13:11 (#)

    [...] Potom máte pravdepodobne dynamicky alokovaný disk. [...]

  5. MateusNo Gravatar says:

    May 19th, 2010 at 06:47:33 (#)

    Thansk you, it solved the issue.

  6. Paul CobbautNo Gravatar says:

    May 29th, 2010 at 05:35:24 (#)

    In all honesty, that is a workaround, not a solution.
    A solution is to change the virtual IDE/SCSI controller in Virtualbox, then you can use Debian with dynamically expanding disks.

    cheers,
    paul

  7. Victor ClaessenNo Gravatar says:

    July 7th, 2010 at 03:40:00 (#)

    Hi Paul, can you elaborate on that a bit? Which choice works for the IDE/SCSI controller?

Leave a Response

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">