I'm curious to know if it is possible to do the following:
I have 2 hard drives hda is 75 gig and hdb is 15 gig, I have hda partitioned as follows
hda1=/boot Redhat
hda2=/ Redhat
hda3=/home redhat
hda4=extended
hda5=swap
hda6=empty partition
hda7=fat32
hdb1=/ slackware
hdb2=ntfs
ok, originally I had intended to install windows xp in hda6 but I forgot that windows has to be installed on a primary partition, so now that is space is empty for now, later on I installed slack on hdb1.
I am booting slack by installing lilo on hdb and chainloading it with grub from my mbr on hda.
I intended to install windows on hdb2, but when I booted off the windows cd it didn't like it so I assume that windows needs to be installed on a master.
Anyways so I decided I would make change hdb (the 15 gig) to master just for the windows installation on hdb2 after that I changed the 15 gig back to slave and reinstalled lilo on hdb (with it only pointing to slack.) I tried to point grub to hdb2 (hd1,1) but it wouldn't work so I reinstalled lilo on hdb this time pointing it to both windows and slack. I couldn't boot windows through that method either. So I removed the windows bit from lilo.conf.
So my questions is this: Is there a way for me to boot windows in my current scheme? Is there some other bootloader I could use? Or does windows
have to be run on a primary part on the master in addition to it being installed that way? Posted below are my grub.conf and lilo.conf.
Any help, pointers, suggestions, thoughts, speculations, etc.. would be greatly appreciated, thanks for your time.
grub.conf (on dev/hda Redhat installed to mbr)
Code:
# added by NeTraverse - DO NOT REMOVE THIS LINE, it's used for uninstall
default 1
# end added by NeTraverse - DO NOT REMOVE THIS LINE, it's used for uninstall
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
timeout=1
splashimage=(hd0,0)/grub/splash.xpm.gz
title Slackware Linux (2.4.21)
rootnoverify (hd1,0)
makeactive
chainloader +1
# added by NeTraverse - DO NOT REMOVE THIS LINE, it's used for uninstall
title Red Hat Linux (win4lin-enabled 2.4.20-18.8)
root (hd0,0)
kernel /win4lin ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-18.8.img
# end added by NeTraverse - DO NOT REMOVE THIS LINE, it's used for uninstall
lilo.conf (Slackware on hdb1, I removed the windows bit)
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hdb1
#compact # faster, but won't work on all systems.
#prompt
#timeout = 5
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb1
label = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends