Grub woes
Collins Richey
crichey
Wed Nov 3 16:19:26 PST 2004
On Wed, 3 Nov 2004 16:23:31 -0500, David Bandel <david.bandel at gmail.com> wrote:
> Folks,
>
> My brother installed Debian on a system and installed GRUB as the boot
> loader. While I was in updating everything, the power went down.
>
> Now, this is what he sees:
> GRUB Loading stage1.5.
>
> GRUB loading, please wait...
> Error 22
>
> then stops. Can't boot _anything_. Anyone know how to fix this?
>
> Gotta get LILO installed ASAP.
>
Get your favorite LiveCD and fix it - your choice LILO or GRUB.
Assuming your /boot/grub directory is intact including grub.conf aka
menu.lst, all you should need to do is
1. boot from LiveCD
2. mount your debian partition at /mnt/xxx
3. chroot /mnt/xxx /bin/bash
4. /sbin/grub
root (hd?,?) grub definition for hd?? - partition where /boot
setup (hd0)
quit
5. reboot and enjoy
--
/\/\
(CR) Collins Richey
\/\/ "I hear you're single again." "Spouse 2.0 had fewer bugs than
Spouse 1.0, but the maintenance ... was too much for my OS."
- Glitch (tm)
More information about the Linux-users
mailing list