Unable to mount the root fs on stable/8 r264339, GENERIC kernel, with MBR, FreeBSD slice, and UFS volume labels

Claude Buisson clbuisson at orange.fr
Sat Apr 12 13:18:44 UTC 2014


On 04/12/2014 14:55, Erich Dollansky wrote:
> Hi,
>
> On Sat, 12 Apr 2014 14:02:08 +0200 (CEST)
> Trond Endrestøl <Trond.Endrestol at fagskolen.gjovik.no> wrote:
>
>> On Sat, 12 Apr 2014 08:00+0800, Erich Dollansky wrote:
>>
>>> does your GENERIC have these options enabled:
>>
>> No, the GENERIC kernel is untouched by me.
>>
>> The generic GENERIC kernel contains only:
>>
>> options 	GEOM_PART_GPT		# GUID Partition Tables.
>> options 	GEOM_LABEL		# Provides labelization
>>
>> I'll try the options/modules listed below
>>
>>> options	GEOM_PART_BSD
>>> options GEOM_PART_MBR
>
> you need at least these two to boot UFS on a MBR schema.
>
>>> options GEOM_PART_GPT
>>> options GEOM_RAID
>>> options GEOM_LABEL
>>> options	GEOM_PART_EBR
>
> You should also need the last one.
>
>>> options GEOM_PART_EBR_COMPAT
>
> I use this as I was told to do so but I do not know if this is really
> needed.
>
>>>
>>> If not or if you are not sure try to load these modules during boot
>>> time. Of course, if you do not use GPT or RAID, you do not have to
>>> load these modules.
>>
>> If you've followed this thread you'll probably remember me doing some
>> experiments in VirtualBox at home last evening local time.
>
> I saw.
>>
>> An untouched stable/8 GENERIC kernel had no problem mounting the root
>> fs when told to do so by way of a UFS label, i.e. /dev/ufs/root. I
>> tried VirtualBox' IDE controller and SCSI controller, and it worked
>> flawlessly each time.
>>
> The only idea I have is that the GENERIC configuration has changed. I
> remember a change in this are when 10 was still CURRENT which gave me
> some confusion. OK, this was CURRENT, this should not happen on the old
> 8.x.
>

svnweb.freebsd.org (and my src) shows that for stable/8 i386

GENERIC is at r260271 and contains:

options         GEOM_PART_GPT           # GUID Partition Tables.
options         GEOM_LABEL              # Provides labelization

DEFAULTS is at r201535 and contains:

options         GEOM_PART_BSD
options         GEOM_PART_EBR
options         GEOM_PART_EBR_COMPAT
options         GEOM_PART_MBR

> Erich

CBu




More information about the freebsd-stable mailing list