Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!olivea!oliveb!amdahl!JUTS!duts!kls30 From: kls30@duts.ccc.amdahl.com (Kent L Shephard) Newsgroups: comp.sys.next Subject: Re: How to boot by default fom an external disk. Message-ID: <00b102U507PG01@JUTS.ccc.amdahl.com> Date: 22 Apr 91 15:59:15 GMT References: Sender: netnews@ccc.amdahl.com Reply-To: kls30@DUTS.ccc.amdahl.com (Kent L. Shephard) Distribution: na Organization: Amdahl Corporation, Sunnyvale CA Lines: 50 In article felix@ai.sri.com (Francois Felix INGRAND) writes: > >We just built an external bootable disk for our NeXT Station, and we would like >to boot on it by default. > >the command to boot on it is: >b sd(1,0,0)sdmach rootdev=/dev/sd1a > >(if we do not specify the rootdev argument, it boots on /dev/sd1a but switch to >/dev/sd0a as root partition) > >As a result this command is too long (>12 characters) and cannot be given as >the default boot command in the Console monitor. > >Is there any way (without rebuilding the kernel) to specify that the rootdev is >now /dev/sd1a? (so we could avoid the rootdev argument and therefore use a >shorter command) > >If this is not possible, how can we change the scsi number of the internal >disk?... My guess is that if we give it a higher number than the external one, >them their names will swap (sd1a sd0a)... > All internal drives in NeXT machines should be shipped with the internal at SCSI address #1 what you need to do is changet your external device to SCSI address #0. It should then boot from the external by just giving the command bsd. Device numbers (/dev/sdxx) are assigned to SCSI devices by starting with the lowest SCSI # and naming it /dev/sd0a the next would be /dev/sd1a. The device number does not equal SCSI #. >Thanks in advance, Hope this helps. >-- >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >Francois Felix INGRAND SRI International, AIC >felix@AI.SRI.COM 333, Ravenswood Avenue >(415) 859-5584 MENLO PARK, CA 94025, USA >"Read my Lisp... No new syntax" (nil) KeNT - A satified user. I would be more satisfied when someone writes a sequencer so I can dump my PC. -- /* -The opinions expressed are my own, not my employers. */ /* For I can only express my own opinions. */ /* */ /* Kent L. Shephard : email - kls30@DUTS.ccc.amdahl.com */