Re: specifying root / adding a hard disk
Mouse <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sparc |
|---|---|
| Message-ID | <[email protected]> |
> External disk is set to Target 5, but probe-scsi sees it as target 0. > Even if I change it to 4, it still things it is Target 0, maybe it is > broken or not connected. My guess would be that the truth is, the externally-visible switch on the enclosure is set to 5 (or 4), but the enclosure's wiring between that switch and the disk is not connected, so the disk proper naturally enough responds as target 0. Depending on the drive, the wiring, and your comfort level with such things, one option might be to open the enclosure and connect that wiring - or, if the connectors are mechanically incompatible, add jumpers (probably on the drive) to set whatever ID you want. > Anyway, if I boot of disk (remember, 3) it works, but then internal > disk gets sd1 and not sd0, so NetBSD is confused and tries to mount > the other disk as root and dies. Or, as kre says, sd0 at scsibus0 target 3 or, alternatively, config netbsd root on sd1a type ? (Actually, I'd probably use "config netbsd root on *a type ?", but I think that syntax was one of my additions, one which I don't recall seeing any reason to think NetBSD picked up.) As another option, you could move / to the external drive, but that of course has its own downsides. > The only way would be to set (and have it recognized) an SCSI ID > 3 > I suppose? Well, not the only way, but that could work too. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML [email protected] / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B