LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-06-2002, 05:22 PM   #1
tdnik
LQ Newbie
 
Registered: Dec 2001
Location: omaha
Distribution: redhat7.2
Posts: 21

Rep: Reputation: 15
mount sep win drive from linux??


I'm having troubles mounting my windows drives and haven't seen a scenario like mine posted:

I have three drives. 1 ide for linux only. 2ide in RAID0 for windows only....when i boot, linux boots, if I press esc at the right time during bios, i get boot menu and can select the proper device to boot windows.

windows and linux are not on the same drive.....can i mount my windows drive from linux? I would like to to transfer files between OS's with out using a second computer to temporarliy store files while I reboot my other box.


Thanks,
CK


sorry, i posted this in newbie too...thought it looks better here.
 
Old 01-06-2002, 08:26 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
as long as kernel support is enabled you can use the mount command..

you need to know the partition dev name for it

mkdir /win

mount -t vfat /dev/hda1 /win
 
Old 01-07-2002, 05:24 AM   #3
tdnik
LQ Newbie
 
Registered: Dec 2001
Location: omaha
Distribution: redhat7.2
Posts: 21

Original Poster
Rep: Reputation: 15
ok, thanks. How can I find the dev name for my windows drives? Would this be the volume name given during partitioning?

Thanks,
CK
 
Old 01-07-2002, 07:13 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
use fdisk in linux and check each hard drive

here is how to access the drives in fdisk

primary master = /dev/hda
primary slave = /dev/hdb
secondary master = /dev/hdc
secondary slave = /dev/hdd

fdisk /dev/hda

The number of cylinders for this disk is set to 1870.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 255 heads, 63 sectors, 1870 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1045 8393931 c Win95 FAT32 (LBA)
/dev/hda2 1046 1823 6249285 83 Linux native
/dev/hda3 1824 1870 377527+ 82 Linux swap

Command (m for help): q





as you can see on this system windows is /dev/hda1

Last edited by DavidPhillips; 01-07-2002 at 07:21 PM.
 
Old 01-07-2002, 08:20 PM   #5
Avatar2U
LQ Newbie
 
Registered: Jan 2002
Posts: 14

Rep: Reputation: 0
If your linux drive is the primary drive (booting) the the windows drive is either the slave or the secondary master. Either way it would be hdb1

on the makedir (md) the proper place to mount the drive would be /mnt/windows

that is just a convention
 
Old 01-08-2002, 11:47 AM   #6
tdnik
LQ Newbie
 
Registered: Dec 2001
Location: omaha
Distribution: redhat7.2
Posts: 21

Original Poster
Rep: Reputation: 15
all right, I finally have something I think will work.... I'm at work on ssh so i don't know for sure what I will see.

My board has 4 ide ports and my win drives are on raid which is the 3rd and 4th ide identified as hdG1, I didn't go down the alphabet far enough before. I was able to mount, but saw a bunch of crap with the # dir command.

thanks for the help... between these answers and trial and error I got it.

Now i have to figure out where all those rpms and tarballs I keep installing go to.?
 
Old 01-08-2002, 10:02 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
most stuff will go to /usr or /usr/local

the tarballs will usually create a folder where it's at ( the current folder)

the rpms will also put things like config files if needed in /etc/ somewhere, and normally they will install a link in the user path.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux in C: and Win XP in D: drive vijayaraghava Linux - Software 2 01-04-2005 07:02 PM
how can I mount linux partition to win xp ozy777ozy Linux - Enterprise 4 09-21-2004 12:40 AM
linux and xp on 2 sep drives help!!! jaymunee80 Linux - Newbie 5 07-29-2004 07:05 PM
dual boot when linux on 1 drive, win on other drive, both scsi? nornad Red Hat 3 04-08-2004 08:44 AM
Install linux (mandrake 9.1) over win 98 and still boot linux and winxp(drive E:) BlueTaurus13 Linux - General 12 09-01-2003 08:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration