Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Linux On Windows
metropolisiii
post Jan 9 2003, 02:08 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 6-January 03
Member No.: 290



Is there anyway to put a linux file on the Windows partition of my hard drive (I use Mandrake 9.0)? I was able to copy a windows file onto the linux partition, but that's when I had 2 hard drives. Also, is there anyway to see the Windows files on the windows partition of my hard drive. Thanks.
Go to the top of the page
 
+Quote Post
Corey
post Jan 9 2003, 08:01 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



You can view and modify windows files quickly and easily from linux without much trouble, provided that the correct kernel module was compiled. If your Windows partition was formatted with Fat32 filesystem, then you can mount that partition in linux and read/write to it. If your windows partition was formatted with NTFS (Windows 2000/XP) then you can only read information not write (provided there are methods, but they are not safe). First, you need to know what partition your Windows is installed on. If it was installed first, then chances are, it's located in /dev/hda1 . If this is the case, you can follow these steps:

QUOTE
mkdir /mnt/windows
mount -t vfat /dev/hda1 /mnt/windows
cd /mnt/windows
ls


This will: a) make the windows directory, AKA "Mount Point", cool.gif Mount the windows partition to your mount point useing the vfat (fat32) kernel module, c) enter into the windows directory and get a directory listing.

If you want this to be mounted on each linux boot, add the following to your /etc/fstab :

QUOTE
/dev/hda1     /mnt/windows     defaults      0     0


Note: IF you would like your users to be able to write to the partition, then you will have to read the 'mount' man page to learn more.

If you're Windows drive is an NTFS filesystem, then you can replace "vfat" above with "ntfs", but remember, you cannot write.

This is very useful for sharing data between windows and linux. For example, I have Quake3 and Urban Terror installed on my windows partition, but rather then having duplicate data (such as the 400MB pak files) on both partitions, I install the Quake 3 point release for Linux, then I do something like "ln -s /mnt/windows/Program Files/Quake III Area/baseq3/pak0.pk3 /usr/local/games/quake3/baseq3/pak0.pk3", this way, i don't have to copy any information, it just links directly.

If you want to have access to your Linux files from Windows, then that's a little more tricky, unforunatly, Microsoft is not too friendly with foreign operating systems such as linux, so you will have to use some third-party tools. The best I've seen thus far is called LTools and you can check it out here. What this does is creates a "webserver" of your linux partition in which you can access with either your own webbrowser, or a java program. I prefer the web browser because it's more user friendly, and resource friendly.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
metropolisiii
post Jan 10 2003, 12:16 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 6-January 03
Member No.: 290



Actually. I installed Windows second. Would that most likely be hda2?
Go to the top of the page
 
+Quote Post
Corey
post Jan 10 2003, 08:18 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



The quickest way to find out from linux is by issuing the command:

fdisk -l (that's an dash-L as in Linux)

This will give you a list of the partitions on your hard drive and in the far right column it will say what filesystem the corresponding partition is. If i was on a linux box, i would give you some sample output, but i'm at work. It's pretty self-explanatory though.

If you're having trouble reading the output, just post it in here, and we can clarify.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 11:12 AM