home *** CD-ROM | disk | FTP | other *** search
/ business-86-101-185-173.business.broadband.hu / business-86-101-185-173.business.broadband.hu.zip / business-86-101-185-173.business.broadband.hu / bootpa26.zip / bootpart.txt < prev    next >
Text File  |  2005-08-01  |  12KB  |  266 lines

  1. SEE SPECIAL BOOTPART 2.60 INFO AT THE END OF THIS DOCUMENT
  2.  
  3.  
  4. This zipfile contain:
  5. 32bits\bootpart.exe: 32 bits executable, for 32 bits Windows x86
  6. ia64\bootpart.exe: 64 bits executable, for 64 bits Windows for Intel Itanium
  7. x64\bootpart.exe: 64 bits executable, for 64 bits Windows extended (for
  8.        AMD64 and Intel EM64T : 64 bits Windows on AMD Athlon 64, Opteron,
  9.        Intel Pentium 4, Xeon or Celeron with EM64T)
  10.  
  11.  
  12. Boot Partition 2.60 for WinNT/2K/XP (c)1995-2002 G. Vollant (info@winimage.com)
  13. WEB : http://www.winimage.com and http://www.winimage.com/bootpart.htm
  14. Add partition in the Windows NT/2000/XP Multi-boot loader
  15. Usage : When running under Windows NT/2000/XP or MS-Dos
  16.        BOOTPART
  17.           List all partition, with number
  18.        BOOTPART <part_number> [LBA] <filename> [<name_of_system>]
  19.           where : part_number : a number of a partition (or A: for floppy)
  20.                   LBA : force LBA addressing for loading partition bootsector
  21.                   filename : the file name of the bootfile to create
  22.                   name_of_system : the name to be added in the BOOT.INI
  23.               Create a boot file for the partition, and if name_of_system
  24.                  is specified, register it in the BOOT.INI
  25.           You can also replace <part_number> by DOS622 or WIN95 to them.
  26.       BOOTPART LIST
  27.          List entry in BOOT.INI (you can remove them after with BOOTPART)
  28. Under MS-Dos (MS-Dos 6.22 or the "MS-Dos 7.0" from Windows 95) only:
  29.       BOOTPART <part_type> BOOT:C:
  30.          where <part_type> is DOS622, WIN95 or WINNT, rewrite the boot sector
  31.              of C: for boot under MS-Dos 6.22, Win95 or the NT Boot loader
  32.       BOOTPART REWRITEROOT:C:
  33.          Put the IO.SYS and MSDOS.SYS file from MS-Dos 6.22 at the beginning
  34.              of the boot sector
  35.  
  36. ------------------------------------
  37.  
  38. BOOTPART lets you add partitions to the Windows NT Multiboot menu. Usually,
  39. the only partitions on the Windows NT multiboot are the one or more installations of
  40. Windows NT.
  41.  
  42. With BOOTPART, you can add any partition to the menu. You can add OS/2
  43. Multiboot or Linux Partitions (with Lilo) to the menu.
  44.  
  45. It seems it's actually impossible to add an HPFS partition with OS/2 boot.
  46. If you find a workaround, please let me know.
  47.  
  48. BOOTPART creates a 512 byte file that contains an image of a boot sector
  49. that loads the boot sector of the partition. That is, it creates a small program
  50. that loads and executes the specified partition's boot sector.  
  51. Thereafter, this file is
  52. declared in C:\BOOT.INI (a text file used by the Windows NT boot menu). The
  53. boot sector comes from FDFormat and WinImage.
  54.  
  55. Note that under Windows NT, BOOTPART must be run from the Administrator account.
  56.  
  57. FDFormat can be downloaded from my web page http://www.winimage.com/othertl.htm
  58. The FTP link is ftp://ftp.simtel.net/pub/simtelnet/msdos/diskutil/fdfrm18.zip 
  59. This tool, written by C.H. Hochstatter, formats floppies under MSDOS in
  60. normal (1.44 MB) or special (1.68 MB) capacity. It will also write a boot sector that
  61. boots the harddisk.
  62.  
  63. WinImage, a Windows (Windows 3.1, 95/98/Me and NT/2000/XP) shareware I've written, can
  64. read, write, and format floppies in any capacity (including 1.68 MB), and
  65. build an image file of a floppy. It can extract from, or inject files into
  66. an image, and change the image size. The WinImage web site is :
  67.  
  68.   http://www.winimage.com/winimage.htm
  69.  
  70.  
  71.  
  72. Example :
  73.  You create and move to a directory for the boot file, and display the
  74.  list of partitions :
  75. C:\>MD BOOTFILE
  76. C:\>CD BOOTFILE
  77. C:\BOOTFILE>BOOTPART
  78. Boot Partition 2.60 for WinNT/2K/XP (c)1995-2002 G. Vollant (info@winimage.com)
  79. WEB : http://www.winimage.com and http://www.winimage.com/bootpart.htm
  80. Add partition in the Windows NT/2000/XP Multi-boot loader
  81. Run "bootpart /?" for more information
  82.  
  83.  0 : C:* type=6 (BIGDOS Fat16), size = 1044193 KB
  84.  1 : C:  type=a (OS/2 Boot Manag.), size = 8032 KB
  85.  2 : C:  type=5 (Extended), size = 8032 KB
  86.  3 : C:  type=7  (HPFS/NTFS), size = 8001 KB
  87.  4 : D:  type=6 (BIGDOS Fat16), size = 261104 KB
  88.  5 : D:  type=5 (Extended), size = 769024 KB
  89.  6 : D:  type=7  (HPFS/NTFS), size = 102384 KB
  90.  7 : D:  type=5  (Extended), size = 369664 KB
  91.  8 : D:  type=7   (HPFS/NTFS), size = 369648 KB
  92.  9 : D:  type=83  (Linux native), size = 296944 KB
  93.  
  94. Note : Extended partitions (type 5) are the only partitions that can contain
  95. other partitions. It's not useful to add extended partitions to the NT boot
  96. menu !
  97. The * after C: means that partition 0: is the active partition.
  98.  
  99. Now, you add some partitions :
  100. C:\BOOTFILE>BOOTPART 9 BOOTLINX.BIN Linux
  101. C:\BOOTFILE>BOOTPART 1 BOOTLINX.BIN Boot Manager OS/2
  102. C:\BOOTFILE>BOOTPART a: BOOTLINX.BIN Boot floppy A:
  103.  
  104. The last line (A:) is special, and is designed for a BIOS configured for
  105. booting from C: before reading from the floppy (A:) .
  106.  
  107. The next time you boot, the Windows NT menu will show Linux, OS/2 Boot
  108. Manager, and the floppy !
  109.  
  110. BOOTPART is a Win32 console application written in C++ and compiled with Visual C++ 2.2
  111. bootpa32.mak is the Visual C++ Makefile, bootpart.cpp is the source file,
  112. bootpart.exe is the executable, and bootpart.txt is this documentation.
  113.  
  114. -----------------------------------------------------------------------------
  115.  
  116. Fast tips :
  117.  
  118. To repair the Windows NT boot sector
  119. ====================================
  120. Windows NT installs a boot sector that lauches NTLDR and displays the
  121. Windows NT boot menu. If you lose this boot sector, Bootpart can restore
  122. it.
  123. Boot under MS-Dos (this can be MS-Dos 6.22 on your hard disk, on an MS-Dos
  124. bootable floppy, or the "MS-Dos 7.0" included in Windows 95 (you can obtain it
  125. by pressing Shift+F5 when Win95 loads). Then, enter the command :
  126. BOOTPART WINNT BOOT:C:
  127.  
  128. If you want to remove the WinNT boot sector, you can replace it with the
  129. command "BOOTPART DOS622 BOOT:C:" or "BOOTPART WIN95 BOOT:C:"
  130.  
  131. To have both MS-Dos 6.22 and Windows 95 in the NT menu (forgot F4 !)
  132. =======================================================================
  133. The standard situation for a computer that multiboots to Windows NT,
  134. Windows 95, or MS-Dos 6.22 is : the user selects a "Windows 95" entry
  135. in NT menu, and, then must press F4 if he wants to  boot MS-Dos 6.22.
  136. If you don't have this situation (i.e. : you don't have both Win95 and
  137. MS-Dos 6.22 on your system, but want to have both), see the next section.
  138.  
  139. Just enter these bootpart command :
  140. BOOTPART DOS622 C:\BOOTSECT.622 "MS-Dos 6.22"
  141. BOOTPART WIN95 C:\BOOTSECT.W95 "Windows 95"
  142. BOOTPART REWRITEROOT:C:
  143.  
  144. The last line (REWRITEROOT:C:) MUST BE EXECUTED UNDER MSDOS, and moves the
  145. MS-Dos IO.* and MSDOS.* files to the beginning of the root directory.
  146.  
  147. You can visit the page : http://www.bcpl.lib.md.us/~dbryan/directboot.html
  148. for more information on booting WinNT/Win95/DOS.
  149.  
  150. If you have WinNT & Win95 and you only want to add MS-Dos
  151. =========================================================
  152. Take an MSDos 6.22 floppy, copy the files IO.SYS, MSDOS.SYS, and
  153. COMMAND.COM to C:\ as IO.DOS, MSDOS.DOS, and COMMAND.DOS (warning :
  154. these files can be hidden, but you can ask File Manager or Explorer to
  155. display hidden files). Then go to the section "To have both MS-Dos
  156. 6.22 and Windows 95 in the NT menu"
  157.  
  158. If you have WinNT & MS-Dos and you only want to add Win95
  159. =========================================================
  160. Install Win95 in a new directory (start the install under MS-Dos 6.22
  161. or Windows 3.1) and go to the section "To have both MS-Dos 6.22 and
  162. Windows 95 in the NT menu"
  163.  
  164. To add OS/2
  165. ===========
  166. Unfortunatelly, I can't directly add an OS/2 partition by itself (if you
  167. have a workaround or fix, I'd be happy to hear about it !).
  168. Install the OS/2 Boot Manager (you need 1 MB free on your first hard disk),
  169. add the OS/2 partition in the boot menu with automatic start (0 sec.
  170. waiting), and then add the OS/2 Boot Manager partition on your NT menu with
  171. BootPart.  Sometimes, when you install OS/2 Boot Manager, it becomes the active 
  172. partition of your first hard disk.  You can use FDISK to set the
  173. partition with NT boot manager as the active partition later.
  174.  
  175. To add Linux
  176. ============
  177. For Linux, you must install Lilo at the beginning of the Linux partition
  178. (as with OS/2 boot manager) and then add the Linux partition with Bootpart:
  179.  
  180. When you install Linux or run liloconfig, select "Superblock of the root
  181. linux partition" as location of Lilo. In my sample, this adds the line
  182. "boot=/dev/sdb4" on the file /etc/lilo.conf
  183.  
  184.  
  185. ---------------------------------------------------------------------------------
  186.  
  187. Bootpart is cardware.
  188. If you like it, please send me a postcard from your city to:
  189. Gilles Vollant
  190. 4, rue de Morsang
  191. F-91600 Savigny
  192. France
  193.  
  194. If Bootpart help you, please try my two shareware WinImage and SmartVersion
  195.  
  196.  
  197. ---------------------------------------------
  198.  
  199. WinImage is a powerful disk utility that enables users to create disk images
  200. from flopp disks, extract files from image files, create empty image files,
  201. write the image files on blank floppy disks, and more! WinImage also supports
  202. many different standard and non-standard image formats, including the Microsoft
  203. DMF format.
  204. WinImage also open ISO CD Rom image file (in read-only mode)
  205.  
  206. Get more info and try if from :
  207.   http://www.winimage.com/winimage.htm 
  208.  
  209. ---------------------------------------------
  210.  
  211. SmartVersion is a multi-version incremental file archivist, it provides a powerful
  212. and easy way to store unlimited file versions (or document versions: Word, Excel,
  213. HTML, etc...) in a single location. By means of state-of-the-art compression,
  214. SmartVersion  stores only file's differences between last version's file
  215. (or document) and the previous one.
  216.  
  217. For some file's types (such as text file, HTML files, Word Processing files...),
  218. it takes a significant smaller disk space than compressing each version individually.
  219.  
  220. SmartVersion also enables you to create "patch" files with only differences
  221. concerning a particular or specific files' set. These "patch" files (smaller than the
  222. equivalent classic archive of the new version) can be made available to anyone which
  223. already has a version of the files' set and needs either to upgrade to a latest
  224. version or downgrade to a previous one!!!.
  225.  
  226. Get more info and try if from :
  227.  http://www.smartVersion
  228.  
  229. ---------------------------------------------------------------------------------
  230.  
  231. This program comes without any warranty either implied or expressed. In no
  232. case shall the author be liable for any damage or unwanted behavior of any
  233. computer hardware and/or software.
  234. You can send me question at info@winimage.com
  235. If you ask help, please send your boot.ini and the result of BOOTPART without
  236. parameters (the list of partition on the system).
  237.  
  238. I want thank a lot Matthew Gardiner and Dave Bryan for review of this
  239. documentation.
  240.  
  241. ---------------------------------------------------------------------------------
  242. NEW IN VERSION 2.12 beta
  243.  
  244. This version is now :
  245. - compatible with disk over 4 GB
  246. - can restore Win95 OEMSR2 (or Win98) and WinNT BootLoader (for NTLDR of WinNT 5.0) 
  247.     in FAT32 partition
  248.  
  249. ---------------------------------------------------------------------------------
  250. NEW IN VERSION 2.14 beta
  251. - add "BOOTPART Win95SR2 xxx" and "BOOTPART Win98 xxx" option for Win95 OEMSR2 and
  252. Win98 bootsector
  253.  
  254. ---------------------------------------------------------------------------------
  255. NEW IN VERSION 2.20
  256. - Released version, not a beta
  257. - fix bug in writting the WinNT and Win95/98 bootsector in FAT32 partition
  258.  
  259. ---------------------------------------------------------------------------------
  260. NEW IN VERSION 2.50
  261. - Support using of LBA for large disk (>8 GB)
  262. ---------------------------------------------------------------------------------
  263. NEW IN VERSION 2.60
  264. - 64 bits executables
  265. - option "bootpart vista boot:c:" to rebuild Windows Vista Bootmgr on FAT partition
  266.