[comp.os.minix] Questions about Shoelace

greg@mobius.Viewlogic.COM (Gregory Larkin) (09/10/90)

I have recently acquired Minix 1.3 and am interested in putting
it on my hard disk and then upgrading to 1.5.10.  I have down-
loaded the Shoelace package to help me put Minix on the hard disk,
but I have a few problems that are preventing me from doing it.

My system configuration is: 6 Mhz AT w/ HD floppy, 21 Meg hard
disk (C:), 31 Meg hard disk (partitioned into 14 Meg D: and 17
Meg E:).  The C: drive has all MS-DOS software on it.  I would
like to install MINIX on the D: and E: partitions and then use
Shoelace to selectively boot either operating system.  

In my understanding, /dev/hd0 refers to the nonpartitioned C:
drive, /dev/hd1 refers to the D: drive and /dev/hd2 refers to
the E: drive.  Is this correct??  I tried to "mkfs /dev/hd2 
<size>" and then "mount /dev/hd2 /usr/tmp".  mkfs worked, but
when I tried to mount, it said "not a filesystem" (or something
like that).  I need the hard disk partition so I can copy the
Shoelace files somewhere before I compile them.

Does anyone have any hints on the best way to set up a hard
disk system for co-existence of MS-DOS and MINIX or any info
on the best way to install Shoelace?  Any help would be
greatly appreciated.

--
Greg Larkin (ASIC Engineer)
Viewlogic Systems, Inc. (The CAE Company)
293 Boston Post Road West       
Marlboro, MA 01752              
508 480 0881 x321               
E-mail: greg@Viewlogic.COM      
                                

cechew@bruce.cs.monash.OZ.AU (Earl Chew) (09/11/90)

In <1990Sep10.090509@mobius.Viewlogic.COM> greg@mobius.Viewlogic.COM (Gregory Larkin) writes:

>My system configuration is: 6 Mhz AT w/ HD floppy, 21 Meg hard
>disk (C:), 31 Meg hard disk (partitioned into 14 Meg D: and 17
>Meg E:).  The C: drive has all MS-DOS software on it.  I would
>like to install MINIX on the D: and E: partitions and then use
>Shoelace to selectively boot either operating system.  

It appears to me from your description that you have *two* hard disk drives.
The 21Mb drive is known to MessyDog as C:, and the 31Mb drive is known to
MessyDog as D: and E: (two partitions).

>In my understanding, /dev/hd0 refers to the nonpartitioned C:
>drive, /dev/hd1 refers to the D: drive and /dev/hd2 refers to
>the E: drive.  Is this correct??

No. /dev/hd0 refers to *all* of drive 0. /dev/hd[1234] refers to partitions
1-4 of drive 0. /dev/hd5 refers to *all* of drive 1. /dev/hd[6-9] refers to
partitions 1-4 of drive 1.

>                                  I tried to "mkfs /dev/hd2 
><size>" and then "mount /dev/hd2 /usr/tmp".  mkfs worked, but
>when I tried to mount, it said "not a filesystem" (or something
>like that).  I need the hard disk partition so I can copy the
>Shoelace files somewhere before I compile them.

It's strange that mkfs should `work'. Drive 0 only has one partition (known as
MessyDog drive C:). Writing to it should fail. Failure to mount is consistent
with the fact that /dev/hd2 doesn't exist.

What you should have tried was /dev/hd6 and /dev/hd7 (for MessyDog drives D:
and E: respectively). Whatever you do, don't use /dev/hd0 or /dev/hd1. You have
been warned. If I were you I would either rename these to /dev/HD0 and /dev/HD1
to avoid slips when typing.

>Does anyone have any hints on the best way to set up a hard
>disk system for co-existence of MS-DOS and MINIX or any info
>on the best way to install Shoelace?  Any help would be
>greatly appreciated.

Your other problem will be that the BIOS will boot from hard disk drive 0 in
preference to drive 1. This means that the MessyDog C: drive will boot. You can
install winiboot there, but winiboot will not boot partitions across disk
drives --- it will only allow you to boot partitions on the *current* drive.
Thus in order to allow you to select the system at boot time, you will have to
build a small Minix partition on drive 0. You can make it small then use
/etc/mount to mount the /usr partition on drive 1.

Earl
-- 
Earl Chew, Dept of Computer Science, Monash University, Australia 3168
EMAIL: cechew@bruce.cs.monash.edu.au PHONE: 03 5655447 FAX: 03 5655146
----------------------------------------------------------------------