[comp.unix.xenix] Problem with Xenix 2.2.1 with 2 Hard Disks

vortex@charlie.OZ (Mark Gregson) (08/13/89)

	I am trying to add an extra hard disk to my PC at home
	running Xenix 2.2.1 and I have encountered a wierd
	problem.

	My main hard disk (device 0) is a 70 MB and I am trying
	to add a 20 MB hard disk (device 1) to run MS-DOS.

	The problem I am getting is that when Xenix boots and
	I get the familiar "Xenix Boot:" message and I enter
	"dos" to get it to boot from the second hard disk
	which is formatted under dos, it tells me that it
	cannot find a dos partition. It appears to me that to
	get xenix to boot the dos partition on the second 
	physical drive there must be some kind of a xenix 
	partition on that drive.

	The ideal situation that I would like would be for
	xenix to be on the main hard disk and for the second
	hard disk to be totally dos.

	Has anyone got any ideas on this matter??

	

cpcahil@virtech.UUCP (Conor P. Cahill) (08/13/89)

In article <7748@charlie.OZ>, vortex@charlie.OZ (Mark Gregson) writes:
> 	The problem I am getting is that when Xenix boots and
> 	I get the familiar "Xenix Boot:" message and I enter
> 	"dos" to get it to boot from the second hard disk
> 	which is formatted under dos, it tells me that it
> 	cannot find a dos partition. It appears to me that to
> 	get xenix to boot the dos partition on the second 
> 	physical drive there must be some kind of a xenix 
> 	partition on that drive.
> 

The problem is that the system must be booted from the C drive.  If you
want to boot dos, you need to put a dos partition on the c drive.  This
partition can be as small as you want it to be (as long as it contains
io.sys, msdos.sys, and command.com.  Once booted you can access the other
drive as drive D.  Another option would be to boot from a dos floppy (yuk).

I don't know of any mechanism that can be used to boot from the second
drive in a system.  If there is one I would like some info on it.

bob@wyse.wyse.com (Bob McGowen Wyse Technology Training) (08/15/89)

In article <7748@charlie.OZ> vortex@charlie.UUCP (Mark Gregson) writes:
>
>	I am trying to add an extra hard disk to my PC at home
>	running Xenix 2.2.1 and I have encountered a wierd
>	problem.
>
>	My main hard disk (device 0) is a 70 MB and I am trying
>	to add a 20 MB hard disk (device 1) to run MS-DOS.
>
>	The problem I am getting is that when Xenix boots and
>	I get the familiar "Xenix Boot:" message and I enter
>	"dos" to get it to boot from the second hard disk
---deleted---

The problem is that the boot environment MUST be on the primary
disk.  The method I have used to achieve the environment you
want is to create a very small DOS partition on the first disk.
This is just enough cylinders to provide the space needed for
the two DOS hidden files, command.com, autoexec.bat and
config.sys.  Everything in these last two files should be set
to point to the second hard disk:

	devices=d:*.sys
   or
	path=d:\dos....

The last line in autoexec.bat is:

	d:

which puts you on the second disk to run dos.

I hope this helps.

Bob McGowan  (standard disclaimer, these are my own ...)
Customer Education, Wyse Technology, San Jose, CA
..!uunet!wyse!bob
bob@wyse.com

ske@pkmab.se (Kristoffer Eriksson) (08/15/89)

In article <7748@charlie.OZ> vortex@charlie.UUCP (Mark Gregson) writes:
>	The problem I am getting is that when Xenix boots and
>	I get the familiar "Xenix Boot:" message and I enter
>	"dos" to get it to boot from the second hard disk
>	which is formatted under dos, it tells me that it
>	cannot find a dos partition.

It only searches for a dos partition on the first hard disk. And even if it
did search the second disk, the dos boot block probably wouldn't boot from
that disk anyway.

>	The ideal situation that I would like would be for
>	xenix to be on the main hard disk and for the second
>	hard disk to be totally dos.

I've done this on Xenix386 2.3.1, by patching the "/dos" program on the Xenix
disk. It's very convenient. If my Xenix disk ever quits working, I can simply
remove it and still have unhindered access to the dos disk.
-- 
Kristoffer Eriksson, Peridot Konsult AB, Hagagatan 6, S-703 40 Oerebro, Sweden
Phone: +46 19-13 03 60  !  e-mail: ske@pkmab.se
Fax:   +46 19-11 51 03  !  or ...!{uunet,mcvax}!sunic.sunet.se!kullmar!pkmab!ske

thurm@shorty.CS.WISC.EDU (Matthew Thurmaier) (08/15/89)

In article 7743 Mark Gregson writes:
>
>    I am trying to add an extra hard disk to my PC at home
>    running Xenix 2.2.1 and I have encountered a wierd
>    problem.
>
>    My main hard disk (device 0) is a 70 MB and I am trying
>    to add a 20 MB hard disk (device 1) to run MS-DOS.
>
>    The problem I am getting is that when Xenix boots and
>    I get the familiar "Xenix Boot:" message and I enter
>    "dos" to get it to boot from the second hard disk
>    which is formatted under dos, it tells me that it
>    cannot find a dos partition. It appears to me that to
>    get xenix to boot the dos partition on the second 
>    physical drive there must be some kind of a xenix 
>    partition on that drive.
>
>    The ideal situation that I would like would be for
>    xenix to be on the main hard disk and for the second
>    hard disk to be totally dos.
>
>    Has anyone got any ideas on this matter??
>

First, sorry for posting the whole article again net-land, but i didn't see a
convenient editing for this one.

The answer Mark, is that this:

1.)    In order for the "dos" boot to work for the xenix "boot :" prompt, there
    MUST be a DOS partition on the FIRST hard disk, which is formatted w/
    DOS's "format /S".  The /S is MANDATORY, as it places the DOS system files
    on the disk.
2.)    So, your solution is simple (if you have a tape drive, which you should).
    a.) make a level-0 backup of your 70Mb. drive.
    b.) make a bootable-rootable 1.2Mb. diskette (this will have your current
        kernel and your current devices (like your tape device) on it.
    c.) mount the bootable-rootable on /mnt w/ "mount /dev/fd096 /mnt" and
        type "cp /bin/restor* /mnt/bin" to copy the restore programs over.
    d.) unmount the floppy w/ "umount /dev/fd096" and reboot your machine.
    e.) reformat your 70Mb. drive
    f.) install a 1 or 2 Mb. DOS partition on your 70Mb. drive, formatted w/ 
        "/S".
    g.) install the base system w/ the installation set from SCO.
    h.) reboot from your bootable-rootable floppy.
    i.) type "restor Rf /dev/<tape> /dev/hd0root" - this restores the tape
        to the root file system on the first hard disk (bet ya didn't know
        about /dev/hd0root on the bootable-rootable did ya? :-))
    j.) your XENIX system is set, now go fix your dos partition to automatically
        change your drive to d: in autoexec.bat.

No Problem! (Or that's what they call me... No Problem Thurmaier :-))

Perhaps SCO has some comments on this also, but I think I got everything.

Good Luck,
Matthew.

P.S.  DOS = Dumb Operating System,
      PCDOS = Partially Complete Operating System
      ... So why do you WANT DOS ANYWAY?
Snail Mail:                                 E Mail:
Matthew J. Thurmaier                ...!{allegra,harvard,seismo}!shorty!matt
The Computer Classroom              matt@shorty.wisc.edu
6701 Seybold Road, Ste. 122
Madison, WI 53719
(608) 271-2171
                                  "why am I ALWAYS going somewhere?" >>-matt-->

barton@holston.UUCP (barton) (08/19/89)

In article <7748@charlie.OZ>, vortex@charlie.OZ (Mark Gregson) writes:
> 
> 	cannot find a dos partition. It appears to me that to
> 	get xenix to boot the dos partition on the second 
> 	physical drive there must be some kind of a xenix 
> 	partition on that drive.
> 
It's acutally the opposite. According to the release notes for
2.2.1 you could maintain a small dos partition on drive 0, then
typing "dos" at Xenix Boot: would boot dos on drive C then you
could just C> D: <Return> and you would be on D drive which could
be totally DOS.

Hope this helps.
-- 
Barton A. Fisk          | UUCP: {attctc,texbell,vector}!warble!holston!barton
PO Box 1781             | (PSEUDO) DOMAIN: barton@holston.UUCP     
Lake Charles, La. 70602 | ----------------------------------------
318-439-5984            | +++++ "Hal, open the pod bay doors" --- Dave