Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to do this since along time now, I have windows 7 on my hdd but the boot loader seems to not work since I had already tried installing ubuntu once. how do I get the boot menu back? also, I am trying to make a new installation but it gives error just before the installation ends, the erroe reads as:

executing-grub-install-dev/sda/3-failed-fatal-error

How do I solve this issue?

share|improve this question
    
Can you add the output of sudo fdisk -l from your installing live media .How many internal hard disk do you have , also did you checked the iso image (md5sum)file before trying it out for installation. –  atenz Jun 27 '12 at 17:29
    
Well which format did you selected for installation ext2, ext3 or ext4. –  atenz Jun 27 '12 at 17:43
    
i selected ext2 –  vin Jun 27 '12 at 17:58
    
Try using ext4, and please post your results. –  atenz Jun 27 '12 at 17:59
    
okay thanks! :) –  vin Jun 27 '12 at 18:17

2 Answers 2

You have to partition your HDD for Ubuntu properly. You need 4 partition for Ubuntu

Type    PartitionFormat    Size

/boot   ext2                500MB <enough>
swap                        4000MB <If u want you can increase, but this is enough.>
/       ext4                <Its for application, give how much you want.>
/home   ext4                <Rest of space>

This will solve your problem of booting. it will reset boot loader. Thank you.

share|improve this answer
    
It is not necessary to have four separate partitions for an Ubuntu system. Ubuntu's installer, when asked to automatically partition, makes two. You can have those four partitions, if you want. But you don't have to, and this is irrelevant to the problem in the question. The boot loader will not fail to install as a consequence of the partition layout being too simple. –  Eliah Kagan Jan 14 '13 at 15:52

Actually, you shouldn't have to do any manual partitioning as of newer Ubuntu distributions. Just leave a blank unformatted partition the size of your desired ubuntu installation and the setup will take care of the rest. Also remove the faulting previous Ubuntu partition to avoid this one being used instead of your fresh install.

If you want to use the MBR for Windows 7 instead, insert your Windows 7 installation media and select Repair > Command line. Then type BootRec.exe /fixmbr

If you suspect the iso being corrupt, this might be the best way to go about to be able to download a new iso and redo the Ubuntu installation media.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.