Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Apr 2005 22:53:10 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        ache@nagual.pp.ru
Cc:        current@FreeBSD.ORG
Subject:   Re: Can't change partition table anymore
Message-ID:  <20050403.225310.82842428.imp@bsdimp.com>
In-Reply-To: <20050404044028.GC49953@nagual.pp.ru>
References:  <20050404041419.GA49627@nagual.pp.ru> <20050403.222154.37240598.imp@bsdimp.com> <20050404044028.GC49953@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20050404044028.GC49953@nagual.pp.ru>
            Andrey Chernov <ache@nagual.pp.ru> writes:
: On Sun, Apr 03, 2005 at 10:21:54PM -0600, M. Warner Losh wrote:
: > I don't see these problems on my disks.  Maybe your partitions
: > overloap the MBR?
: 
: They are surely not (two of four partitions are ever unused).

One of them must, if you are getting this error.  Here's my machine.
Notice how partition 1 starts at offset 63 and I have / and other file
systems mounted on this slice (or on a disklabel in this slice).

% sudo boot0cfg -v da0
#   flag     start chs   type       end chs       offset         size
1   0x80      0:  1: 1   0xa5    365:254:63           63     71681967

version=1.0  drive=0x80  mask=0xf  ticks=182
options=nopacket,update,nosetdrv
default_selection=F1 (Slice 1)
% sudo boot0cfg -B da0
% sudo fdisk -s da0
/dev/da0: 4462 cyl 255 hd 63 sec
Part        Start        Size Type Flags
   1:          63    71681967 0xa5 0x80
% mount
/dev/da0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/da0s1d on /var (ufs, local, soft-updates)
/dev/da0s1e on /usr (ufs, local, soft-updates)
/dev/da0s1f on /u (ufs, NFS exported, local, soft-updates)
/dev/da1s1a on /u2 (ufs, NFS exported, local)
procfs on /proc (procfs, local)
% sysctl kern.geom.debugflags
kern.geom.debugflags: 0
% uname -a
FreeBSD harmony.village.org 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Oct 21 07:15:53 MDT 2004     root@harmony.village.org:/u/misc/imp/obj/u/misc/imp/5x/src/sys/GENERIC  i386

Warner



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