Re: MBR deleted - reinstall grub
Incoming from Christian David:
>
> I tried to install Windows and befor it told me that
> it has a problem with my partition, it deleted the
> MBR.
Windows does not play nicely with others.
> Now I cannot start grub. All Linux files are sill
> okay. I used the debian installer CD-Rom (I am using
> sarge) to get a shell where I mounted my root
> directory. When I start grub-install with a parameter
> (e.g. hd0,0) it answers "//sbin/grub Not found."
I believe it's:
- mount /dev/hdXN /mnt # or /mnt/hdX. This is / ptn.
- cd /mnt
- chroot . # note "."
- /sbin/grub-install
- cd
- umount /dev/hdXN
- reboot
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Please don't Cc: me.
- -
Reply to: