Date: Wed, 05 Mar 2003 12:13:07 -0800 From: "Kevin Oberman" <oberman@es.net> To: Dimitar.Peikov@borg.de Cc: freebsd-current@freebsd.org Subject: Re: boot0cfg Message-ID: <20030305201307.63A8D5D04@ptavv.es.net> In-Reply-To: Your message of "Wed, 05 Mar 2003 09:25:53 %2B0200." <OFE9BB6C0E.BA4A6F1D-ONC1256CE0.00274EA0@borg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> From: Dimitar.Peikov@borg.de > Date: Wed, 5 Mar 2003 09:25:53 +0200 > Sender: owner-freebsd-current@FreeBSD.ORG > > > Last weekend I had to reinstall Windows XP on my PC and certainly I lost > boot manager. After booting from CD and mounting as root ad0 device, I > replaced boot0 record > using the following command line : > > # boot0cfg -Bv -s 1 -t 91 ad0 > > On my PC I have 14G Windows XP partition(primary partition), 7G Linux (2 > extended partitions) and 7G FreeBSD 5.0 - Current (primary partition). On > second disk I have Windows 98. > > After installing I see something like this : > > F1 - ??? > F3 - FreeBSD > F5 - Disk 2 > > It is strange that only F1 works (start Windows XP), while F3 play some > sound. Pressing F5 starts Windows XP, but it could be because Windows on > my second disk. > > Yes I know that there are other boot managers like GRUB, but it is another > beer. > > I haven't enough time to investigate where the problem is (boot0 code), > but this evening I should. The problem is that the boot block installed by default is limited to booting systems located in the first 1023 cylinders of the disk and XP is so big that the second partition is now often past that point. Any reasonably modern BIOS will support a slightly different boot record which can boot a partition anywhere on disk. The hitch is that this boot block will not work at all on some older systems. To use this more modern boot block, add '-o packet' to the boot0cfg command. This is in the man page, but the man page does not make it clear what the real significance of this option is. I think it should be referenced VERY clearly in the description section of the man page. For any system less than about 4 year old and may older systems, you really want to use this option. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030305201307.63A8D5D04>