Great, it worked exactly as described.<br><br>Thanks for the help!<br><br>Cheers<br><br>Nathan<br><br><div><span class="gmail_quote">On 5/5/07, <b class="gmail_sendername">Paul B</b> <<a href="mailto:wellylug@pbrammer.com">
wellylug@pbrammer.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Hi Nathan,<br>I'm not familiar with the syntax you have used to boot windows although<br>it looks correct, I have always used (modified for your<br>disk/partition):<br> title Windows<br> rootnoverify (hd1,0) #<<<Sets root device without mounting
<br> makeactive #<<<Set as active partition<br> chainloader +1<br><br>Trawling the grey matter I remember problems booting the Secondary disk<br>drive. This is back on Windows 2000 or maybe even 98, the same issue
<br>may exist on XP. I've checked the manual and it is still mentioned<br>under 'some caveats on OS-Specific issues'.<br><br>Windows can't boot to a hard disk that is not the first hard disk, grub<br>provides a method to swap the disk over and make windows happy. Your
<br>configuration would be (something like):<br> title Windows<br> map (hd0) (hd1)<br> map (hd1) (hd0)<br> rootnoverify (hd1,0) <<< I think this is correct, it might need to be<br>(hd0,0) i.e. where it was swapped to.
<br> makeactive<br> chainloader +1<br><br>NOTE: Take a note of your partition settings before you start. A couple<br>of weeks ago I configured an XP/Linux system (both on one disk) for<br>someone and decided to try hide/unhide so they could not blow away
<br>linux partitions from XP. This triggered some code in Grub which<br>rewrote the partition id's for all linux partitions every time XP was<br>booted. Then Linux could not boot until the id's were rewritten. I have
<br>never experienced this using the 'map' command but better safe than<br>sorry.<br><br>Regards<br>Paul.<br><br>> -------- Original Message --------<br>> Subject: [wellylug] Adding Windows after Linux<br>> From: "Nathan Cook" <
<a href="mailto:nathan@cook.net.nz">nathan@cook.net.nz</a>><br>> Date: Sat, May 05, 2007 4:22 pm<br>> To: "Wellington Linux Users Group" <<a href="mailto:wellylug@lists.wellylug.org.nz">wellylug@lists.wellylug.org.nz
</a>><br>><br>> Hi all,<br>><br>> I have a slight problem here, I have a PC here running Suse 10.1<br>> 64bit. The<br>> owner of the PC wanted to install Windows XP Home on it as well, so<br>> rather
<br>> than blowing away the Suse install I disconnected the Suse SATA drive and<br>> installed Windows on a seperate 80GB drive.<br>><br>> I have now plugged back in the Suse SATA drive and have set the BIOS<br>
> to boot<br>> off the Suse drive, this works well.<br>><br>> The Suse install sees the new 80GB drive as a Windows volume etc, the<br>> problem I have though is that the line I have added into the<br>> /boot/grub/menu.lst file refuses to boot the windows drive when
<br>> selected it<br>> just reboots the PC. Can anyone point me in the right direction, I'm<br>> thinking that it's just Windows doing what it does best...<br>><br>> Thanks<br>><br>> Here is the fdisk -l:
<br>> Disk /dev/sda: 160.0 GB, 160040803840 bytes<br>> 255 heads, 63 sectors/track, 19457 cylinders<br>> Units = cylinders of 16065 * 512 = 8225280 bytes<br>><br>> Device Boot Start End Blocks Id System<br>
> /dev/sda1 1 262 2104483+ 82 Linux swap / Solaris<br>> /dev/sda2 * 263 19457 154183837+ 83 Linux<br>><br>> Disk /dev/sdb: 80.0 GB, 80030957056 bytes<br>> 255 heads, 63 sectors/track, 9729 cylinders<br>> Units = cylinders of 16065 * 512 = 8225280 bytes
<br>><br>> Device Boot Start End Blocks Id System<br>> /dev/sdb1 * 1 6374 51199123+ 7 HPFS/NTFS<br>><br>> Here is the menu.lst file:<br>> # Modified by YaST2. Last modification on Sun May 6 12:58:00 NZST 2007
<br>> color white/blue black/light-gray<br>> default 0<br>> timeout 8<br>> gfxmenu (hd0,1)/boot/message<br>><br>> ###Don't change this comment - YaST2 identifier: Original name: linux###<br>> title SUSE Linux
10.1<br>> root (hd0,1)<br>> kernel /boot/vmlinuz root=/dev/sda2 vga=0x317 resume=/dev/sda1<br>> splash=silent<br>> showopts<br>> initrd /boot/initrd<br>><br>> ###Don't change this comment - YaST2 identifier: Original name:
<br>> windows###<br>> title Windows<br>> chainloader (hd1,0)+1<br>><br>> ###Don't change this comment - YaST2 identifier: Original name: floppy###<br>> title Floppy<br>> chainloader (fd0)+1<br>>
<br>> ###Don't change this comment - YaST2 identifier: Original name:<br>> failsafe###<br>> title Failsafe -- SUSE Linux 10.1<br>> root (hd0,1)<br>> kernel /boot/vmlinuz root=/dev/sda2 vga=normal showopts ide=nodma apm=off
<br>> acpi=off noresume edd=off 3<br>> initrd /boot/initrd<br>><br>> ###Don't change this comment - YaST2 identifier: Original name:<br>> memtest86###<br>> title Memory Test<br>> kernel (hd0,1)/boot/memtest.bin
<br>><br>> ###Don't change this comment - YaST2 identifier: Original name:<br>> 2.6.16.21-0.25-default###<br>> title 2.6.16.21-0.25-default<br>> root (hd0,1)<br>> kernel /boot/vmlinuz-2.6.16.21-0.25-default
root=/dev/sda2 vga=0x317<br>> resume=/dev/sda1 splash=silent showopts<br>> initrd /boot/initrd-2.6.16.21-0.25-default<hr>--<br>> Wellington Linux Users Group Mailing List: <a href="mailto:wellylug@lists.wellylug.org.nz">
wellylug@lists.wellylug.org.nz</a><br>> To Leave: <a href="http://lists.wellylug.org.nz/mailman/listinfo/wellylug">http://lists.wellylug.org.nz/mailman/listinfo/wellylug</a><br><br><br>--<br>Wellington Linux Users Group Mailing List:
<a href="mailto:wellylug@lists.wellylug.org.nz">wellylug@lists.wellylug.org.nz</a><br>To Leave: <a href="http://lists.wellylug.org.nz/mailman/listinfo/wellylug">http://lists.wellylug.org.nz/mailman/listinfo/wellylug</a><br>
</blockquote></div><br>