So I'm doing a test. I've installed Windows 7 and Ubuntu 11.04 side-by-side. Now, I'd like to be able to launch the Ubuntu install from within Windows using VirtualBox. I was following the instructions here but they don't seem to apply to 11.04.

I got stuck on step 2. /usr/lib/grub/*-pc/stage2_eltorito and /boot/grub/menu.lst don't exist. If you can tell me where to find those, that would be a good start. However, using find / -name menu.lst yielded no results.

How do I create a Grub boot disk that I can use with VirtualBox in 11.04?

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted

The menu.lst file was part of the original GRUB. Ubuntu now uses GRUB2 by default, so the config file has changed to /boot/grub.cfg.

Here is a rather long primer about GRUB2. Scroll down to section 5 to read about editing the GRUB config file. Note that you shouldn't edit this file directly in normal circumstances. Instead, editing /etc/default/grub is the preferred way to prevent overwriting your changes on update.

Here's another primer on editing the GRUB2 config file. It's not as technical.

link|improve this answer
Thanks, I'll take a look. Would you happen to know where the stage2_eltorito moved to? – Josh M. Aug 18 '11 at 2:54
I would use this (section 3.2). It seems to mirror your original tutorial pretty well. – root45 Aug 18 '11 at 13:06
Thanks for your assistance. @root45, thanks for the link. Turns out the boot disk wasn't even required. I just hooked the VM up to the VMDK which pointed to the physical drive. – Josh M. Aug 19 '11 at 1:56
Awesome. Glad it's working. – root45 Aug 19 '11 at 12:45
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.