Re: Can't change partition table anymore

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Sun, 03 Apr 2005 22:53:10 -0600 (MDT)
In message: <20050404044028.GC49953_at_nagual.pp.ru>
            Andrey Chernov <ache_at_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_at_harmony.village.org:/u/misc/imp/obj/u/misc/imp/5x/src/sys/GENERIC  i386

Warner
Received on Mon Apr 04 2005 - 02:55:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:31 UTC