here is the plan then
1. shutdown the PC, crack it open, and unhook the current only system drive
2. physically install the second (to-be-Win-7) drive
3. hook up the second (to-be-Win-7) drive to the SATA cable formerly used by the first (Fedora 12) drive
4. boot to bios and make sure the new second drive is seen as the only drive (for now during Win-7 install)
5. install Win-7 on that drive
6. shut down and swap the drive cable back to the first (Fedora 12) drive
7. boot to bios and verify first drive is seen again
8. boot Fedora 12 and modify grub.conf (I am hoping I do not also need to change menu.lst and the system will do that automatically, if it needs to be changed I believe the contents near as I can tell are exactly the same)
here is the intended new grub.conf I will try...
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_asusp6tdeluxedesktopjohn-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=7
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.31.6-145.fc12.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.31.6-145.fc12.x86_64 ro root=/dev/mapper/vg_asusp6tdeluxedesktopjohn-lv_root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet rdblacklist=nouveau
initrd /initramfs-2.6.31.6-145.fc12.x86_64.img
# added to provide a boot option to Windows 7 on the second drive
title Windows 7 (64-bit)
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
note I _am_ using the map commands (a couple folks said it would not work when they actually tried it without them) and I _am_ using rootnoverify instead of root which I think will keep GRUB from mounting the filesystem before spinning up Windows which might cause conflicts. finally note I am using chainloader +1... from the little I understand if you are booting a Windows OS from a partition which is not the first one on the drive then you need to change this to another number.
After physically installing the second hard drive, moving the SATA plug to the second drive, then installing Windows 7 on the second drive, I shut down and plugged in both drives (Fedora drive in first slot although the BIOS lets one change the boot order anyhow).
Bringing the system up on the Fedora drive worked (phew) and here is the new fdisk for both drives... will edit my grub.conf as in the previous message and then try to boot Windows 7 from GRUB that way, which near as I can tell from reading around should work.
#fdisk -1
Code:
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x85df199c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 91201 732367201 8e Linux LVM
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xff0593d0
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sdb2 13 182402 1465033728 7 HPFS/NTFS
Disk /dev/dm-0: 741.5 GB, 741519392768 bytes
255 heads, 63 sectors/track, 90151 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 8422 MB, 8422162432 bytes
255 heads, 63 sectors/track, 1023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
and, writing this from inside WIndows 7, I can confirm that this will indeed boot Windows 7 from GRUB. Did not have to edit menu.lst at all, nor add any other statements to grub.conf beyond those mentioned above.
and having now booted back into Fedora I can state booting into Windows 7 in this way did not affect Fedora at all.
one note - Windows does not see the Fedora drive (ext4) at all, which is actually the way I prefer it. I figure it is safer that way and also anything I need to access across OS'es I can keep on the Windows drive and access from Fedora by mounting the drive, to wit...
can now also verify Fedora 12 will mount that drive (it does see it at boot but does not mount it until requested by the user)
- one sees a file system called "System Reserved" with the Windows 7 bootmgr, the volume information in a folder and it looks like BCD and memtest in another folder.
- one sees another file system called "1500GB Filesystem" (in my setup) which looks like it is the C drive under Windows.
and booting back into Windows after having tried that (mounting the Windows 7 fs under Fedora 12) it is still working just fine.