Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2782 → Rev 2783

/programs/hd_load/mtldr/install.txt
0,0 → 1,101
“áâ ­®¢ª  ®áãé¥á⢫ï¥âáï á«¥¤ãî騬 ¯à®áâë¬ á¯®á®¡®¬:
˜ £ 1. ‘ª®¯¨àã©â¥ ä ©«ë mtldr ¨ kolibri.img ¢ C:\
(¥ ­à ¢¨âáï C:\? à®ç¨â ©â¥ § ¬¥ç ­¨ï ­¨¦¥.)
 
˜ £ 2 ) „«ï ¯®«ì§®¢ â¥«¥© NT-ᥬ¥©á⢠ ¤® Vista (NT/2k/XP/2003 Server (?)):
¤®¡ ¢ì⥠¢ boot.ini ¢ à §¤¥« [operating systems] áâபã
c:\mtldr="KolibriOS"
(«¨¡® ®âªàë¢ «î¡ë¬ ⥪áâ®¢ë¬ à¥¤ ªâ®à®¬ c:\boot.ini,
«¨¡® ç¥à¥§ Control Panel -> System -> Advanced -> Startup and Recovery
-> Edit).  §¢ ­¨¥ ¢ ª ¢ëçª å ¬®¦¥â¥ § ¬¥­¨âì ­  ¢áñ, çâ® ¢ ¬ ­à ¢¨âáï,
¯®¤ í⨬ ­ §¢ ­¨¥¬ á¨á⥬  ¡ã¤¥â ¯®ï¢«ïâìáï ¢ ᯨ᪥ § £à㧪¨.
’¥¯¥àì ¯à¨ § £à㧪¥ ¡ã¤¥â ¢ë¤ ¢ âìáï íªà ­ ¢ë¡®à  ®¯¥à æ¨®­­®© á¨á⥬ë.
 
˜ £ 2¡) „«ï ¯®«ì§®¢ â¥«¥© 9x-ᥬ¥©á⢠ (95/98)
(  ¬®¦¥â ¡ëâì, íâ® ¡ã¤¥â à ¡®â âì ¨ ¤«ï ­¥ª®â®àëå DOS):
¤®¡ ¢ì⥠¢ config.sys áâபã
install=c:\mtldr
¯¥à¢®© áâப®©, ¥á«¨ ã ¢ á ¯à®á⮩ «¨­¥©­ë© config.sys,
¯¥à¢®© áâப®© ¢ ᮮ⢥âáâ¢ãî饩 ᥪ樨, ¥á«¨ config.sys
à §¡¨â ­  ᥪ樨 (¨ ­ ç¨­ ¥âáï á [menu])
’¥¯¥àì ¯à¨ § £à㧪¥ mtldr ¡ã¤¥â á¯à è¨¢ âì: "Load KolibriOS? [y/n]: " ¨ ®¦¨¤ âì
­ ¦ â¨ï ®¤­®£® ¨§ 'y','Y','n','N'.
 
„«ï Windows Millenium íâ® ­¥ à ¡®â ¥â, â.ª. Me'è­ë© § £àã§ç¨ª ­¥
§ £à㦠¥â ¢­¥è­¥£® ª®¤  ¨§ config.sys. (‘¯ á¨¡® camper'ã §  㪠§ ­¨¥
­  íâ®â ¯à¨áª®à¡­ë© ä ªâ.) ˆá¯®«ì§ã©â¥ 9x2klbr.
 
˜ £ 2¢) „«ï ¯®«ì§®¢ â¥«¥© Vista:
®âªà®©â¥ ª®¬ ­¤­ãî áâபã á  ¤¬¨­¨áâà â®à᪨¬¨ ¯à¨¢¨«¥£¨ï¬¨
(¯ã­ªâ "Run as administrator" ¢ ª®­â¥ªáâ­®¬ ¬¥­î);
¥á«¨ ¢ë ­¥ ¯« ­¨àã¥â¥ ãáâ ­®¢ª¨ ­¥áª®«ìª¨å ¢ à¨ ­â®¢ Š®«¨¡à¨
ª ª ®¯¨á ­® ¢ § ¬¥ç ­¨ïå, ¯à®áâ® § ¯ãáâ¨â¥ ¯à¨« £ ¥¬ë© vista_install.bat;
¨­ ç¥ ¢ë¯®«­¨â¥ á«¥¤ãî騥 ª®¬ ­¤ë:
bcdedit /create /d "KolibriOS" /application BOOTSECTOR
( §¢ ­¨¥ ¢ ª ¢ëçª å ¬®¦¥â¥ § ¬¥­¨âì ­  ¢áñ, çâ® ¢ ¬ ­à ¢¨âáï,
¯®¤ í⨬ ­ §¢ ­¨¥¬ á¨á⥬  ¡ã¤¥â ¯®ï¢«ïâìáï ¢ ᯨ᪥ § £à㧪¨.)
„®«¦­® ¯®ï¢¨âìáï á®®¡é¥­¨¥ ⨯ 
"‡ ¯¨áì {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} ãᯥ譮 ᮧ¤ ­ ."
„ «¥¥ ¢ ª®¬ ­¤ å ¯®¤áâ ¢«ï©â¥ ¯®«ã祭­®¥ §­ ç¥­¨¥ (®­®, ¢®®¡é¥ £®¢®àï,
à §­®¥ ­  à §­ëå ª®¬¯ìîâ¥à å).
bcdedit /set {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} DEVICE PARTITION=C:
bcdedit /set {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} PATH \mtldr
bcdedit /displayorder {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} /addlast
 
“¤ «¥­¨¥ ¢ á«ãç ïå 2 ) ¨ 2¡) ®áãé¥á⢫ï¥âáï 㤠«¥­¨¥¬ ¢¢¥¤ñ­­ëå ¤ ­­ëå ¢
boot.ini ¨ config.sys ᮮ⢥âá⢥­­®. “¤ «¥­¨¥ ¢ á«ãç ¥ 2¢) ¤¥« ¥âáï â ª:
 
vista_remove.bat, ¥á«¨ ãáâ ­®¢ª  ¡ë«  ç¥à¥§ vista_install.bat;
bcdedit /delete {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} ¢ ®¡é¥¬ á«ãç ¥
 
…᫨ ¢ë ­¥ ¯®¬­¨â¥ ­ §­ ç¥­­ë© ¯à¨ ãáâ ­®¢ª¥ GUID (íâ® ­®à¬ «ì­®¥ ¥­¨¥),
⮠㧭 âì ¥£® ¬®¦­®, ¢ë¯®«­¨¢ ª®¬ ­¤ã bcdedit ¡¥§  à£ã¬¥­â®¢ ¨ ­ ©¤ï
¢ ¢ë¢¥¤¥­­®¬ ᯨ᪥ ᮮ⢥âáâ¢ãî騩 í«¥¬¥­â.
 
‚® ¢á¥å á«ãç ïå ¢ íªà ­¥ ¢ë¡®à  ¯ à ¬¥â஢ KolibriOS ¬®¦­® ­  ¢®¯à®á,
®âªã¤  £à㧨âì ®¡à § (¯ã­ªâ d, "®¡à § ¤¨áª¥âë"),
®â¢¥ç âì "3" (¨á¯®«ì§®¢ âì 㦥 § £à㦥­­ë© ®¡à §).
 
‡ ¬¥ç ­¨ï:
 
1. ®ª  çâ® ¢áñ íâ® à ¡®â ¥â ¤«ï ä ©«®¢ëå á¨á⥬ NTFS ¨ FAT32, ¯®¤¤¥à¦ª  FAT16
­¥ ॠ«¨§®¢ ­  ¢ á¢ï§¨ á ¬®¨¬ £«ã¡®ª¨¬ ã¡¥¦¤¥­¨¥¬, ç⮠ᥩç á FAT16 - ®¡ê¥ªâ
ç¨áâ® ¨áâ®à¨ç¥áª¨©. …᫨ ¢ë ¨á¯®«ì§ã¥â¥ FAT16, ã ¢ á á⮨â Windows ¨ ¢ë ¯®
ª ª¨¬-â® ¯à¨ç¨­ ¬ ­¥ å®â¨â¥ ¯¥à¥å®¤¨âì ­  FAT32 - ­ ¯¨è¨â¥ ¬­¥
- ¬®¦¥â ¡ëâì, ¢ ¬ 㤠áâáï ¬¥­ï ¯¥à¥ã¡¥¤¨âì.
 
2. ‘ ¬ § £àã§ç¨ª mtldr ­¥®¡ï§ â¥«ì­® ¯®¬¥é âì ¢ C:\. ®¤ 9x ¨ Vista ®­ ¬®¦¥â
à §¬¥é âìáï £¤¥ 㣮¤­®, ¢ NT/2k/XP - ­  ¤¨áª¥ C:, ­® ­¥®¡ï§ â¥«ì­®
¢ ª®à­¥¢®© ¯ ¯ª¥. ( §ã¬¥¥âáï, ¯à¨ ãáâ ­®¢ª¥ ­ã¦­® 㪠§ë¢ âì ¢¬¥áâ®
c:\mtldr ॠ«ì­ë© ¯ãâì ¨ ॠ«ì­®¥ ¨¬ï ä ©« .)
 
3. Ž¡à § kolibri.img ⮦¥ ­¥®¡ï§ â¥«ì­® ¯®¬¥é âì ¢ C:\. Œ®¦­® ¡¥§ ¢á直å
¨§¬¥­¥­¨© ¢ ãáâ ­®¢ª¥ ¨á¯®«ì§®¢ âì ª®à­¥¢ãî ¯ ¯ªã «î¡®£® «®£¨ç¥áª®£® ¤¨áª ,
à §¬¥é î饣®áï ­  ¯¥à¢®¬ 䨧¨ç¥áª®¬.
 
4. …᫨ å®ç¥âáï ¨á¯®«ì§®¢ âì «®£¨ç¥áª¨© ¤¨áª ­  ¤à㣮¬ 䨧¨ç¥áª®¬ ¤¨áª¥?
‘£®¤¨âáï «î¡®© ¨§ á«¥¤ãîé¨å ¢ à¨ ­â®¢:
a) (…᫨ ¢ë 㬥¥â¥ à ¡®â âì á FASM'®¬) ‚ ¨á室­¨ª å (ª®â®àë¥ ¬®¦­® ᪠ç âì
­  http://diamondz.land.ru, â ¬ ¦¥, £¤¥ ¨ á ¬ § £àã§ç¨ª) ¯®¬¥­ï©â¥
ª®­áâ ­âã boot_drive (¢ ª®­æ¥ mtldr.asm) á 80h ­  ¨¤¥­â¨ä¨ª â®à ¤¨áª ,
80h ᮮ⢥âáâ¢ã¥â ¯¥à¢®¬ã, 81h - ¢â®à®¬ã ¨ â.¤. ¥à¥ª®¬¯¨«¨àã©â¥.
¡) (…᫨ ¢ë 㬥¥â¥ à ¡®â âì á hex-। ªâ®à®¬) ®¬¥­ï©â¥ ¡ ©â ¯® ᬥ饭¨î 0xD98
á 80h ­  ¨¤¥­â¨ä¨ª â®à ¤¨áª  (ª ª ¢ ¯ã­ªâ¥  ).
¢) ˆá¯®«ì§ã©â¥ ãáâ ­®¢é¨ª mtldr_install (᪠ç âì ¥£® ¬®¦­® â ¬ ¦¥).
Ž­ ­ áâந⠧ £àã§ç¨ª ¨ á ¬ ¦¥ ¥£® ¨ ãáâ ­®¢¨â.
 
5. …᫨ 祬-â® ­¥ ­à ¢¨âáï ª®à­¥¢ ï ¯ ¯ª ? ’ãâ ¯®ï¢«ïîâáï ¤¢  ¢ à¨ ­â :
 ) ‚ ¨á室­¨ª å ¯®¬¥­ï©â¥ áâபã kolibri_img_name (¢ ª®­æ¥ mtldr.asm)
­  ¯ãâì ª ä ©«ã.  ¯à¨¬¥à, ¤«ï C:\Program Files\kolibri\kolibri.img § ¯¨è¨â¥
'progra~1\kolibri\kolibri.img' (¯à¨ í⮬ ­ã¦­ë ¨¬¥­  8.3). ¥à¥ª®¬¯¨«¨àã©â¥.
¡) ˆá¯®«ì§ã©â¥ ãáâ ­®¢é¨ª mtldr_install.
 
6. …᫨ ¢®á¯®«ì§®¢ âìáï ४®¬¥­¤ æ¨ï¬¨ ¯ã­ªâ®¢ 2 ¨ 5 ¨ ¯®¢â®à¨âì ãáâ ­®¢ªã
­¥áª®«ìª® à § ¤«ï à §­ëå à á¯®«®¦¥­¨© á¢ï§ª¨ mtldr+kolibri.img,
¬®¦­® ¯®«ãç¨âì ¢ § £à㧮筮¬ ¬¥­î ­¥áª®«ìª® ¢å®¤®¢ ¤«ï à §­ëå ¢¥àᨩ
Š®«¨¡à¨ (¨«¨ ¤«ï ¢¥àᨩ á à §­ë¬¨ ­ áâனª ¬¨).
 
7. ®¦¥« ­¨ï, § ¬¥ç ­¨ï, ¯à¥¤«®¦¥­¨ï ¢ëáë« ©â¥ ­  ¬ë«®, 㪠§ ­­®¥ ­¨¦¥.
 
diamond
mailto: diamondz@land.ru