GARoss
June 4th, 2009, 12:24 AM
I have a dual boot Ubuntu/XP PC. Ubuntu is 1st on the GRUB boot list & that HDD is also 1st boot in BIOS.
So, here's what happened. I was given an external HDD that was formatted for Mac. I needed to reformat for NTFS. Somehow I couldn't do this in either Windows or Ubuntu using Gparted. So, I put the XP install disk in & went into it as if I was installing XP. I select the external HDD to format to NTFS. After it finished, it started installing XP. I thought it would pause 1st, so I panicked & hit Esc. Well, it must of erased something in GRUB because after it rebooted all it said after POST was... "A disk read error occurred. Press ctrl+alt+del to restart."
After thinking a bit I changed the HDD boot order in BIOS to the XP drive so now, at least, XP does boot.
So, is there a way to re-write GRUB to restore the previous GRUB; like a repair CD for Ubuntu? Or, maybe GRUB writing software that acts like it does during the install process?
Another possible solution world be to install another version of Ubuntu on a portion of that same HDD & let it write a new GRUB. There would be 2 Ubuntu & one XP in the menu. Then, navigate to the damaged GRUB & re-write it back to the way it was. Would that be the simplest solution?
Truth is, I'm not sure what happened but it would seem something happened to GRUB.
Please advise,
George
So, here's what happened. I was given an external HDD that was formatted for Mac. I needed to reformat for NTFS. Somehow I couldn't do this in either Windows or Ubuntu using Gparted. So, I put the XP install disk in & went into it as if I was installing XP. I select the external HDD to format to NTFS. After it finished, it started installing XP. I thought it would pause 1st, so I panicked & hit Esc. Well, it must of erased something in GRUB because after it rebooted all it said after POST was... "A disk read error occurred. Press ctrl+alt+del to restart."
After thinking a bit I changed the HDD boot order in BIOS to the XP drive so now, at least, XP does boot.
So, is there a way to re-write GRUB to restore the previous GRUB; like a repair CD for Ubuntu? Or, maybe GRUB writing software that acts like it does during the install process?
Another possible solution world be to install another version of Ubuntu on a portion of that same HDD & let it write a new GRUB. There would be 2 Ubuntu & one XP in the menu. Then, navigate to the damaged GRUB & re-write it back to the way it was. Would that be the simplest solution?
Truth is, I'm not sure what happened but it would seem something happened to GRUB.
Please advise,
George