0

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?

5
  • 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, 2012 at 17:29
  • Well which format did you selected for installation ext2, ext3 or ext4.
    – atenz
    Jun 27, 2012 at 17:43
  • i selected ext2
    – vin
    Jun 27, 2012 at 17:58
  • Try using ext4, and please post your results.
    – atenz
    Jun 27, 2012 at 17:59
  • no that did not
    – vin
    Jun 28, 2012 at 0:35

2 Answers 2

2

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.

1

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.

1
  • 2
    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. Jan 14, 2013 at 15:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .