I attempted a repair floppy last night. It didn't work out real well.
Ahhh, for a command like sys a:    :)  Novel idea...

Anyway here's what I did for future google searches. Maybe it'll help
someone someday.

How to Repair Grub boot loader after debian ghost restore

I booted with mepis (Any live-cd would probably do)
Open a terminal window
Mounted the drive (don't use the mepis icon as it mounts read only)
mount -rw /dev/hda1 /mnt/hda1
chroot /dev/hda1
grub-install /dev/hda

Worked like a charm..   Am a bit confused what the drive is hda1 till I
get to the install part, but I'm guessing I'm mounting partition one on
hda, but the grub wants the "drive" to install to. Not the partition.

Patrick Ouellette wrote:

[EMAIL PROTECTED] wrote:

I am trying to implement a fallback full backup method for this great proxy-filter for the library.

I used ghost to back it up, just as I used to do with redhat.

Of course, ghost screws up grub. With Redhat, I'd stick the install cd in and at boot
type in Linux Rescue
chroot /mnt/sysimage
grub-install


Since I used the sarge netinst, I seem to have no rescue cd. :(
Would someone mind giving me a simply way, on this system, to get grub back?


If you have a floppy drive, make a grub boot floppy. Google around for GRUB boot floppy. They work wonders and
are very flexible.



BTW, in the future, if I'm not dual booting, do I need a boot loader?


Yes you always need some sort of boot loader.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to