Solved

Dual boot RH7.2 and Win2000

Posted on 2002-05-27
5
272 Views
Last Modified: 2010-04-20
I have RH7.2 on one disk using the grub boot manager and win2000 on a second disk. (which is an ntfs filesystem)

I know that my current linux kernel can't mount ntfs fisesystems.

How can I add the win2000 entry to grub (or can I)

What do I put into the grub.conf file.
0
Comment
Question by:maughanb
  • 3
  • 2
5 Comments
 
LVL 1

Expert Comment

by:kartebi
ID: 7039239
Try this (like lilo.conf)

other=/hev/hda2
      label=Windows
      table=/dev/hda

change hda2 to the partition name win2k is on
and hda to the name of the disk win2k is on
for example if your second hard disk is hdb and win2k covers all the disk then it should be like this

other=/dev/hdb1
     label=windows
     table=/dev/hdb

for more details tell me your hardware configuration
0
 
LVL 1

Author Comment

by:maughanb
ID: 7039590
The layout in grub is different e.g. it uses title instead of lable,

I tried it anyway, but it is still just comming up with the one entry in grub.

I also tried this from the grub command line

rootnoverify (hd1,0)
makeactive
chainloader
boot

but it tells me to select a kernel image

My hardware configuration is

hda1 /boot
hda2 / ext3fs
hda3 /swap
hdb1 ntfs
hdc  Sony DVD
hdd  HP CDRW


0
 
LVL 1

Expert Comment

by:kartebi
ID: 7039639
i'll look at it and i'll tell you
give me one day
0
 
LVL 1

Accepted Solution

by:
kartebi earned 200 total points
ID: 7041907
my grub configuration (/boot/grub/menu.lst) is like this

timeout 10
color black/cyan yellow/cyan
i18n (hd0,0)/grub/messages
keytable (hd0,0)/us.klt
altconfigfile (hd0,0)/grub/menu.once
default 2

title Mandrake 8.2
kernel (hd0,0)/vmlinuz root=/dev/hda3 devfs=mount hdd=ide-scsi vga=791
initrd (hd0,0)/initrd.img

title failsafe
kernel (hd0,0)/vmlinuz root=/dev/hda3 failsafe devfs=nomount hdd=ide-scsi vga=791
initrd (hd0,0)/initrd.img

title Windows 2000
root (hd0,1)
makeactive
chainloader +1

title Windows 98
root (hd1,0)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1

title floppy
root (fd0)
chainloader +1

I have windows on my first hard drive ,second partion(/dev/hda2) so you should put for your windows 2000 this
root (hd1,0)


Here is a sample menu.lst it might help

#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# For booting the GNU Hurd
title  GNU/Hurd
root   (hd0,0)
kernel /boot/gnumach.gz root=hd0s1
module /boot/serverboot.gz

# For booting Linux
title  GNU/Linux
root (hd1,0)
kernel /vmlinuz root=/dev/hdb1

# For booting Mach (getting kernel from floppy)
title  Utah Mach4 multiboot
root   (hd0,2)
pause  Insert the diskette now!!
kernel (fd0)/boot/kernel root=hd0s3
module (fd0)/boot/bootstrap

# For booting FreeBSD
title  FreeBSD 3.4
root   (hd0,2,a)
kernel /boot/loader

# For booting OS/2
title OS/2
root  (hd0,1)
makeactive
# chainload OS/2 bootloader from the first sector
chainloader +1
# This is similar to "chainload", but loads a specific file
#chainloader /boot/chain.os2

# For booting Windows NT or Windows95
title Windows NT / Windows 95 boot menu
rootnoverify (hd0,0)
makeactive
chainloader  +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos

# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root    (hd0,0)
setup   (hd0)

# Change the colors.
title Change the colors
color light-green/brown blink-red/blue


I hope i answered your question
0
 
LVL 1

Author Comment

by:maughanb
ID: 7786392
Sorry, I forgot about this question.

Thanks for the help
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now