Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 2003 07:25:07 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        walt <wa1ter@myrealbox.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: bsdlabel question 
Message-ID:  <35871.1052112307@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 04 May 2003 22:54:28 PDT." <3EB5FC94.7070901@myrealbox.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <3EB5FC94.7070901@myrealbox.com>, walt writes:
>Poul-Henning Kamp wrote:
>> In message <31649.1052067538@critter.freebsd.dk>, "Poul-Henning Kamp" writes:
>> 
>>>In message <3EB50F10.3010001@myrealbox.com>, walt writes:
>>>
>>>>Hi Poul-Henning,
>>>>
>>>>#bsdlabel  ad0s3
>>>># /dev/ad0s3:
>>>>8 partitions:
>>>>#        size   offset    fstype   [fsize bsize bps/cpg]
>>>>  a: 15321596 140974726    4.2BSD        0     0     0
>>>>  b:  1048576 139926150      swap
>>>>  c: 16370235 139926150    unused        0     0         # "raw" part, don't edit
>>>
>>>Ahh, good point, forgot about that.  Will fix.
>> 
>> 
>> OK, fixed now.
>
>I find that I now have the same problem that Martin had --
>'cannot mount root:5'  Does the :5 mean anything special?
>
>I tried eliminating GEOM_MBR, GEOM_VOL, and GEOM_BSD from my
>kernel config with no improvement.
>
>The kernel from early today still boots normally, and bsdlabel
>still prints the same error messages, so I guess your changes
>were all in the kernel?

No, both kernel and userland changed.

If you cannot mount root, you may want to comment out this
check in sys/geom/geom_bsd.c:

        if ((off_t)rawoffset * secsize != ms->mbroffset)
                rawoffset = 0;



-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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