I'm installing Ubuntu 13.04 (16 bit ) along with Windows 7 in my Lenovo Thinkpad. I was able to install Ubuntu successfully. But, after installation it asked me to restart now
. I clicked on it. It started windows without showing boot menu. Now, what should I do to get the boot menu at the start.
This are the steps I tried and was not successful :
1. After browsing I found that boot repair has to be installed.
I successfully used a Ubuntu live CD and tried to install the boot repair.
I tried the following commands -
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && (boot-repair &)
But, I get this error now,
dpkg: error: reading package into file '/var/lib/dpkg/available' : Input/output error
E: subprocess /usr/bin/dpkg returned an error code (2)
how can I solve this problem to get a boot menu at the beginning.