Results 1 to 10 of 10
How can I get back ubuntu 11 version which is already installed on my hard disk as the boot grub menu withouting installing ubuntu again or formatting again
Wel l ...
- 09-11-2011 #1Just Joined!
- Join Date
- May 2010
- Posts
- 5
How can I get back ubuntu 11 version which is already installed IN HD
How can I get back ubuntu 11 version which is already installed on my hard disk as the boot grub menu withouting installing ubuntu again or formatting again
Wel l I was using ubuntu 9.10 and xp dual booting
It was updated to 10.LTS later to 11 version but due to viruses I format my system and installed new os windows xp in another drive and again installed ubuntu 9.10 version and I found the 11 version which was upgraded previously was not formatted (deleted) and working fine and good condition. Due to again viruses attack I formatted my win xp
When I used to turn on my system it used to ask for the selection of OS like ubuntu or xp(grub menu)
I verified that my computers right click->select manage->under storage->under disk management-> I can see extra four partition (two for ubuntu and other two for swap space )
Can anyone suggest me how can I get back ubuntu which is already installed at present I am using the win xp now I am using xp as mine current os
- 09-11-2011 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Hello
Windows will always overwrite the bootloader when it is installed after Linux, but you can check the following HowTo for a number of ways to restore your GRUB bootloader:
https://help.ubuntu.com/community/Re...tallingWindowsoz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 09-11-2011 #3
Boot up from LiveCD of any Linux distro and execute this in Terminal :
Post output here.Code:sudo fdisk -l
** Its small L in fdisk -l.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-12-2011 #4
Ozar, as usual, gives good advice. The "grub-install" option in his link will probably get you where you want to be.
- 09-12-2011 #5
Ubuntu 11.x uses GRUB2 and grub-install command won't work for that. Command for GRUB2 is 'sudo update-grub /dev/sdx' where x is disk name. Procedure is also different for GRUB2.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-12-2011 #6
- 09-12-2011 #7forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Oops... sorry RAISINGSUN. I had not noticed they haven't upgraded their howTo to include GRUB2. The only hint they give on that howTo is the link to GRUB2. If you'll check the link to the GRUB2 howTo, you'll find some info there on reinstalling GRUB2:
https://help.ubuntu.com/community/Gr...stalling_GRUB2
Hope it helps you.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 09-12-2011 #8Just Joined!
- Join Date
- Nov 2008
- Location
- Cape Verde
- Posts
- 7
1- Boot from a live CD of Ubuntu
2- To see your partition table:
sudo fdisk -l
3- Localize the partitions where Ubuntu11 is, such as /boot, /, and /home.
4- This is assuming that your system is on dev/sda and that your root partition is on dev/sda3, boot partition on dev/sda2 and home partition on dev/sda4. But you'll replace the number of the partitions according to what you have on your partition table.
a) sudo mount /dev/sda3 /mnt
b) sudo mount /dev/sda2 /mnt/boot
c) sudo mount /dev/sda4 /mnt/home
Mounting all other partitions:
d) sudo mount --bind /dev /mnt/dev
In order to be in /mnt as root:
e) sudo chroot /mnt
Install Grub:
f) grub-install /dev/sda
exit
Now unmount all partitions you mounted before:
a) sudo umount /mnt/dev
b) sudo umount /mnt/boot
c) sudo umount /mnt/home
d) sudo umount /mnt
reboot your system:
sudo shutdown -r now
Now you select your ubuntu on the menu entry,
once in Ubuntu just perform this command:
sudo update-grub
OK!Last edited by Ikai; 09-12-2011 at 12:50 PM.
- 09-12-2011 #9
Best and easiest way to re-install GRUB2 using LiveCD is given here. Check details under title 13. Reinstalling GRUB 2 from LiveCD. Just mho !!
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-12-2011 #10forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.


Reply With Quote
