Computer Forums

Go Back   Computer Forums > Software > Operating Systems > *nix

*nix A superior alternative to Windows? - Penguin Power or BSD for Stability? Talk about UNIX-like operating systems here

Register Now for FREE!
Computer Forums

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Agree to forum rules 


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-05-2005, 05:30 PM
Kilobyte
 
Join Date: 07 Oct 2005
Posts: 74
Java_Exception is an unknown quantity at this point
Default [Linux] Mounting Windows partitions...

There are two ways to partition a Windows partition(any type) on Linux...

One is the old way of manually typing the comand or by using Fstab...

But, before we can actually mount, we must get to know the partitions we have on our System
For that...

1. First print the partition table...

$fdisk /dev/hd_ where _ = a/b (diff hdd altogether)
:p you will get the partition table printed...

I have assumed we have three partitions. hda1,hda2,hda3


The Traditional mount way...

2. Create the directories where you want to mount the partitions...
Here, we have old Linux users saying we should use /mnt
But, modern users approve /media

I have created the directories /media/c /media/d and /media/e

cd /media <return>
mkdir <c/d/e> <return>

3. Now to mount...
Type...

mount /hda/dev1 /media/c
mount /hda/dev2 /media/d
mount /hda/dev3 /media/e

Tada.. Your win partition is ready to work upon!!!

And now for the fstab method...

2. goto /etc

cd /etc

3. Enter super user mode... and edit the fstab file
(su<return> followed by command in red hat and some others.. and sudo <comand> <return> in debian derivatives)
I follow the debian way..

sudo vi fstab

4. enter the following code in the last...
Code:
/dev/hda1 /media/c <vfat/ntfs><tab>unmask=022<tab>0<tab>0
/dev/hda2 /media/d <vfat/ntfs><tab>unmask=022<tab>0<tab>0
/dev/hda3 /media/e <vfat/ntfs><tab>unmask=022<tab>0<tab>0

That's it for now..

3njoy!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 07:11 AM.



Powered by: vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Content © Copyright 2005-2008 CompuForums. All Rights Reserved. Some content © Copyright of the respective owners.
Loans - Loans - Mobile Phones - Credit Counseling

Content Relevant URLs by vBSEO 3.2.0 RC5