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

Re: MBR



Hello Jacek,

Tuesday, December 11, 2001, 11:52:09 AM, you wrote:

JJ> Sytuacja hipotetyczna - chrzani mi się NT i muszę go przeinstalować-nowa
JJ> instalacja kasuje MBR i nagrywa tam swoje śmiecie. Jako loadera używam LILO
JJ> więć gdy NT wpisuje mi coś do MBR jest mi to nie na rękę. Jak odtworzyć
JJ> takiego MBR'a albo jak zrobić sobie kopię MBR'a aby wrazie jakby co móc go
JJ> reanimować

:)) dlugo walczylem z podobnymi problemami
rozwiazanie przyszlo (o dziwo) z helpa windy :))
uzywasz starego dobrego norton diskedit
ktory to umozliwia wlasnie zapamietanie MBR w danej chwili
i ewentualne jego odtworzenie (zalaczam kopie helpa, jesli nie mozesz
znalezc nigdzie norton disk edit to daj znac , podesle ci)
oczywiscie mozna zrobic latwo to samo pod linuxem, ale wiem z wlasnego
doswiadczenia ze poczatkujacy lepiej sie czuja w dosie :))

czasem wystarczy takze wystartowac kompa z dyskietki systemowej
(powiedzmy dysk statowy windy) i napisac fdisk -mbr
to powinno wrocic ostatni stan MBR'a

a jesli NT zamazal ci MBR a chcesz miec tam lilo
to odpalasz linuxa z dyskietki ratunkowej i ponownie instalujesz lilo
(poczytaj wczesniej man lilo, ostatnio wiele pozytecznych rzeczy tam
znalazlem :))
pozdro
michal
-- 
Best regards,
 Slayerowicz                            mailto:slayerowicz@ematic.com
Obtain a copy of Norton Disk Edit. 

Copy the following files onto a DOS 6.22 bootable disk: 
      DISKEDIT.EXE
      NLIB200.RTL
      YMCFG.BIN 

A mouse driver is also very handy but not necessary. 
Create an Autoexec.bat file that starts Diskedit with the /W switch to make it possible to write your changes to the hard disk drive. 
Start Disk Edit and from the Object menu, click Drive. 
From the displayed dialog box, click Physical Disk. 
Select Hard Disk One and click OK. You are now looking at the master boot record and partition table. 
From the Object menu, click Partition Table. 
From the Tools menu, click Write Object To. To a File is already selected so click OK. 
Type a path back to drive A and select a filename to use. For example, 
    A:\PDCMBR 
Click OK. 
Click Yes when prompted. 
Click Cancel at the Rescan prompt. 
This completes saving a copy of your master boot record on to the floppy disk that you used to boot to DOS and run Disk Edit. 

To Restore the File In the Event of Corruption 
Using the same disk as before: 
Start Disk Edit and from the Object menu, click File. 
From the Files dialog box, double-click you saved master boot record. 
From the Tools menu, click Write Object To. 
Click Physical Sectors. 
Click Hard Disk 1. 
Set the Cylinder to 0, the Side to 0, and the Sector to 1. 
Click OK. 
Click OK again on the pop-up Warning! message box. 
This completes restoring your master boot record to the hard disk drive. 

Reply to: