Subject: Re: root partition ?
To: None <cu162@fim.uni-erlangen.de>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 06/12/1996 11:55:11
> 
> 
> Hi all,
> 	I've gota little problem: I've a PB190cs (IDE HD, like the 630, and
> 68LC040). I've installed NetBSD on a zip cartridge (if you don't know them,
> they are seen as a SCSI HD), and thank to the advise of some of you and the
> work of Mr Briggs (thank you for your work !), I've solved - or so it seem
>  an early problem with the video (using the generic7 kernel): the system
> now seem to boot, but at some point (after having sensed the ZIP and even a 
> SCSI CD-ROM) he ask me "root device ?" and hang up, leaving the keyboard
> ineffective. AFAIK, this could indicate that he doesn't "like" the "Root&Usr" 
> A/UX partition on the zip disk (but when I use the minishell in the installer,
> I can get the dir whitout problems - excepted an "fstab" error that I attributed to may way of mkfs the partition using approximated parameters), or simply thathe want me to tell him effectively which device (ZIP or CDROM) use to boot:
> can anyone more expert than I help me  ? I would appreciate any hint I can get:
> unfortunately, I need it for my studies, but I don't know enough of Mac 
> programming to think of thinkering with the sources (and I don't own the
> instruments to do so). 
> 	Thank you very much to anyone who can help in any way,and 
> sorry to bother you all.
> 
> 					Alessandro Lofaro
> 
> P.S. I've not included the whole page of messages the booting kernel give
> to me for sake of brevity: if the request of device only does not suffice,
> I can repost a full message.

Thank you. Though in this case it might be useful (well, part of it).

Where do you get the fstab error? It might be that the installer got
the /etc/fstab file wrong, which will definitely cause problems on boot.
I'm going to assume this is the problem (as you mentioned you have a
CD).

Boot in single-user mode. If this step fails, the problem is elsewhere.
While it's booting, watch the descriptions go by about drives. I think
you'll see cd0 as the cd drive, and sd0 as the Zip drive. I'm going to
assume you see sd0 for the zip; if not, replace sd0 with whatever you do
see in the following directions.

mount -w /dev/sd0a /
cd /etc
vi fstab (or emacs if you have it and prefer it)

(now edit the line starting with "/" so that the /dev/sd1a becmes /dev/sd0a)

exit the editor, saving the changes.

logout (to leave single-user mode).

Take care,

Bill