DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   *nix Software (http://www.daniweb.com/forums/forum111.html)
-   -   Red Hat 9 and Windows 2000 dual boot (http://www.daniweb.com/forums/thread2945.html)

essolinux Feb 6th, 2004 12:49 pm
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



WEATHER CHANNEL Feb 6th, 2004 9:29 pm
Re: Red Hat 9 and Windows 2000 dual boot
 
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?

TheOgre Feb 17th, 2004 2:40 pm
Re: Red Hat 9 and Windows 2000 dual boot
 
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 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.




i686-linux Mar 19th, 2004 2:46 pm
Re: Red Hat 9 and Windows 2000 dual boot
 
Quote:

Originally Posted by TheOgre
(/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...

TheOgre Mar 20th, 2004 4:07 am
Re: Red Hat 9 and Windows 2000 dual boot
 
I never said "a" meant "partition." I said it was the primary drive:
"harddrivea"

The "1" is the partition:
partition1

Quote:

Originally Posted by TheOgre
/dev/hda1 is the first partition on the primary drive

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

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 ...



i686-linux Mar 21st, 2004 5:15 pm
Re: Red Hat 9 and Windows 2000 dual boot
 
I apologize greatly, it had been a long day. :-/

TheOgre Mar 21st, 2004 5:28 pm
Re: Red Hat 9 and Windows 2000 dual boot
 
No problem - I have those too :)


All times are GMT -4. The time now is 3:09 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC