From owner-freebsd-current@FreeBSD.ORG Mon Apr 4 04:28:22 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2A4216A4CE; Mon, 4 Apr 2005 04:28:22 +0000 (GMT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27F3443D3F; Mon, 4 Apr 2005 04:28:22 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.3/8.13.3) with ESMTP id j344SHmb050208; Mon, 4 Apr 2005 08:28:18 +0400 (MSD) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.3/8.13.3/Submit) id j344SHRm050207; Mon, 4 Apr 2005 08:28:17 +0400 (MSD) (envelope-from ache) Date: Mon, 4 Apr 2005 08:28:17 +0400 From: Andrey Chernov To: Darren Pilgrim Message-ID: <20050404042817.GB49953@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Darren Pilgrim , 'Daniel O'Connor' , phk@FreeBSD.ORG, current@FreeBSD.ORG References: <20050404025705.GA48464@nagual.pp.ru> <002a01c538ca$d12d8de0$142a15ac@Spud6000> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002a01c538ca$d12d8de0$142a15ac@Spud6000> User-Agent: Mutt/1.5.9i X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.30.0.7; VDF: 6.30.0.61; host: nagual.pp.ru) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (nagual.pp.ru [0.0.0.0]); Mon, 04 Apr 2005 08:28:18 +0400 (MSD) cc: phk@FreeBSD.ORG cc: current@FreeBSD.ORG Subject: Re: Can't change partition table anymore X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2005 04:28:23 -0000 On Sun, Apr 03, 2005 at 09:00:12PM -0700, Darren Pilgrim wrote: > > I can't write FreeBSD bootloader because reinstalled Windows overwrite it > > with standard MBR and sysinstall don't allow to write bootloader anymore. > > The only thing I not try yet in that situation was 'dd' - I was too lasy > > to find needed byte. > > The MBR is the first sector of the disk. FWIW, if you're coexisting with > Windows, it's easier to let Windows have its way with the MBR and use > Windows' own boot loader. The setup is simple, copy a boot sector and edit > a text file, and Windows won't mess with it. There are a lots of ways. When I don't know kern.geom.debugflags=16 trick yet, I istall 3rd party boot manager under Windows. But all this is not relevant to the discussed subject: why FreeBSD root can't change disk partition without quasi-shamanic dance with unnatural and undocumented sysctls? Why Linux root can do it freely? -- http://ache.pp.ru/