Public bug reported: Using Ubuntu 12.04.2 Precise on amd64 with kvm_intel, libvirt and vmbuilder.
After building a VM for raring using: $ sudo vmbuilder kvm ubuntu --flavour virtual --suite raring --arch i386 --hostname vm-ubuntu-raring-playpen --proxy http://10.254.251.1:3142 --libvirt qemu:///system --addpkg linux-image-generic --addpkg acpid I was trying to force the console to be text-mode by removing "splash", adding "nomodeset" and "GRUB_TERMINAL=console" to "/etc/default/grub" and then doing 'update-grub'. The changed settings weren't having any effect. I found that "/boot/grub/grub.cfg" (from grub2) was missing. Further investigation showed "/boot/grub/menu.lst" (from grub 0.97) was present, but didn't reflect the changes I was making to "/etc/default/grub". Then I found: $ dpkg-query -l '*grub*' | grep -v ^un Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=================================-============================-============-=========================================================================== ii grub 0.97-29ubuntu66 i386 GRand Unified Bootloader (Legacy version) ii grub-common 2.00-12ubuntu1 i386 GRand Unified Bootloader (common files) rc grub-pc 2.00-12ubuntu1 i386 GRand Unified Bootloader, version 2 (PC/BIOS version) ii grub-pc-bin 2.00-12ubuntu1 i386 GRand Unified Bootloader, version 2 (PC/BIOS binaries) $ lsb_release -a && uname -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Raring Ringtail (development branch) Release: 13.04 Codename: raring Linux vm-ubuntu-raring-playpen 3.8.0-7-generic #15-Ubuntu SMP Thu Feb 21 20:44:11 UTC 2013 i686 i686 i686 GNU/Linux I had to purge "grub" then install "grub2" followed by running the grub to grub2 upgrade script: sudo apt-get --purge remove grub sudo apt-get install grub2 sudo /usr/sbin/upgrade-from-grub-legacy sudo rm -f /boot/grub/menu.lst* ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/1132345 Title: grub 0.97 and 2.00 installed in VMs causes confusion To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1132345/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs