windows overwrote boot record

Juan Kawada juankawada at gmail.com
Thu Aug 21 02:31:57 UTC 2008


I just had to reinstall windows, and it overwrote the boot record, I
now boot to a screen that says

windows xp home edition
windows xp professional

I got into a live cd and tried this:
sudo grub
find /boot/grub/stage1
root (hd0,5)
setup (hd0)

and got:
grub> find /boot/grub/stage1
 (hd0,5)

grub> root (hd0,5)

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,5)/boot/grub/stage2
/boot/grub/menu.lst"... failed

Error 22: No such partition


What's wrong?  I've also tried setup (hd0,5) with similar results.

Is this because I'm using i'm using the 7.10 live cd on an 8.04
install? I'm not sure where my 8.04 disc went.




-- 
---------------
Registered Linux user  #475220
register at http://counter.li.org/




More information about the kubuntu-users mailing list