home *** CD-ROM | disk | FTP | other *** search
/ ftp.winimage.com / 2014.06.ftp.winimage.com.tar / ftp.winimage.com / bootpa25.zip / bootpart.txt < prev    next >
Text File  |  2002-09-05  |  11KB  |  254 lines

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