joehill
October 13th, 2012, 04:21 PM
I just moved and decided to keep my old hard drive with Precise installed on the first partition (now sda1) and my /home on sda3 (swap in the middle) but to leave my old computer and put my hard drive into a new one. I have not I swapped my hard drive for the one that came with the computer (it had Windows installed) and tried to boot up but got the message "ERROR: No boot disk has been detected or the disk has failed." I've tried a number of things to solve this problem, including reinstalling grub several times (which was more complicated than it sounds, because apparently with my current computer grub expects to have a separate partition flagged as "bios_grub", something that took me a while to figure out). But no matter what I've tried, I always turn on the computer and get the same message about no boot disk.
I've tried several steps. I first tried just running "grub-install" but that failed with an error message saying it couldn't find a /boot/grub to write to and asking if I had mounted the partition. I got this whether or not I mounted the partition. Then I tried reinstalling Ubuntu from the live CD and it kept telling me to go back and create a partition marked for use as a "Reserved BIOS Boot partition", although it offered no way of doing this from within the installer.
Most recently I've tried installing Boot Repair, which also told me I needed a Bios partition but at least told me how to do it (from gparted, create a parition, leave it unformatted, and flag it as "bios_grub"). I tried Boot Repair with the default options and rebooted to get the same error (the output from that attempt is here: http://paste.ubuntu.com/1276233/). Then I tried the advanced options, including removing the previous grub and upgrading to the newest version and installing it on both sda and sda1. Again I rebooted and got the same error message that there is no boot disk (output from that attempt here: http://paste.ubuntu.com/1277022/).
I may just try again to reinstall Ubuntu, although I'm not sure the problem will go away because I think the Ubuntu installer just writes grub in the same way I just did.
Any ideas? I've installed Ubuntu many many times over the past 8 or so years on many computers and have never had a problem of a computer not recognizing a hard drive with Ubuntu and grub installed on it as bootable.
Thanks!
I've tried several steps. I first tried just running "grub-install" but that failed with an error message saying it couldn't find a /boot/grub to write to and asking if I had mounted the partition. I got this whether or not I mounted the partition. Then I tried reinstalling Ubuntu from the live CD and it kept telling me to go back and create a partition marked for use as a "Reserved BIOS Boot partition", although it offered no way of doing this from within the installer.
Most recently I've tried installing Boot Repair, which also told me I needed a Bios partition but at least told me how to do it (from gparted, create a parition, leave it unformatted, and flag it as "bios_grub"). I tried Boot Repair with the default options and rebooted to get the same error (the output from that attempt is here: http://paste.ubuntu.com/1276233/). Then I tried the advanced options, including removing the previous grub and upgrading to the newest version and installing it on both sda and sda1. Again I rebooted and got the same error message that there is no boot disk (output from that attempt here: http://paste.ubuntu.com/1277022/).
I may just try again to reinstall Ubuntu, although I'm not sure the problem will go away because I think the Ubuntu installer just writes grub in the same way I just did.
Any ideas? I've installed Ubuntu many many times over the past 8 or so years on many computers and have never had a problem of a computer not recognizing a hard drive with Ubuntu and grub installed on it as bootable.
Thanks!