Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2013 17:35:50 -0800
From:      Kevin Oberman <kob6558@gmail.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        Warren Block <wblock@wonkity.com>, current@freebsd.org
Subject:   Re: problem after installkernel going from 9.0 to CURRENT
Message-ID:  <CAN6yY1v_1cAxhn4tZOZ%2BWpS=UoMJA2GFaSpzv7vDvDt%2BTTCqxg@mail.gmail.com>
In-Reply-To: <50E612DA.8020704@rcn.com>
References:  <50E0BFA0.6070702@rcn.com> <50E476D3.2030609@rcn.com> <alpine.BSF.2.00.1301030937410.35001@wonkity.com> <50E612DA.8020704@rcn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 3, 2013 at 3:23 PM, Robert Huff <roberthuff@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@, 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@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1v_1cAxhn4tZOZ%2BWpS=UoMJA2GFaSpzv7vDvDt%2BTTCqxg>