From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 23626 invoked from network); 12 Aug 1998 07:55:16 -0000 Received: from broadway.xwin.net (wade@206.156.164.149) by mail2.redhat.com with SMTP; 12 Aug 1998 07:55:16 -0000 Received: from localhost (wade@localhost) by broadway.xwin.net (8.9.0/8.9.0) with SMTP id CAA05459; Wed, 12 Aug 1998 02:48:23 -0500 X-Authentication-Warning: broadway.xwin.net: wade owned process doing -bs Date: Wed, 12 Aug 1998 02:48:23 -0500 (CDT) From: Randal Carpenter To: "Brian E.W. Wood" cc: axp-list@redhat.com Subject: Re: Took the plunge and went SCSI the Cabriolet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 12 Aug 1998, Brian E.W. Wood wrote: > > On 12-Aug-98 Maurice Hilarius wrote: > > > > The guy at the store is "full of it". > > In a DOS/Windows setup you probably want to make the "C" drive on 0, or at > > least the lowest ID. In Linux it doesn't matter. YOU are telling the system > > where to boot from with something like boot "sda1:vmlinux.gz". > > Some conventions apply here: > > On most UNIX families the first 4 IDs (0 to 3) are reserved for hard disks, > > while the CDROM is most often at 4, and tape and otherdevices occupy from 5 > > up. > > With wide SCSI you have 15 devices available, but remember, only wide > > devices can have IDs over #6. > > The controller is usually ( by default) #7. > > The lowest ID hard drive found become sda, the nesxt sdb, and so on. The > > lowest ID CDROM found is scd0, the next one scd1, etc. > > Personally I like to make the first drive #1 ( not 0) so that if I want to > > plug in another hard drive and boot from it, or to try an experimental > > install, I can make this "temporary" drive ID 0, and it becomes sda. > > I agree with what you say, but therein lies potential trouble for the unwary. > Because of the "dynamic" way in which Linux assigns drive IDs. The lowest ID > numbered drive on the first SCSI controller will be assigned as sda, the next > sdb etc. Let's assume that you have two drives and are set up to boot from and > run off sdb. If for some reason sda (the lowest numbered drive) is not present > any automatic boot will fail to find sdb. No problem you say, I can just tell > MILO to boot sda - WRONG, because your /etc/fstab file will point to sdb. If > the missing drive is missing because it has failed you are now in trouble > because you can't boot up in order to change the fstab file (unless you have an > alternative boot method like a rescue floppy). You might find yourself in the > position of having to find a drive to install on a lower ID # than your boot > drive as a "placeholder". I'd simply boot on a floppy boot and rescue and, mount the root under /mnt and vi the fstab... > > Always having your boot drive as ID0 on controller 0 avoids these problems, > although I do like the flexibility you mention by making the boot drive ID 1. > You can get in trouble by not booting off the lowest ID drive in the system. > Nah, no need...unless you have no floppy and are network boot support that is. > In this respect I have to say that one of the few things I prefer about Solaris > over Linux is the way in which it avoids these problems entirely by pegging the > drive name to its ID number. Yes save that extra 45 seconds takes to boot a floppy set, and the extra 10 sec it takes to edit the file and then reboot, of course thats worth buying it, urmmm, NOT! :P