Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2000 15:25:50 +0200
From:      Jonathan Kop <Jonathan.Kop@usko.com>
To:        freebsd-questions@freebsd.org
Subject:   Changing the root device.
Message-ID:  <38DA1B5E.2B7AB28E@usko.com>

next in thread | raw e-mail | index | archive | help
Hi,

I desperately need help on this one...

I have read the handbook, searched through the FAQ and trawled the
mailing list archives, all without success.

I have two disks that were previously attached to a Symbios Logic
onboard SCSI host adapter which is now porked.  I have added a new card
(an Adaptec 2940UW-R) for which my kernel unfortunately does not have
support compiled in.

I am trying to use the installation boot disk (kern.flp) from
3.4-RELEASE, which contains a kernel that supports the Adaptec card
(obviously ;), to mount my root filesystem (which is on 'da0s1a').  So
far I have tried aborting the autoboot and at the prompt typing 'set
boot_askname' which it didn't; then 'set rootdev=da0s1a' which also
didn't work.  I have also tried 'set rootdev=disk0s1a' and 'set
rootdev=disk0s1a:' - is that trailing colon necessary? (if so, why?). 
In each case once the kernel has finished loading it tries to mount root
from 'fd0c'.  

As an aside, why does the kernel always ask me if I want to configure
it?  Can I disable this behaviour?

I have also tried mounting the kern.flp floppy and editing boot.config
to contain '-aP' although the '-a' is once again ignored and it tries to
mount root from 'fd0c'.  I have taken out the commands which ask for the
mfsroot.flp floppy to be loaded in /boot/loader.rc, and just left 'load
kernel' and 'autoboot 10' in.  From there I tried again to do a 'set
rootdev=disk0s1a' and then issued a 'boot -av', but as you've probably
guessed by now, it once again just tried to mount root off 'fd0c'.

So, how do I get the kernel to mount my root filesystem off 'da0s1a'?

And again as an aside, what is the correct procedure for creating a
FreeBSD 'rescue disk'?

If you don't mind could you please reply directly to me as I am not
currently a member of this mailing list.

Thanks,
Jonathan Kop.


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?38DA1B5E.2B7AB28E>