Subject: Re: Disk Problems
To: None <port-mac68k@NetBSD.ORG>
From: Steve Bowers <gargle@tcp.co.uk>
List: port-mac68k
Date: 04/05/1996 17:54:44
>>> I setup a new partition using Silverlining and formated it using the Mkfs
>>> utility - it came up as sd2h. When I tried to mount it it said the file
>>> system wasn't clean and when I returned to MacOS I couldn't mount my
>>> external disk - it gave a 127 error.  I fixed the disk with Norton. Also I
>>> always have got this error "Error on SCSIRead(), # 5" every time I start up
>>> the MacBSD Install Utility 1.0 - Here is my setup:
>>>
>>> Internal 160mb Factory Quantum
>>> Internal CD-ROM
>>> External 1080mb Quantum
>>>
>>> sd0a: HFS 'MacOS' at 96 size 320000
>>> sd0b: Other (APPLE_FREE) 'Extra' at 64 size 32
>>> sd0d: Other (APPLE_DRIVER43) 'Macintosh_SL' at 325216 size 64
>>> sd0e: Other (APPLE_RECOVERY) 'MacOS' at 320096 size 5120
>>> sd0f: Other (APPLE_FREE) 'Extra' at 325280 size 9973
>>> sd0g: Other (APPLE_DRIVER43) 'Macintosh_SL' at 325216 size 64
>>> Error on SCSIRead(), # 5
>>> sd2a: Root 'BSD Root' at 1734288 size 200000
>>> sd2g: Usr 'usr - Usr file system' at 1998288 size 40000
>>> sd2b: Swap 'Swap' at 1934288 size 64000
>>> sd2d: Other (APPLE_DRIVER43) 'Macintosh_SL' at 64 size 64
>>> sd2e: HFS 'NEW' at 128 size 1734160
>>> sd2f: Other (APPLE_FREE) 'Extra' at 2038288 size 96001
>>>
>>> *** Removed the 'h' partition before capturing this
>>>
>>> One additional note of interest is the fstab:
>>>
>>> /dev/sd1a       /       ufs     rw 1 1
>>> /dev/sd1b       none    swap    sw 0 0
>>> /dev/sd1g       /user    ufs     rw 1 2
>>> kern            /kern   kernfs  rw 0 0
>>> proc            /proc   procfs  rw 0 0
>>>
>>> What is going on?
>>>
>>> I'd really like to add another partition. Am I hitting some limit?
>>>
>>
>>I think that /etc/fstab is indicating what your problem is.  At the time
>>you first built devices, your external drive was the second device on the
>>chain (perhaps your CD-ROM drive was off at the time).  So, fstab thinks
>>that it is still the second device.  However, the boot message shows that
>>it is now the third device on the chain (after your cd-rom).  To fix
>>this, you need to rebuild/make devices using the installer utility
>>(unless there is a specific option to simply remake the /etc/fstab).
>>
>
>You can just cpin/out the /etc/fstab file using the install utility in
>macos and change the references to sd1 to sd2
>
>SteveB