Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2009 08:21:04 +0300
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        current@freebsd.org
Subject:   What happens to disklabel (geom?)
Message-ID:  <20090310052104.GA39702@nagual.pp.ru>

next in thread | raw e-mail | index | archive | help
With recent -current I start getting error messages from disklabel (cited 
below) on every operation with the boot or the label. I never saw them 
before. What they actually mean and what should be done?

# /dev/ad6s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 43229184       63    4.2BSD     2048 16384     0 
  b:  2459613 43229247      swap                    
  c: 45688797       63    unused        0     0         # "raw" part, don't edit
partition b: partition extends past end of unit
partition c: partition extends past end of unit
disklabel: partition c doesn't start at 0!
disklabel: An incorrect partition c may cause problems for standard system utilities

fdisk information included:

******* Working on device /dev/ad6 *******
parameters extracted from in-core disklabel are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 45688797 (22308 Meg), flag 0
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX)
    start 45688860, size 188747685 (92161 Meg), flag 80 (active)
	beg: cyl 1023/ head 0/ sector 1;
	end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

-- 
http://ache.pp.ru/



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