Hi,

I am stuck on a problem using GRUB (v0.92). I have only played with GRUB configuration in trivial ways before, so this is a bit of newbie question...

I have a RedHat 8.0 system and would like to install XP on a partition of my first hard disk. I cannot use the XP installation CD directly because that would overwrite the first partition of my disk which contains the Linux /boot partition. (But my BIOS can indeed boot from CD.)

So, I have learnt to use the map function, and I am proposing to do the following in grub.conf for the installation of XP:

title Windows bootable CD
map (hd0,0) (hd0,8)
map (hd0,8) (hd0,0)
chainloader (hd1)+1

Problem: I cannot persuade GRUB to find the bootable CD which sits in /dev/hdc

In fact, GRUB only recognises fd0 and hd0 at the moment.
I tried adding /dev/hdc as (hd1) in /boot/grub/device.map but that did not help. (Do I have to do grub-install before I reboot the system? How do I get GRUB to read that file on booting...?)

My /dev/hdc is an IDE CDROM drive. It lives on a different channel from /dev/hda which is my hard disk.

Does it help if I try to address the CDROM drive using BIOS numbers?
Can one deduce it from the info below?

Any help would be much appreciated!

-Derek


boson:/etc# ls /proc/ide/ide0
channel config hda mate model

boson:/etc# ls /proc/ide/ide1
channel config hdc hdd mate model
oson:/etc# cat /proc/ide/ide1/hdc/model
LITEON DVD-ROM LTD163
boson:/etc# cat /proc/ide/ide1/hdc/settings
name value min max mode
---- ----- --- --- ----
breada_readahead 4 0 127 rw
current_speed 66 0 69 rw
dsc_overlap 1 0 1 rw
file_readahead 0 0 2097151 rw
ide_scsi 0 0 1 rw
init_speed 66 0 69 rw
io_32bit 0 0 3 rw
keepsettings 0 0 1 rw
max_kb_per_request 64 1 127 rw
nice1 1 0 1 rw
number 2 0 3 rw
pio_mode write-only 0 255 w
slow 0 0 1 rw
unmaskirq 0 0 1 rw
using_dma 1 0 1 rw



_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to