Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: dmc@mesh1032-1.mrc-lmb.cam.ac.uk (D.Cattermole)
Subject: Re: Confused by MILO
Date: 1998/08/17	[thread overview]
Message-ID: <6r8ut2$sns$2@pegasus.csx.cam.ac.uk> (raw)
In-Reply-To: 6r5sud$cd4$1@nnrp1.dejanews.com

cekim@ix.netcom.com wrote:

: I think you will find at some point NT does care about swapping things around
: (at least it did on my system).  It did not seem to matter after a fresh
: install (ie: no changes from the default setup to be lost when the NT root
: drive moves ).	This behavior is the same for IDE drives on an x86 system.

: It (NT) will happily boot with the root partition anywahere so long as the
: bootloader code is on the first partition (c:\ in dos world), but you will
: find that the registry settings are lost and it boots the "default" settings
: when this path(to the root dir assuming it is not on c:\) changes.

My tests with NT were minimal, I booted the machine and it appeared to start ok.  
I then rebooted with linux and have not used NT  since then.

: Now back to the linux/milo problem:
: Milo uses the same driver set that linux uses.  That is it compiles in the
: drivers from /usr/src/linux/drivers/scsi when it is compiled.

This is what I guessed and why I am confused, MILO labels the disks in a different 
order from linux.  I can only assume that MILO was compiled with a different version 
of the kernel?    

: The behavior your are describing (the order in which controller cards are
: detected/configured/named is controlled by this code.  So you could recompile
: milo from a running system to always call various types of controllers
: /dev/sdx, but i would seem to me there is an easier solution:

: Place the controller cards/drives such that it detects the added drives after
: than the permanent ones.  You should be able to configure the controllers and
: SCSI IDS such that (for example):

: /dev/sda1 - NT/ARC boot (must be FAT for ARC)
: /dev/sdax - added drives to this controller

: /dev/sdb1 - Linux partition 1 (SCSI ID 0)
: /dev/sdaX - additional partitions on second controller (SCSI ID X > 0)

: Perhaps I am missing the point here, why is it that you cannot place the linux
: partition as the first SCSI ID on the sdb controller and leave it there?

: /Mike

Let me describe my machine more carefully:-
It started as an NT machine with an internal hard drive on a scsiIII controller 
containing 2 partitions with NTFS and 1 DOS partition to boot the machine and
a scsiII controller with a CD drive.

I then deleted one of the NTFS partitions and installed linux and a swap partition.
/dev/sda1 is NTFS 
/dev/sda2 is DOS contains MILO ...  to boot machine
/dev/sda3 is swap
/dev/sda4 is linux /
/dev/scd0 is CDROM
This was fine without any external  drives connected.  

When I connected an external drive to the scsiII controller, linux was confused because 
the external drive was identified as /dev/sda and the internal drive became /dev/sdb

After swapping the scsi controller pci slot positions, the internal drive is recognised
by linux as /dev/sda and the external drive as /dev/sdb but MILO still sees them the other 
way round with sdb as the internal and sda as the external.  

I have not tried recompiling MILO yet, when I have time I will try if there is no other 
explanation.   

(My external drive also contains a complete bootable linux system so that I can experiment 
with upgrades and still go back to an unaltered working system on the internal drive)
 

Dave.



      reply	other threads:[~1998-08-17  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-29  4:00 Confused by MILO DMC
1998-08-16  4:00 ` cekim
1998-08-17  4:00   ` D.Cattermole [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox