I was a bit of an idiot and wiped my old Ubuntu partition whilst in Windows XP, forgetting to fix the MBR. Rebooting gives:
error: no such partition.
grub rescue>
The only things I've entered that do anything are set, which gives:
prefix=(hd0,msdos5)/boot/grub
root=hd0,msdos5
and ls, which gives:
(hd0) (hd0,msdos2) (hd0,msdos1)
I have no CD drive so I can't boot from CD, but I should be able to boot from USB (haven't tested it as I need to go find one first). Is there anything I can do to fix it without external media, and if not how would I go about fixing it from USB?