PDA

View Full Version : [all variants] The whole system partiton was delete. GRUB rescue error



m4design
June 19th, 2010, 07:55 AM
Hi,

I (stupidly) deleted the partition that was holding Ubuntu. The system had windows xp before, but now I can't boot into windows.
I magicly (http://tuts4tech.net/2009/07/14/creating-a-usb-bootable-xp-recovery-console/) were able to log-in into the windows recovery system, and then tried rebuilding the boot configuration. But when I restart I stil get the GRUB rescue message.


Unfortunately I have a netbook, so no CD drive available.


Edit: I only found the 'ls' command that is working, not even 'help' is identified anymore.

dino99
June 19th, 2010, 08:41 AM
maybe you can reinstall with a usb stick (unetbootin)

mini howto: http://ubuntuforums.org/showpost.php?p=9216264&postcount=14

http://unetbootin.sourceforge.net/

http://ubuntuguide.net/how-to-install-unetbootin-in-ubuntu

darkod
June 19th, 2010, 12:31 PM
Since you have a netbook, do you have ubuntu bootable usb stick?

Just boot with it, and to quickly fix you hdd mbr in terminal do:

sudo apt-get install lilo
sudo lilo -M /dev/sda mbr

After the first command it will show you some warnings that will sound scary. Ignore them, it's normal. Just run the second command too.

That should make XP boot. Later on you might consider installing ubuntu again if you want to.