[wellylug] Adding Windows after Linux

Nathan Cook nathan at cook.net.nz
Sat May 5 21:02:25 NZST 2007


Great, it worked exactly as described.

Thanks for the help!

Cheers

Nathan

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


More information about the wellylug mailing list