Solved

Dual boot RH7.2 and Win2000

Posted on 2002-05-27
5
275 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

830 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