Here is my situation.
I want to replace hard drive 0 (my 1st of 2 hard drives).
-
I have 2 hard drives, drive 0 is noisy, so I bought a replacement (same size, different brand).
-
Windows XP is on drive 0 (C; drive). There is also the Dell small FAT partition before C: on drive 0.
-
drive 1 includes OpenSuse 11, on SDB5, SDB6, SBD7. There are some windows partitions before SDB5, SDB6, SBD7 on drive 1.
-
SBD5 is the “active partition”
-
My setup is such because when I installed opensuse 11, I accidentally let it install GRUB in the MBR (instead of using boot.ini). This has worked fine, but I want the computer to be able to boot with only my drive 0 in place (so I can put my new drive into the bay of drive 1, in order to copy my old drive 0 to this new one with xxclone.
-
my goal is to keep the current drive 1 as it is, except to boot linux from boot.ini on the Windows XP C: drive, and to make C: my “active partition” so that drive 1 can be absent from the computer while I boot XP from my drive 0.
I have been trying the dd command as follows:
dd if=/dev/sdb5 of=/mnt/floppy/linsdb5.bin bs=512 count=1 to get a file to my C: drive and try boot.ini. I also tried sdb6 and sdb7. I also messed with Yast->system->boot options to place the boot stuff onto sdb5 or sdb7 as well as the MBR before the dd commands. I did this to experiment with booting the machine from Grub, selecting XP’s boot menu from Grub, then selecting a Suse option for one of these files (to test that I had boot.ini solution ready), but nothing I’ve tried for several days has worked. My plan had been that once boot.ini could boot Suse, I’d use fixmbr from my XP recovery CD to make my drive 0 sufficient to boot the machine (at least into windows) without drive 1 being present.
Today I realized that the active partition is SDB5 on drive 1, and figured this had to change also.
Can anyone help me. Thanks in advance.