On 9/5/05, Heinz Sporn <[EMAIL PROTECTED]> wrote: > Am Montag, den 05.09.2005, 07:17 -0700 schrieb Mark Knecht: > > On 9/5/05, Heinz Sporn <[EMAIL PROTECTED]> wrote: > > > Am Montag, den 05.09.2005, 06:38 -0700 schrieb Mark Knecht: > > > > Hi, > > > > Is it possible to put Windows XP an a second drive in a Linux box > > > > and have Windows be happy? > > > > > > Should work. > > > > > > > > > > > 1) I'm pretty sure that grub will have no problems with this, correct? > > > > > > Not really since Windows XP will quite likely overwrite the MBR of the > > > bootable partition. I guess you will have to re-install Grub afterwards. > > > But I'd say that's harmless. > > > > This is what I want to avoid. > > > > grub and Gentoo are on /dev/hda > > Windows will go on /dev/hdc or /dev/hde > > > > I do not want windows to write anything on /dev/hda > > > > I know the no one here can truly guarantee what Windows will do but > > there's little point in me doing this work if it's known to overwrite > > my main drive.. > > Maybe I don't understand the problem here. Gentoo is installed, right? > Now you want to install windows, right? Do that. When you're finished > put in you Gentoo LiveCD, chroot to your still existing Linux (Windows > just overwrites the MBR nothing else) and re-run grub with root (hd0,0) > and setup (hd0). Then add a section to grub.conf: > > title=Windows 2000 > root (hd1,0) > chainloader +1 > > And you're done. Been there, done that ;-) >
Hi all, First, thanks to all who have answered. The info has been helpful. OK, after a bit of work putting in a new power supply I now have my oldest Gentoo machine set up with 3 disk drives. The second and third drives used to be in the old Windows machine. All drives are masters on their own EIDE cables. Drive 1 - Via chipset - Gentoo Drive 2 - Promise PCI EIDE ATA-100 cont. - port 1 - GigaStudio audio Files Drive 3 - Promise PCI EIDE ATA-100 cont. - port 2 - Win XP Note that I have not actually installed Win XP here. I just took the drive from the old machine. That machine was a Via chipset and so is this one. First step would be to see if it works then load Win XP from scratch if it doesn't. (Or load Win XP anyway...we'll see.) All drives are visible to fdisk and hdparm. I am able to mount /dev/hdi as my kernel does support VFAT but I cannot mount /dev/hdk as I do not have NTFS support built for this kernel, nor do I want to add it. godzilla ~ # hdparm -tT /dev/hda /dev/hda: Timing cached reads: 1108 MB in 2.00 seconds = 552.70 MB/sec Timing buffered disk reads: 86 MB in 3.06 seconds = 28.12 MB/sec godzilla ~ # godzilla ~ # hdparm -tT /dev/hdi /dev/hdi: Timing cached reads: 1120 MB in 2.00 seconds = 558.69 MB/sec Timing buffered disk reads: 138 MB in 3.02 seconds = 45.66 MB/sec godzilla ~ # godzilla ~ # hdparm -tT /dev/hdk /dev/hdk: Timing cached reads: 1100 MB in 2.01 seconds = 547.35 MB/sec Timing buffered disk reads: 138 MB in 3.02 seconds = 45.72 MB/sec godzilla ~ # godzilla ~ # fdisk -l /dev/hda Disk /dev/hda: 30.7 GB, 30735581184 bytes 16 heads, 63 sectors/track, 59554 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 203 102280+ 83 Linux /dev/hda2 16878 59543 21503002+ f W95 Ext'd (LBA) /dev/hda3 204 3251 1536192 82 Linux swap / Solaris /dev/hda4 3252 16877 6867504 83 Linux /dev/hda5 16878 45326 14337855 83 Linux /dev/hda6 45327 59543 7165084+ 83 Linux Partition table entries are not in disk order godzilla ~ # godzilla ~ # fdisk -l /dev/hdi Disk /dev/hdi: 82.3 GB, 82348277760 bytes 255 heads, 63 sectors/track, 10011 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdi1 1 6374 51199123+ c W95 FAT32 (LBA) /dev/hdi2 6375 10011 29214202+ f W95 Ext'd (LBA) /dev/hdi5 6375 10011 29214171 b W95 FAT32 godzilla ~ # godzilla ~ # fdisk -l /dev/hdk Disk /dev/hdk: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdk1 * 1 1912 15358108+ 7 HPFS/NTFS /dev/hdk2 1913 4462 20482875 17 Hidden HPFS/NTFS godzilla ~ # Now, I wanted to try booting the Win XP drive but I hit a road block. It seems that possibly grub doesn't see any of the drives on the Promise ATA-100 controller? Is this the case. grub auto-completion tells me that only hd0 is available. What limits grub to 8 devices? (My guess is system BIOS but it's just a guess.) godzilla ~ # grub Probing devices to guess BIOS drives. This may take a long time. GNU GRUB version 0.96 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> root Possible commands are: root rootnoverify grub> root (hd0, Possible partitions are: Partition num: 0, Filesystem type is ext2fs, partition type 0x83 Partition num: 2, Filesystem type unknown, partition type 0x82 Partition num: 3, Filesystem type is ext2fs, partition type 0x83 Partition num: 4, Filesystem type is ext2fs, partition type 0x83 Partition num: 5, Filesystem type is ext2fs, partition type 0x83 grub> root (hd1 grub> root (hd2 grub> root (hd3 grub> root (hd4 grub> root (hd5 grub> root (hd6 grub> root (hd7 grub> root (hd8 Error 12: Invalid device requested grub> root (hd8 Is grub not able to see drives sitting on EDIE controllers sitting on the PCI bus, or is there some sort of compile time option / patch I might need? If not I could reconfigure the internal cables to share the new drive, at least the Win XP drive, on the chipset cables, but I'd prefer not to do that it possible. Thanks in advance for your ideas. Cheers, Mark -- gentoo-user@gentoo.org mailing list