From owner-freebsd-current Mon Nov 23 17:40:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA16763 for freebsd-current-outgoing; Mon, 23 Nov 1998 17:40:48 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from hsw.generalresources.com ([203.79.17.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA16755 for ; Mon, 23 Nov 1998 17:40:33 -0800 (PST) (envelope-from hsw@email.generalresources.com) Received: from hsw.generalresources.com (localhost.generalresources.com [127.0.0.1]) by hsw.generalresources.com (8.9.1/8.9.1) with ESMTP id JAA09783 for ; Tue, 24 Nov 1998 09:39:47 +0800 (CST) (envelope-from hsw@hsw.generalresources.com) Message-Id: <199811240139.JAA09783@hsw.generalresources.com> To: freebsd-current@FreeBSD.ORG From: Christopher Hall Reply-to: Christopher Hall Subject: /boot/loader what to set rootdev to? X-Operating-System: FreeBSD 3.0 X-Mailer: exmh 2.0 Date: Tue, 24 Nov 1998 09:39:46 +0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From a cvsup and make world at Sat 1998/11/21. I made/installed new boot blocks and /boot/loader. Made an ELF kernel, did not create a boot config file, just hit enter at the timeoout prompt. Booted OK. The system only had da0 and da1. wd0 was disconnected. Problem occured when I reconnected wd0 (Primary IDE master). This has OS/2 boot manager - boot goes to the boot prompt. I can still boot properly with 1:sd(0,a)/kernel However, 1:sd(0,a)/boot/loader at the 'boot:' cannot boot properly. The loader prompts: "disk1s1a>" Which it lists as C: (IDE drive) (SCSI drives are shown as disk2 and disk3) Here are my boot attempts: (commands typed at loader prompt) 1) set currdev=disk2s1a: boot -> Changing root device to da1s1a error 22: panic: cannot mount root (2) 2) set currdev=disk2s1a: set rootdev=disk0s1a: boot -> mount: /dev/da0s1a on /: specified device does not match mounted device Filesystem mount failed, startup aborted Enter full pathname of shell or RETURN for /bin/sh: (press RETURN) which: not found which: not found # mount root_device on / (local, read-only) # mount / mount: /dev/da0s1a on /: specified device does not match mounted device # reboot 3) set currdev=disk2s1a: set rootdev=disk2s1a: boot -> Same result as 1) above. 4) set currdev=disk2s1a: set rootdev=disk3s1a: boot -> Changing root device to da2s1a Changing root device to da2a error 6: panic: cannot mount root (2) 5) tried leaving out ':' from rootdev and using 'da' instead of disk got a register dump followed by system halted. What should rootdev be set to when booting da0s1a with one IDE drive? --- Christopher Hall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message