I've installed windows 7 and then Ubuntu 11.10, and then set up everything on easyBCD.
When I select Ubuntu on the boot menu, I end-up in grub prompt (like "grub>" in a black screen) instead of loading Ubuntu directly.
I have to run:
grub> root (dh0,4)
grub> kernel /vmlinuzblahblah root=/dev/sda6
grub> boot
Every time to boot Ubuntu(where vmlinuz is a long filename I always tab).
How could I skip this process?
Best Answer
My "Fix-Grub-routine" is as follows:
/root
and/boot
partition of my original install in the live environment. Lets say my root is mounted in/tmp/myRoot/
and boot in/tmp/myBoot/
sudo mount --bind /dev /tmp/myRoot/dev
sudo mount --bind /proc /tmp/myRoot/proc
sudo mount --bind /sys /tmp/myRoot/sys
sudo mount --bind /tmp/myBoot /tmp/myRoot/boot
sudo chroot /tmp/myRoot/
update-grub
but since you messed up your bootsystem using some weird third-party application, I think it might be better to re-install grub usinggrub-install /dev/sda
*.exit
the chroot and reboot the system (without your live-media)