home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5368 < prev    next >
Encoding:
Text File  |  1992-09-08  |  3.1 KB  |  72 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!spool.mu.edu!agate!tfs.com!tfs.com!julian
  3. From: julian@tfs.com (Julian Elischer)
  4. Subject: how do I put 386bsd on drive 2 <An answer>
  5. Message-ID: <1992Sep9.061546.24241@tfs.com>
  6. Organization: TRW Financial Systems
  7. References: <92252.033510MHS108@psuvm.psu.edu> <1992Sep8.135124.947@corax.udac.uu.se>
  8. Distribution:  comp
  9. Date: Wed, 9 Sep 1992 06:15:46 GMT
  10. Lines: 60
  11.  
  12. In article <1992Sep8.135124.947@corax.udac.uu.se> goran@astro.uu.se (Goran Hammarback) writes:
  13. >In article <92252.033510MHS108@psuvm.psu.edu>, Mark Solsman <MHS108@psuvm.psu.edu> writes:
  14. >
  15. >|> I have two esdi drives, I would like to make the first drive msdos, and
  16. >|> the second drive 386bsd.  Can I do this, and how?  I am not sure, because
  17. >|> 386bsd install only seems to look at drive one, and doesn't notice the big
  18. >|> vacient sign on the partition table for drive two...
  19. >
  20. >There are two possibilites:
  21. >
  22. >* Open your PC and change cables and settings so the second disk
  23. >  is the first disk, boot from the tinyBSD disk and let install do
  24. >  it's stuff (or use the fixit disk and makeo a custom disklabel and
  25. >  install so you get a decently sized swap partition).
  26. >
  27. >* Get a kernel that supports two disks, strip it and replace the kernel
  28. >  on the fixit disk, boot from fixit, disklabel the second disk, mount
  29. >  it and custom install.
  30. >
  31. >Either way, you now have a DOS disk, and a 386BSD disk.  The problem is
  32. >that the PC ROM only allows you to boot from the first (DOS) disk, so to
  33. >boot from the other disk you have to physically make it that disk the first
  34. >one.
  35. >This is not very practical (although I use that myself now, but that's
  36. >because my stupid diskcontroller won't realize I have two disks on it 8-(.
  37. >I bought a new one today, I hope that one works 8-) ).
  38. >
  39.  
  40. I have my port of the MACH bootblocks in 'sortof alpha' testing at the
  41. moment. One of the things it allows you to do is load the kernel from
  42. the second drive. In my test system, disk1 is an ESDI and disk2 is a
  43. SCSI drive. The bootblock from disk1 can load kernels from a BSD partition
  44. on either drive. (the hard bit is making it stick.. even though
  45. I tell the kernel what the bootdev is it always goes back to the
  46. first one to act as root, but I'll fix that tomorrow I guess.)
  47.  
  48. anyhow, That allows you to boot with as little as
  49. 16 blocks on the first disk used up as the BSD bootloader.
  50. I will be looking at modifying the os-bs stuff to have a menu
  51. option of 'try other disk'
  52. so even that (the 16 blocks) may not be needed.
  53.  
  54. The MACH bootblocks allow the sd(1,a)386bsd
  55. type of line to be typed in.  ^  ^ ^ ^
  56.                   |  | | |
  57.                   |  | | Filename
  58.                   |  | Partition
  59.                   |  Disk number
  60.                   Disk type (e.g. hd or fd)
  61. looks real neat,
  62. will be releasing as soon as I figure out how to get
  63. the kernel from disk2 to mount disk2 as root, not disk1
  64.  
  65. +----------------------------------+       ______ _  __
  66. |   __--_|\  Julian Elischer       |       \     U \/ / On assignment
  67. |  /       \ julian@tfs.com        +------>x   USA    \ in a very strange
  68. | (   OZ    ) 2118 Milvia st. Berkeley CA. \___   ___ | country !
  69. +- X_.---._/  USA+(510) 704-3137(wk)           \_/   \\            
  70.           v
  71.  
  72.