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