| | |
Red Hat 9 and Windows 2000 dual boot
![]() |
•
•
Join Date: Jan 2004
Posts: 16
Reputation:
Solved Threads: 0
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
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
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?
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?
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:
To see if it was successful, unless you received errors to let you know it didn't work, you can either type mount all by itself, which will list the mounted filesystems, or you can look in the directory to see what's there:
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.
/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 type mount 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.
Last edited by TheOgre; Feb 17th, 2004 at 2:43 pm.
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
•
•
•
•
Originally Posted by TheOgre
(/device/harddriveapartition1 is an easy way to remember it)
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...
PARANOIA:
A healthy understanding of the way the universe works.
A healthy understanding of the way the universe works.
I never said "a" meant "partition." I said it was the primary drive:
"harddrivea"
The "1" is the partition:
partition1
I 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
"harddrivea"
The "1" is the partition:
partition1
•
•
•
•
Originally Posted by TheOgre
/dev/hda1 is the first partition on the primary drive
Look here for the naming convention for drives and partitions under Linux:
http://www.tldp.org/HOWTO/Partition/partition-2.html
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 ...
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
![]() |
Similar Threads
- NEW INSTALL: Red Hat 9 and Windows 2000 dual boot (*nix Software)
Other Threads in the *nix Software Forum
- Previous Thread: Ever Notice this?
- Next Thread: Creating a zip
| Thread Tools | Search this Thread |





