c60b-1eq@web-1f.berkeley.edu (Noam Mendelson) (03/24/91)
In article <1991Mar23.195212.26534@mprgate.mpr.ca> vli@handel.UUCP (Vincent Li) writes: >When you format a disk for the PC, floppy or hard disk, you can specify >whether or not the disk is to be bootable or not, right? Now, suppose >I've formatted the disk to be non-bootable. Is there any way that I can >make it bootable (a system disk) afterwards without having to >reinitialize the whole thing (and loose all data that was on the disk)? >More specifically, I'm interested in doing this to a hard disk. In order to format a disk to be bootable, use "format /s". This places two position-sensitive files (IBMBIO.COM and IBMDOS.COM) on the root directory of the disk. They are hidden files and therefore they do not show up on a normal directory listing. Now, if you forget to format using the /s option, and start writing to the disk, your files are likely to take the spot where IBMBIO.COM and IBMDOS.COM should go. If they do, then you're pretty much out of luck. You'll probably need to reformat. If you have the Norton Utilities, Version 4.0 or better, however, you can use NDD (Norton Disk Doctor) in order to move the offending files to another location and make the disk bootable. If you have a blank, formatted disk that you would like to make bootable, use "sys d:" where d is the appropriate drive. Since a hard disk is involved, I would recommend that you BACKUP ALL IMPORTANT DATA before you use programs like NDD. Although these programs are fairly reliable, it is best to prepare for the worst. Hope this helps. +==========================================================================+ | Noam Mendelson ..!agate!ucbvax!web!c60b-1eq | "I haven't lost my mind, | | c60b-1eq@web.Berkeley.EDU | it's backed up on tape | | University of California at Berkeley | somewhere." |
mcastle@mcs213e.cs.umr.edu (Mike Castle {Nexus}) (03/24/91)
In article <1991Mar23.232516.8910@agate.berkeley.edu> c60b-1eq@web-1f.berkeley.edu (Noam Mendelson) writes: >In order to format a disk to be bootable, use "format /s". This places >two position-sensitive files (IBMBIO.COM and IBMDOS.COM) on the root >directory of the disk. They are hidden files and therefore they do not >show up on a normal directory listing. Now, if you forget to format using >the /s option, and start writing to the disk, your files are likely to >take the spot where IBMBIO.COM and IBMDOS.COM should go. If they do, >then you're pretty much out of luck. You'll probably need to reformat. With DOS 4.0, you can run SYS anytime. Only the boot infomation is location dependent, and nothing should be writing to the boot sector anyway. The actual files can be placed any where, at least with MS-DOS. Also, MS-DOS only copies the io.sys and msdos.sys files to the disk, you still have to manually copy command.com. I assume PC-DOS probably does the same thing. -- Mike Castle (Nexus) S087891@UMRVMA.UMR.EDU (preferred) | XEDIT: Emacs mcastle@mcs213k.cs.umr.edu (unix mail-YEACH!)| on a REAL Life is like a clock: You can work constantly, and be right | operating all the time, or not work at all, and be right twice a day. | system. :->