Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 1999 01:56:40 -0800 (PST)
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Koos van Herk <kvanherk@pop.wxs.nl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD tries to start the wrong partition
Message-ID:  <Pine.BSF.4.21.9911270155350.4557-100000@fw.wintelcom.net>
In-Reply-To: <77280A05850.AAA5528@smtp02.wxs.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 27 Nov 1999, Koos van Herk wrote:

> I've recently installed FreeBSD 3.2 on my computer and after a
> succesfull installation something went terribly wrong. I started
> FreeBSD with the Linux LILO-bootmanager and after recognising my
> harddisks everything stopped with this message: 
> 
> changing root device to wd1s1a 
> changing root device to wd1a 
> error: panic: cannot mount root (2) 
> 
> syncing disk....done 
> Automatic reboot in 15 seconds 
> 
> I've installed FreeBSD on wd2 and not wd1! So how can I change this in
> the right partition? I hope anyone has got a solution for me. 

press a key during the countdown to the kernel boot and type:

set root_disk_unit=2

after you boot add:

root_disk_unit="2"

to /boot/loader.conf

enjoy,
-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9911270155350.4557-100000>