From owner-freebsd-bugs Mon Aug 30 2:33:14 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1601015108 for ; Mon, 30 Aug 1999 02:33:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA86876; Mon, 30 Aug 1999 02:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 30 Aug 1999 02:30:02 -0700 (PDT) Message-Id: <199908300930.CAA86876@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: i386/13452: changing to root device wd0s1a \n error 22: panic: cannot mount root (2) Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/13452; it has been noted by GNATS. From: Sheldon Hearn To: PhilmoreW@worldnet.att.net Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: i386/13452: changing to root device wd0s1a \n error 22: panic: cannot mount root (2) Date: Mon, 30 Aug 1999 11:23:51 +0200 On Sun, 29 Aug 1999 07:53:23 MST, PhilmoreW@worldnet.att.net wrote: > PC has 2 hard disks. Installation is to 2nd disk with 1.5 gig using > default mount points. Used kern and mfs floppies to create startup; > dos files to install; included all bin, doc, manpages, proflibs, dict > and info files. You need to fiddle with the rootdev loader variable. At the boot: prompt, you'll need to do either set rootdev="wd1s1a" or set rootdev=\"wd1s1a\" Sorry, I can't remember which one works right now. Also, I'm assuming that wd1s1a is your root partition. If I'm wrong, use the right one. :-) Once you're into your system, you can make this a permanent change by sticking the following line in /boot/loader.conf: rootdev="wd1s1a" Note that, even if the command you had to use at the boot: prompt involved escaped quotes (\"), you should _not_ use them in /boot/loader.conf . Please let me know whether this helped you or not. Specifically, I'd like to know which of the syntaxes for the boot: prompt ``set'' command worked. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message