Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 1997 12:15:03 +0200
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Pierre HOFFMANN <pierre@hexanet.fr>
Cc:        FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Probleme with mounting root partition
Message-ID:  <34780227.776E@barcode.co.il>
References:  <01bcf6ae$528ac5e0$1d160ac3@pierre.hexanet.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Pierre HOFFMANN wrote:
> 
> How can I enter this in freeBSD parameters definitively ??
> Recompiling kernel ?
> Change a file in /etc ??
> 
> Help me i don't know !
> 
> >At the Boot: prompt, give 1:wd(2,a)/kernel
> >
> >Nadav
> >
> 
With 2.2.5 you can simply put that line in the file /boot.config.

With older versions the best chance you have is renaming your disks.
Assuming you don't have a wd1 disk (i.e. a disk that's a slave on the
primary controller) you can do the following:

1. Edit your kernel config file, commenting out the line for wd1 and
changing the line for wd2 to read wd1 instead (change just the name,
leave all parameters the same).

2. Edit /etc/fstab and change all references to wd2 into references to
wd1.

This will have the effect of naming your second disk wd1 instead of wd2,
which should make the boot code heapier.

Nadav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34780227.776E>