Re: problem after installkernel going from 9.0 to CURRENT

From: Kevin Oberman <kob6558_at_gmail.com>
Date: Thu, 3 Jan 2013 17:35:50 -0800
On Thu, Jan 3, 2013 at 3:23 PM, Robert Huff <roberthuff_at_rcn.com> wrote:
> On 1/3/2013 11:40 AM, Warren Block wrote:
>>
>> On Wed, 2 Jan 2013, Robert Huff wrote:
>>
>>>     (While this may not be a strictly CURRENT issue, I asked on
>>> questions_at_, but have not found a solution.)
>>>
>>>     Situation:
>>>     One of my boxes failed, and for various reasons it became easier
>>> to just scrub and rebuild it. Like its predecessor it will run CURRENT
>>>     1) Using BSDinstall, I flushed then created the first disk:
>>>
>>> ada2p1    freebsd-boot    128k
>>> ada2p2    freebsd-swap    4g
>>> ada2p3    freebsd-ufs    25g
>>>
>>>     5) On rebooting, the loader(??) claims to not be able to find a
>>> bootable partition - i.e. I get a screen that ends in "mountroot > ".
>>> Providing the presumptive value by hand returns "error 19".
>>
>>
>> It really does not sound like a GPT problem, because 9.0 booted.
>
>
>         I don't (at the moment) think it's GPT caused; but I do think it may
> be GPT related.
>
>
>
>>                                                                   The
>> -current kernel can't find/detect the device.  Scrolling back in the
>> console buffer might find a problem.  buildworld/kernel/installworld do
>> not affect the disk partitioning, but can change the code that looks for
>> those partitions.
>
>
>         Exactly.  I'm looking for help figuring out how the hand-off from
> loader to kernel got broken and what I have to do to fix it.
>         One possibility: I believe I labeled each of the partitions during
> the gpt creation process.  Can I use those labels to (hopefully) by-pass
> this issue?

Yes! This is the current recommended way of doing it.
> cat /etc/fstab
# Device	Mountpoint		FStype	Options		Dump	Pass#
/dev/gpt/swap	none			swap	sw		0	0
/dev/gpt/root	/			ufs	rw		1	1
/dev/gpt/tmp	/tmp			ufs	rw		2	2
/dev/gpt/usr	/usr			ufs	rw		2	2
/dev/gpt/var	/var			ufs	rw		2	2
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558_at_gmail.com
Received on Fri Jan 04 2013 - 00:35:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC