Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2005 09:28:04 +0200
From:      "Norbert Koch" <NKoch@demig.de>
To:        "George Ruch" <george.ruch@3lefties.com>, <freebsd-questions@freebsd.org>
Subject:   RE: Three questions...
Message-ID:  <005701c58b6a$3c455c60$4801a8c0@ws-ew-3.W2KDEMIG>
In-Reply-To: <42D80E2D.707@3lefties.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Q1:  I have two drives, laid out as follows:
> Drive 1
> /ad0a	  WinXP, NTFS, 16.06GB, primary
> /ad0e     data, NTFS, 12.58GB, extended
>
> Drive 2
> /ad1a     currently empty, 14.36GB, primary
>            (installation target)
> /ad1e     /ad0 backup, NTFS, 14.27GB, extended
>
> I'd like to use XP's NTLDR to manage the dual boot process.  I've seen
> the following trick for Linux ( www.redhat.com/advice/tips/dualboot.html):
>
> - Boot into Linux, copy the first sector of the boot partition as follows:
> 	dd if=/dev/hdb of=/bootsect.lnx bs=512 count=1
> - Move bootsect.lnx to WinXP root (C:\), and add the following line to
> boot.ini:
> 	C:\bootsect.lnx="Linux"
>
> Does this approach work with FreeBSD?  Logic says it should, given the
> similarities, but when has logic applied consistently to computers?

As I understand, you try to install from the second hard disk.

When I last tried this (using FreeBSD 4) it did not work such way,
because I found that in FreeBSD's boot sector code the drive number
is hard-coded. So you would have to go to the source directory, change
the drive number, assemble the boot sector and put it to drive C. This
worked for me.


Norbert




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005701c58b6a$3c455c60$4801a8c0>