Ubuntu 12.04 boot up problems on fresh install
I decided to give ubuntu 12.04 a spin , bought a new laptop recently to try out the power of core i5 , Since ubuntu is one of my most favorite , I decided to dual boot it like i did with my last one.
Everything went smoothly I installed my games , softwares on the Windows , then went on to install ubuntu with a usb stick , I have no clue what problems Ideapads have with Ubuntu , but the first screen , did not show properly , but having idea of what is there on the boot menu i simply hit enter on the boot menu.
Following this i was greeted by the live cd environment of ubuntu , on which i selected install , so as to install it directly. From this point onwards everything was smooth and fast as usual. Easy selection screens and the install was complete.
But as soon as i hit restart , the boot loader did not show up , which should have happened automatically. As of writing of this article i have no clue why this happened . This perticular issue did not take place with a full fresh install of ubuntu 12.04 on a desktop done by a friend earlier.
Then i went googling for solution as usual came up with a solution that works , will keep a reference link so you guys can look into that blog post too
This is what i did in steps:
Everything went smoothly I installed my games , softwares on the Windows , then went on to install ubuntu with a usb stick , I have no clue what problems Ideapads have with Ubuntu , but the first screen , did not show properly , but having idea of what is there on the boot menu i simply hit enter on the boot menu.
Following this i was greeted by the live cd environment of ubuntu , on which i selected install , so as to install it directly. From this point onwards everything was smooth and fast as usual. Easy selection screens and the install was complete.
But as soon as i hit restart , the boot loader did not show up , which should have happened automatically. As of writing of this article i have no clue why this happened . This perticular issue did not take place with a full fresh install of ubuntu 12.04 on a desktop done by a friend earlier.
Then i went googling for solution as usual came up with a solution that works , will keep a reference link so you guys can look into that blog post too
This is what i did in steps:
- Booted the machine using the Live-CD
- I checked whether 12.04 got installed , did this with help of Live-CD , booted into live cd and started up disk utility and looked for linux partitions on the HDD
My disk utility screen showed something like above , Now i needed to know which partition root was mounted on , that i got by clicking the right partition with ext format
- From this point on everything was downhill. I
- Mounted the partition using
sudo mount /dev/sda1 /mntsudo mount /dev/sda5 /mnt/boot # this step i did not do I think i did not need it since the boot loader files are installed in the /boot folder of root - Then simply installed the Grub loader in the boot sectorsudo grub-install --root-directory=/mnt /dev/sda
/dev/sda is the disk address where the boot manager is going to be installed. This is very important since this will write your MBR to get the boot loader working
Then i simply rebooted the machine to be greeted by the Grub loader at the start. And thus my experience with 12.04 started
There seems to be a faster and an easier way of doing the same ,and is available here
Used commands referenced here
No comments:
Post a Comment