Re: bsdlabel question

From: walt <wa1ter_at_myrealbox.com>
Date: Mon, 05 May 2003 07:22:15 -0700
Poul-Henning Kamp wrote:
> In message <3EB5FC94.7070901_at_myrealbox.com>, walt writes:
> 
>>Poul-Henning Kamp wrote:
>>
>>>In message <31649.1052067538_at_critter.freebsd.dk>, "Poul-Henning Kamp" writes:
>>>
>>>
>>>>In message <3EB50F10.3010001_at_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'

> 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;

Okay, root mounts again, thanks.  I'm still seeing all the same
warnings with bsdlabel, though:

#bsdlabel ad1s3
# /dev/ad1s3:
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
partition a: offset past end of unit
partition a: partition extends past end of unit
partition b: offset past end of unit
partition b: partition extends past end of unit
partition c: offset past end of unit
partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: An incorrect partition c may cause problems for standard system utilities
Received on Mon May 05 2003 - 04:22:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:06 UTC