From owner-freebsd-stable@FreeBSD.ORG Tue Jul 24 16:51:14 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF8B916A41A for ; Tue, 24 Jul 2007 16:51:14 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 94F1713C48E for ; Tue, 24 Jul 2007 16:51:14 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from admin.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1IDMzu-000JZv-PJ; Tue, 24 Jul 2007 20:12:30 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1IDN0G-000IyU-Bx; Tue, 24 Jul 2007 20:12:52 +0400 To: "Daniel O'Connor" References: <46A4D8B1.3040706@pcbsd.com> <200707240948.04685.doconnor@gsoft.com.au> From: Boris Samorodov Date: Tue, 24 Jul 2007 20:12:52 +0400 In-Reply-To: <200707240948.04685.doconnor@gsoft.com.au> (Daniel O'Connor's message of "Tue\, 24 Jul 2007 09\:47\:55 +0930") Message-ID: <97698379@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Kris Moore , freebsd-stable@freebsd.org Subject: Re: Issues with Bootloader & Vista X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2007 16:51:15 -0000 On Tue, 24 Jul 2007 09:47:55 +0930 Daniel O'Connor wrote: > On Tue, 24 Jul 2007, Kris Moore wrote: > > We've released our 1.4 BETA of PC-BSD this week, and one of the > > issues which has come up is the broken support for dual-booting with > > a Vista system. Apparently the FreeBSD boot loader messes up some of > > Vista's boot process. Here's what one of our users tracked it down > > to: > > > > ..................................................................... > >.. If a user wises to re size the Vista partition then dual boot the > > user maybe surprised to find Vista will fail to boot from the BSD > > boot loader with the following error message: > > > > "The file /Windows/system32/winload.exe can not be found or is > > corrupt." > > > > This is due to the BSD boot loader overwriting a UUID in the MBR the > > Vista OS uses to boot for some reason as it was not in the Beta or > > the RC. > > ..................................................................... > I think this is similar to the signature bytes Windows XP uses to > remember which disk is which. > I was bitten recently when I reinstalled XP on my laptop - the installer > picked E: (NFI why since it was the first partition on the disk) and > after I reinstalled the FreeBSD MBR it decided it hadn't seen the disk > before and assigned it 'C' and so the swapfile location was invalid > which means you can't login (even in safe mode).. > I think the solution would be to ensure the 4 bytes it uses are > preserved by boot0cfg (although I think sysinstall would need > modification too), this page shows the bytes in question.. > http://www.multibooters.co.uk/mbr.html > I dunno if boot0 has 4 bytes to spare tho :( Seems that I've seen patches for 6.1 (the text is in russian though): http://groups.google.ru/group/fido7.ru.unix.bsd/browse_thread/thread/670c189b1957e12e/f0cb67c7ad4d890f?lnk=st&q=grosbein+group%3Afido7.ru.unix.bsd+NT+Drive+Serial+Number&rnum=1&hl=ru# WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve