← Back to team overview

sslug-teknik team mailing list archive

Re: LILO & Redhat 7.0

 

Peter Makholm wrote:

> Anders Gnistrup <agn@xxxxxxx> writes:
>
> > Det der med en backup er noget ævl (ihvertfald ikke noget jeg har hørt om)
>
> Det er det ikke. Normalt vil lilo lave en fil med navnet
> /boot/boot.NNNN (N'erne afhænger af drevet) som indenholder en backup
> af bootsektoren.
>
> Denne kan så installeres "dd if=/boot/boot.NNNN of=/dev/hda count=1
> bs=512"
>
> Hvis der før bare lå en standard IBM-bootsektor, opnår man dog
> fuldstændig det samme ved at boot med en dos-diskette og skrive "fdisk
> /MBR".
>
> Lilo-manualsiden nævner tydeligt denne feature, dog med en anden
> genskabningsprocedure (lilo -u). Så du har ikke læst dokumentationen
> godt nok, hvis du aldrig har hørt om det før.
>
> --
> Peter

[klip]

         To possibly fix the boot sector, boot with a MS-DOS system disk and
run the following command:
                fdisk /mbr


                WARNING: If your hard drive was prepared by a third-party disk
manager program, such as
                Ontrack Disk Manager, then the FDISK /MBR command removes the
overlay program of that
                third-party disk manager, such as the Overlay Manager, and the
drive no longer boots.
                Therefore, you must verify that the drive was not partitioned
with a third-party disk
                manager program before using this command.

[/klip]

Denne bid er taget fra
http://support.microsoft.com/support/kb/articles/Q122/2/21.ASP , og jeg er i
nøjagtig den situation, og det gør mig lidt urolig ved at fyre fdisk /mbr af .

Nogen forslag ???

/Peter



References