Date: Tue, 1 Feb 2005 19:32:07 +0400 From: Rakhesh Sasidharan <rakhesh.s@gmail.com> To: "Loren M. Lang" <lorenl@alzatex.com> Cc: Mark Ovens <marko@freebsd.org> Subject: Re: Booting FreeBSD-5.3 from NTLDR Message-ID: <38b3f6e405020107327b94bfd3@mail.gmail.com> In-Reply-To: <38b3f6e40502010704292f0b6a@mail.gmail.com> References: <38b3f6e4050130033551e43818@mail.gmail.com> <41FDEFE7.1090204@freebsd.org> <38b3f6e40501310216de768e@mail.gmail.com> <20050131103523.GC8619@alzatex.com> <41FE17A7.3030006@freebsd.org> <38b3f6e4050131074327d2e583@mail.gmail.com> <41FE578F.60706@freebsd.org> <38b3f6e405013122047a2b8206@mail.gmail.com> <20050201121049.GL8619@alzatex.com> <38b3f6e40502010704292f0b6a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Feb 2005 19:04:07 +0400, Rakhesh Sasidharan <rakhesh.s@gmail.com> wrote: > On Tue, 1 Feb 2005 04:10:49 -0800, Loren M. Lang <lorenl@alzatex.com> wrote: > > I think that you should be able to use boot0 and boot1 as a file once > > the apropriate fields are filled in. When boot0 and boot1 are written > > to the disk in their special locations, several bytes of each file are > > modified to reflex various paramaters like which disk or partition they > > should use. You should be able to extract them with dd and boot them > > externally from my understanding of it. boot1 is normally written to > > the first sector of the partitionthat freebsd is installed on, if that's > > the first partition on ur second hard drive then: > > > > dd if=/dev/ad1s1 of=boot1.img count=1 > > > > will extract the file to boot1.img might NTLDR should be able to use. > > > > dd if=/dev/ad1 of=boot0.img count=1 I just tried these again. Same results as when I had used the "bs=512" option. Extracting "boot0.img" gets me back to the NTLDR screen; extracting "boot1.img" gives me a "Boot Error" message. But what you said above gave me an idea. Possibly BootPart modifies the extracted bootsectors specially, changing the special parameters to enable booting of the second disk from the first? Its a thought ... maybe the way these files are written to the disk (from where dd extracts them), the special parameters are not such that they can be booted from the first disk. But when BootPart extracts the sectors, it modifies these parameters, enabling the booting. What say? -- -- Rakhesh rax@rakhesh.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38b3f6e405020107327b94bfd3>