Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-12-2004, 07:31 AM   #1
LQ Newbie
Registered: Feb 2004
Posts: 3

Rep: Reputation: 0
Question How to access Windows OS from Gnu/Linux

Hello All,

I am a Linux newbie and would like to know how to access Windows OS from Gnu/Linux ?
What is the command used to setup this feature.
I use Redhat v8.0 and partitioned disk with both OS running and also a backup D drive for Windows.
Any help is useful. Thanks for your time.

Old 02-12-2004, 07:44 AM   #2
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
access ????

access what ?

all you need for the 2 machines to be able to communicate is a NIC in each machine, and sum network cable.

If you want to share files, you ether need one machine to run an ftp server.
or you can use samba or nfs, which can be easyer to use, but harder to setup.

if you want to access each others printers, again u can use samba.

if you want them to share internet connections you need router software, and 2 NIC's in the machine that has the internet connection.

it all depends on what u mean by access
Old 02-12-2004, 07:47 AM   #3
Registered: Jan 2004
Location: France
Distribution: Win2KPro,RH9
Posts: 34

Rep: Reputation: 15
What do you mean accessing Windows OS from Linux ? I can both OS, but not bot at the same time. You can have a dual boot, which let you use either Linux or Windows and you can share partitions (it supposes you use a type recognized by both).
Old 02-12-2004, 07:50 AM   #4
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
if you want to access files from linux to your windows partitions, you just have to mount the partition. for example:
mkdir /mnt/windows
mount -t vfat /dev/hda(number_corresponding_to_windows_part) /mnt/windows
This can be done automatically by editing /etc/fstab
But if you want to access windows applications from linux, you have to install a software like wine.
Hope this help you
Old 02-12-2004, 10:58 AM   #5
LQ Newbie
Registered: Feb 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks Oliv ..

mkdir /mnt/windows
mount -t vfat /dev/hda(number_corresponding_to_windows_part) /mnt/windows
so after login as ROOT the above command is executed in terminal mode right ?
what do u mean by (number_corresponding_to_windows_part) , could u elaborate on that pls.
Old 02-12-2004, 11:14 AM   #6
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
for example, for my own disk:
/dev/hda will represent the whole disk, i.e. with my 5 different partitions.
/dev/hda1 will represent my windows (vfat) partition, /dev/hda5 my LFS root (ext3) partition, /dev/hda7 my /home part etc...
To find which file (with Linux, everything is file) represents your windows partition, you have to know how your hard disk is partitionned (for example windows first or windows beetween / and /home)... this will give you an idea of the unknown number...
If windows partition is first, you will have to type:
mount -t vfat /dev/hda1 /mnt/windows
if that's not the case, have a look at /etc/mtab or /etc/fstab, to have an idea of its range. This files will show you a match between /dev and partitions...
If you have nothing understood... send the contents of /etc/fstab


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GNU/Linux vs. GNU/OpenSolaris win32sux Linux - Software 5 11-27-2005 10:10 AM
Web-based apps: ActiveX/Java:Windows <--> ${???}:GNU/Linux johnMG Programming 3 12-03-2004 08:37 PM
Can't access Windows XP from Linux Sando Linux - Networking 1 10-22-2004 01:56 AM
Why GNU/Linux is Better than Windows sridharinfinity Linux - General 11 05-29-2003 03:39 PM
Linux Access from Windows jpohara Linux - Newbie 4 04-09-2002 11:56 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:14 AM.

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