[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MBR deleted - reinstall grub



On Tue, Apr 26, 2005 at 06:15:21PM +0200, Christian David wrote:
> 
> How to get Grub back into the MBR? Does anyone know a
> HOWTO?

if you have the saved previous partition
	dd if=/boot/boot.0300 of=/dev/hda count=1 block=512

- or - ( more things to type -- change hda for your setup )

	- boot the installer cd
	- mount /dev/hda1 /mnt/hda
	chroot /mnt/hda bash
	mount -o rw,remount /
	mount -av
	grub-install /dev/hda
	umount /mnt/hda/stuff
	exit
	reboot

c ya
alvin



Reply to: