Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Grub entries for windows on 2nd hdd

Grub entries for windows on 2nd hdd

2006-08-08       - By David Morgan

 Back
Reply:     1     2     3     4  

I've done this. In addition to special config for grub, there's a
special way to install Windows. I did both and it worked. I wanted my
Windows hdd to become primary slave (hdb).

Windows installation: I had to do Windows installation on the target
machine with the Windows hdd connected as sole, primary master hard
disk. That is, I temporarily removed any other hard disks. And
temporarily jumpered the target disk for Windows as master. After
successful Windows installation, I reinstalled other hard disks back as
usual and rejumpered this one as slave. Installed it too, as primary slave.

Grub config: key is the "map" command. See
http://www.gnu.org/software/grub/manual/html_node/map.html#map
Also, http://www.linux-mag.com/2003-11/guru_01.html
http://www.linux-mag.com/2003-12/guru_01.html
very good article covering grub.


My grub.conf with a lot of comments to myself is here:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,1)
#          kernel /boot/vmlinuz-version ro root=/dev/hda2
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=15
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
   root (hd0,1)
   kernel /boot/vmlinuz-2 (See http://nuz-2.ora-code.com).6.5-1.358 ro root=LABEL=/ rhgb quiet
   initrd /boot/initrd-2 (See http://trd-2.ora-code.com).6.5-1.358.img
title WinXP on hdb1
# Put a second hd in Monarch to install XP on (1/05). Installing XP with
# both disks present, it insists on placing boot files on first even though
# you're installing XP (otherwise) on the second. So I disconnected
# first drive (primary master) and re-jumpered second to become first.
# Installed XP that way, it put everything in the one-and-only partition.
# Then, rejumpered drive to revert to primary slave and reconnected both
# drives. How then to get Windows on the primary slave to boot? Two ways.
# First, in BIOS tell it to boot from the second. Windows comes up happy,
# regarding partition on second as its "C:". Or, let BIOS boot from first.
# There, put the necessary GRUB code in mbr. Specifically, use GRUB's
# "map" command trickery. "If you have installed [Windows] on a non-first
# hard disk, you have to use the disk swapping technique, because that
# OS cannot boot from any disks but the first one. [Using map as below]
# "This performs a virtual swap between your first and second hard drive."
   map (hd0) (hd1)
   map (hd1) (hd0)
   unhide (hd0,3)
   rootnoverify (hd1,0)
   chainloader +


__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe