954,174 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Red Hat 9 and Windows 2000 dual boot

I have a machine running Windows 2000 and Red Hat 9 (dual boot) on separate HDs
HD 1 is Windows 2000; HD 2 is Red Hat 9
Everything is working fine, except for i cannot see the drive with Windows from
Red Hat.
Some told me that you have to modify your /etc/fstab in order to see it.
Here is what my fstab look like:

LABEL=/ / ext3 defaults 1 1

LABEL=/boot /boot ext3 defaults 1 2

none /dev/pts devpts gid=5,mode=620 0 0

none /proc proc defaults 0 0

none /dev/shm tmpfs defaults 0 0

/dev/hdb3 swap swap defaults 0 0

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000

/dev/hda5 /mnt/hda5 vfat noauto,users,exec,umask=000

/dev/hda6 /mnt/hda6 vfat noauto,users,exec,umask=000

Can anyone help me to get this working.

Thanks

essolinux
Newbie Poster
16 posts since Jan 2004
Reputation Points: 10
Solved Threads: 0
 

I have a box that has more than two HDD's in it, but when I had two in there, *nix always recognized them.This is how I had them set up
EXAMPLE:
(Dual) Master----> hda -----> linux
-------------------------------------> Same IDE cable
(Dual) Slave-----> hdb -----> windows

And ofcourse, I went to the manafactures site for the Jumpers settings chart.

Questions:
1. Dou you have it hooked up like the chart above?
2. Did you change your jumpers from the neutral position?
3. Does your BIOS recognize both HDD's on the first boot screen?
4. Does redhat recognize them both?
5. Does windows recognize them both?
6. Are you wanting to trigger your chainloader?
7. Are you wanting to attempt a Dual-Boot?
8. Did you mount your windows HDD in redhat?

WEATHER CHANNEL
Junior Poster
Banned
150 posts since Jan 2004
Reputation Points: 46
Solved Threads: 1
 

In /etc/fstab, the three entries here show your Windows partitions:

/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000
/dev/hda5 /mnt/hda5 vfat noauto,users,exec,umask=000
/dev/hda6 /mnt/hda6 vfat noauto,users,exec,umask=000

If you want to access your Windows partition(s) under Linux, you have to mount the partitions to their mountpoint.

Let's examine the first line and break it down so you'll understand what it means:

/dev/hda1 is the first partition on the primary drive (/device/harddriveapartition1 is an easy way to remember it)

/mnt/hda1 is the mountpoint, or "local directory" where that partition gets "mounted" to the filesystem

vfat indicates the filesystem Linux will use to access the partition. FAT32 is accessed using the vfat module. (man mount for more detailed information.)

noauto tells the system not to automatically mount the partition during boot time.

users indicates that all users can mount this partition, not just root.

The rest you can safely ignore for now, as it's not pertinent for accessing your Windows partitions under Linux.

Now that we have a good idea on what all that means, let's put it together now...

To mount the first Windows partition (/dev/hda1) to it's mountpoint (/mnt/hda1) type this:

user@host$ mount /mnt/hda1


To see if it was successful, unless you received errors to let you know it didn't work, you can either typemount all by itself, which will list the mounted filesystems, or you can look in the directory to see what's there:

user@host$ ls /mnt/hda1


If everything worked properly, you should get a directory listing of /mnt/hda1

You can do the same thing to mount your other partitions, as well as your floppy and CD-ROM drives. Just look at your fstab entries to see what the filesystems are and where the mountpoints are, and you shouldn't have any problems. If you still have trobule, feel free to let me know.

TheOgre
Posting Whiz
393 posts since Aug 2003
Reputation Points: 128
Solved Threads: 9
 
(/device/harddriveapartition1 is an easy way to remember it)


"a" does not mean partition

It's more like:

Primary Master: hda
Primary Slave: hdb
Secondary Master: hdc
Secondary Slave: hdd
Tertiary Master: hde
Tertiary Slave: hdf

and so on...

i686-linux
Posting Whiz in Training
210 posts since Mar 2004
Reputation Points: 87
Solved Threads: 12
 

I never said "a" meant "partition." I said it was the primary drive:
"harddrivea"

The "1" is the partition:
partition1

/dev/hda1 is the first partition on the primary driveI also said that that was just a simple way to remember it.

Look here for the naming convention for drives and partitions under Linux:
http://www.tldp.org/HOWTO/Partition/partition-2.html
[indent]
2.1.1. Naming Convention

By convention, IDE drives will be given device names /dev/hda to /dev/hdd. Hard Drive A(/dev/hda) is the first drive ...

[/indent]

TheOgre
Posting Whiz
393 posts since Aug 2003
Reputation Points: 128
Solved Threads: 9
 

I apologize greatly, it had been a long day. :-/

i686-linux
Posting Whiz in Training
210 posts since Mar 2004
Reputation Points: 87
Solved Threads: 12
 

No problem - I have those too :)

TheOgre
Posting Whiz
393 posts since Aug 2003
Reputation Points: 128
Solved Threads: 9
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: