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

Re: did lilo rewrite my boot sector?



In linux.debian.user, you wrote:
> Hi,
> 
>  I was installing a new kernel and accidentally pressed "return" when
>  asked if I wanted to have lilo rewrite the boot sector of my disk.
>  The install failed, and I want to figure out whether the boot sector
>  was ACTUALLY rewritten.  I use GRUB, so I'd really rather not have to
>  deal with setting up the boot loader all over again...
> 
> Is there a way to look at the boot record and see when it was last
> modified, or what its contents are?  
> 
> thanks,
> matt

I don't the answer to your question, but if you don't get one you might just
go ahead and reinstall grub to be sure it is there.  I don't know the
command for that, but 'apropros grub' should lead you to the manpage that
would help.  I vaguely remember something called 'grub-install' or similar. 
I don't have it on this machine; so I can't check.

Anita



Reply to: