home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 3119 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  3.0 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!gumby!destroyer!caen!uakari.primate.wisc.edu!ames!nsisrv!Pt!postmaster@hq.af.mil!rick
  2. From: rick@postmaster@hq.af.mil (Rick Weldon)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Setting up bootable DOS pertition by hand
  5. Keywords: DOS
  6. Message-ID: <4500@hq.hq.af.mil>
  7. Date: 29 Jul 92 14:42:46 GMT
  8. Sender: news@Pt.hq.af.mil
  9. Reply-To: rick@hq.af.mil
  10. Organization: 7TH Communications Group
  11. Lines: 72
  12.  
  13. I want to be able to boot DOS as well as 386BSD from the 
  14. HD. I haven't seen much discussion on this specifically.
  15. Most of the discussion seems to be around accessing DOS 
  16. from 386BSD.
  17.  
  18. My questions though are centered around getting DOS to boot.
  19.  
  20. I tried to use the automated install script and it blew up.
  21. I did as the release notes suggested and used fdisk to create
  22. a DOS partion on the beginning of the drive, but install munged
  23. things, so I ended doing a manual install to the whole disk.
  24. I used Chris Demetriou's method to install everything on seperate
  25. partitions. Boot from HD-- no problem --all is well.
  26.  
  27. Now what I want to do is set up that DOS partition by
  28. hand. I want to use the first 30Mb of the disk and leave the
  29. rest for 386BSD. I am assuming that I will have to write the
  30. disklabel by hand taking into consideration the DOS partition.
  31.  
  32. So I am assuming something like this: 
  33.  
  34. wd0a 32 Mb into the disk -- to 37 Mb
  35. wd0b 37 Mb to 42 Mb swap
  36. wd0c whole disk
  37. wd0d 0 Mb to 30mb for DOS
  38. wd0h 42Mb to end of disk
  39.  
  40. Now the  fun part. 
  41.  
  42. 1. If I put DOS on to the first 30 Mb of the 
  43. drive how does the boot image know where to go to boot 386BSD.
  44. I would assume that it reads the disklabel and then looks for 
  45. the kernel image 32 Mb into the disk on the wd0a partition.
  46. Is this the case?
  47.  
  48. 2. When I shutdown todos I assume that the shutdown program
  49. tweaks the boot image to tell it to boot DOS instead, Or 
  50. simply makes the DOS partition active. If the latter
  51. is true all I should have to do is run fdisk and de-activate
  52. the DOS partition to get back to 386BSD. This is where
  53. things get hazy, I was hoping someone might be able to explain 
  54. this a little better.  Another words how do I get back and
  55. forth between DOS and 386BSD. 
  56.  
  57.  
  58. I also remember reading that a lot of people were having trouble
  59. with the shutdown -to-dos script. A complaint that shutdown
  60. couldn't make dos bootable or something similar. Was this ever 
  61. resolved? 
  62.  
  63.  
  64. Any help at all would be appreciated. I was hoping for 
  65. something like Chris Demetriou's step by step, but edited
  66. to include how to set up a DOS partition by hand.
  67.  
  68. Please post here.
  69. I read this group all of the time |-).
  70.  
  71. (Have you ever noticed that the people who want the most
  72. information from a particular group don't read the group.
  73. They always ask for any helpers to e-mail because they don't have
  74. time to read the news.) 
  75.  
  76. If anyone cares I'll put the whole thing together and post it.
  77. I have Chris's step by step. 
  78.  
  79. Thanks so much to Bill, Lynne and Chris Demitriou 
  80.  
  81. -- 
  82. Rick Weldon     I-NET Inc. (Pentagon, 7TH Com Group)
  83. E-mail: rick@hq.af.mil
  84. Phone:  703-695-5060
  85.