PDA

View Full Version : [ubuntu] reinstall grub menu



patchido
August 17th, 2011, 11:58 PM
i installed windows 7 in my laptop, and now i cant get ubuntu to load.
im in the liveUSB

this is my fdisk
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3922 31503433+ 7 HPFS/NTFS
/dev/sda2 3923 7958 32419139+ 5 Extended
/dev/sda3 7959 12037 32764567+ 83 Linux
/dev/sda4 12038 60801 391696830 7 HPFS/NTFS
/dev/sda5 3923 7691 30274461 83 Linux
/dev/sda6 7692 7958 2144646 82 Linux swap / Solaris



sda1 is windows 7
sda3 ubuntu
sda4 my DATA
sda5 openSUSE
sda6 swap

dave01945
August 18th, 2011, 12:01 AM
try this see if it helps

https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

patchido
August 18th, 2011, 12:10 AM
i have unetboot, so i dont get that grub screen :s

dave01945
August 18th, 2011, 12:17 AM
it should just be a case of loading the live cd/usb opening a terminal and enter


grub-install /dev/sda


hope it helps

if that doesn't work here is another guide

http://www.lancelhoff.com/restore-grub2-after-installing-windows/

Rex Bouwense
August 18th, 2011, 12:49 AM
Try this site:
http://ubuntulinuxhowtos.blogspot.com/2010/01/how-to-reinstall-grub-2-after.html