I have WinXP Pro SP2 on first disk /dev/hda, which my BIOS currently has as first boot device.
I have CentOS-5.2-x86_64 on second disk /dev/hdb, which I can boot into if I set my BIOS to boot from this HDD. It is using LVM with vg00 and a single LV for root (/) filesystem (ext3).
How do I get bootsector file from the CentOS distro so that I can add it into WinXP's boot.ini file? I tried:
Code:
dd if=/dev/hdb of=bootsect.lnx bs=512 count=1
and copied the bootsect.lnx file to C:\bootsect.lnx, after which I added the following line to boot.ini in XP:
Code:
C:\bootsect.lnx="CentOS 5"
However, when selecting CentOS 5 from NTLDR boot menu, it just hangs with a black screen.
Second question is, how to get:
(a) WinXP to read/write the ext3 filesystem (from the vg00 LV) on /dev/hdb, it currently shows up in WinXP as a RAW drive G:\
(b) CentOS to read/write to and from WinXP's C:\
In the end, I basically want, WinXP's NTLDR to handle booting and I want each OS to be able to read/write to each other.