Linux........Express U'r Intelligence & Share U'r Knowledge.

Status
Not open for further replies.

ShekharPalash

Web Entrepreneur
for mounting refer last year's aug 2003 digit magz of the PDF in DVD/CD...

PS:
i don't do linux
happily living with windows ;-)
 

tuxfan

Technomancer
Do you have 1000 Digit Tips and Tricks book? That one was given some time (about 8 months) back. Mounting procedure is given in there and is fairly simple. I don't remember the proc now because PCQ Linux 2004 and knoppix mounts them automatically :) Anyway, I will have a look at the proc given in that book and let you know.

What distro/version of Linux are you using?
 

GNUrag

FooBar Guy
Mounting Windows partitions in GNU/Linux

# mkdir /mnt/c
# mkdir /mnt/d
# mount -t vfat /dev/hda1 /mnt/c
# mount -t ntfs /dev/hda5 /mnt/d


This assumes that your C drive is a FAT32 partition and your D drive is NTFS partition. And also assuming that your kernel supports NTFS loadable kernel modules.

after you are dome with your data transfer, you can unmount your partitons by.

# umount /mnt/c
# umount /mnt/d
 

neo_the_one

Broken In
for automatic mounting using /etc/fstab .
open /etc/fstab in some editor ... let us say the partitions u want to mount r /dev/hda1, /devhda5, /dev/hda6 ... then u have 2 add the lines ... /dev/hda6 is ntfs(remember ur kernel has to support ntfs, if not u can either compile for it or try linux-ntfs.sourceforge.net)

/dev/hda1<tab>/mnt/Win_C<tab>vfat<tab>defaults<tab>0<space>0
/dev/hda5<tab>/mnt/Win_C<tab>vfat<tab>defaults<tab>0<space>0
/dev/hda6<tab>/mnt/Win_C<tab>ntfs<tab>defaults<tab>0<space>0

save and exit .. and make the directory under /mnt as u have specified there in fstab and
#mount -a

or after rebooting it will always b mounted ..
chk , #man fstab for what those fields stand for ...
 

GNUrag

FooBar Guy
/dev/hda1 /mnt/Win_C vfat auto,defaults 0 0

That auto directive has to be added to auto mount your partitions ...
 

tuxfan

Technomancer
GNUrag, you read man pages!! Your mentor and guide Dr. Nagarjun suggested a better alternative last time. I thought you would be using that!! :D

BTW, what was the alternative? I forgot. Please tell me.
 

allajunaki

Journeyman
Ok guys,
If u use gkrellms in Linux ( I do...) use this method to Monitor ur Gmail Account Directly in linux...
*www.linuxfordummies.org/index.cgi/Monitor_20a_20Gmail_20Account_20with_20gkrellm

GkRellm is the best monitoring tool available...

Do any of u guys know, how to Completly Mod the look and feel of Linux machine into Mac OSX.... (Most of it shutdown thanks to Apple Inc.)
So any of u have any links pls share..
 

GNUrag

FooBar Guy
tuxfan said:
BTW, what was the alternative? I forgot. Please tell me.
ya ya ya .... i meant info pages

# info fstab

But then, info first checks its info pages database, if no match is found, it checks man pages database...
 
Status
Not open for further replies.
Top Bottom